:root {
    --ink: #14213d;
    --muted: #64748b;
    --paper: #f7f8fc;
    --surface: #ffffff;
    --line: #dce2ec;
    --coral: #ff6b57;
    --coral-dark: #dc4938;
    --mint: #1fbea5;
    --amber: #f6b73c;
    --violet: #7967e8;
    --blue: #3a80e8;
    --pink: #ea6fa4;
    --green: #42a85f;
    --red: #e34d59;
    --shadow: 0 24px 70px rgba(20, 33, 61, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 12% 15%, rgba(255, 107, 87, 0.08), transparent 24%), radial-gradient(circle at 88% 24%, rgba(31, 190, 165, 0.08), transparent 22%);
    content: "";
    pointer-events: none;
}

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

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

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

.shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.section-gap {
    margin-top: 72px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(220, 226, 236, 0.9);
    background: rgba(247, 248, 252, 0.94);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 17px 8px 17px 8px;
    color: #ffffff;
    background: var(--coral);
    box-shadow: 6px 6px 0 var(--ink);
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 800;
    transform: rotate(-3deg);
}

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

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

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.75rem;
}

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

.nav-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 12px;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    background: #ffffff;
    transform: translateY(-1px);
}

.nav-link.is-active {
    box-shadow: 0 8px 20px rgba(20, 33, 61, 0.08);
}

.nav-icon {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--ink);
    font-size: 0.78rem;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 10px 15px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: var(--ink);
    font: inherit;
    font-weight: 700;
}

.hero {
    padding-top: 18px;
}

.hero-grid {
    display: grid;
    min-height: 640px;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 70px;
    padding: 54px;
    border: 1px solid rgba(220, 226, 236, 0.9);
    border-radius: 36px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--coral-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: clamp(4.7rem, 8vw, 7.6rem);
    letter-spacing: -0.07em;
    line-height: 0.98;
}

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

.hero-lead {
    max-width: 620px;
    margin: 28px 0 0;
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 14px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

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

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

.button-secondary {
    border: 1px solid var(--line);
    background: #ffffff;
}

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

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

.hero-stats {
    display: flex;
    gap: 32px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.hero-stats li {
    display: grid;
}

.hero-stats strong {
    font-family: Georgia, serif;
    font-size: 1.9rem;
    line-height: 1.1;
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-feature {
    position: relative;
}

.hero-feature::before {
    position: absolute;
    top: -22px;
    right: -18px;
    width: 120px;
    height: 120px;
    border: 18px solid var(--mint);
    border-radius: 50%;
    content: "";
    opacity: 0.25;
}

.feature-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 28px 12px 28px 12px;
    background: var(--ink);
    box-shadow: 16px 18px 0 rgba(20, 33, 61, 0.08);
    transform: rotate(1.5deg);
}

.feature-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.feature-caption {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #ffffff;
    background: rgba(20, 33, 61, 0.84);
    backdrop-filter: blur(13px);
}

.feature-caption span {
    color: #ffd2ca;
    font-size: 0.78rem;
    font-weight: 800;
}

.feature-caption h2 {
    margin: 5px 0 7px;
    font-size: 1.65rem;
}

.feature-caption p {
    margin: 0;
    color: #dfe7f4;
    font-size: 0.9rem;
}

.feature-caption a {
    display: inline-flex;
    margin-top: 13px;
    color: #ffffff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 5px;
}

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

.section-heading h2 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.2;
}

.section-heading > p:last-child {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--muted);
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.centered-heading {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.centered-heading > p:last-child {
    margin-inline: auto;
}

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

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

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(20, 33, 61, 0.07);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.comic-card:hover {
    box-shadow: 0 20px 46px rgba(20, 33, 61, 0.13);
    transform: translateY(-6px);
}

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #dfe7f4;
}

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

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

.comic-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(20, 33, 61, 0.8);
    font-size: 0.75rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

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

.comic-card-body h3 {
    margin: 5px 0 9px;
    font-size: 1.18rem;
    line-height: 1.35;
}

.comic-card-body > p:not(.comic-meta) {
    display: -webkit-box;
    min-height: 78px;
    margin: 0 0 13px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.comic-meta {
    margin: 0;
    color: var(--coral-dark);
    font-size: 0.76rem;
    font-weight: 800;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 48px;
    padding: 54px;
    border-radius: 30px;
    color: #ffffff;
    background: var(--ink);
}

.ranking-intro h2 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: 2.7rem;
    line-height: 1.2;
}

.ranking-intro > p:not(.eyebrow) {
    color: #b9c5db;
}

.ranking-intro .button {
    margin-top: 15px;
    color: var(--ink);
    background: #ffffff;
}

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

.rank-row {
    display: grid;
    grid-template-columns: 54px 70px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
}

.rank-row img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
}

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

.rank-copy {
    display: grid;
}

.rank-copy small {
    color: #aebbd2;
}

.rank-arrow {
    font-size: 1.3rem;
}

.category-section {
    padding-block: 72px;
    background: #eef1f7;
}

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

.category-card {
    display: grid;
    min-height: 176px;
    grid-template-columns: auto 1fr;
    grid-template-rows: 1fr auto;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #ffffff;
    transition: transform 180ms ease;
}

.category-card:hover {
    transform: translateY(-4px) rotate(-0.5deg);
}

.category-icon,
.listing-symbol {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: #ffffff;
    background: var(--ink);
    font-size: 1.3rem;
}

.category-card strong {
    display: block;
    font-size: 1.08rem;
}

.category-card small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.79rem;
    line-height: 1.65;
}

.category-go {
    grid-column: 2;
    color: var(--coral-dark);
    font-size: 1.3rem;
}

.category-coral .category-icon,
.category-coral.listing-symbol {
    background: var(--coral);
}

.category-amber .category-icon,
.category-amber.listing-symbol {
    color: var(--ink);
    background: var(--amber);
}

.category-mint .category-icon,
.category-mint.listing-symbol {
    background: var(--mint);
}

.category-pink .category-icon,
.category-pink.listing-symbol {
    background: var(--pink);
}

.category-red .category-icon,
.category-red.listing-symbol {
    background: var(--red);
}

.category-violet .category-icon,
.category-violet.listing-symbol {
    background: var(--violet);
}

.category-blue .category-icon,
.category-blue.listing-symbol {
    background: var(--blue);
}

.category-green .category-icon,
.category-green.listing-symbol {
    background: var(--green);
}

.update-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 30px;
}

.update-panel,
.reading-note {
    padding: 38px;
    border-radius: 26px;
}

.update-panel {
    border: 1px solid var(--line);
    background: #ffffff;
}

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

.update-timeline li {
    display: grid;
    grid-template-columns: 55px 12px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.timeline-time {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.timeline-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 5px rgba(255, 107, 87, 0.14);
}

.update-timeline strong {
    font-size: 0.98rem;
}

.update-timeline p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

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

.reading-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    background: var(--coral);
}

.reading-note .eyebrow {
    color: #ffe5df;
}

.reading-note h2 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: 2.1rem;
    line-height: 1.25;
}

.reading-note a {
    width: fit-content;
    margin-top: 10px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.note-icon {
    font-size: 2.5rem;
}

.shelf-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 60px;
    padding: 56px;
    border-radius: 30px;
    background: #e7fbf7;
}

.shelf-art {
    position: relative;
    min-height: 250px;
}

.shelf-ticket {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 14px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.book-stack {
    display: flex;
    height: 250px;
    align-items: end;
    justify-content: center;
    gap: 10px;
}

.book-stack span {
    display: grid;
    width: 74px;
    place-items: center;
    border: 3px solid var(--ink);
    border-radius: 10px 10px 4px 4px;
    color: #ffffff;
    background: var(--coral);
    font-family: Georgia, serif;
    font-size: 1.6rem;
    font-weight: 900;
    box-shadow: 7px 7px 0 var(--ink);
}

.book-stack span:nth-child(1) {
    height: 170px;
    transform: rotate(-5deg);
}

.book-stack span:nth-child(2) {
    height: 215px;
    background: var(--mint);
}

.book-stack span:nth-child(3) {
    height: 145px;
    background: var(--amber);
    transform: rotate(6deg);
}

.shelf-copy h2 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: 2.7rem;
    line-height: 1.25;
}

.shelf-copy > p:not(.eyebrow) {
    color: #3f5f5b;
}

.shelf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.shelf-tags span {
    padding: 7px 13px;
    border: 1px solid rgba(20, 33, 61, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    font-weight: 800;
}

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

.editor-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 30px;
    border-top: 4px solid var(--ink);
    border-radius: 0 0 20px 20px;
    background: #ffffff;
}

.editor-index {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 2.1rem;
    font-weight: 900;
}

.editor-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.editor-card h3 {
    margin: 4px 0 10px;
    font-size: 1.2rem;
}

.completed-section {
    padding-block: 70px;
    color: #ffffff;
    background: var(--ink);
}

.completed-section .eyebrow,
.completed-section .text-link {
    color: #ff9d8e;
}

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

.completed-strip {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.completed-strip img {
    width: 86px;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    object-fit: cover;
}

.completed-strip span {
    display: grid;
}

.completed-strip small {
    color: #ff9d8e;
}

.completed-strip strong {
    margin: 4px 0;
    line-height: 1.35;
}

.completed-strip em {
    color: #aebbd2;
    font-size: 0.78rem;
    font-style: normal;
}

.discovery-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
    gap: 50px;
}

.discovery-copy h2 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: 2.8rem;
}

.discovery-copy > p:last-child {
    color: var(--muted);
}

.route-map {
    display: grid;
    gap: 12px;
}

.route-map a {
    display: grid;
    grid-template-columns: 60px 0.7fr 1.3fr;
    align-items: center;
    gap: 18px;
    padding: 19px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.route-map a:nth-child(2) {
    margin-left: 28px;
}

.route-map span {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-weight: 900;
}

.route-map small {
    color: var(--muted);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    padding: 50px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
}

.about-layout h2 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: 2.45rem;
    line-height: 1.35;
}

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

.faq-layout {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    gap: 50px;
}

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

.faq-list details {
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

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

.app-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    padding: 55px 70px;
    border-radius: 34px;
    color: #ffffff;
    background: linear-gradient(135deg, #ed5b49, #ff806b 55%, #f8a44d);
    box-shadow: var(--shadow);
}

.app-copy .eyebrow {
    color: #ffe3de;
}

.app-copy h2 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: 3rem;
    line-height: 1.2;
}

.app-copy p:not(.eyebrow) {
    max-width: 620px;
}

.qr-wrap {
    width: 210px;
    text-align: center;
}

.qr-visual {
    display: grid;
    width: 150px;
    height: 150px;
    margin-inline: auto;
    place-items: center;
    border: 12px solid #ffffff;
    border-radius: 22px;
    color: var(--ink);
    background-color: #ffffff;
    background-image: linear-gradient(90deg, var(--ink) 20%, transparent 20%, transparent 40%, var(--ink) 40%, var(--ink) 60%, transparent 60%, transparent 80%, var(--ink) 80%), linear-gradient(var(--ink) 20%, transparent 20%, transparent 40%, var(--ink) 40%, var(--ink) 60%, transparent 60%, transparent 80%, var(--ink) 80%);
    background-size: 38px 38px;
}

.qr-visual span {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 16px;
    color: #ffffff;
    background: var(--coral);
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 0 0 8px #ffffff;
}

.qr-wrap p {
    margin: 12px 0 0;
    font-size: 0.82rem;
}

.site-footer {
    margin-top: 72px;
    padding-top: 58px;
    color: #ffffff;
    background: #0d1730;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 60px;
}

.footer-brand {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 900;
}

.footer-grid p {
    color: #9faeca;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 7px;
}

.footer-grid h2 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.footer-links a {
    color: #c7d1e4;
    font-size: 0.9rem;
}

.copyright {
    margin-top: 42px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #7f8da9;
    font-size: 0.82rem;
}

.copyright p {
    margin: 0;
}

.listing-hero {
    padding-top: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 0.88rem;
}

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

.listing-title-row {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 28px;
    padding: 44px 50px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.listing-symbol {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    font-size: 2rem;
}

.listing-title-row h1 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: clamp(2.4rem, 4vw, 4.1rem);
    line-height: 1.15;
}

.listing-title-row p:last-child {
    margin: 13px 0 0;
    color: var(--muted);
}

.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #e9edf4;
}

.listing-toolbar div {
    display: flex;
    gap: 10px;
}

.listing-toolbar span {
    color: var(--muted);
}

.status-pill {
    padding: 5px 11px;
    border-radius: 999px;
    color: #137c6b !important;
    background: #d6f6ef;
    font-size: 0.78rem;
    font-weight: 800;
}

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

.listing-grid .comic-card-featured {
    grid-row: span 1;
}

.channel-note-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    padding: 42px;
    border-radius: 26px;
    color: #ffffff;
    background: var(--ink);
}

.channel-note-card h2 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: 2.1rem;
    line-height: 1.3;
}

.channel-note-card > p {
    margin: 0;
    color: #bdc8dc;
}

.reader-width {
    max-width: 980px;
}

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

.reader-header h1 {
    margin: 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.18;
}

.reader-summary {
    max-width: 720px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.reader-meta {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin: 30px 0 0;
}

.reader-meta div {
    display: grid;
}

.reader-meta dt {
    color: var(--muted);
    font-size: 0.75rem;
}

.reader-meta dd {
    margin: 0;
    font-weight: 800;
}

.reader-instruction {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin-top: 28px;
    padding: 24px 28px;
    border-left: 5px solid var(--mint);
    border-radius: 0 18px 18px 0;
    background: #e5f8f4;
}

.instruction-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--mint);
}

.reader-instruction h2 {
    margin: 0;
    font-size: 1.05rem;
}

.reader-instruction p {
    margin: 5px 0 0;
    color: #37645e;
    font-size: 0.9rem;
}

.reader-content {
    margin-top: 42px;
}

.chapter-opening {
    padding: 35px;
    border-radius: 24px 24px 0 0;
    color: #ffffff;
    background: var(--ink);
    text-align: center;
}

.chapter-opening span {
    color: #ff9f90;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.chapter-opening h2 {
    margin: 7px 0 0;
    font-family: Georgia, "Songti SC", serif;
    font-size: 2rem;
}

.reader-panel {
    margin: 0;
    padding: 0 0 34px;
    background: #ffffff;
}

.reader-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #e7ebf2;
}

.reader-panel figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 24px 34px 0;
}

.reader-panel figcaption span {
    color: var(--coral-dark);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.reader-panel figcaption p {
    margin: 0;
    color: #475569;
}

.chapter-end {
    padding: 48px;
    border-radius: 0 0 26px 26px;
    color: #ffffff;
    background: var(--ink);
    text-align: center;
}

.chapter-end > span {
    color: var(--coral);
    font-size: 2rem;
}

.chapter-end h2 {
    margin: 6px 0 8px;
    font-family: Georgia, "Songti SC", serif;
    font-size: 2.2rem;
}

.chapter-end p {
    max-width: 620px;
    margin: 0 auto 22px;
    color: #b9c5db;
}

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.chapter-link {
    display: grid;
    min-height: 110px;
    align-content: center;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
}

.chapter-link span {
    color: var(--muted);
    font-size: 0.8rem;
}

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

.chapter-disabled {
    opacity: 0.55;
}

@media (max-width: 1080px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding-block: 13px;
    }

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

    .site-nav {
        display: none;
        width: 100%;
        flex: 1 0 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.85fr;
        gap: 35px;
        padding: 42px;
    }

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

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

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

    .ranking-layout,
    .update-layout,
    .shelf-layout,
    .discovery-layout,
    .about-layout,
    .faq-layout {
        grid-template-columns: 1fr;
    }

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

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

    .site-nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .nav-link {
        width: 100%;
    }

    .section-gap {
        margin-top: 48px;
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        padding-top: 6px;
    }

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

    .hero h1 {
        font-size: clamp(4rem, 22vw, 6rem);
    }

    .hero-stats {
        gap: 20px;
    }

    .feature-caption {
        right: 13px;
        bottom: 13px;
        left: 13px;
        padding: 18px;
    }

    .split-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .comic-grid,
    .listing-grid,
    .category-grid,
    .completed-grid {
        grid-template-columns: 1fr;
    }

    .ranking-layout,
    .shelf-layout,
    .about-layout,
    .channel-note-card,
    .app-card {
        padding: 30px 24px;
    }

    .ranking-layout,
    .channel-note-card {
        grid-template-columns: 1fr;
    }

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

    .rank-row img {
        width: 62px;
        height: 62px;
    }

    .rank-arrow {
        display: none;
    }

    .update-panel,
    .reading-note {
        padding: 26px 22px;
    }

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

    .update-timeline a {
        grid-column: 3;
    }

    .route-map a,
    .route-map a:nth-child(2) {
        grid-template-columns: 46px 1fr;
        margin-left: 0;
        padding: 17px;
    }

    .route-map small {
        grid-column: 2;
    }

    .app-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-copy h2 {
        font-size: 2.3rem;
    }

    .qr-wrap {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .listing-title-row {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }

    .listing-toolbar,
    .listing-toolbar div {
        align-items: flex-start;
        flex-direction: column;
    }

    .reader-header {
        padding: 32px 22px;
    }

    .reader-meta {
        align-items: center;
        flex-direction: column;
        gap: 12px;
    }

    .reader-instruction {
        grid-template-columns: 1fr;
    }

    .chapter-opening {
        padding: 28px 20px;
    }

    .reader-panel figcaption {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 20px 20px 0;
    }

    .chapter-end {
        padding: 36px 22px;
    }

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

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

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