:root {
    --paper: #fffaf3;
    --surface: #ffffff;
    --ink: #20202a;
    --muted: #6d6875;
    --line: #e9e2d8;
    --coral: #ff5b4d;
    --yellow: #ffd166;
    --violet: #7756ff;
    --mint: #52c7a5;
    --shadow: 0 18px 50px rgba(57, 43, 32, 0.10);
    --radius: 24px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-right: auto;
    margin-left: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(32, 32, 42, 0.08);
    background: rgba(255, 250, 243, 0.94);
    backdrop-filter: blur(18px);
}

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

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

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

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

.brand-copy strong {
    font-size: 20px;
}

.brand-copy small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.08em;
}

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 10px;
    border-radius: 12px;
    color: #55515e;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
    background: var(--ink);
}

.nav-icon {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    color: var(--coral);
    background: #fff0eb;
    border-radius: 7px;
    font-size: 12px;
}

.main-nav a.active .nav-icon,
.main-nav a:hover .nav-icon {
    background: rgba(255, 255, 255, 0.16);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    color: var(--ink);
    background: var(--surface);
    font-size: 22px;
}

.hero {
    min-height: 610px;
    margin-top: 52px;
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 36px;
    background: #ffe8df;
    box-shadow: 9px 9px 0 var(--ink);
}

.hero-tag,
.section-kicker,
.eyebrow,
.reader-label {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(62px, 8vw, 116px);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.hero h1 a {
    color: var(--ink);
    text-shadow: 5px 5px 0 #ffffff;
}

.hero-lead {
    max-width: 620px;
    margin: 28px 0;
    color: #4b4650;
    font-size: 17px;
}

.hero-actions,
.subscribe-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    min-height: 48px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    border-radius: 14px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.button.primary {
    color: #ffffff;
    background: var(--coral);
    box-shadow: 4px 4px 0 var(--ink);
}

.button.ghost {
    background: var(--surface);
}

.button:disabled {
    opacity: 0.7;
    cursor: default;
}

.hero-points {
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    gap: 24px;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-points li::before {
    content: "✓";
    margin-right: 7px;
    color: var(--coral);
}

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

.hero-card {
    position: absolute;
    border: 3px solid var(--ink);
    border-radius: 24px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 10px 10px 0 var(--ink);
}

.card-front {
    right: 8%;
    bottom: 0;
    width: 68%;
    transform: rotate(3deg);
}

.card-front img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.card-front div {
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.card-front span,
.card-back span {
    color: var(--coral);
    font-size: 11px;
    font-weight: 800;
}

.card-back {
    top: 28px;
    left: 1%;
    width: 54%;
    min-height: 280px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--yellow);
    transform: rotate(-8deg);
}

.card-back strong {
    font-size: 30px;
    line-height: 1.2;
}

.speech-bubble {
    position: absolute;
    top: 3px;
    right: 0;
    z-index: 3;
    padding: 10px 16px;
    border: 2px solid var(--ink);
    border-radius: 18px 18px 4px 18px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.section-block {
    margin-top: 112px;
    margin-bottom: 112px;
}

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

.section-heading h2,
.editorial-copy h2,
.shelf-copy h2,
.about-section h2,
.app-subscribe h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-note {
    margin: 10px 0 0;
    color: var(--muted);
}

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

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

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

.category-tile {
    min-height: 178px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 14px;
    border: 2px solid var(--ink);
    border-radius: 20px;
    background: var(--surface);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-tile:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 var(--ink);
}

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

.category-tile h3 {
    margin: 4px 0 7px;
    font-size: 18px;
}

.category-tile p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.category-tile .arrow {
    font-size: 20px;
}

.category-tile.coral,
.category-hero.coral {
    background: #ffe5dd;
}

.category-tile.gold,
.category-hero.gold {
    background: #fff1bf;
}

.category-tile.violet,
.category-hero.violet {
    background: #e9e2ff;
}

.category-tile.rose,
.category-hero.rose {
    background: #ffe1ee;
}

.category-tile.indigo,
.category-hero.indigo {
    background: #dfe7ff;
}

.category-tile.red,
.category-hero.red {
    background: #ffdeda;
}

.category-tile.mint,
.category-hero.mint {
    background: #d9f5eb;
}

.category-tile.blue,
.category-hero.blue {
    background: #dcefff;
}

.soft-panel {
    padding: 90px 0;
    background: #f5efe6;
}

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

.comic-card {
    min-width: 0;
}

.cover-link {
    position: relative;
    display: block;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 18px;
    background: #ece7df;
    box-shadow: 5px 5px 0 var(--ink);
}

.cover-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 300ms ease;
}

.cover-link:hover img {
    transform: scale(1.04);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--coral);
    font-size: 10px;
    font-weight: 800;
}

.card-body {
    padding: 18px 4px 0;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
}

.card-body > p:not(.eyebrow) {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-meta {
    margin-top: 13px;
    display: flex;
    justify-content: space-between;
    color: #78727c;
    font-size: 11px;
}

.editorial {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 70px;
}

.editorial-cover {
    position: relative;
    border: 3px solid var(--ink);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 10px 10px 0 var(--yellow), 13px 13px 0 var(--ink);
}

.editorial-cover img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.editorial-cover span {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 13px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.editorial-copy .quote {
    margin: 28px 0;
    padding-left: 20px;
    border-left: 5px solid var(--coral);
    color: #4f4753;
    font-size: 22px;
    font-weight: 700;
}

.story-facts {
    margin: 28px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.story-facts div {
    padding: 15px;
    border-radius: 15px;
    background: #f2ece5;
}

.story-facts dt {
    color: var(--muted);
    font-size: 11px;
}

.story-facts dd {
    margin: 2px 0 0;
    font-weight: 800;
}

.ranking-list {
    padding: 0;
    margin: 0;
    border-top: 2px solid var(--ink);
    list-style: none;
}

.ranking-list li {
    min-height: 105px;
    padding: 20px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 800;
}

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

.ranking-list strong {
    font-size: 20px;
}

.ranking-list small,
.heat {
    color: var(--muted);
}

.heat {
    padding: 7px 11px;
    border-radius: 999px;
    background: #f2ece5;
    font-size: 12px;
}

.ink-panel {
    padding: 90px 0;
    color: #ffffff;
    background: var(--ink);
}

.ink-panel .section-note {
    color: #bdb8c4;
}

.poster-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.poster-card {
    overflow: hidden;
    border: 2px solid #ffffff;
    border-radius: 18px;
    background: #2e2d39;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    filter: saturate(0.86);
}

.poster-card > span {
    padding: 14px;
    display: flex;
    flex-direction: column;
}

.poster-card small {
    color: #bbb5c3;
}

.mood-mosaic {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    grid-template-rows: repeat(2, 180px);
    gap: 18px;
}

.mood-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 2px solid var(--ink);
    border-radius: 24px;
    background: #d9f5eb;
    box-shadow: 5px 5px 0 var(--ink);
}

.mood-card:nth-child(2) {
    background: #e9e2ff;
}

.mood-card:nth-child(3) {
    background: #ffdeda;
}

.mood-card:nth-child(4) {
    background: #dcefff;
}

.mood-large {
    grid-row: 1 / 3;
}

.mood-tall {
    grid-row: 1 / 3;
}

.mood-card span {
    font-size: 13px;
}

.mood-card strong {
    font-size: 28px;
}

.timeline-panel {
    padding: 90px 0;
    background: #ffe8df;
}

.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 22px;
    right: 8%;
    left: 8%;
    height: 3px;
    background: var(--ink);
}

.timeline-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-item > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--yellow);
    font-weight: 900;
}

.timeline-item small {
    color: var(--muted);
}

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

.guide-steps article {
    min-height: 240px;
    padding: 30px;
    border: 2px solid var(--ink);
    border-radius: 24px;
    background: #ffffff;
}

.guide-steps article:nth-child(2) {
    transform: translateY(22px);
    background: #fff1bf;
}

.guide-steps article:nth-child(3) {
    background: #e9e2ff;
}

.guide-steps span {
    color: var(--coral);
    font-size: 34px;
    font-weight: 900;
}

.guide-steps h3 {
    margin: 30px 0 8px;
    font-size: 22px;
}

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

.shelf-showcase {
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    border-radius: 32px;
    color: #ffffff;
    background: var(--ink);
}

.shelf-copy p,
.shelf-copy li {
    color: #c7c1ca;
}

.shelf-copy ul {
    padding-left: 20px;
}

.mini-shelf {
    min-height: 330px;
    padding: 30px 30px 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    border-bottom: 18px solid #b6794d;
    border-radius: 20px;
    background: #f6eadf;
}

.book-spine {
    width: 20%;
    height: 240px;
    padding: 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    writing-mode: vertical-rl;
    border: 2px solid #15151c;
    border-radius: 8px 8px 0 0;
    color: #15151c;
    background: var(--coral);
    font-weight: 800;
}

.spine-2 {
    height: 285px;
    background: var(--yellow);
}

.spine-3 {
    height: 220px;
    background: var(--mint);
}

.spine-4 {
    height: 270px;
    background: #9e89ff;
}

.about-section {
    padding: 96px 0;
    background: #f5efe6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
}

.about-grid > div:first-child > p:not(.section-kicker) {
    color: var(--muted);
    font-size: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.about-values article {
    padding: 22px;
    border: 2px solid var(--ink);
    border-radius: 18px;
    background: #ffffff;
}

.about-values span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--coral);
    font-weight: 900;
}

.about-values h3 {
    margin: 14px 0 4px;
}

.about-values p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.app-subscribe {
    padding: 46px 52px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 38px;
    border: 3px solid var(--ink);
    border-radius: 30px;
    background: var(--yellow);
    box-shadow: 8px 8px 0 var(--ink);
}

.app-icon {
    width: 112px;
    height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--ink);
    border-radius: 28px 28px 28px 8px;
    color: #ffffff;
    background: var(--coral);
}

.app-icon span {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.subscribe-copy > p:not(.section-kicker) {
    margin: 12px 0 20px;
}

#subscribe-status {
    color: #5c5348;
    font-size: 12px;
}

.brand-qr {
    padding: 10px;
    border: 2px solid var(--ink);
    border-radius: 15px;
    background: #ffffff;
    text-align: center;
}

.qr-grid {
    width: 88px;
    height: 88px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.qr-grid i {
    border-radius: 2px;
    background: #efe9df;
}

.qr-grid i.on {
    background: var(--ink);
}

.brand-qr small {
    font-size: 10px;
}

.site-footer {
    margin-top: 100px;
    color: #ffffff;
    background: #17171e;
}

.footer-inner {
    min-height: 220px;
    padding-top: 45px;
    padding-bottom: 35px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: start;
}

.footer-inner strong {
    font-size: 24px;
}

.footer-inner p {
    margin: 4px 0;
    color: #aba6af;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 25px;
    border-top: 1px solid #373640;
    font-size: 12px;
}

.breadcrumb {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
}

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

.category-hero {
    width: min(calc(100% - 40px), var(--container));
    min-height: 290px;
    margin: 34px auto 0;
    display: flex;
    align-items: center;
    border: 3px solid var(--ink);
    border-radius: 32px;
    box-shadow: 8px 8px 0 var(--ink);
}

.category-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.category-hero h1 {
    margin: 4px 0 12px;
    font-size: clamp(44px, 7vw, 80px);
    line-height: 1;
}

.category-hero p {
    max-width: 680px;
    margin: 0;
}

.giant-icon {
    display: grid;
    place-items: center;
    min-width: 120px;
    height: 120px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: #ffffff;
    font-size: 58px;
    box-shadow: 6px 6px 0 var(--ink);
}

.category-note {
    padding: 35px 42px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 26px;
    border: 2px solid var(--ink);
    border-radius: 24px;
    background: #ffffff;
}

.category-note > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    color: #ffffff;
    background: var(--coral);
    font-size: 28px;
}

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

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

.reader-page {
    max-width: 980px;
    margin-top: 38px;
}

.reader-header {
    padding: 52px;
    border: 3px solid var(--ink);
    border-radius: 30px;
    background: #ffe8df;
    box-shadow: 8px 8px 0 var(--ink);
    text-align: center;
}

.reader-header h1 {
    margin: 0;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.2;
}

.reader-meta {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reader-meta span {
    padding: 6px 11px;
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
}

.reader-intro {
    max-width: 720px;
    margin: 0 auto;
    color: #5b525b;
}

.reading-tip {
    margin: 50px 0 36px;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    border-left: 6px solid var(--coral);
    border-radius: 0 16px 16px 0;
    background: #f2ece5;
}

.reading-tip p {
    margin: 0;
    color: var(--muted);
}

.chapter-content {
    display: grid;
    gap: 36px;
}

.comic-panel {
    margin: 0;
    overflow: hidden;
    border: 3px solid var(--ink);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 7px 7px 0 var(--ink);
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.comic-panel figcaption {
    padding: 18px 22px;
    border-top: 2px solid var(--ink);
    font-size: 13px;
}

.chapter-end {
    margin: 70px 0 40px;
    padding: 52px;
    border-radius: 28px;
    color: #ffffff;
    background: var(--ink);
    text-align: center;
}

.chapter-end > span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.3em;
}

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

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

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
}

.chapter-nav a {
    min-height: 86px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--ink);
    border-radius: 16px;
    background: #ffffff;
}

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

.chapter-back {
    min-width: 150px;
    align-items: center;
    color: #ffffff;
    background: var(--coral) !important;
    font-weight: 800;
}

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

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

    .main-nav {
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        padding: 14px;
        display: none;
        grid-template-columns: repeat(3, 1fr);
        border: 2px solid var(--ink);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 7px 7px 0 var(--ink);
    }

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

    .main-nav a {
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr 0.85fr;
        padding: 45px;
    }

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

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

    .comic-grid > :nth-child(4),
    .comic-grid > :nth-child(5),
    .poster-row > :nth-child(4),
    .poster-row > :nth-child(5) {
        grid-column: auto;
    }

    .comic-grid.five,
    .comic-grid.category-five,
    .poster-row {
        grid-template-columns: repeat(5, minmax(150px, 1fr));
        overflow-x: auto;
        padding: 5px 5px 18px;
    }

    .timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .timeline::before {
        display: none;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

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

    .brand-copy small {
        display: none;
    }

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

    .hero {
        min-height: auto;
        margin-top: 28px;
        padding: 35px 24px 28px;
        grid-template-columns: 1fr;
        gap: 20px;
        border-radius: 25px;
        box-shadow: 6px 6px 0 var(--ink);
    }

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

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

    .card-front {
        width: 67%;
    }

    .card-back {
        width: 56%;
    }

    .section-block {
        margin-top: 78px;
        margin-bottom: 78px;
    }

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

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

    .category-tile {
        min-height: 145px;
    }

    .soft-panel,
    .ink-panel,
    .timeline-panel,
    .about-section {
        padding: 65px 0;
    }

    .comic-grid.five,
    .comic-grid.category-five,
    .poster-row {
        grid-template-columns: repeat(5, minmax(190px, 68vw));
    }

    .editorial,
    .about-grid,
    .shelf-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .editorial {
        width: min(calc(100% - 50px), 560px);
    }

    .story-facts {
        grid-template-columns: 1fr;
    }

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

    .heat {
        display: none;
    }

    .mood-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 160px);
    }

    .mood-large,
    .mood-tall {
        grid-row: auto;
    }

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

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

    .guide-steps article:nth-child(2) {
        transform: none;
    }

    .shelf-showcase {
        padding: 32px 24px;
        border-radius: 24px;
    }

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

    .app-subscribe {
        padding: 34px 24px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-icon,
    .brand-qr {
        margin: 0 auto;
    }

    .subscribe-actions {
        justify-content: center;
    }

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

    .category-hero {
        min-height: 260px;
    }

    .category-hero-inner {
        padding: 32px 0;
    }

    .giant-icon {
        min-width: 76px;
        height: 76px;
        font-size: 34px;
    }

    .category-note {
        padding: 28px 22px;
        grid-template-columns: 1fr;
    }

    .reader-header {
        padding: 38px 20px;
        box-shadow: 6px 6px 0 var(--ink);
    }

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

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

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

@media (max-width: 420px) {
    .hero-points {
        gap: 10px;
        flex-wrap: wrap;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

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

    .category-hero-inner {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 22px;
    }

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

    .chapter-back {
        grid-column: auto;
        grid-row: auto;
    }

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