@charset "UTF-8";

:root {
    --ink: #172942;
    --muted: #617084;
    --paper: #f6f8fb;
    --surface: #ffffff;
    --line: #dde4ed;
    --yellow: #ffda57;
    --blue: #2558d9;
    --story-size: 19px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

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

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

button, input {
    font: inherit;
}

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

button {
    color: inherit;
    cursor: pointer;
}

button:disabled {
    cursor: default;
}

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
}

a:hover {
    color: var(--blue);
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    background: #dbe3ee;
    color: #172942;
    font-size: 14px;
}

h1, h2, h3, p, figure {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: -.025em;
}

h2 {
    font-size: 29px;
}

h3 {
    font-size: 19px;
}

p {
    overflow-wrap: anywhere;
}

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

.icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    vertical-align: middle;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 24px;
    z-index: 50;
    padding: 12px 20px;
    background: var(--yellow);
}

.skip-link:focus {
    top: 10px;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-top {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: 88px;
}

.brand {
    flex: 0 0 164px;
}

.brand img {
    width: 164px;
    height: 44px;
    background: transparent;
}

.brand-note {
    padding-left: 26px;
    border-left: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.shelf-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.primary-nav {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 4px;
    padding: 0 0 10px;
}

.primary-nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 45px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.primary-nav a:hover {
    background: #f0f4fa;
}

.primary-nav .active {
    background: var(--ink);
    color: #fff;
}

.primary-nav .active:hover {
    background: #284465;
    color: #fff;
}

.menu-button {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 504px;
    margin-top: 32px;
    border-radius: 18px;
    overflow: hidden;
    background: #eaf0f8;
}

.hero-copy {
    padding: 36px 40px;
    position: relative;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .13em;
    font-weight: 750;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: var(--blue);
    border-radius: 50%;
}

.hero h1 {
    margin: 20px 0 8px;
    font-size: 26px;
}

.hero h2 {
    font-size: clamp(34px, 3.5vw, 48px);
    line-height: 1.3;
    letter-spacing: -.05em;
}

.hero-copy > p:not(.eyebrow) {
    margin: 20px 0 24px;
    color: #4c5f76;
}

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

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 47px;
    padding: 11px 21px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.5;
    text-align: center;
}

.primary {
    background: var(--ink);
    color: #fff;
}

.primary:hover {
    background: #2d4972;
    color: #fff;
}

.ghost {
    border-color: #b8c6d9;
    background: transparent;
}

.light {
    background: var(--yellow);
    color: #172942;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 29px;
}

.hero-facts span {
    font-size: 12px;
    color: var(--muted);
}

.hero-facts strong {
    display: block;
    padding-right: 6px;
    color: var(--ink);
    font-size: 23px;
}

.hero-art {
    position: relative;
    background: #183c66;
    min-width: 0;
}

.hero-art > img {
    height: 100%;
    position: absolute;
    inset: 0;
}

.hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(12, 27, 49, .92) 100%);
}

.hero-sticker {
    position: absolute;
    top: 25px;
    right: 22px;
    z-index: 1;
    transform: rotate(6deg);
    background: var(--yellow);
    color: #172942;
    border-radius: 4px;
    padding: 13px 17px;
    font-size: 14px;
    font-weight: 750;
}

.hero-caption {
    position: absolute;
    bottom: 30px;
    left: 32px;
    right: 24px;
    z-index: 1;
    color: white;
}

.hero-caption > span {
    font-size: 13px;
    color: #d5e0f2;
}

.hero-caption h3 {
    margin-top: 5px;
    font-size: 33px;
}

.hero-caption p {
    margin: 8px 0 18px;
    font-size: 14px;
    color: #e0e6f1;
}

.search-band {
    margin-top: 20px;
    padding: 19px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 11px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 24px;
}

.search-form label {
    font-weight: 750;
    white-space: nowrap;
}

.search-form > span {
    color: var(--muted);
    font-size: 13px;
}

.search-input {
    display: flex;
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--paper);
    min-width: 0;
}

.search-input input {
    width: 100%;
    min-width: 0;
    padding: 10px 15px;
    border: 0;
    background: transparent;
    color: var(--ink);
    outline-offset: 0;
    font-size: 14px;
}

.search-input button {
    border: 0;
    background: transparent;
    padding: 8px 17px;
}

.search-results:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding-top: 18px;
}

.search-result {
    padding: 12px;
    background: var(--paper);
    border-radius: 6px;
}

.search-result span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.section {
    margin-top: 64px;
}

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

.section-heading h2, .standalone-heading, .reading-guide h2 {
    display: flex;
    align-items: center;
    gap: 11px;
}

.section-heading h2 {
    margin: 6px 0 7px;
}

.section-heading h2 .icon {
    color: var(--blue);
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

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

.comic-card {
    min-width: 0;
}

.cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border-radius: 11px;
    background: #dbe3ee;
}

.cover img {
    height: 100%;
    transition: transform .3s;
}

.cover:hover img {
    transform: scale(1.035);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    font-size: 12px;
    color: var(--muted);
    margin: 13px 0 5px;
}

.comic-card h3 {
    margin-bottom: 8px;
}

.comic-card > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    min-height: 7em;
}

.comic-card > .text-link {
    margin-top: 13px;
}

.latest-panel {
    border-top: 3px solid var(--ink);
    padding-top: 25px;
}

.update-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}

.update-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--surface);
    padding: 23px;
}

.update-number {
    font-size: 33px;
    color: #7d91aa;
    font-weight: 400;
}

.small-tag {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .06em;
}

.update-item h3 {
    margin: 3px 0;
}

.update-item p:last-child {
    font-size: 14px;
    color: var(--muted);
}

.circle-link {
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

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

.category-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    position: relative;
    min-height: 112px;
    padding: 22px 17px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
}

.category-tile > .icon {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
    color: var(--blue);
}

.category-tile h3 {
    font-size: 17px;
}

.category-tile p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}

.category-tile > span {
    position: absolute;
    top: 6px;
    right: 9px;
    font-size: 11px;
    color: var(--muted);
}

.cat-1 > .icon, .cat-5 > .icon {
    color: #ad5d08;
}

.cat-2 > .icon, .cat-6 > .icon {
    color: #b33c65;
}

.cat-3 > .icon, .cat-7 > .icon {
    color: #258071;
}

.ranking {
    padding: 32px;
    background: var(--ink);
    border-radius: 13px;
    color: #fff;
}

.ranking .eyebrow, .ranking .section-heading p:not(.eyebrow) {
    color: #bccbe0;
}

.ranking .section-heading h2 .icon {
    color: var(--yellow);
}

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

.rank-kicker {
    padding-bottom: 9px;
    font-size: 14px;
    color: var(--yellow);
    border-bottom: 1px solid #526077;
}

.rank-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-top: 21px;
}

.rank-row > strong {
    color: #a9b8cd;
    font-size: 27px;
    font-weight: 400;
}

.rank-row h3 {
    font-size: 16px;
}

.rank-row p {
    color: #b9c8dd;
    font-size: 12px;
    margin-top: 5px;
}

.ranking a:hover {
    color: var(--yellow);
}

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

.korean-grid article {
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 22px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.wide-cover {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
}

.wide-cover img {
    height: 100%;
}

.korean-grid h3 {
    margin: 8px 0;
}

.korean-grid article > div > p:not(.small-tag) {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

.korean-grid .text-link {
    margin-top: 12px;
}

.complete-panel {
    padding: 32px;
    background: #fff4c9;
    border-radius: 11px;
}

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

.complete-grid article {
    position: relative;
    padding-left: 28px;
}

.vertical-label {
    writing-mode: vertical-rl;
    position: absolute;
    left: 0;
    top: 0;
    border-right: 1px solid #b7a466;
    padding-right: 6px;
    color: #796325;
    font-size: 12px;
    letter-spacing: .12em;
}

.complete-grid p {
    font-size: 14px;
    color: #665c3f;
    margin: 15px 0 20px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}

.schedule-grid article {
    padding: 24px;
    border-left: 1px solid var(--line);
}

.schedule-grid article:first-child {
    border-left: 0;
    padding-left: 0;
}

.schedule-grid article > span {
    display: inline-block;
    border-radius: 4px;
    background: #e7eefb;
    padding: 3px 8px;
    color: #315b9b;
    font-size: 12px;
}

.schedule-grid h3 {
    margin: 14px 0 10px;
}

.schedule-grid p {
    color: var(--muted);
    font-size: 14px;
    min-height: 5.3em;
    margin-bottom: 14px;
}

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

.mood {
    position: relative;
    display: block;
    padding: 25px;
    border-radius: 3px 18px 3px 3px;
    background: #e8edf9;
}

.mood > span {
    color: #617084;
    font-size: 12px;
}

.mood h3 {
    margin: 16px 0 10px;
}

.mood p {
    color: #52637b;
    font-size: 13px;
    max-width: 175px;
    padding-bottom: 30px;
}

.mood > .icon {
    position: absolute;
    bottom: 18px;
    right: 22px;
}

.mood-1 {
    background: #dcefe9;
}

.mood-2 {
    background: #ffebc5;
}

.mood-3 {
    background: #ece5f4;
}

.shelf-banner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 30px 0;
    border-block: 1px solid var(--line);
}

.shelf-symbol {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
    display: grid;
    place-items: center;
}

.shelf-symbol .icon {
    width: 32px;
    height: 32px;
}

.shelf-banner h2 {
    font-size: 24px;
    margin: 6px 0 9px;
}

.shelf-banner p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    max-width: 660px;
}

.shelf-banner > .button {
    flex-shrink: 0;
    margin-left: auto;
}

.about {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 70px;
}

.about h2 {
    margin: 12px 0 24px;
    font-size: 34px;
}

.about > div > p:not(.eyebrow) {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.95;
    margin-top: 14px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-content: center;
}

.about-values .icon {
    color: var(--blue);
    margin-bottom: 17px;
}

.about-values h3 {
    font-size: 17px;
    margin-bottom: 9px;
}

.about-values p {
    font-size: 14px;
    color: var(--muted);
}

.subscribe {
    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: center;
    gap: 50px;
    padding: 40px 48px;
    background: #e8eef8;
    border-radius: 13px;
    margin-bottom: 54px;
}

.subscribe-brand {
    min-height: 174px;
    aspect-ratio: 1;
    background: var(--ink);
    border: 7px solid white;
    outline: 1px solid #c6d2e3;
    border-radius: 26px;
    transform: rotate(-3deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.subscribe-brand strong {
    font-size: 87px;
    line-height: 1.1;
    color: var(--yellow);
    letter-spacing: -.08em;
}

.subscribe-brand span {
    font-size: 12px;
    margin-top: 9px;
    letter-spacing: .08em;
}

.subscribe h2 {
    margin: 8px 0 15px;
}

.subscribe p:not(.eyebrow) {
    max-width: 690px;
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.subscribe-note {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 14px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface);
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-block: 26px;
    color: var(--muted);
    font-size: 12px;
}

.footer-inner > div {
    display: flex;
    gap: 22px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 26px 0;
    font-size: 13px;
    color: var(--muted);
}

.page-heading {
    padding: 35px 40px;
    border-radius: 12px;
    background: #e8eef8;
    border-left: 5px solid var(--blue);
}

.page-heading h1 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 38px;
    margin: 8px 0 14px;
}

.page-heading h1 .icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
}

.page-heading h2 {
    font-size: 22px;
    margin-bottom: 12px;
}

.page-heading > p:not(.eyebrow) {
    max-width: 800px;
    color: #52637b;
}

.topic-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.topic-stats span {
    display: inline-flex;
    padding: 4px 11px;
    background: var(--surface);
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 13px;
}

.standalone-heading {
    margin-bottom: 25px;
}

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

.chapter-row {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    min-width: 0;
}

.chapter-row > span {
    font-size: 26px;
    color: #8191a7;
}

.chapter-row h3 {
    font-size: 17px;
}

.chapter-row p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 6px;
}

.chapter-row time {
    font-size: 12px;
    white-space: nowrap;
    color: var(--muted);
    margin-left: auto;
}

.chapter-row > .icon {
    margin-left: auto;
}

.book-detail {
    display: grid;
    grid-template-columns: 285px 1fr;
    gap: 50px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.detail-cover {
    aspect-ratio: 3 / 4;
    border-radius: 9px;
    overflow: hidden;
    align-self: start;
}

.detail-cover img {
    height: 100%;
}

.book-info {
    min-width: 0;
}

.book-info h1 {
    font-size: 38px;
    margin-top: 12px;
}

.book-info .topic-stats {
    margin-top: 14px;
}

.book-intro {
    margin-top: 22px;
    line-height: 1.95;
    color: var(--muted);
}

.book-info dl {
    display: grid;
    grid-template-columns: 80px 1fr;
    font-size: 14px;
    row-gap: 5px;
    margin: 18px 0 24px;
}

.book-info dt {
    color: var(--muted);
}

.book-info dd {
    margin: 0;
}

.muted {
    color: var(--muted);
    font-size: 13px;
    margin-top: 13px;
}

.reading-guide {
    background: #e9eff8;
    border-radius: 9px;
    padding: 28px;
}

.reading-guide h2 {
    font-size: 23px;
    margin-bottom: 13px;
}

.reading-guide p {
    color: var(--muted);
    font-size: 15px;
}

.reader {
    max-width: 860px;
    margin-inline: auto;
}

.reader-heading {
    text-align: center;
    padding: 25px 0 30px;
}

.reader-heading .eyebrow {
    justify-content: center;
}

.reader-heading h1 {
    font-size: 32px;
    margin: 14px 0 18px;
}

.reader-heading > p:last-child {
    font-size: 13px;
    color: var(--muted);
}

.reader-instructions {
    border-left: 3px solid #527bb6;
    background: #e9eff8;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.reader-instructions h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

.reader-instructions p {
    font-size: 14px;
    color: #52637b;
}

.reader-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 13px 0;
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.reader-toolbar > div {
    display: flex;
    gap: 7px;
}

.reader-toolbar button {
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 8px 13px;
    font-size: 14px;
    background: var(--surface);
}

.story-panel {
    margin-top: 35px;
}

.story-panel > h2 {
    font-size: 16px;
    padding-bottom: 12px;
    color: var(--muted);
}

.story-panel figure {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 15px;
}

.story-panel img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #e2e8f0;
}

.story-panel figcaption {
    font-size: 12px;
    text-align: center;
    color: var(--muted);
    padding-top: 12px;
}

.story-panel > p {
    padding: 28px 18px;
    font-size: var(--story-size);
    line-height: 2.1;
    letter-spacing: .02em;
}

.chapter-end {
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
    border-block: 1px solid var(--line);
}

.chapter-end > span {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .14em;
}

.chapter-end h2 {
    font-size: 21px;
    margin: 20px 0;
}

.reader-pagination {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.night {
    --paper: #121b28;
    --surface: #1a2739;
    --ink: #e0e8f5;
    --muted: #b0bfd3;
    --line: #344256;
}

.night .reader-instructions {
    background: #25364e;
}

.night .reader-instructions p {
    color: #d2dced;
}

.night .primary {
    background: #d8e5fa;
    color: #172942;
}

.night .brand {
    background: #fff;
    border-radius: 7px;
}

.night .story-panel img {
    background: #25364e;
}

.notice {
    grid-column: 1 / -1;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: 8px;
    color: var(--muted);
    margin-top: 20px;
}

.saved-card {
    min-width: 0;
    background: var(--surface);
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.saved-card img {
    aspect-ratio: 3 / 4;
    height: auto;
    border-radius: 5px;
}

.saved-card h3 {
    margin: 15px 0;
}

.saved-card button {
    border: 0;
    background: transparent;
    color: var(--muted);
    margin-top: 15px;
    font-size: 13px;
    text-decoration: underline;
}

.recent-link {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 22px;
    background: #e7eefb;
    border-radius: 8px;
}

.subscribe-page {
    margin-top: 40px;
}

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

.subscription-steps article > span {
    color: var(--blue);
    font-size: 32px;
}

.subscription-steps h2 {
    font-size: 22px;
    margin: 13px 0;
}

.subscription-steps p {
    color: var(--muted);
}

.toast {
    display: none;
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 80;
    max-width: calc(100% - 32px);
    padding: 13px 22px;
    background: #172942;
    color: white;
    border: 1px solid #536b89;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 8px 25px #17294230;
}

.toast.visible {
    display: block;
}

@media (max-width: 1050px) {
    .primary-nav a {
        gap: 5px;
        font-size: 13px;
    }

    .primary-nav .icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .hero-copy {
        padding: 30px;
    }

    .hero h2 {
        font-size: 36px;
    }

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

    .hero-facts {
        gap: 16px;
    }

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

    .korean-grid article {
        grid-template-columns: 34% 1fr;
        gap: 15px;
    }

    .schedule-grid, .mood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .schedule-grid article, .schedule-grid article:first-child {
        padding: 20px 0;
        border-left: 0;
    }

    .schedule-grid p {
        min-height: auto;
    }

    .shelf-banner {
        gap: 20px;
    }

    .shelf-symbol {
        display: none;
    }

    .about {
        gap: 35px;
    }

    .about h2 {
        font-size: 28px;
    }

    .subscribe {
        gap: 32px;
        padding: 32px;
    }

    .book-detail {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-top {
        min-height: 76px;
        gap: 12px;
    }

    .brand-note {
        display: none;
    }

    .primary-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding-bottom: 13px;
    }

    .primary-nav a {
        font-size: 14px;
        min-height: 40px;
    }

    .js .primary-nav:not(.is-open) {
        display: none;
    }

    .js .menu-button {
        display: flex;
        font-size: 13px;
    }

    .shelf-link {
        font-size: 13px;
        gap: 5px;
    }

    .hero {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .hero-copy {
        padding: 27px 24px;
    }

    .hero h1 {
        margin-top: 17px;
        font-size: 23px;
    }

    .hero h2 {
        font-size: 39px;
    }

    .hero-copy > p:not(.eyebrow) {
        font-size: 14px;
    }

    .hero-art {
        min-height: 375px;
    }

    .hero-art > img {
        object-position: center 38%;
    }

    .hero-caption {
        left: 24px;
        bottom: 26px;
    }

    .hero-facts {
        gap: 22px;
    }

    .search-band {
        padding: 17px;
    }

    .search-form {
        flex-wrap: wrap;
        gap: 12px;
    }

    .search-form > label {
        font-size: 15px;
    }

    .search-form > span {
        display: none;
    }

    .search-input {
        flex-basis: 100%;
    }

    .section {
        margin-top: 44px;
    }

    h2 {
        font-size: 24px;
    }

    .section-heading {
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 21px;
    }

    .section-heading h2 {
        font-size: 24px;
        gap: 9px;
    }

    .section-heading p:not(.eyebrow) {
        font-size: 13px;
    }

    .comic-grid, .search-results:not([hidden]) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 14px;
    }

    .comic-card h3 {
        font-size: 17px;
    }

    .comic-card > p {
        min-height: auto;
        font-size: 13px;
    }

    .card-meta {
        flex-wrap: wrap;
    }

    .update-item {
        gap: 12px;
        padding: 18px;
    }

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

    .category-grid {
        gap: 12px;
    }

    .category-tile {
        padding: 23px 13px 18px;
        gap: 10px;
        align-items: flex-start;
    }

    .category-tile > .icon {
        width: 23px;
        height: 23px;
        flex-basis: 23px;
    }

    .category-tile h3 {
        font-size: 15px;
    }

    .ranking {
        padding: 24px 20px;
    }

    .rank-grid {
        gap: 28px 16px;
    }

    .rank-row {
        gap: 8px;
    }

    .rank-row > strong {
        font-size: 22px;
    }

    .rank-row h3 {
        font-size: 14px;
    }

    .korean-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .korean-grid article {
        grid-template-columns: 34% 1fr;
    }

    .korean-grid h3 {
        font-size: 18px;
    }

    .complete-panel {
        padding: 24px 20px;
    }

    .complete-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .complete-grid article {
        padding-left: 24px;
    }

    .complete-grid h3 {
        font-size: 17px;
    }

    .complete-grid p {
        font-size: 13px;
    }

    .schedule-grid, .mood-grid {
        gap: 14px;
    }

    .schedule-grid h3 {
        font-size: 17px;
    }

    .mood {
        padding: 19px;
    }

    .mood h3 {
        font-size: 17px;
    }

    .shelf-banner {
        display: block;
    }

    .shelf-banner > .button {
        margin-top: 20px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about h2 {
        font-size: 28px;
    }

    .about-values {
        gap: 25px 20px;
    }

    .subscribe {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 28px 24px;
    }

    .subscribe-brand {
        width: 145px;
        min-height: 145px;
        border-width: 5px;
    }

    .subscribe-brand strong {
        font-size: 62px;
    }

    .subscribe-brand span {
        font-size: 10px;
    }

    .subscribe h2 {
        font-size: 26px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 10px;
        padding-block: 22px;
    }

    .page-heading {
        padding: 27px 23px;
    }

    .page-heading h1 {
        font-size: 29px;
    }

    .page-heading h2 {
        font-size: 20px;
    }

    .page-heading > p:not(.eyebrow) {
        font-size: 14px;
    }

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

    .chapter-row {
        padding: 18px;
        gap: 12px;
    }

    .chapter-row h3 {
        font-size: 16px;
    }

    .chapter-row time {
        display: none;
    }

    .book-detail {
        grid-template-columns: 1fr;
        padding: 23px;
        gap: 28px;
    }

    .detail-cover {
        width: 210px;
        justify-self: center;
    }

    .book-info h1 {
        font-size: 31px;
    }

    .book-intro {
        font-size: 15px;
    }

    .reader-heading h1 {
        font-size: 25px;
    }

    .reader-toolbar {
        flex-wrap: wrap;
    }

    .reader-toolbar button {
        padding: 8px 10px;
    }

    .story-panel figure {
        padding: 8px;
    }

    .story-panel > p {
        padding: 24px 8px;
    }

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

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

    .recent-link {
        flex-direction: column;
    }
}

@media (max-width: 370px) {
    .brand, .brand img {
        width: 137px;
        flex-basis: 137px;
    }

    .header-tools {
        gap: 8px;
    }

    .shelf-link .icon {
        display: none;
    }

    .hero h2 {
        font-size: 34px;
    }

    .hero-facts {
        gap: 11px;
    }

    .category-tile {
        flex-direction: column;
    }

    .rank-row {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
