:root {
    --ink: #171522;
    --muted: #6f6b7d;
    --paper: #fffdfb;
    --wash: #f6f3fa;
    --pink: #ff4f87;
    --pink-dark: #db2864;
    --purple: #6d5dfc;
    --mint: #12b8a6;
    --line: #e8e2ed;
    --shadow: 0 18px 60px rgba(36, 24, 55, 0.11);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 20% 10%, rgba(255, 79, 135, 0.08), transparent 28%), radial-gradient(circle at 82% 32%, rgba(109, 93, 252, 0.07), transparent 25%);
    content: "";
    pointer-events: none;
}

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

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

button,
input {
    font: inherit;
}

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

.container,
.header-shell,
.footer-shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: 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;
}

.ui-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.ui-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(232, 226, 237, 0.88);
    background: rgba(255, 253, 251, 0.94);
    backdrop-filter: blur(16px);
}

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

.brand img {
    width: 188px;
    height: 52px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    min-height: 48px;
    padding: 8px 11px;
    align-items: center;
    gap: 6px;
    border-radius: 14px;
    color: #5f5a69;
    font-size: 14px;
    font-weight: 700;
    transition: 180ms ease;
}

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

.nav-link:hover,
.nav-link.is-active {
    color: var(--pink-dark);
    background: #fff0f5;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: white;
}

.hero {
    display: grid;
    min-height: 570px;
    margin-top: 48px;
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 34px;
    overflow: hidden;
    background: #181522;
    box-shadow: var(--shadow);
}

.hero-copy {
    display: flex;
    padding: 70px 64px;
    flex-direction: column;
    justify-content: center;
    color: white;
    background-image: linear-gradient(135deg, rgba(255, 79, 135, 0.2), transparent 55%), radial-gradient(circle at 20% 20%, rgba(109, 93, 252, 0.32), transparent 22%);
}

.hero-label,
.section-kicker,
.eyebrow {
    margin: 0 0 10px;
    color: var(--pink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(58px, 7vw, 92px);
    line-height: 1.05;
    letter-spacing: -0.07em;
}

.hero h1 a {
    color: white;
}

.hero-lead {
    max-width: 560px;
    margin: 28px 0 32px;
    color: #d8d3df;
    font-size: 19px;
    line-height: 1.8;
}

.hero-search {
    display: grid;
    max-width: 590px;
    padding: 7px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-search .ui-icon {
    margin-left: 8px;
    color: #aaa4b7;
}

.hero-search input {
    min-width: 0;
    padding: 10px 0;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
}

.hero-search input::placeholder {
    color: #aaa4b7;
}

.hero-search button,
.button {
    display: inline-flex;
    min-height: 46px;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    font-weight: 800;
    cursor: pointer;
}

.hero-search button,
.button-primary {
    color: white;
    background: var(--pink);
}

.hero-tags {
    display: flex;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 12px;
    color: #c5bfcd;
    font-size: 14px;
}

.hero-tags a:hover {
    color: white;
}

.hero-feature {
    position: relative;
    min-height: 570px;
    overflow: hidden;
}

.hero-art,
.hero-art img {
    width: 100%;
    height: 100%;
}

.hero-art img {
    object-fit: cover;
}

.hero-feature::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(17, 14, 25, 0.92));
    content: "";
}

.hero-feature-copy {
    position: absolute;
    right: 38px;
    bottom: 36px;
    left: 38px;
    z-index: 2;
    color: white;
}

.hero-feature-copy span {
    color: #ffabc7;
    font-weight: 800;
}

.hero-feature-copy h2 {
    margin: 6px 0;
    font-size: 34px;
}

.hero-feature-copy p {
    margin: 0 0 18px;
    color: #ddd8e2;
}

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

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

.signal-bar {
    margin-top: 36px;
    border-block: 1px solid var(--line);
    background: white;
}

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

.signal-grid div {
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-right: 1px solid var(--line);
}

.signal-grid div:last-child {
    border-right: 0;
}

.signal-grid strong {
    font-size: 28px;
}

.signal-grid span {
    color: var(--muted);
}

.section {
    margin-top: 104px;
}

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

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

.section-heading p:not(.section-kicker) {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pink-dark);
    font-weight: 800;
    white-space: nowrap;
}

.text-link .ui-icon {
    width: 18px;
}

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

.category-card {
    position: relative;
    display: grid;
    min-height: 190px;
    padding: 26px;
    grid-template-rows: auto 1fr auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:last-child {
    grid-column: 2 / span 2;
}

.category-card::before {
    position: absolute;
    top: -45px;
    right: -45px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 16%, white);
    content: "";
}

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

.category-icon {
    width: 42px;
    height: 42px;
    padding: 10px;
    border-radius: 13px;
    color: white;
    background: var(--accent);
}

.category-text {
    display: block;
    margin-top: 18px;
}

.category-text strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

.category-text small {
    display: block;
    color: var(--muted);
    line-height: 1.65;
}

.category-arrow {
    margin-top: 14px;
    color: var(--accent);
}

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

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

.comic-cover {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--wash);
}

.comic-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

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

.chapter-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    color: white;
    background: rgba(23, 21, 34, 0.84);
    font-size: 13px;
    font-weight: 800;
}

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

.comic-card-body h3,
.catalog-card h2 {
    margin: 0;
    font-size: 22px;
}

.comic-card-body > p:not(.eyebrow) {
    min-height: 54px;
    margin: 9px 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.card-meta {
    display: flex;
    padding-top: 14px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.save-button {
    display: inline-flex;
    padding: 5px 8px;
    align-items: center;
    gap: 4px;
    border: 0;
    border-radius: 9px;
    color: var(--pink-dark);
    background: #fff0f5;
    cursor: pointer;
}

.save-button .ui-icon {
    width: 15px;
    height: 15px;
}

.save-button.is-saved {
    color: white;
    background: var(--pink);
}

.search-status {
    margin: -12px 0 22px;
    color: var(--purple);
    font-weight: 800;
}

.editorial {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    border-radius: 30px;
    background: #f1edf7;
    overflow: hidden;
}

.editorial-poster {
    position: relative;
    min-height: 590px;
}

.editorial-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-stamp {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 14px;
    border-radius: 999px;
    color: white;
    background: var(--pink);
    font-weight: 800;
}

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

.editorial-lead {
    margin: 24px 0;
    color: var(--muted);
    font-size: 18px;
}

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

.check-list li {
    display: flex;
    padding: 14px 0;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #dcd4e6;
}

.check-list span {
    color: var(--pink);
    font-weight: 900;
}

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

.ranking-section {
    padding: 92px 0;
    color: white;
    background: #171522;
}

.ranking-section .section-heading p:not(.section-kicker) {
    color: #aaa4b7;
}

.ranking-section .text-link {
    color: #ff8db2;
}

.rank-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.rank-winner {
    position: relative;
    min-height: 520px;
    border-radius: 24px;
    overflow: hidden;
}

.rank-winner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-winner::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9));
    content: "";
}

.rank-winner div {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
    z-index: 2;
}

.rank-winner span {
    color: #ffc75b;
    font-weight: 900;
}

.rank-winner h3 {
    margin: 4px 0;
    font-size: 34px;
}

.rank-winner p {
    color: #ddd8e2;
}

.rank-winner a {
    color: #ff8db2;
    font-weight: 800;
}

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

.rank-list li {
    display: grid;
    padding: 14px 0;
    grid-template-columns: 42px 68px 1fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #363141;
}

.rank-list img {
    width: 68px;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
}

.rank-number {
    color: #777080;
    font-size: 21px;
    font-weight: 900;
}

.rank-list a {
    display: block;
    font-size: 17px;
    font-weight: 800;
}

.rank-list small {
    color: #938c9c;
}

.trend-up {
    color: #54dfc9;
    font-weight: 800;
}

.timeline {
    position: relative;
    padding-left: 8px;
}

.timeline::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 94px;
    width: 2px;
    background: var(--line);
    content: "";
}

.timeline-item {
    display: grid;
    min-height: 108px;
    grid-template-columns: 70px 32px 1fr;
    align-items: start;
    gap: 12px;
}

.timeline-item time {
    padding-top: 2px;
    font-weight: 900;
}

.timeline-dot {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    margin: 7px auto 0;
    border: 4px solid white;
    border-radius: 50%;
    background: var(--pink);
    box-shadow: 0 0 0 2px var(--pink);
}

.timeline-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.timeline-item h3 {
    display: inline;
    margin: 0 12px 0 0;
    font-size: 21px;
}

.timeline-item div > span {
    color: var(--mint);
    font-size: 13px;
    font-weight: 800;
}

.hanman-showcase {
    padding: 92px 0;
    color: white;
    background: linear-gradient(135deg, #7133ad, #4e3eb9 55%, #24468d);
}

.hanman-showcase .section-kicker {
    color: #ffabc7;
}

.hanman-showcase .section-heading p:not(.section-kicker) {
    color: #d8d2e9;
}

.shelf-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.shelf-book a {
    display: block;
}

.shelf-book img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 16px 34px rgba(16, 11, 43, 0.3);
}

.shelf-book span {
    display: block;
    margin-top: 14px;
    color: #ffb4ce;
    font-size: 12px;
    font-weight: 800;
}

.shelf-book h3 {
    margin: 2px 0;
    font-size: 17px;
}

.shelf-book p {
    margin: 0;
    color: #cbc4dc;
    font-size: 13px;
}

.mood-grid {
    display: grid;
    min-height: 500px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
}

.mood-card {
    display: flex;
    padding: 28px;
    flex-direction: column;
    justify-content: end;
    border-radius: 24px;
    color: white;
    background: linear-gradient(135deg, #6d5dfc, #9b76ff);
    overflow: hidden;
}

.mood-card:nth-child(2) {
    background: linear-gradient(160deg, #1a2134, #334e76);
}

.mood-card:nth-child(3) {
    color: var(--ink);
    background: linear-gradient(135deg, #ffe08c, #ffb66d);
}

.mood-card:nth-child(4) {
    background: linear-gradient(135deg, #e04478, #ff7aa7);
}

.mood-card:nth-child(5) {
    color: var(--ink);
    background: linear-gradient(135deg, #82e5d6, #d4fff3);
}

.mood-large {
    grid-row: span 2;
    grid-column: span 2;
}

.mood-tall {
    grid-row: span 2;
}

.mood-wide {
    grid-column: span 1;
}

.mood-card span,
.mood-card small {
    opacity: 0.78;
}

.mood-card strong {
    margin: 5px 0;
    font-size: clamp(22px, 2.6vw, 38px);
    line-height: 1.2;
}

.reading-route {
    display: grid;
    padding: 70px;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
    border-radius: 30px;
    background: #fff0f5;
}

.route-copy > p:not(.section-kicker) {
    color: var(--muted);
}

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

.route-steps article {
    position: relative;
    padding: 24px;
    border: 1px solid #f2cad7;
    border-radius: 20px;
    background: white;
}

.route-steps article > span {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #e6c3cf;
    font-weight: 900;
}

.route-steps .ui-icon {
    width: 34px;
    height: 34px;
    color: var(--pink);
}

.route-steps h3 {
    margin: 18px 0 6px;
}

.route-steps p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.bookshelf-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
}

.bookshelf-copy h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
}

.bookshelf-copy > p:not(.section-kicker) {
    color: var(--muted);
}

.shelf-counter {
    display: flex;
    margin-top: 24px;
    align-items: baseline;
    gap: 10px;
}

.shelf-counter strong {
    color: var(--pink);
    font-size: 44px;
}

.bookshelf-panel {
    min-height: 290px;
    padding: 26px;
    border: 2px dashed #dcd4e6;
    border-radius: 26px;
    background: var(--wash);
}

.empty-shelf {
    display: flex;
    min-height: 234px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.empty-shelf .ui-icon {
    width: 44px;
    height: 44px;
    color: #b5adbf;
}

.empty-shelf h3 {
    margin: 12px 0 2px;
}

.empty-shelf p {
    margin: 0;
    color: var(--muted);
}

.shelf-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.shelf-item {
    padding: 16px;
    border-radius: 14px;
    background: white;
    font-weight: 800;
}

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

.notes-grid article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
}

.note-mark {
    height: 42px;
    color: var(--pink);
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 1;
}

.notes-grid article > p {
    min-height: 112px;
    color: #484351;
}

.notes-grid footer {
    display: flex;
    padding-top: 16px;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.notes-grid footer span {
    color: var(--muted);
    font-size: 13px;
}

.about-section {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    border-radius: 30px;
    color: white;
    background: #171522;
    overflow: hidden;
}

.about-visual {
    display: flex;
    min-height: 520px;
    padding: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: radial-gradient(circle, rgba(255, 79, 135, 0.46), transparent 36%), repeating-radial-gradient(circle at center, transparent 0 38px, rgba(255, 255, 255, 0.08) 39px 40px);
}

.about-number {
    font-family: Georgia, serif;
    font-size: 180px;
    line-height: 0.8;
}

.about-copy {
    padding: 66px;
}

.about-copy p:not(.section-kicker) {
    color: #c6c0cd;
}

.about-points {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.about-points span {
    padding: 7px 12px;
    border: 1px solid #4a4451;
    border-radius: 999px;
    color: #eeeaf1;
    font-size: 13px;
}

.app-section {
    display: grid;
    margin-bottom: 104px;
    padding: 54px;
    grid-template-columns: 240px 1fr 190px;
    align-items: center;
    gap: 48px;
    border: 1px solid #cfc6ff;
    border-radius: 30px;
    background: linear-gradient(120deg, #f5f1ff, #fff5f8);
}

.app-brand-graphic img {
    width: 100%;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.app-copy > p:not(.section-kicker) {
    color: var(--muted);
}

.app-copy small {
    display: block;
    margin-top: 12px;
    color: var(--muted);
}

.qr-card {
    display: flex;
    padding: 14px;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
    background: white;
    box-shadow: 0 12px 30px rgba(36, 24, 55, 0.08);
}

.qr-card img {
    width: 164px;
    aspect-ratio: 1;
}

.qr-card span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.site-footer {
    padding: 62px 0 36px;
    color: #d1ccd7;
    background: #100e17;
}

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

.footer-brand img {
    width: 188px;
}

.footer-brand p {
    max-width: 320px;
    color: #8e8795;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links h2 {
    margin: 0 0 8px;
    color: white;
    font-size: 16px;
}

.footer-links a,
.footer-meta {
    color: #8e8795;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-meta {
    align-self: end;
}

.footer-meta p {
    margin: 4px 0;
}

.breadcrumb {
    display: flex;
    margin-top: 32px;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

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

.column-hero {
    display: grid;
    min-height: 290px;
    margin-top: 28px;
    padding: 54px;
    grid-template-columns: 84px 1fr auto;
    align-items: center;
    gap: 32px;
    border-radius: 30px;
    background: color-mix(in srgb, var(--column-accent) 12%, white);
    overflow: hidden;
}

.column-icon {
    width: 84px;
    height: 84px;
    padding: 22px;
    border-radius: 24px;
    color: white;
    background: var(--column-accent);
}

.column-hero h1 {
    margin: 0;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.1;
}

.column-hero p:not(.section-kicker) {
    max-width: 660px;
    margin: 12px 0 0;
    color: var(--muted);
}

.column-stat {
    display: flex;
    width: 120px;
    height: 120px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 50%;
    color: white;
    background: var(--column-accent);
}

.column-stat strong {
    font-size: 34px;
    line-height: 1;
}

.column-stat span {
    font-size: 13px;
}

.catalog-toolbar {
    display: flex;
    margin-bottom: 26px;
    align-items: center;
    justify-content: space-between;
}

.catalog-toolbar div {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.catalog-toolbar strong {
    font-size: 24px;
}

.catalog-toolbar span,
.catalog-toolbar a {
    color: var(--muted);
    font-size: 14px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.catalog-card {
    display: grid;
    min-height: 330px;
    grid-template-columns: 44% 56%;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: white;
    overflow: hidden;
}

.catalog-cover {
    position: relative;
    overflow: hidden;
}

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

.catalog-cover > span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    color: white;
    background: var(--pink);
    font-size: 12px;
    font-weight: 800;
}

.catalog-card > div {
    display: flex;
    padding: 26px;
    flex-direction: column;
    justify-content: center;
}

.catalog-card > div > p:not(.eyebrow) {
    margin: 10px 0;
    color: var(--muted);
    font-size: 14px;
}

.catalog-card dl {
    display: flex;
    margin: 5px 0 18px;
    gap: 18px;
}

.catalog-card dl div {
    display: flex;
    flex-direction: column;
}

.catalog-card dt {
    color: var(--muted);
    font-size: 12px;
}

.catalog-card dd {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
}

.channel-note,
.chapter-comment {
    display: grid;
    margin-bottom: 104px;
    padding: 42px;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 40px;
    border-left: 5px solid var(--pink);
    border-radius: 0 20px 20px 0;
    background: var(--wash);
}

.channel-note h2,
.chapter-comment h2 {
    margin: 0;
}

.channel-note > p,
.chapter-comment > p {
    margin: 0;
    color: var(--muted);
}

.reader {
    max-width: 920px;
}

.reader-header {
    padding: 56px 20px 36px;
    text-align: center;
}

.reader-header h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.15;
}

.reader-meta {
    display: flex;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: var(--muted);
    font-size: 14px;
}

.reading-note {
    display: flex;
    margin-bottom: 24px;
    padding: 24px;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid #ddd5ff;
    border-radius: 18px;
    background: #f6f3ff;
}

.reading-note .ui-icon {
    width: 32px;
    height: 32px;
    color: var(--purple);
}

.reading-note h2 {
    margin: 0;
    font-size: 18px;
}

.reading-note p {
    margin: 4px 0 0;
    color: var(--muted);
}

.chapter-nav {
    display: grid;
    margin: 30px 0 60px;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    text-align: center;
}

.chapter-nav a:first-child {
    text-align: left;
}

.chapter-nav a:last-child {
    text-align: right;
}

.chapter-nav a:hover {
    color: var(--pink-dark);
}

.chapter-nav .button {
    justify-self: center;
    color: white;
}

.chapter-nav-top {
    margin-bottom: 30px;
    padding: 16px 20px;
    border-radius: 15px;
    background: var(--wash);
}

.comic-chapter {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.comic-page {
    position: relative;
    margin: 0;
    border-radius: 20px;
    background: #171522;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.page-number {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    background: rgba(23, 21, 34, 0.82);
    font-weight: 900;
    line-height: 42px;
    text-align: center;
}

.comic-page figcaption {
    display: flex;
    padding: 18px 22px;
    align-items: baseline;
    gap: 18px;
    color: white;
}

.comic-page figcaption span {
    color: #bdb7c4;
    font-size: 14px;
}

.chapter-end {
    display: flex;
    padding: 74px 20px 30px;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.end-line {
    width: 80px;
    height: 3px;
    margin-bottom: 28px;
    background: var(--pink);
}

.chapter-end .ui-icon {
    width: 36px;
    height: 36px;
    color: var(--pink);
}

.chapter-end h2 {
    margin: 12px 0 4px;
    font-size: 30px;
}

.chapter-end p {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
}

@media (max-width: 1080px) {
    .header-shell {
        min-height: 74px;
    }

    .nav-toggle {
        display: inline-flex;
    }

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

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

    .nav-link {
        justify-content: center;
    }

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

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

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

    .category-card:last-child {
        grid-column: auto;
    }

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

    .reading-route {
        padding: 48px;
        grid-template-columns: 1fr;
    }

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

    .footer-meta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .container,
    .header-shell,
    .footer-shell {
        width: min(100% - 28px, 1200px);
    }

    .section {
        margin-top: 76px;
    }

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

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

    .hero h1 {
        font-size: clamp(50px, 16vw, 74px);
    }

    .hero-lead {
        font-size: 17px;
    }

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

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

    .signal-grid div:nth-child(2) {
        border-right: 0;
    }

    .signal-grid div:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

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

    .category-grid,
    .comic-grid,
    .rank-layout,
    .notes-grid,
    .bookshelf-section,
    .catalog-grid,
    .channel-note,
    .chapter-comment,
    .about-section {
        grid-template-columns: 1fr;
    }

    .comic-grid,
    .notes-grid {
        gap: 18px;
    }

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

    .editorial-poster {
        min-height: 420px;
    }

    .editorial-copy {
        padding: 38px 26px;
    }

    .ranking-section,
    .hanman-showcase {
        padding: 70px 0;
    }

    .mood-grid {
        min-height: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 210px);
    }

    .mood-large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .mood-tall {
        grid-row: span 1;
    }

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

    .about-visual {
        min-height: 340px;
    }

    .about-copy {
        padding: 42px 28px;
    }

    .app-section {
        padding: 34px;
        grid-template-columns: 160px 1fr;
        gap: 28px;
    }

    .qr-card {
        grid-column: 1 / -1;
        justify-self: center;
    }

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

    .footer-brand,
    .footer-meta {
        grid-column: 1 / -1;
    }

    .column-hero {
        padding: 38px 28px;
        grid-template-columns: 64px 1fr;
    }

    .column-icon {
        width: 64px;
        height: 64px;
        padding: 16px;
    }

    .column-stat {
        display: none;
    }

    .catalog-card {
        min-height: 320px;
    }
}

@media (max-width: 540px) {
    .brand img {
        width: 164px;
        height: auto;
    }

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

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

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

    .hero-search button {
        grid-column: 1 / -1;
    }

    .category-grid,
    .signal-grid,
    .shelf-row,
    .mood-grid,
    .footer-shell,
    .app-section {
        grid-template-columns: 1fr;
    }

    .signal-grid div {
        min-height: 86px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .signal-grid div:last-child {
        border-bottom: 0;
    }

    .rank-list li {
        grid-template-columns: 34px 58px 1fr;
    }

    .rank-list img {
        width: 58px;
    }

    .trend-up {
        display: none;
    }

    .mood-grid {
        grid-template-rows: none;
    }

    .mood-card,
    .mood-large,
    .mood-tall,
    .mood-wide {
        min-height: 190px;
        grid-column: auto;
        grid-row: auto;
    }

    .reading-route {
        padding: 34px 24px;
    }

    .app-brand-graphic {
        max-width: 190px;
    }

    .app-section,
    .qr-card {
        grid-column: auto;
    }

    .catalog-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-card {
        grid-template-columns: 1fr;
    }

    .catalog-cover {
        aspect-ratio: 4 / 3;
    }

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

    .comic-page figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .chapter-nav {
        gap: 8px;
        font-size: 13px;
    }

    .chapter-nav .button {
        padding: 8px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
