:root {
    --pink: #d9326b;
    --pink-soft: #fff0f5;
    --ink: #20232f;
    --muted: #686b78;
    --line: #e9e9ef;
    --paper: #ffffff;
    --bg: #f7f8fb;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

a, button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 5px;
}

button:disabled {
    cursor: default;
}

img {
    display: block;
    max-width: 100%;
}

h1, h2, h3, p, figure {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.4;
}

h1 {
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -1px;
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 18px;
}

p {
    color: var(--muted);
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    vertical-align: middle;
}

h1 .icon, h2 .icon {
    margin-right: 10px;
    color: var(--pink);
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.header-top {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 94px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 44px;
    height: 44px;
}

.brand-name {
    font-weight: 800;
    font-size: 23px;
    letter-spacing: 1px;
}

.brand-name small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 3px;
}

.header-note {
    margin-left: auto;
    color: var(--muted);
    font-size: 14px;
}

.shelf-link {
    font-size: 14px;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.nav {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-block: 12px;
}

.nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.nav a.active, .nav a:hover {
    background: var(--pink-soft);
    color: var(--pink);
}

.nav .icon {
    width: 18px;
    height: 18px;
}

.menu-toggle {
    display: none;
}

.skip {
    position: fixed;
    top: -100px;
    background: var(--paper);
    padding: 12px;
    z-index: 20;
}

.skip:focus {
    top: 0;
}

main > section {
    margin-top: 64px;
}

main > section:last-child {
    margin-bottom: 64px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 474px;
    margin-top: 36px;
    border-radius: 24px;
    overflow: hidden;
    background: #fcebf2;
}

.hero-copy {
    padding: 42px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    color: var(--pink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 23px;
    letter-spacing: 0;
    color: #a72955;
}

.hero-tagline {
    font-weight: 800;
    font-size: clamp(30px, 3.5vw, 45px);
    line-height: 1.45;
    color: #242535;
    margin: 14px 0 18px;
}

.hero-copy > p:not(.eyebrow):not(.hero-tagline) {
    max-width: 430px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 19px;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--pink);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.button:hover {
    filter: brightness(.94);
}

.secondary {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--line);
}

.light {
    background: #fff;
    color: #242535;
}

.hero-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    color: #83596a;
    font-size: 12px;
}

.hero-art {
    position: relative;
    min-height: 450px;
    background: #303b55;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, #172135eb);
}

.hero-caption {
    position: absolute;
    bottom: 30px;
    left: 32px;
    right: 24px;
    z-index: 1;
    color: #fff;
}

.hero-caption > span {
    font-size: 12px;
    letter-spacing: 2px;
}

.hero-caption h2 {
    font-size: 30px;
    margin-top: 6px;
}

.hero-caption p {
    color: #eff0f5;
    margin: 6px 0 18px;
}

.quick-strip {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--paper);
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.quick-strip a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-right: 1px solid var(--line);
}

.quick-strip a:last-child {
    border: 0;
}

.quick-strip .icon {
    width: 30px;
    height: 30px;
    color: var(--pink);
}

.quick-strip strong, .quick-strip span {
    display: block;
}

.quick-strip span {
    font-size: 12px;
    color: var(--muted);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head p {
    font-size: 14px;
    margin-top: 8px;
}

.text-link {
    color: var(--pink);
    font-size: 14px;
    font-weight: 600;
}

.text-link .icon {
    width: 17px;
}

.grid {
    display: grid;
    gap: 24px;
}

.four, .categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comic-card {
    min-width: 0;
}

.cover-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    background: #e2e4ed;
}

.cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    transition: transform .25s;
}

.cover-link:hover .cover {
    transform: scale(1.035);
}

.cover-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #20232fdd;
    color: #fff;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 12px;
}

.card-body {
    padding-top: 14px;
}

.card-body > p {
    font-size: 14px;
    margin-top: 8px;
    min-height: 50px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}

.read-link {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--pink);
    background: var(--pink-soft);
    border-radius: 50%;
    flex-shrink: 0;
}

.category {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    padding: 22px;
    transition: border-color .2s;
}

.category:hover {
    border-color: var(--pink);
}

.category > .icon {
    color: var(--pink);
    width: 29px;
    height: 29px;
    margin-bottom: 16px;
}

.category p {
    font-size: 14px;
    margin: 10px 0 16px;
    min-height: 50px;
}

.category > span {
    font-size: 12px;
    color: var(--muted);
}

.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: var(--radius);
    background: #222c42;
    color: #fff;
}

.feature-image {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 490px;
    object-fit: cover;
}

.editorial-copy {
    padding: 40px;
}

.editorial-copy p:not(.eyebrow) {
    color: #c7cedc;
    margin-top: 16px;
}

.editorial-copy .eyebrow {
    color: #ffa9c7;
}

blockquote {
    margin: 24px 0;
    padding-left: 16px;
    border-left: 2px solid #ef94b2;
    font-size: 18px;
}

.ranking-list {
    list-style: none;
    padding: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.ranking-list li {
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.ranking-list li:last-child {
    border: 0;
}

.rank-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--pink);
    font-style: italic;
    min-width: 45px;
}

.ranking-list li > div {
    flex: 1;
}

.ranking-list p {
    font-size: 14px;
    margin-top: 6px;
}

.tag {
    display: inline-block;
    font-size: 12px;
    color: var(--pink);
    background: var(--pink-soft);
    border-radius: 5px;
    padding: 3px 9px;
}

.korean-band {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    padding: 36px;
    border-radius: var(--radius);
    background: #f8e9f1;
}

.korean-band > div > p:not(.eyebrow) {
    margin: 16px 0;
}

.chapter-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.chapter-tile {
    padding: 24px;
    background: var(--paper);
    border-radius: 12px;
}

.chapter-tile > span {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--pink);
}

.chapter-tile h3 {
    margin: 18px 0 12px;
}

.chapter-tile p {
    font-size: 14px;
}

.chapter-tile > .icon {
    margin-top: 20px;
    color: var(--pink);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.timeline > div {
    border-top: 2px solid #ecd4dd;
    position: relative;
    padding-top: 20px;
}

.timeline-dot {
    position: absolute;
    top: -6px;
    left: 0;
    width: 10px;
    height: 10px;
    background: var(--pink);
    border-radius: 50%;
}

.timeline time {
    font-size: 12px;
    color: var(--muted);
}

.timeline h3 {
    margin: 12px 0 8px;
    font-size: 16px;
}

.timeline p {
    font-size: 14px;
}

.horizontal-story {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 22px;
    background: var(--paper);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.horizontal-story img {
    border-radius: 8px;
}

.horizontal-story h3 {
    margin: 10px 0;
}

.horizontal-story p {
    font-size: 14px;
    margin-bottom: 16px;
}

.shelf-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 36px;
    border-radius: var(--radius);
    border: 1px dashed #d69db1;
    background: var(--paper);
}

.shelf-banner > div > .icon {
    color: var(--pink);
    margin-bottom: 10px;
}

.shelf-banner p {
    margin-top: 12px;
    font-size: 14px;
}

.shelf-banner > a {
    flex-shrink: 0;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.guide-steps > div {
    border-left: 2px solid var(--line);
    padding-left: 22px;
}

.guide-steps span {
    color: var(--pink);
    font-size: 14px;
    font-weight: bold;
}

.guide-steps h3 {
    margin: 12px 0;
}

.guide-steps p {
    font-size: 14px;
}

.about-panel {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 36px;
    background: var(--paper);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.about-panel p {
    margin-bottom: 16px;
}

.faq {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

details {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
}

summary {
    cursor: pointer;
    font-weight: 600;
}

details p {
    margin-top: 14px;
    font-size: 14px;
}

.subscribe {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 36px;
    background: #243047;
    color: #fff;
    border-radius: var(--radius);
}

.subscribe p {
    color: #cbd3e1;
    font-size: 14px;
    margin-top: 8px;
}

.subscribe .eyebrow {
    color: #f7a8c1;
    margin-top: 0;
}

.subscribe .fine {
    font-size: 12px;
}

.subscribe > .button {
    margin-left: auto;
    flex-shrink: 0;
}

.subscribe-brand {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #748299;
    border-radius: 18px;
    color: #ffb6ce;
    font-size: 47px;
    line-height: 1.3;
}

.subscribe-brand span {
    font-size: 10px;
    letter-spacing: 4px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding-block: 28px;
    background: var(--paper);
    font-size: 12px;
}

.footer-row, .footer-row > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    margin-top: 30px;
}

.breadcrumbs a:hover {
    color: var(--pink);
}

.page-intro {
    margin-top: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.page-intro p {
    margin-top: 14px;
    max-width: 780px;
}

.series-intro {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 40px;
    background: var(--paper);
    padding: 32px;
    border-radius: var(--radius);
}

.series-intro img {
    border-radius: 12px;
}

.series-intro h2 {
    font-size: 32px;
    margin: 12px 0;
}

.series-intro p {
    margin-bottom: 20px;
    max-width: 660px;
}

.chapter-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
}

.chapter-card h2 {
    font-size: 21px;
}

.chapter-card p {
    font-size: 14px;
    margin: 15px 0 20px;
}

.reading-note {
    background: var(--pink-soft);
    padding: 24px;
    border-radius: 12px;
}

.reading-note h2 {
    font-size: 18px;
    margin-bottom: 12px;
}

.reading-note p {
    font-size: 14px;
}

.reading-note p + p {
    margin-top: 12px;
}

.reader {
    max-width: 880px;
    margin: 32px auto 64px;
}

.reader-heading {
    text-align: center;
    padding: 20px 0;
}

.reader-heading h1 {
    margin: 20px 0 14px;
    font-size: 32px;
}

.reader-heading p {
    font-size: 14px;
}

.reader-toolbar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}

#reader-status {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: var(--pink);
}

.panel-scene {
    margin-top: 40px;
}

.panel-scene h2 {
    font-size: 19px;
    margin-bottom: 14px;
}

.panel-scene > p {
    font-size: 18px;
    line-height: 2;
    color: var(--ink);
    margin-bottom: 22px;
    padding-inline: 12px;
}

.panel-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: contain;
    background: #e9eaf0;
    border-radius: 10px;
}

figcaption {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
}

.chapter-end {
    text-align: center;
    margin: 44px 0 30px;
}

.chapter-end span {
    color: var(--pink);
    font-weight: 600;
}

.chapter-end p {
    margin-top: 15px;
}

.chapter-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

body.large-type .panel-scene > p {
    font-size: 23px;
}

body.night {
    --ink: #e8eaf0;
    --muted: #b0b6c4;
    --line: #394251;
    --paper: #222a38;
    --bg: #171e2a;
    --pink: #ff91b8;
    --pink-soft: #3d2c3b;
}

.prose {
    max-width: 850px;
    margin-inline: auto;
    background: var(--paper);
    padding: 40px;
    border-radius: var(--radius);
}

.prose h2 {
    margin: 30px 0 14px;
    font-size: 22px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose .button {
    margin-top: 28px;
}

.shelf-empty, .saved-item {
    padding: 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.shelf-empty {
    grid-column: 1 / -1;
}

.shelf-empty p, .saved-item p {
    margin: 12px 0 20px;
}

.saved-item .actions {
    margin-top: 15px;
}

.image-error {
    display: block;
    padding: 9px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 5px;
    color: var(--muted);
    font-size: 12px;
}

@media (min-width: 761px) and (max-width: 1100px) {
    .nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .nav a {
        padding: 7px;
    }

    .hero-copy {
        padding: 28px;
    }

    .korean-band {
        gap: 24px;
        padding: 28px;
        grid-template-columns: 1fr;
    }

    .subscribe {
        flex-wrap: wrap;
    }

    .subscribe > div:nth-child(2) {
        flex: 1;
    }

    .subscribe > .button {
        margin-left: 133px;
    }

    .horizontal-story {
        grid-template-columns: 100px 1fr;
        gap: 16px;
    }

}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-top {
        min-height: 78px;
        gap: 12px;
        flex-wrap: wrap;
        padding-block: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
    }

    .brand-name {
        font-size: 18px;
        letter-spacing: 0;
    }

    .brand-name small {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .header-note {
        display: none;
    }

    .shelf-link {
        margin-left: auto;
        padding: 5px 8px;
        font-size: 12px;
    }

    .shelf-link .icon {
        display: none;
    }

    .menu-toggle {
        display: flex;
        gap: 5px;
        align-items: center;
        border: 0;
        background: var(--pink-soft);
        color: var(--pink);
        border-radius: 6px;
        padding: 7px;
        font-size: 12px;
    }

    .nav {
        display: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .nav.open {
        display: grid;
    }

    .nav a {
        font-size: 12px;
        padding: 9px 3px;
        gap: 5px;
    }

    main > section {
        margin-top: 42px;
    }

    main > section:last-child {
        margin-bottom: 40px;
    }

    .hero {
        margin-top: 24px;
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .hero-copy {
        padding: 28px 24px;
    }

    .hero h1 {
        font-size: 21px;
    }

    .hero-tagline {
        font-size: 35px;
    }

    .hero-art {
        min-height: 340px;
    }

    .hero-caption {
        left: 24px;
        bottom: 24px;
    }

    .quick-strip {
        margin-top: 18px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 10px;
        padding: 22px 10px;
    }

    .quick-strip a:nth-child(2) {
        border: 0;
    }

    .quick-strip a {
        gap: 8px;
    }

    .quick-strip strong {
        font-size: 14px;
    }

    .quick-strip .icon {
        width: 22px;
        height: 22px;
    }

    .quick-strip span {
        font-size: 10px;
    }

    h2 {
        font-size: 22px;
    }

    .section-head {
        align-items: flex-start;
        gap: 10px;
    }

    .section-head > a {
        white-space: nowrap;
        font-size: 12px;
    }

    .grid {
        gap: 16px;
    }

    .four, .three, .categories, .two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-body h3 {
        font-size: 16px;
    }

    .card-body p {
        font-size: 12px;
        min-height: 63px;
    }

    .card-meta {
        align-items: flex-start;
    }

    .card-meta > .read-link {
        display: none;
    }

    .cover-label {
        top: 8px;
        left: 8px;
        font-size: 10px;
    }

    .category {
        padding: 17px;
    }

    .category h3 {
        font-size: 16px;
    }

    .category p {
        font-size: 12px;
        min-height: 63px;
    }

    .editorial {
        grid-template-columns: 1fr;
    }

    .feature-image {
        height: 280px;
        min-height: 0;
    }

    .editorial-copy {
        padding: 26px;
    }

    .ranking-list li {
        padding: 18px 14px;
        gap: 14px;
    }

    .rank-number {
        min-width: 34px;
        font-size: 25px;
    }

    .ranking-list h3 {
        font-size: 16px;
    }

    .ranking-list .tag {
        display: none;
    }

    .korean-band {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .chapter-pair {
        gap: 12px;
    }

    .chapter-tile {
        padding: 16px;
    }

    .chapter-tile h3 {
        font-size: 16px;
    }

    .chapter-tile p {
        font-size: 12px;
    }

    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    .horizontal-story {
        display: flex;
        flex-direction: column;
        padding: 14px;
        gap: 14px;
    }

    .horizontal-story img {
        width: 100%;
    }

    .horizontal-story .tag {
        font-size: 10px;
    }

    .horizontal-story p {
        font-size: 12px;
    }

    .shelf-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px;
    }

    .guide-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-panel {
        grid-template-columns: 1fr;
        padding: 25px;
        gap: 16px;
    }

    .faq {
        grid-template-columns: 1fr;
    }

    .subscribe {
        flex-wrap: wrap;
        padding: 25px;
        gap: 20px;
    }

    .subscribe-brand {
        width: 75px;
        height: 75px;
        font-size: 32px;
    }

    .subscribe-brand span {
        font-size: 8px;
    }

    .subscribe > .button {
        margin-left: 0;
    }

    .footer-row {
        gap: 12px;
    }

    .series-intro {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }

    .series-intro > img {
        max-width: 220px;
        margin-inline: auto;
    }

    .chapter-card {
        padding: 18px;
    }

    .chapter-card h2 {
        font-size: 17px;
    }

    .chapter-card p {
        font-size: 12px;
    }

    .reader-heading h1 {
        font-size: 25px;
    }

    .reader-toolbar {
        gap: 8px;
    }

    .reader-toolbar .button {
        font-size: 12px;
        padding: 8px 10px;
    }

    .chapter-nav {
        flex-wrap: wrap;
    }

    .chapter-nav .button {
        flex: 1;
        font-size: 12px;
        padding: 10px;
    }

    .prose {
        padding: 24px;
    }

    #shelf-items {
        grid-template-columns: 1fr;
    }

}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition: none !important;
    }

}
