:root {
    --blue: #245cf3;
    --ink: #18233d;
    --muted: #68758a;
    --line: #e5eaf3;
    --paper: #ffffff;
    --canvas: #f7f9fc;
    --soft: #edf3ff;
    --radius: 20px;
    color-scheme: light;
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    color: var(--ink);
    background: var(--canvas);
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--blue);
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

button,
input {
    min-width: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid #ed9817;
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
    object-fit: cover;
}

h1,
h2,
h3,
p,
figure,
blockquote {
    margin: 0;
}

h1,
h2,
h3 {
    line-height: 1.45;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 18px;
}

svg.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 20px;
    vertical-align: middle;
}

h1 > .icon,
h2 > .icon {
    margin-right: 10px;
    color: var(--blue);
    width: 24px;
    height: 24px;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    margin-top: 64px;
}

.muted {
    color: var(--muted);
    font-size: 14px;
}

.eyebrow {
    font-size: 13px;
    font-weight: 650;
    color: var(--blue);
    letter-spacing: 0.045em;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.topbar {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.brand strong {
    font-size: 23px;
    letter-spacing: -1px;
    display: block;
}

.brand small {
    color: var(--muted);
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
}

#search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 5px 5px 5px 15px;
    width: 380px;
}

#search-form input {
    border: 0;
    width: 100%;
    background: transparent;
    padding: 5px 0;
    font-size: 14px;
    color: var(--ink);
}

#search-form button {
    background: var(--blue);
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 7px 16px;
    flex-shrink: 0;
    font-size: 14px;
}

.main-nav {
    display: flex;
    align-items: stretch;
    gap: 5px;
    padding-bottom: 13px;
}

.nav-link {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    border-radius: 9px;
    text-align: center;
    padding: 9px 4px;
    white-space: nowrap;
}

.nav-link > span,
.button > span,
.text-link > span,
.hero-read > span,
.hero-facts > span,
.shelf-pick > span,
.reader-meta > span,
.return-category > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-link.active {
    color: var(--blue);
    background: var(--soft);
}

.nav-link:hover {
    background: var(--canvas);
}

.menu-button {
    display: none;
}

.hero {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #e9efff;
    border-radius: 24px;
    overflow: hidden;
    min-height: 430px;
}

.hero-copy {
    padding: 45px 44px 36px;
}

.hero h1 {
    font-size: clamp(32px, 3.4vw, 46px);
    margin-top: 14px;
    letter-spacing: -2px;
}

.hero-lead {
    margin-top: 16px;
    font-size: 21px;
    white-space: pre-line;
    font-weight: 500;
}

.hero-detail {
    font-size: 14px;
    color: #526681;
    margin-top: 14px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 21px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

.primary {
    background: var(--blue);
    color: #fff;
}

.primary:hover {
    color: #fff;
    background: #1848cc;
}

.light {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--line);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 25px;
    color: #60708c;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-height: 430px;
    background: #153654;
}

.hero-art {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-position: center 35%;
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(9, 25, 54, 0.91));
}

.hero-caption {
    position: absolute;
    z-index: 1;
    bottom: 30px;
    left: 32px;
    right: 26px;
    color: white;
}

.hero-caption h2 {
    font-size: 27px;
    margin: 10px 0 4px;
}

.hero-caption p,
.hero-read {
    font-size: 14px;
}

.hero-read {
    display: inline-block;
    margin-top: 16px;
    color: white;
}

.hero-read:hover {
    color: #cdddff;
}

.pill {
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid #c3d4ed80;
    background: #20304770;
    border-radius: 6px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.section-head .muted {
    margin-top: 6px;
}

.text-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
}

.section-head > .text-link {
    flex-shrink: 0;
}

.grid {
    display: grid;
    gap: 22px;
}

.grid-six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comic-card {
    min-width: 0;
}

.cover {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3 / 4;
}

.cover img {
    width: 100%;
    height: 100%;
    transition: transform 200ms ease;
    color: var(--ink);
    font-size: 14px;
}

.cover-link:hover img {
    transform: scale(1.035);
}

.cover-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
    color: white;
    background: #172844d9;
    padding: 2px 8px;
    border-radius: 5px;
}

.blue {
    background: #e2ecff;
    color: #245cf3;
}

.pink {
    background: #fce6ef;
    color: #b8336a;
}

.violet {
    background: #eae5ff;
    color: #6b4bc5;
}

.green {
    background: #dff2e8;
    color: #237756;
}

.card-copy {
    padding-top: 14px;
}

.card-copy .eyebrow {
    font-size: 12px;
    margin-bottom: 5px;
    color: var(--muted);
}

.card-copy h3 {
    font-size: 16px;
    min-height: 24px;
    margin-bottom: 5px;
}

.spotlight {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    padding: 34px 38px;
    border: 1px solid #eedde6;
    background: #fff5f9;
    border-radius: var(--radius);
}

.spotlight h2 {
    font-size: 24px;
    margin: 7px 0 12px;
}

.spotlight-copy > p:not(.eyebrow) {
    color: #716273;
    font-size: 15px;
    margin-bottom: 18px;
}

.spotlight blockquote {
    border-left: 1px solid #dec6d3;
    padding-left: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #854c69;
}

.spotlight blockquote p {
    font-size: 23px;
    font-family: "Noto Serif SC", "SimSun", serif;
    line-height: 1.9;
    white-space: pre-line;
}

.spotlight cite {
    font-size: 13px;
    margin-top: 16px;
    font-style: normal;
}

.category-card {
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--paper);
    padding: 23px;
    transition: border-color 160ms, transform 160ms;
}

.category-card:hover {
    border-color: #a8bfff;
    transform: translateY(-3px);
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.category-card p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
    min-height: 50px;
}

.category-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    color: var(--blue);
    font-size: 13px;
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px 28px;
    column-gap: 40px;
}

.rank-grid article {
    display: flex;
    gap: 22px;
    align-items: center;
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
    min-width: 0;
}

.rank-grid article:nth-last-child(-n+2) {
    border: 0;
}

.rank-grid h3 {
    font-size: 17px;
}

.rank-grid p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 5px;
}

.rank-number {
    font-size: 30px;
    color: #a2b4d6;
    font-weight: 750;
    font-style: italic;
}

.rank-grid article:first-child .rank-number,
.rank-grid article:nth-child(2) .rank-number {
    color: var(--blue);
}

.rank-arrow {
    margin-left: auto;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 2px solid #d7e0f3;
    gap: 24px;
}

.timeline-item {
    position: relative;
    padding-top: 22px;
}

.timeline-item::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    position: absolute;
    top: -6px;
    left: 0;
    box-shadow: 0 0 0 5px var(--canvas);
}

.timeline time {
    font-size: 28px;
    font-weight: 700;
    margin-right: 12px;
}

.timeline h3 {
    margin: 12px 0 7px;
    font-size: 17px;
}

.timeline p {
    color: var(--muted);
    font-size: 14px;
    min-height: 50px;
    margin-bottom: 12px;
}

.complete-feature {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    background: #15243e;
    color: white;
    border-radius: var(--radius);
    overflow: hidden;
}

.complete-image {
    min-height: 420px;
    position: relative;
    background: #253b60;
}

.complete-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-position: center 30%;
}

.complete-copy {
    padding: 34px 40px;
}

.complete-copy h2 {
    font-size: 29px;
    margin: 10px 0;
}

.complete-copy .eyebrow,
.complete-copy .icon {
    color: #aec4ff;
}

.complete-copy > p:not(.eyebrow) {
    color: #c4cfe0;
    font-size: 15px;
}

.complete-copy > div {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0 12px;
    font-size: 14px;
    color: #c4cfe0;
}

.complete-count {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.chapter-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 25px;
    padding-left: 22px;
    margin: 0;
    font-size: 14px;
    color: #e0e8f5;
}

.complete-feature a:hover {
    color: #a8c4ff;
}

.reading-paths article {
    border-top: 3px solid var(--blue);
    background: var(--paper);
    padding: 26px;
    border-radius: 0 0 14px 14px;
}

.reading-paths article:nth-child(2) {
    border-color: #c07094;
}

.reading-paths article:nth-child(3) {
    border-color: #8370c0;
}

.time-label {
    color: var(--blue);
    font-size: 28px;
    font-weight: 750;
}

.reading-paths h3 {
    margin: 10px 0;
}

.reading-paths p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.shelf-box {
    padding: 30px;
    border: 1px dashed #bacbeb;
    background: #eff4ff;
    border-radius: var(--radius);
}

.shelf-intro {
    display: flex;
    gap: 20px;
    align-items: center;
}

.shelf-intro > .icon {
    color: var(--blue);
    width: 30px;
    height: 30px;
    flex-basis: 30px;
}

.shelf-intro p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 5px;
}

.shelf-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.shelf-pick {
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--paper);
    font-size: 14px;
}

.shelf-pick > span {
    justify-content: space-between;
    width: 100%;
}

.shelf-list > :last-child:nth-child(odd),
.search-results > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

details {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 24px;
}

summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    margin-top: 15px;
    color: var(--muted);
    font-size: 14px;
}

details[open] summary > .icon {
    transform: rotate(45deg);
}

.about {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 70px;
    padding: 38px 0;
    border-block: 1px solid var(--line);
}

.about h2 {
    margin: 8px 0 18px;
}

.about-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 15px;
    margin-top: 14px;
}

.about-numbers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    border-left: 1px solid var(--line);
    padding-left: 35px;
}

.about-numbers div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.about-numbers strong {
    font-size: 35px;
    color: var(--blue);
}

.about-numbers span {
    font-size: 14px;
    color: var(--muted);
}

.subscribe {
    display: grid;
    grid-template-columns: 48px 1fr 210px;
    gap: 24px;
    padding: 36px;
    background: #e9efff;
    border-radius: var(--radius);
}

.subscribe-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 14px;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe h2 {
    margin: 5px 0 10px;
}

.subscribe p:not(.eyebrow) {
    font-size: 14px;
    color: #5b6d89;
}

.subscribe .subscription-note {
    margin-top: 16px;
    font-size: 12px;
}

.mobile-brand {
    border-left: 1px solid #ced9ee;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mobile-brand span {
    font-size: 12px;
    color: #5b6d89;
}

footer {
    background: var(--paper);
    border-top: 1px solid var(--line);
    margin-top: 64px;
}

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-block: 28px;
}

.footer-top p,
.footer-links {
    font-size: 14px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-block: 20px;
    font-size: 12px;
    color: var(--muted);
}

.breadcrumb {
    padding: 25px 0;
    font-size: 14px;
    color: var(--muted);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: #a2afc1;
}

.category-hero {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
    border-radius: var(--radius);
    padding: 40px;
    background: var(--soft);
}

.category-hero h1 {
    font-size: 36px;
    margin: 9px 0 14px;
}

.category-hero p {
    max-width: 750px;
}

.category-lead {
    font-size: 20px;
    margin-bottom: 14px;
}

.category-hero p:last-child {
    color: var(--muted);
    font-size: 15px;
}

.category-hero > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-left: 1px solid #ced9ee;
    padding-left: 28px;
}

.category-hero strong {
    color: var(--blue);
    font-size: 50px;
    line-height: 1.2;
}

.category-hero .button {
    margin-top: 14px;
}

.reading-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    padding: 30px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
}

.reading-notes p {
    margin-top: 13px;
    color: var(--muted);
}

.reader {
    width: min(820px, 100%);
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 38px 44px;
    --reader-size: 18px;
}

.reader-header h1 {
    font-size: 31px;
    margin: 12px 0 16px;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 13px;
    color: var(--muted);
}

.reader-note {
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--soft);
    margin-top: 26px;
    font-size: 14px;
}

.reader-note p {
    margin-top: 6px;
    color: var(--muted);
}

.reader-tools {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 24px;
    border-bottom: 1px solid var(--line);
}

.reader-tools > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reader-tools button,
#close-search {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    padding: 9px 13px;
    font-size: 14px;
}

.reader-tools button[aria-pressed="true"] {
    background: var(--soft);
    color: var(--blue);
    border-color: #99b3f8;
}

.story-title {
    margin-top: 28px;
}

.story-panel {
    margin-top: 30px;
}

.story-panel h3 {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 12px;
}

.story-panel img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: var(--soft);
    border-radius: 8px;
}

.story-panel figcaption {
    color: var(--muted);
    font-size: 12px;
    margin-top: 6px;
}

.story-panel > p {
    font-size: var(--reader-size);
    line-height: 2.05;
    margin-top: 18px;
    letter-spacing: 0.025em;
}

.chapter-end {
    margin-top: 40px;
    padding: 30px 20px;
    background: var(--canvas);
    border-radius: 12px;
    text-align: center;
}

.chapter-end > .icon {
    color: var(--blue);
}

.chapter-end h2 {
    margin: 8px 0;
    font-size: 24px;
}

.chapter-end p {
    color: var(--muted);
    font-size: 14px;
}

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.chapter-nav .button {
    font-size: 14px;
    padding: 13px 10px;
}

.return-category {
    display: block;
    text-align: center;
    color: var(--blue);
    font-size: 14px;
    margin-top: 22px;
}

.all-chapters {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.all-chapters a {
    display: block;
    padding: 16px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
}

.all-chapters a[aria-current="page"] {
    background: var(--soft);
    border-color: #99b3f8;
    color: var(--blue);
}

.search-panel {
    margin-top: 26px;
    padding: 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.search-panel .section-head {
    margin-bottom: 12px;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.search-results a {
    display: block;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.search-results a span {
    display: block;
    font-size: 14px;
    color: var(--muted);
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--paper);
    color: var(--blue);
    box-shadow: 0 5px 20px #24355014;
    z-index: 3;
}

.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: #172844;
    color: white;
    border-radius: 12px;
    padding: 13px 22px;
    width: max-content;
    max-width: calc(100% - 48px);
    box-shadow: 0 8px 30px #0002;
    z-index: 10;
    font-size: 14px;
}

.sr-only,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    display: block;
    padding: 10px;
    text-align: center;
    color: var(--blue);
}

[hidden] {
    display: none !important;
}

body.night {
    --ink: #e3eaf8;
    --muted: #a8b5cd;
    --line: #33405a;
    --paper: #1a263b;
    --canvas: #101929;
    --soft: #233653;
    --blue: #9ebcff;
    background: var(--canvas);
    color: var(--ink);
    color-scheme: dark;
}

body.night .primary {
    color: #132746;
}

@media (max-width: 1050px) {
    .main-nav {
        flex-wrap: wrap;
    }

    .nav-link {
        flex: 0 0 calc(20% - 5px);
    }

    .grid-six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy {
        padding: 32px;
    }

    .hero-facts {
        gap: 12px;
    }

    .spotlight {
        gap: 28px;
        padding: 28px;
    }

    .spotlight blockquote {
        padding-left: 26px;
    }

    .timeline {
        gap: 18px;
    }

    .timeline time {
        display: block;
    }

    .complete-copy {
        padding: 28px;
    }

    .subscribe {
        grid-template-columns: 1fr 180px;
        padding: 28px;
    }

    .subscribe-icon {
        display: none;
    }

    .about {
        gap: 30px;
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 32px);
    }

    .topbar {
        flex-wrap: wrap;
        gap: 15px;
        padding-block: 18px;
    }

    .brand strong {
        font-size: 20px;
    }

    .brand small {
        font-size: 12px;
        letter-spacing: 0;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    #search-form {
        order: 3;
        width: 100%;
    }

    .menu-button {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 9px 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        color: var(--ink);
        background: var(--paper);
        font-size: 14px;
    }

    .main-nav {
        display: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding-bottom: 18px;
    }

    .main-nav.open {
        display: grid;
    }

    .nav-link {
        font-size: 13px;
        padding: 10px 3px;
    }

    .nav-link .icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .hero {
        margin-top: 24px;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 28px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-lead {
        font-size: 19px;
    }

    .hero-visual {
        min-height: 280px;
    }

    .hero-caption {
        bottom: 24px;
        left: 25px;
    }

    .section {
        margin-top: 44px;
    }

    h2 {
        font-size: 22px;
    }

    .section-head {
        gap: 14px;
        align-items: flex-start;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .grid {
        gap: 16px;
    }

    .grid-six,
    .grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-three.reading-paths {
        grid-template-columns: 1fr;
    }

    .spotlight {
        grid-template-columns: 1fr;
    }

    .spotlight blockquote {
        padding-left: 22px;
    }

    .spotlight blockquote p {
        font-size: 20px;
    }

    .category-card {
        padding: 18px;
    }

    .category-card h3 {
        font-size: 17px;
    }

    .category-card p {
        min-height: 75px;
    }

    .rank-grid {
        grid-template-columns: 1fr;
        padding: 5px 23px;
    }

    .rank-grid article:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .rank-grid article {
        gap: 18px;
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border: 0;
        gap: 26px 20px;
    }

    .timeline-item {
        border-top: 2px solid #d7e0f3;
    }

    .complete-feature {
        grid-template-columns: 1fr;
    }

    .complete-image {
        min-height: 280px;
    }

    .complete-copy h2 {
        font-size: 25px;
    }

    .chapter-mini {
        grid-template-columns: 1fr;
    }

    .shelf-box {
        padding: 24px;
    }

    .shelf-list,
    .faq-grid,
    .search-results {
        grid-template-columns: 1fr;
    }

    .about {
        grid-template-columns: 1fr;
        padding-block: 28px;
    }

    .about-numbers {
        flex-direction: row;
        border: 0;
        border-top: 1px solid var(--line);
        padding: 18px 0 0;
        justify-content: space-between;
        gap: 10px;
    }

    .about-numbers div {
        flex-direction: column;
        gap: 0;
    }

    .about-numbers strong {
        font-size: 29px;
    }

    .subscribe {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .mobile-brand {
        border: 0;
        border-top: 1px solid #ced9ee;
        padding: 24px 0 0;
    }

    .mobile-brand img {
        width: 65px;
        height: 65px;
    }

    footer {
        margin-top: 44px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        gap: 14px 20px;
    }

    .category-hero {
        grid-template-columns: 1fr;
        padding: 26px;
        gap: 24px;
    }

    .category-hero > div:last-child {
        border: 0;
        padding: 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }

    .category-hero .button {
        margin: 0;
    }

    .category-hero strong {
        font-size: 32px;
    }

    .reading-notes {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 26px;
    }

    .reader {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .reader-header h1 {
        font-size: 25px;
    }

    .reader-note {
        padding: 15px;
    }

    .reader-tools {
        padding-block: 18px;
    }

    .reader-tools button {
        padding: 9px 11px;
    }

    .chapter-nav,
    .all-chapters {
        grid-template-columns: 1fr;
    }

    .story-panel > p {
        line-height: 1.95;
    }

    .back-top {
        right: 12px;
        bottom: 12px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 370px) {
    .container {
        width: calc(100% - 24px);
    }

    .hero-copy {
        padding: 24px 20px;
    }

    .hero h1 {
        font-size: 31px;
    }

    .hero .button {
        padding: 11px 13px;
    }

    .category-card {
        padding: 14px;
    }

    .category-card p {
        min-height: 98px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .nav-link > span {
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
