:root {
    --ink: #20232c;
    --muted: #6b6f7d;
    --paper: #fffdf9;
    --surface: #ffffff;
    --line: #e9e5df;
    --coral: #ff6b5f;
    --coral-soft: #fff0ed;
    --navy: #24335b;
    --mint: #6ec9b5;
    --shadow: 0 18px 48px rgba(33, 37, 51, 0.10);
    --radius: 24px;
}

* {
    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.65;
    overflow-x: hidden;
}

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

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

button,
input {
    font: inherit;
}

.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;
}

.ui-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 249, 0.92);
    border-bottom: 1px solid rgba(233, 229, 223, 0.9);
    backdrop-filter: blur(16px);
}

.header-shell,
.hero,
.notice-strip,
.section-head,
.spotlight-grid,
.latest-panel,
.ranking-layout,
.topic-mosaic,
.category-section,
.schedule,
.editorial,
.reading-guide,
.mobile-feature,
.faq,
.about,
.subscribe,
.footer-shell,
.page-shell,
.category-hero,
.catalog,
.column-note,
.reader-shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

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

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

.brand img {
    width: 46px;
    height: 46px;
}

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

.brand-copy strong {
    font-size: 18px;
    letter-spacing: 0.06em;
}

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

.primary-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

.primary-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 9px;
    color: #565b69;
    border-radius: 12px;
    font-size: 13px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    color: var(--coral);
    background: var(--coral-soft);
}

.primary-nav .ui-icon {
    width: 17px;
    height: 17px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
}

.menu-line {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.section-space {
    margin-top: 92px;
}

.section-space-small {
    margin-top: 42px;
}

.hero {
    min-height: 570px;
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 72px;
    align-items: center;
    padding: 54px 58px;
    background: radial-gradient(circle at 88% 12%, #ffe6b9 0, transparent 28%), linear-gradient(135deg, #fff0ed 0%, #f9f7ff 58%, #eaf8f3 100%);
    border: 1px solid #f1e8e2;
    border-radius: 36px;
    overflow: hidden;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

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

.hero h1 a {
    background: linear-gradient(100deg, var(--ink), var(--coral));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 590px;
    margin: 0;
    color: #5e6270;
    font-size: 18px;
}

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

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 15px;
    font-weight: 700;
}

.button-primary {
    color: #fff;
    background: var(--coral);
    box-shadow: 0 12px 28px rgba(255, 107, 95, 0.28);
}

.button-soft {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
}

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

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 26px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666a77;
    font-size: 13px;
}

.hero-tags .ui-icon {
    width: 15px;
    height: 15px;
    color: var(--mint);
}

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

.hero-main-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 10px solid rgba(255, 255, 255, 0.72);
    border-radius: 32px 32px 100px 32px;
    box-shadow: var(--shadow);
}

.floating-note {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    font-size: 13px;
    font-weight: 700;
}

.note-top {
    top: 9%;
    left: -30px;
    color: var(--coral);
}

.note-bottom {
    right: -24px;
    bottom: 11%;
}

.notice-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    color: #514f49;
    background: #fff9e9;
    border: 1px solid #f2e2b8;
    border-radius: 18px;
}

.notice-strip > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-strip p {
    margin: 0;
}

.notice-strip > a {
    color: #a66b00;
    font-weight: 700;
    white-space: nowrap;
}

.section-head {
    margin-top: 92px;
    margin-bottom: 26px;
}

.section-head h2,
.latest-panel h2,
.ranking-intro h2,
.schedule h2,
.editorial h2,
.mobile-feature h2,
.about h2,
.subscribe h2 {
    margin: 8px 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.18;
}

.section-head p,
.split-head p {
    margin: 0;
    color: var(--muted);
}

.split-head {
    width: auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 26px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coral);
    font-weight: 700;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

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

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

.comic-card.is-wide {
    grid-row: span 2;
}

.comic-card.is-wide .comic-cover img {
    aspect-ratio: 4 / 4.45;
}

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

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

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

.card-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: 5px 10px;
    color: #fff;
    background: rgba(34, 37, 47, 0.78);
    border-radius: 999px;
    font-size: 11px;
    backdrop-filter: blur(8px);
}

.comic-card-body {
    padding: 18px;
}

.comic-card-body h3 {
    margin: 0;
    font-size: 19px;
}

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

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #8a8e9a;
    font-size: 11px;
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-meta .ui-icon {
    width: 14px;
    height: 14px;
}

.latest-panel {
    padding: 38px;
    background: #f2f6ff;
    border-radius: 32px;
}

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

.latest-row .comic-card-body p {
    display: none;
}

.latest-row .comic-cover img {
    aspect-ratio: 4 / 5.3;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    overflow: hidden;
    background: var(--navy);
    border-radius: 32px;
}

.ranking-intro {
    padding: 48px;
    color: #fff;
    background: radial-gradient(circle at 20% 0%, #526aa9 0, transparent 48%);
}

.ranking-intro > .ui-icon {
    width: 54px;
    height: 54px;
    color: #ffd36b;
}

.ranking-intro p {
    color: #c9d0e4;
}

.ranking-intro .button {
    margin-top: 18px;
    color: var(--navy);
    background: #fff;
}

.ranking-list {
    margin: 0;
    padding: 18px 36px;
    list-style: none;
    background: #fff;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.ranking-list li:last-child {
    border-bottom: 0;
}

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

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

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

.topic-mosaic {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
    gap: 18px;
}

.topic-tile {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 28px;
}

.topic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.topic-overlay {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    padding: 70px 24px 24px;
    color: #fff;
    background: linear-gradient(transparent, rgba(22, 24, 31, 0.82));
}

.topic-overlay strong {
    font-size: 25px;
}

.category-section {
    scroll-margin-top: 110px;
}

.category-section > .section-head,
.reading-guide > .section-head,
.faq > .section-head {
    width: auto;
    margin-inline: 0;
}

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

.category-card {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 132px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.category-card:nth-child(7) {
    grid-column: 1 / -1;
}

.category-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--coral);
    background: var(--coral-soft);
    border-radius: 18px;
}

.category-card strong,
.category-card small {
    display: block;
}

.category-card small {
    margin-top: 5px;
    color: var(--muted);
}

.tone-amber .category-icon,
.category-hero.tone-amber .category-hero-icon {
    color: #b76d00;
    background: #fff3d2;
}

.tone-rose .category-icon,
.category-hero.tone-rose .category-hero-icon {
    color: #d74f77;
    background: #ffe8ef;
}

.tone-violet .category-icon,
.category-hero.tone-violet .category-hero-icon {
    color: #795cc4;
    background: #efe9ff;
}

.tone-blue .category-icon,
.category-hero.tone-blue .category-hero-icon {
    color: #3d74c5;
    background: #e8f1ff;
}

.tone-green .category-icon,
.category-hero.tone-green .category-hero-icon,
.tone-mint .category-icon,
.category-hero.tone-mint .category-hero-icon {
    color: #298a72;
    background: #e5f8f1;
}

.schedule {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 50px;
    padding: 44px;
    border: 1px solid var(--line);
    border-radius: 30px;
}

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

.schedule-days article {
    padding: 16px;
    background: #f8f7f4;
    border-radius: 16px;
}

.schedule-days span,
.schedule-days strong,
.schedule-days a {
    display: block;
}

.schedule-days span {
    color: var(--coral);
    font-size: 11px;
    font-weight: 800;
}

.schedule-days a {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.editorial-image {
    position: relative;
}

.editorial-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 28px;
}

.image-caption {
    position: absolute;
    right: -24px;
    bottom: 34px;
    padding: 12px 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-weight: 700;
}

.editorial-copy p {
    color: var(--muted);
    font-size: 17px;
}

.editorial-copy blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    color: var(--navy);
    background: #f0f3fb;
    border-left: 4px solid var(--navy);
    border-radius: 0 14px 14px 0;
    font-weight: 700;
}

.reading-guide {
    padding: 42px;
    background: #fff5f2;
    border-radius: 30px;
}

.reading-guide > .section-head {
    margin-top: 0;
}

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

.guide-steps article {
    padding: 24px;
    background: #fff;
    border-radius: 20px;
}

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

.guide-steps h3 {
    margin: 8px 0 4px;
}

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

.mobile-feature {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
    padding: 58px 76px;
    color: #fff;
    background: #242936;
    border-radius: 34px;
}

.phone-mockup {
    max-width: 300px;
    margin: auto;
    padding: 12px;
    background: #0e1015;
    border: 1px solid #555b6d;
    border-radius: 40px;
}

.phone-screen {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
}

.phone-screen img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

.phone-pill {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

.mobile-copy > .ui-icon {
    width: 50px;
    height: 50px;
    color: #80dcc7;
}

.mobile-copy p {
    color: #c7cbd5;
}

.check-list {
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.check-list .ui-icon {
    color: #80dcc7;
}

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

.faq details {
    padding: 19px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 17px;
}

.faq summary {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-weight: 800;
}

.faq summary span {
    color: var(--coral);
}

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

.about {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 70px;
    padding: 48px;
    background: #eff8f5;
    border-radius: 30px;
}

.about-content > p {
    margin-top: 0;
    color: #515d5a;
    font-size: 16px;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 26px;
}

.about-facts span {
    padding: 14px;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 14px;
    text-align: center;
}

.about-facts strong,
.about-facts small {
    display: block;
}

.about-facts strong {
    color: #298a72;
    font-size: 28px;
}

.subscribe {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    padding: 48px 54px;
    color: #fff;
    background: linear-gradient(135deg, #ff6b5f, #d84f72);
    border-radius: 32px;
}

.subscribe p,
.subscribe small {
    color: #ffe7e8;
}

.section-kicker.light {
    color: #fff3c9;
}

.subscribe-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
}

.form-row {
    display: flex;
    max-width: 520px;
    gap: 8px;
}

.form-row input {
    min-width: 0;
    flex: 1;
    padding: 13px 16px;
    border: 0;
    border-radius: 13px;
}

.form-row button {
    padding: 0 20px;
    color: #fff;
    background: var(--navy);
    border: 0;
    border-radius: 13px;
    cursor: pointer;
}

.qr-card {
    display: grid;
    justify-items: center;
    padding: 16px;
    color: var(--ink);
    background: #fff;
    border-radius: 20px;
}

.qr-card img {
    width: 156px;
    height: 156px;
}

.qr-card strong {
    margin-top: 8px;
    font-size: 13px;
}

.qr-card span {
    color: var(--muted);
    font-size: 11px;
}

.site-footer {
    margin-top: 92px;
    padding: 44px 0;
    color: #d4d7df;
    background: #20232c;
}

.footer-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px 50px;
}

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

.footer-brand p {
    margin: 2px 0 0;
    color: #9095a3;
    font-size: 12px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 18px;
    font-size: 13px;
}

.footer-meta {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid #363a46;
    color: #898e9b;
    font-size: 12px;
}

.footer-meta p {
    margin: 0;
}

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

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

.category-hero {
    min-height: 250px;
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 22px;
    padding: 40px 48px;
    background: linear-gradient(135deg, #fff1ee, #fffaf6);
    border: 1px solid var(--line);
    border-radius: 30px;
}

.category-hero-icon {
    width: 98px;
    height: 98px;
    display: grid;
    place-items: center;
    color: var(--coral);
    background: var(--coral-soft);
    border-radius: 28px;
}

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

.category-hero h1 {
    margin: 5px 0;
    font-size: 46px;
}

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

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

.update-chip {
    padding: 8px 12px;
    color: #5d6472;
    background: #f0f2f6;
    border-radius: 999px;
    font-size: 12px;
}

.column-note {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: #f1f5fb;
    border-radius: 20px;
}

.column-note > .ui-icon {
    width: 30px;
    height: 30px;
    color: var(--navy);
}

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

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

.reader-shell {
    max-width: 920px;
    margin-top: 26px;
}

.reader-header {
    padding: 42px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
}

.reader-category {
    display: inline-block;
    padding: 6px 12px;
    color: var(--coral);
    background: var(--coral-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.reader-header h1 {
    margin: 14px 0;
    font-size: clamp(30px, 5vw, 50px);
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
}

.reader-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reading-notice {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    padding: 22px;
    background: #fff8e7;
    border: 1px solid #f1dfb1;
    border-radius: 18px;
}

.reading-notice > .ui-icon {
    color: #b27608;
}

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

.chapter-content {
    margin-top: 54px;
}

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

.chapter-lead {
    max-width: 680px;
    margin: 10px auto 34px;
    color: var(--muted);
}

.chapter-content figure {
    margin: 0 0 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
}

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

.chapter-content figcaption {
    padding: 12px 16px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.chapter-end {
    padding: 36px;
    text-align: center;
    background: #f0f8f5;
    border-radius: 24px;
}

.chapter-end .ui-icon {
    width: 38px;
    height: 38px;
    color: #298a72;
}

.chapter-end h2,
.chapter-end p {
    margin: 8px 0 0;
}

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

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    margin-top: 30px;
}

.chapter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-weight: 700;
}

.chapter-button.next {
    color: #fff;
    background: var(--coral);
    border-color: var(--coral);
}

.chapter-button.previous .ui-icon {
    transform: rotate(180deg);
}

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

    .primary-nav {
        position: absolute;
        top: 70px;
        right: 20px;
        left: 20px;
        display: none;
        grid-template-columns: repeat(4, 1fr);
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

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

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

    .hero {
        gap: 36px;
        padding: 42px;
    }

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

    .latest-row .comic-card:nth-child(4),
    .latest-row .comic-card:nth-child(5),
    .catalog-grid .comic-card:nth-child(4),
    .catalog-grid .comic-card:nth-child(5) {
        grid-column: auto;
    }

    .latest-row .comic-card:last-child,
    .catalog-grid .comic-card:last-child {
        grid-column: 2;
    }

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

@media (max-width: 780px) {
    .header-shell,
    .hero,
    .notice-strip,
    .section-head,
    .spotlight-grid,
    .latest-panel,
    .ranking-layout,
    .topic-mosaic,
    .category-section,
    .schedule,
    .editorial,
    .reading-guide,
    .mobile-feature,
    .faq,
    .about,
    .subscribe,
    .footer-shell,
    .page-shell,
    .category-hero,
    .catalog,
    .column-note,
    .reader-shell {
        width: min(100% - 24px, 1200px);
    }

    .section-space,
    .section-head {
        margin-top: 66px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        border-radius: 26px;
    }

    .hero-copy {
        order: 2;
    }

    .hero-art {
        max-width: 440px;
        margin: auto;
    }

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

    .note-top {
        left: -8px;
    }

    .note-bottom {
        right: -6px;
    }

    .notice-strip,
    .notice-strip > div {
        align-items: flex-start;
    }

    .notice-strip {
        flex-direction: column;
    }

    .spotlight-grid,
    .topic-mosaic,
    .ranking-layout,
    .schedule,
    .editorial,
    .mobile-feature,
    .about,
    .subscribe {
        grid-template-columns: 1fr;
    }

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

    .comic-card.is-wide {
        grid-row: auto;
    }

    .latest-panel,
    .schedule,
    .reading-guide,
    .about,
    .subscribe {
        padding: 28px 20px;
    }

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

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

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

    .topic-tile:first-child {
        grid-column: 1 / -1;
    }

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

    .category-card:nth-child(7) {
        grid-column: auto;
    }

    .schedule-days {
        grid-template-columns: 1fr 1fr;
    }

    .editorial-image {
        max-width: 520px;
    }

    .image-caption {
        right: 12px;
    }

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

    .mobile-feature {
        padding: 38px 24px;
    }

    .phone-mockup {
        width: 260px;
    }

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

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

    .footer-nav {
        justify-content: flex-start;
    }

    .category-hero {
        align-items: flex-start;
        padding: 30px 24px;
    }

    .category-hero h1 {
        font-size: 36px;
    }

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

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

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

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

    .hero-actions,
    .form-row,
    .footer-meta {
        flex-direction: column;
    }

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

    .floating-note {
        font-size: 11px;
    }

    .split-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .spotlight-grid,
    .latest-row,
    .catalog-grid,
    .topic-mosaic,
    .schedule-days {
        grid-template-columns: 1fr;
    }

    .latest-row .comic-card:last-child,
    .catalog-grid .comic-card:last-child,
    .topic-tile:first-child {
        grid-column: auto;
        width: 100%;
    }

    .latest-panel {
        width: 100%;
        border-radius: 0;
    }

    .ranking-intro {
        padding: 34px 24px;
    }

    .ranking-list {
        padding: 12px 22px;
    }

    .topic-tile {
        min-height: 300px;
    }

    .category-card {
        grid-template-columns: 52px 1fr;
        padding: 18px;
    }

    .category-card > .ui-icon {
        display: none;
    }

    .category-hero {
        flex-direction: column;
    }

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

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

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

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