:root {
    --ink: #15213b;
    --paper: #f7f7f2;
    --white: #ffffff;
    --blue: #4c5cff;
    --cyan: #7ce7db;
    --pink: #ff6b98;
    --yellow: #ffd45c;
    --line: #dfe3ee;
    --muted: #68718a;
    --shadow: 0 18px 50px rgba(21, 33, 59, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(223, 227, 238, 0.86);
    background: rgba(247, 247, 242, 0.94);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    border: 3px solid var(--ink);
    border-radius: 14px 8px 14px 8px;
    background: var(--pink);
    box-shadow: 4px 4px 0 var(--ink);
    transform: rotate(-4deg);
}

.brand-mark span {
    font-size: 1.35rem;
    font-weight: 900;
    transform: rotate(4deg);
}

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

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

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

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

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

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

.nav-link.active .nav-icon,
.nav-link:hover .nav-icon {
    color: var(--ink);
    border-color: var(--cyan);
    background: var(--cyan);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    color: var(--white);
    border: 0;
    border-radius: 12px;
    background: var(--ink);
}

.hero {
    display: grid;
    min-height: 660px;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 76px;
    margin-top: 52px;
    padding: 64px 56px;
    border: 1px solid var(--line);
    border-radius: 36px;
    background: radial-gradient(circle at 12% 18%, rgba(124, 231, 219, 0.46), transparent 34%), linear-gradient(135deg, #ffffff 0%, #f3f1ff 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-kicker,
.section-index,
.eyebrow {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 12px 0 4px;
    font-size: clamp(3.6rem, 8vw, 6.6rem);
    line-height: 1;
    letter-spacing: -0.08em;
}

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

.hero h2 {
    max-width: 640px;
    margin: 20px 0 14px;
    font-size: clamp(1.45rem, 2.5vw, 2.25rem);
    line-height: 1.35;
}

.hero-copy > p {
    color: var(--muted);
}

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

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

.button.primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 4px 4px 0 var(--ink);
}

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

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

.search-box {
    margin-top: 30px;
}

.search-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.search-row {
    display: flex;
    gap: 8px;
}

.search-row input {
    min-width: 0;
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.search-row button {
    padding: 10px 16px;
    color: var(--white);
    border: 0;
    border-radius: 14px;
    background: var(--ink);
    cursor: pointer;
}

.search-feedback {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.hero-stack {
    position: relative;
    min-height: 520px;
}

.stack-card {
    position: absolute;
    width: 54%;
    padding: 10px;
    border: 2px solid var(--ink);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 10px 12px 0 rgba(21, 33, 59, 0.9);
}

.stack-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    object-fit: cover;
}

.stack-card span {
    display: block;
    padding: 9px 4px 3px;
    font-weight: 900;
    line-height: 1.35;
}

.stack-1 { left: 4%; top: 6%; transform: rotate(-8deg); }
.stack-2 { right: 1%; top: 22%; transform: rotate(8deg); }
.stack-3 { left: 20%; bottom: 0; transform: rotate(-1deg); }

.hero-stamp {
    position: absolute;
    right: 0;
    bottom: 8%;
    display: grid;
    width: 112px;
    height: 112px;
    place-content: center;
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--yellow);
    text-align: center;
    transform: rotate(8deg);
}

.hero-stamp strong { font-size: 1.35rem; }
.hero-stamp span { font-size: 0.78rem; }

.notice-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 42px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--line);
    overflow: hidden;
}

.notice-strip div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    padding: 20px;
    background: var(--white);
}

.notice-strip span { grid-row: 1 / 3; color: var(--pink); font-weight: 900; }
.notice-strip strong { line-height: 1.3; }
.notice-strip small { color: var(--muted); }

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

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

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.section-heading h2,
.spotlight h2,
.trail-copy h2,
.about-title h2,
.app-copy h2,
.page-hero h1 {
    margin: 8px 0 8px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

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

.text-link {
    flex: 0 0 auto;
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
    font-weight: 800;
}

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

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

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

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

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

.cover-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    color: var(--white);
    border-radius: 8px;
    background: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
}

.card-body { padding: 20px; }
.card-body h3 { margin: 7px 0; font-size: 1.2rem; line-height: 1.4; }
.card-body p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.card-meta { display: flex; justify-content: space-between; margin-top: 15px; color: var(--blue); font-size: 0.8rem; font-weight: 800; }

.ink-panel {
    padding: 100px 0;
    color: var(--white);
    background: var(--ink);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 80px;
    align-items: start;
}

.ranking-intro {
    position: sticky;
    top: 120px;
}

.ranking-intro h2 { margin: 10px 0 16px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.15; }
.ranking-intro p { color: #b9c1d5; }
.ranking-list { margin: 0; padding: 0; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 54px 76px 1fr auto; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid #38425b; }
.ranking-list img { width: 76px; aspect-ratio: 3 / 4; border-radius: 10px; object-fit: cover; }
.ranking-list h3 { margin: 0; font-size: 1.2rem; }
.ranking-list p { margin: 4px 0 0; color: #aeb7cc; font-size: 0.86rem; }
.rank-no { color: var(--cyan); font-size: 1.5rem; font-weight: 900; }
.ranking-list > li > strong { color: var(--yellow); }

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

.category-card {
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
}

.category-card:nth-child(3n + 1) { border-top: 6px solid var(--blue); }
.category-card:nth-child(3n + 2) { border-top: 6px solid var(--pink); }
.category-card:nth-child(3n) { border-top: 6px solid var(--cyan); }
.category-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; background: var(--paper); font-size: 1.4rem; font-weight: 900; }
.category-card h3 { margin: 18px 0 8px; font-size: 1.3rem; }
.category-card p { color: var(--muted); font-size: 0.9rem; }
.category-card small { color: var(--blue); font-weight: 800; }

.spotlight {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.spotlight-art { position: relative; }
.spotlight-art img { width: 100%; aspect-ratio: 4 / 5; border: 2px solid var(--ink); border-radius: 30px; object-fit: cover; box-shadow: 14px 14px 0 var(--pink); }
.spotlight-art span { position: absolute; left: -18px; top: 28px; padding: 7px 14px; color: var(--white); background: var(--blue); font-weight: 800; transform: rotate(-6deg); }
.spotlight-copy > p { color: var(--muted); }
.spotlight-copy ul { margin: 28px 0; padding: 0; list-style: none; }
.spotlight-copy li { border-top: 1px solid var(--line); }
.spotlight-copy li:last-child { border-bottom: 1px solid var(--line); }
.spotlight-copy li a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; }
.spotlight-copy li small { color: var(--muted); }

.mosaic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mosaic-item { position: relative; min-height: 360px; border-radius: 26px; overflow: hidden; }
.mosaic-item img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.mosaic-item div { position: absolute; right: 0; bottom: 0; left: 0; padding: 70px 28px 26px; color: var(--white); background: linear-gradient(transparent, rgba(12, 19, 35, 0.95)); }
.mosaic-item h3 { margin: 4px 0; font-size: 1.6rem; }
.mosaic-item p { margin: 0; color: #d9deea; }
.mosaic-1 { grid-row: span 2; min-height: 742px; }
.mosaic-4 { grid-column: 2; }

.schedule-band { padding: 94px 0; color: var(--white); background: var(--blue); }
.section-heading.inverse p { color: #dfe2ff; }
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schedule-grid a { display: grid; min-height: 160px; align-content: space-between; padding: 24px; border: 1px solid rgba(255,255,255,0.35); border-radius: 22px; background: rgba(255,255,255,0.1); }
.schedule-grid strong { color: var(--cyan); }
.schedule-grid span { font-size: 1.2rem; font-weight: 800; }
.schedule-grid small { color: #dfe2ff; }

.shelf-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.shelf-row article { display: flex; min-height: 330px; border: 1px solid var(--line); border-radius: 8px 20px 20px 8px; background: var(--white); box-shadow: 5px 7px 0 var(--line); overflow: hidden; }
.book-spine { display: grid; width: 36px; place-items: center; color: var(--white); background: var(--ink); font-size: 0.72rem; font-weight: 800; writing-mode: vertical-rl; }
.shelf-row article div { display: flex; flex: 1; flex-direction: column; padding: 22px 16px; }
.shelf-row h3 { margin: 0 0 12px; font-size: 1.1rem; }
.shelf-row p { color: var(--muted); font-size: 0.87rem; }
.shelf-row small { margin-top: auto; color: var(--blue); font-weight: 800; }

.genre-trail { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 70px; padding: 54px; border: 2px solid var(--ink); border-radius: 30px; background: var(--yellow); box-shadow: 10px 10px 0 var(--ink); }
.trail-copy p { margin: 0; }
.trail-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trail-steps div { padding: 24px; border: 1px solid var(--ink); border-radius: 20px; background: rgba(255,255,255,0.62); }
.trail-steps span { display: grid; width: 36px; height: 36px; place-items: center; color: var(--white); border-radius: 50%; background: var(--ink); font-weight: 900; }
.trail-steps h3 { margin: 30px 0 6px; }
.trail-steps p { margin: 0; font-size: 0.9rem; }

.about-panel { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 50px 70px; padding: 56px; border-radius: 30px; background: var(--white); }
.about-copy { columns: 2; column-gap: 32px; }
.about-copy p { margin-top: 0; color: var(--muted); }
.about-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: 18px; background: var(--line); overflow: hidden; }
.about-stats div { display: grid; padding: 20px; background: var(--paper); text-align: center; }
.about-stats strong { color: var(--blue); font-size: 2rem; }

.app-subscribe { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 70px; padding: 58px 70px; color: var(--white); border-radius: 32px; background: var(--ink); }
.app-copy p { max-width: 700px; color: #bac2d6; }
.subscribe-status { display: block; margin-top: 16px; color: var(--cyan); }
.qr-card { width: 220px; padding: 18px; color: var(--ink); border-radius: 22px; background: var(--white); text-align: center; }
.qr-pattern { display: grid; aspect-ratio: 1; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; border: 2px solid var(--ink); }
.qr-pattern span { background: var(--ink); }
.qr-pattern span:nth-child(2), .qr-pattern span:nth-child(4), .qr-pattern span:nth-child(8) { background: var(--cyan); }
.qr-card strong, .qr-card small { display: block; margin-top: 10px; }
.qr-card small { color: var(--muted); }

.page-hero { margin-top: 52px; padding: 54px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(135deg, var(--white), #eef5ff); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 0.9rem; }
.breadcrumb a { color: var(--blue); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 70px; align-items: end; margin-top: 42px; }
.page-icon { display: grid; width: 64px; height: 64px; place-items: center; color: var(--white); border-radius: 18px; background: var(--blue); font-size: 1.6rem; font-weight: 900; }
.page-hero-grid p { color: var(--muted); }
.page-hero-grid aside { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.page-hero-grid aside p { margin-bottom: 0; font-size: 0.9rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-card .card-body { padding: 17px; }
.catalog-card .card-body p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.seo-note { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 40px; border-left: 8px solid var(--pink); border-radius: 0 22px 22px 0; background: var(--white); }
.seo-note h2 { margin: 0 0 8px; }
.seo-note p { max-width: 800px; margin: 0; color: var(--muted); }

.reader { margin-top: 44px; margin-bottom: 120px; }
.reader-header { max-width: 900px; margin: 46px auto 34px; text-align: center; }
.reader-category { color: var(--blue); font-weight: 900; }
.reader-header h1 { margin: 14px 0; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.2; letter-spacing: -0.05em; }
.reader-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--muted); font-size: 0.9rem; }
.reader-lead { margin-top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); text-align: left; }
.chapter-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 34px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.chapter-nav a { padding: 8px; color: var(--blue); font-weight: 800; text-align: center; }
.chapter-nav a:first-child { text-align: left; }
.chapter-nav a:last-child { text-align: right; }
.chapter-nav .disabled { color: #9ca3b5; }
.comic-chapter { max-width: 900px; margin: 60px auto; }
.comic-chapter figure { margin: 0 0 28px; border-radius: 26px; background: var(--ink); overflow: hidden; box-shadow: var(--shadow); }
.comic-chapter figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.comic-chapter figcaption { padding: 12px 18px; color: var(--white); font-size: 0.85rem; }
.story-panel { margin: 0 0 70px; padding: 34px 40px; border-left: 5px solid var(--blue); background: var(--white); }
.story-panel h2 { margin: 0 0 10px; font-size: 1.6rem; }
.story-panel p { margin: 0; color: var(--muted); }
.chapter-end { max-width: 760px; margin: 80px auto; padding: 50px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); text-align: center; }
.chapter-end span { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; }
.chapter-end h2 { margin: 8px 0; font-size: 2rem; }
.chapter-end p { margin: 0; }

.site-footer { margin-top: 120px; padding: 70px 0 28px; color: var(--white); background: #0d1529; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.footer-grid h2 { margin-top: 0; color: var(--cyan); font-size: 1rem; }
.footer-grid a:not(.footer-brand), .footer-grid p { display: block; margin: 8px 0; color: #aeb7cc; }
.footer-brand { font-size: 1.6rem; font-weight: 900; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid #313a50; color: #8791aa; font-size: 0.85rem; }

.search-match { outline: 5px solid var(--yellow); outline-offset: 5px; }

@media (max-width: 1050px) {
    .menu-toggle { display: inline-flex; }
    .site-nav { position: absolute; top: 78px; right: 20px; left: 20px; display: none; grid-template-columns: repeat(3, 1fr); padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
    .site-nav.open { display: grid; }
    .nav-link { justify-content: center; }
    .hero { grid-template-columns: 1fr; gap: 40px; }
    .hero-stack { min-height: 560px; }
    .editorial-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
    .shelf-row { grid-template-columns: repeat(3, 1fr); }
    .ranking-layout, .genre-trail { grid-template-columns: 1fr; }
    .ranking-intro { position: static; }
    .trail-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
    .section-shell, .header-shell, .footer-grid, .footer-bottom { width: min(100% - 24px, 1200px); }
    .header-shell { min-height: 74px; }
    .brand-copy small { display: none; }
    .site-nav { top: 70px; grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: auto; margin-top: 28px; padding: 34px 22px; border-radius: 24px; }
    .hero h1 { font-size: 3.6rem; }
    .hero-stack { min-height: 420px; }
    .stack-card { width: 52%; }
    .hero-stamp { width: 90px; height: 90px; }
    .search-row { flex-direction: column; }
    .notice-strip { grid-template-columns: repeat(2, 1fr); }
    .content-section { margin-top: 78px; margin-bottom: 78px; }
    .section-heading { align-items: start; flex-direction: column; }
    .editorial-grid, .category-grid, .catalog-grid, .schedule-grid, .shelf-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ranking-layout { gap: 36px; }
    .ranking-list li { grid-template-columns: 42px 64px 1fr; }
    .ranking-list li > strong { display: none; }
    .ranking-list p { display: none; }
    .spotlight { grid-template-columns: 1fr; gap: 50px; }
    .mosaic-grid { grid-template-columns: 1fr; }
    .mosaic-item, .mosaic-1 { min-height: 380px; grid-row: auto; }
    .mosaic-4 { grid-column: auto; }
    .schedule-band, .ink-panel { padding: 70px 0; }
    .genre-trail { gap: 36px; padding: 34px 24px; }
    .trail-steps { grid-template-columns: 1fr; }
    .about-panel { grid-template-columns: 1fr; padding: 34px 24px; }
    .about-copy { columns: 1; }
    .about-stats { grid-column: auto; }
    .app-subscribe { grid-template-columns: 1fr; justify-items: start; padding: 38px 26px; }
    .page-hero { margin-top: 28px; padding: 30px 24px; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .seo-note { align-items: start; flex-direction: column; }
    .chapter-nav { grid-template-columns: 1fr; }
    .chapter-nav a, .chapter-nav a:first-child, .chapter-nav a:last-child { text-align: center; }
    .story-panel { padding: 26px 24px; }
    .chapter-end { border-radius: 30px; padding: 34px 20px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .brand-mark { width: 42px; height: 42px; }
    .brand-copy strong { font-size: 1.05rem; }
    .notice-strip, .editorial-grid, .category-grid, .catalog-grid, .schedule-grid, .shelf-row, .about-stats { grid-template-columns: 1fr; }
    .hero-stack { min-height: 330px; }
    .stack-card { width: 54%; padding: 6px; }
    .stack-card span { font-size: 0.78rem; }
    .hero-stamp { right: 3px; bottom: 0; }
    .ranking-list li { grid-template-columns: 36px 56px 1fr; gap: 10px; }
    .ranking-list img { width: 56px; }
    .spotlight-copy li a { flex-direction: column; gap: 0; }
    .qr-card { width: 100%; max-width: 220px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}
