:root {
    --ink: #13233f;
    --muted: #66738b;
    --paper: #f6f8fc;
    --white: #ffffff;
    --navy: #081936;
    --blue: #155eef;
    --cyan: #1dcad3;
    --coral: #ff675c;
    --gold: #f4b740;
    --violet: #7b61ff;
    --green: #20a779;
    --border: #dce3ef;
    --shadow: 0 18px 50px rgba(27, 48, 88, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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.7;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--blue);
    border-radius: 10px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(220, 227, 239, 0.92);
    backdrop-filter: blur(18px);
}

.header-shell,
.section-shell,
.inner-main,
.footer-shell {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.header-shell {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--coral), #ff9b62);
    border-radius: 16px 5px 16px 5px;
    box-shadow: 0 10px 20px rgba(255, 103, 92, 0.3);
    font-weight: 900;
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 1.25rem;
    letter-spacing: 0.06em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.75rem;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-link {
    min-width: 70px;
    padding: 11px 9px;
    display: grid;
    justify-items: center;
    gap: 5px;
    color: #526079;
    border-radius: 12px;
    font-size: 0.78rem;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    color: var(--blue);
    background: #edf4ff;
    transform: translateY(-1px);
}

.ui-icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.hero {
    min-height: 610px;
    margin-top: 44px;
    padding: 58px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 70px;
    color: var(--white);
    background: radial-gradient(circle at 15% 15%, rgba(29, 202, 211, 0.2), transparent 30%), radial-gradient(circle at 90% 80%, rgba(123, 97, 255, 0.22), transparent 35%), var(--navy);
    border-radius: 36px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-kicker,
.eyebrow {
    display: inline-block;
    color: var(--coral);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 560px;
    margin: 18px 0 20px;
    font-size: clamp(2.8rem, 6vw, 5.7rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.hero h1 a {
    background: linear-gradient(100deg, var(--white) 10%, #9aebff 58%, #ffb5a2 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 590px;
    margin: 0;
    color: #cbd7ed;
    font-size: 1.08rem;
}

.search-box {
    max-width: 590px;
    margin-top: 30px;
    padding: 6px 6px 6px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #526079;
    background: var(--white);
    border-radius: 16px;
}

.search-box input {
    min-width: 0;
    flex: 1;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.search-box button,
.subscribe-form button {
    padding: 12px 20px;
    color: var(--white);
    background: var(--coral);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 48px;
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    font-weight: 800;
}

.button-primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 12px 28px rgba(21, 94, 239, 0.3);
}

.button-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.button-light {
    color: var(--navy);
    background: var(--white);
}

.hero-showcase {
    position: relative;
    max-width: 420px;
    justify-self: end;
}

.showcase-main {
    position: relative;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    transform: rotate(2deg);
}

.showcase-main img {
    aspect-ratio: 4 / 5;
}

.showcase-main::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 45%, rgba(8, 25, 54, 0.94));
}

.showcase-caption {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 22px;
    left: 24px;
    display: grid;
    gap: 4px;
}

.showcase-caption span {
    color: #72e5e8;
    font-size: 0.75rem;
    font-weight: 800;
}

.showcase-caption strong {
    font-size: 1.5rem;
}

.showcase-caption small {
    color: #d5dfef;
}

.floating-note {
    position: absolute;
    z-index: 4;
    padding: 12px 16px;
    display: grid;
    color: var(--ink);
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.floating-note strong {
    color: var(--coral);
    font-size: 1.25rem;
}

.floating-note span {
    font-size: 0.75rem;
}

.note-one {
    top: 8%;
    left: -45px;
}

.note-two {
    right: -30px;
    bottom: 16%;
}

.pulse-strip {
    margin-top: 30px;
    padding: 20px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.pulse-item {
    padding: 0 22px;
    display: grid;
    text-align: center;
    border-right: 1px solid var(--border);
}

.pulse-item:last-child {
    border-right: 0;
}

.pulse-item strong {
    color: var(--ink);
    font-size: 0.95rem;
}

.pulse-item span {
    color: var(--muted);
    font-size: 0.78rem;
}

.content-section,
.ranking-section,
.korean-section,
.update-board,
.reader-guide,
.shelf-section,
.voices,
.about-section,
.app-section,
.editorial-feature {
    margin-top: 96px;
}

.section-heading {
    max-width: 690px;
    margin-bottom: 32px;
}

.section-heading h2,
.editorial-copy h2,
.about-title h2,
.app-copy h2,
.shelf-copy h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.section-heading p,
.editorial-copy p,
.app-copy p,
.shelf-copy p {
    margin: 0;
    color: var(--muted);
}

.book-grid {
    display: grid;
    gap: 22px;
}

.book-grid-four {
    grid-template-columns: repeat(4, 1fr);
}

.book-card {
    min-width: 0;
}

.book-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e8edf6;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(21, 43, 81, 0.1);
}

.book-cover img {
    aspect-ratio: 3 / 4;
    transition: transform 350ms ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.04);
}

.book-status {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 9px;
    color: var(--white);
    background: rgba(8, 25, 54, 0.82);
    border-radius: 8px;
    font-size: 0.7rem;
}

.book-info {
    padding: 15px 3px 0;
}

.book-category {
    color: var(--coral);
    font-size: 0.75rem;
    font-weight: 800;
}

.book-info h3 {
    margin: 4px 0 6px;
    font-size: 1rem;
    line-height: 1.45;
}

.book-info p {
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.82rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 38px;
}

.ranking-champion {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    color: var(--white);
    border-radius: 28px;
}

.ranking-champion img {
    height: 100%;
}

.ranking-champion::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 35%, rgba(8, 25, 54, 0.96));
}

.rank-number {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 4rem;
    font-weight: 900;
}

.rank-caption {
    position: absolute;
    z-index: 2;
    right: 32px;
    bottom: 30px;
    left: 32px;
}

.rank-caption h3 {
    margin: 6px 0;
    font-size: 1.8rem;
}

.rank-caption p {
    margin: 0;
    color: #dbe4f4;
}

.ranking-list {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    overflow: hidden;
}

.ranking-list li {
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--border);
}

.ranking-list li:last-child {
    border-bottom: 0;
}

.list-rank {
    color: var(--coral);
    font-size: 1.4rem;
    font-weight: 900;
}

.list-copy {
    display: grid;
}

.list-copy small {
    color: var(--muted);
}

.ranking-list a,
.timeline-row a,
.text-link {
    color: var(--blue);
    font-weight: 800;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.genre-card {
    min-height: 260px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.genre-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.genre-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    border-radius: 16px;
    font-size: 1.4rem;
    font-weight: 900;
}

.genre-card:nth-child(2n) .genre-icon {
    background: var(--coral);
}

.genre-card:nth-child(3n) .genre-icon {
    background: var(--blue);
}

.genre-card h3 {
    margin: 18px 0 6px;
    font-size: 1.25rem;
}

.genre-card p {
    margin: 0 0 20px;
    color: var(--muted);
}

.genre-card .text-link {
    margin-top: auto;
}

.editorial-feature {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--white);
    background: #102948;
    border-radius: 30px;
    overflow: hidden;
}

.editorial-art img {
    height: 100%;
}

.editorial-copy {
    padding: 54px;
    align-self: center;
}

.editorial-copy p {
    color: #c7d4e7;
}

.feature-facts {
    margin: 28px 0;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px 20px;
}

.feature-facts dt {
    color: #72e5e8;
    font-weight: 800;
}

.feature-facts dd {
    margin: 0;
    color: #e5ebf5;
}

.korean-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.korean-section {
    padding: 48px;
    background: linear-gradient(135deg, #f1edff, #fff2f5);
    border-radius: 30px;
}

.update-board {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 55px;
    align-items: start;
}

.update-board-head {
    position: sticky;
    top: 120px;
}

.update-board-head h2 {
    margin: 8px 0 10px;
    font-size: 2.5rem;
    line-height: 1.2;
}

.update-board-head p {
    color: var(--muted);
}

.timeline {
    position: relative;
    padding-left: 18px;
}

.timeline::before {
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 104px;
    width: 2px;
    content: "";
    background: var(--border);
}

.timeline-row {
    position: relative;
    min-height: 90px;
    display: grid;
    grid-template-columns: 70px 18px 1fr auto;
    align-items: center;
    gap: 18px;
}

.timeline-row time {
    font-weight: 900;
}

.timeline-dot {
    z-index: 2;
    width: 14px;
    height: 14px;
    background: var(--coral);
    border: 4px solid var(--paper);
    border-radius: 50%;
    box-sizing: content-box;
}

.timeline-copy {
    display: grid;
}

.timeline-copy span {
    color: var(--muted);
    font-size: 0.85rem;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-step {
    padding: 30px;
    background: var(--white);
    border-top: 5px solid var(--cyan);
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(24, 43, 78, 0.08);
}

.guide-step:nth-child(2) {
    border-top-color: var(--coral);
}

.guide-step:nth-child(3) {
    border-top-color: var(--violet);
}

.guide-step > span {
    color: var(--coral);
    font-size: 1.8rem;
    font-weight: 900;
}

.guide-step h3 {
    margin: 12px 0 8px;
}

.guide-step p {
    margin: 0;
    color: var(--muted);
}

.shelf-section {
    padding: 48px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    color: var(--white);
    background: linear-gradient(135deg, #155eef, #6a5cff);
    border-radius: 30px;
}

.shelf-copy > .ui-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
}

.shelf-copy .eyebrow,
.shelf-copy p {
    color: #e4eaff;
}

.shelf-copy .button {
    margin-top: 24px;
}

.shelf-panel {
    min-height: 260px;
    padding: 22px;
    display: grid;
    gap: 12px;
    align-content: center;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;
}

.empty-shelf {
    text-align: center;
}

.empty-shelf p {
    margin: 4px 0 0;
    color: #e4eaff;
}

.saved-book {
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--ink);
    background: var(--white);
    border-radius: 13px;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.voice-grid blockquote {
    margin: 0;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px 24px 24px 24px;
}

.voice-grid blockquote::before {
    content: "“";
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 0.7;
}

.voice-grid p {
    color: #3e4c65;
}

.voice-grid cite {
    color: var(--muted);
    font-size: 0.84rem;
    font-style: normal;
}

.about-section {
    padding: 54px;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 45px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
}

.about-copy p:first-child {
    margin-top: 0;
}

.about-copy p {
    color: #43516a;
}

.about-values {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.about-values div {
    padding: 20px;
    display: grid;
    background: var(--paper);
    border-radius: 16px;
}

.about-values strong {
    color: var(--blue);
    font-size: 1.3rem;
}

.about-values span {
    color: var(--muted);
    font-size: 0.85rem;
}

.app-section {
    margin-bottom: 96px;
    padding: 55px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
    color: var(--white);
    background: var(--navy);
    border-radius: 32px;
}

.app-visual {
    min-height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    background: radial-gradient(circle, rgba(29, 202, 211, 0.23), transparent 60%);
}

.phone-frame {
    width: 170px;
    min-height: 300px;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #1e3b67, #0e1e39);
    border: 7px solid #526d98;
    border-radius: 34px;
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.35);
}

.phone-logo {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    background: var(--coral);
    border-radius: 22px 6px 22px 6px;
    font-size: 1.8rem;
    font-weight: 900;
}

.phone-frame small {
    margin-top: 5px;
    color: #b8c8e3;
}

.qr-pattern {
    width: 140px;
    height: 140px;
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    background: var(--white);
    border-radius: 14px;
}

.qr-pattern span {
    background: #dce3ef;
    border-radius: 2px;
}

.qr-pattern .filled {
    background: var(--navy);
}

.app-copy p {
    color: #c5d2e7;
}

.subscribe-form {
    margin: 26px 0 10px;
    padding: 6px;
    display: flex;
    background: var(--white);
    border-radius: 14px;
}

.subscribe-form input {
    min-width: 0;
    padding: 0 13px;
    flex: 1;
    border: 0;
    outline: 0;
}

.app-copy > small {
    color: #91a4c2;
}

.site-footer {
    color: #d2dced;
    background: #06142c;
}

.footer-shell {
    padding: 56px 0;
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 70px;
}

.footer-brand {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.footer-brand p,
.footer-note p {
    margin: 0;
    color: #92a5c1;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-links h2,
.footer-note h2 {
    margin: 0 0 8px;
    color: var(--white);
    font-size: 1rem;
}

.footer-links a {
    color: #aebcd2;
}

.copyright {
    padding: 18px 20px;
    color: #8093b0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.inner-main {
    padding-top: 36px;
    padding-bottom: 90px;
}

.breadcrumb {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.category-hero {
    min-height: 280px;
    padding: 45px 50px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    color: var(--white);
    background: var(--navy);
    border-radius: 30px;
    overflow: hidden;
}

.category-icon {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px 8px 30px 8px;
    font-size: 2.2rem;
    font-weight: 900;
}

.category-hero-copy h1 {
    margin: 6px 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
}

.category-hero-copy p {
    max-width: 680px;
    margin: 0;
    color: #c5d2e7;
}

.category-count {
    min-width: 120px;
    display: grid;
    text-align: center;
}

.category-count strong {
    color: #72e5e8;
    font-size: 2.8rem;
    line-height: 1;
}

.category-count span {
    margin-top: 8px;
    font-size: 0.8rem;
}

.tone-coral {
    background: linear-gradient(135deg, #341b37, #8a283b);
}

.tone-violet {
    background: linear-gradient(135deg, #251949, #6046a8);
}

.tone-gold {
    background: linear-gradient(135deg, #34240f, #886521);
}

.tone-pink {
    background: linear-gradient(135deg, #3a1a30, #8f3c6d);
}

.tone-green {
    background: linear-gradient(135deg, #12382f, #14785d);
}

.tone-blue,
.tone-cyan {
    background: linear-gradient(135deg, #09284f, #0b7185);
}

.category-intro {
    margin: 62px 0 28px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
}

.category-intro h2 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.3;
}

.category-intro p {
    margin: 0;
    color: var(--muted);
}

.catalog-list {
    display: grid;
    gap: 18px;
}

.catalog-row {
    min-height: 210px;
    padding: 18px;
    display: grid;
    grid-template-columns: 145px 54px 1fr auto;
    align-items: center;
    gap: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
}

.catalog-cover {
    overflow: hidden;
    border-radius: 14px;
}

.catalog-cover img {
    aspect-ratio: 4 / 5;
}

.catalog-number {
    color: #d2dbea;
    font-size: 2.2rem;
    font-weight: 900;
}

.catalog-meta,
.catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.78rem;
}

.catalog-copy h2 {
    margin: 6px 0;
    font-size: 1.4rem;
}

.catalog-copy p {
    margin: 0 0 12px;
    color: var(--muted);
}

.catalog-tags span {
    padding: 4px 9px;
    color: var(--blue);
    background: #edf4ff;
    border-radius: 999px;
}

.catalog-action {
    padding: 10px 16px;
    color: var(--blue);
    border: 1px solid #bfd1f8;
    border-radius: 11px;
    font-weight: 800;
}

.category-seo-note {
    margin-top: 48px;
    padding: 34px;
    background: #edf4ff;
    border-left: 5px solid var(--blue);
    border-radius: 16px;
}

.category-seo-note h2 {
    margin-top: 0;
}

.category-seo-note p {
    margin-bottom: 0;
    color: #415473;
}

.reader-main {
    max-width: 1040px;
}

.reader-article {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
}

.reader-header {
    padding: 50px 55px;
    color: var(--white);
    background: radial-gradient(circle at 90% 0%, rgba(29, 202, 211, 0.23), transparent 34%), var(--navy);
    text-align: center;
}

.reader-label {
    color: #72e5e8;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.reader-header h1 {
    margin: 10px 0 18px;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.18;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    color: #bac8df;
    font-size: 0.85rem;
}

.reader-meta a {
    color: #86edf0;
}

.reading-notice {
    margin: 40px 55px;
    padding: 24px 28px;
    background: #fff6e6;
    border: 1px solid #f2d9a8;
    border-radius: 16px;
}

.reading-notice h2 {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.reading-notice p {
    margin: 0;
    color: #6a5736;
}

.chapter-content {
    width: min(820px, calc(100% - 50px));
    margin: 0 auto;
}

.chapter-content > h2 {
    margin: 55px 0 30px;
    text-align: center;
    font-size: 1.8rem;
}

.chapter-content > p {
    margin: 24px 12px 54px;
    color: #3d4a61;
    font-size: 1.02rem;
    line-height: 2;
}

.comic-panel {
    margin: 0;
    overflow: hidden;
    background: #edf1f7;
    border-radius: 18px;
}

.comic-panel img {
    aspect-ratio: 4 / 5;
}

.comic-panel figcaption {
    padding: 12px 16px;
    color: var(--muted);
    background: var(--paper);
    font-size: 0.78rem;
    text-align: center;
}

.chapter-end {
    margin-top: 55px;
    padding: 50px;
    color: var(--white);
    background: linear-gradient(135deg, #102948, #173f72);
    text-align: center;
}

.chapter-end > span {
    color: #72e5e8;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.chapter-end h2 {
    margin: 8px 0;
}

.chapter-end p {
    max-width: 700px;
    margin: 0 auto 22px;
    color: #c8d4e6;
}

.chapter-nav {
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 14px;
    background: #f0f4fa;
}

.chapter-nav a,
.chapter-disabled {
    min-height: 74px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 13px;
}

.chapter-nav small {
    color: var(--muted);
}

.chapter-next {
    text-align: right;
}

.chapter-back {
    color: var(--blue);
    font-weight: 800;
    text-align: center;
}

.chapter-disabled {
    color: #94a1b5;
    text-align: center;
}

@media (max-width: 1050px) {
    .header-shell {
        min-height: 74px;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 20px;
        left: 20px;
        padding: 14px;
        display: none;
        grid-template-columns: repeat(4, 1fr);
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 0 0 18px 18px;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .hero {
        padding: 46px;
        gap: 35px;
    }

    .book-grid-four {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-row {
        grid-template-columns: 130px 1fr auto;
    }

    .catalog-number {
        display: none;
    }
}

@media (max-width: 800px) {
    .header-shell,
    .section-shell,
    .inner-main,
    .footer-shell {
        width: min(100% - 28px, 1200px);
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        width: min(100%, 420px);
        justify-self: center;
    }

    .pulse-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .pulse-item:nth-child(2) {
        border-right: 0;
    }

    .book-grid-four,
    .genre-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-steps,
    .voice-grid,
    .about-values {
        grid-template-columns: 1fr;
    }

    .ranking-layout,
    .editorial-feature,
    .update-board,
    .shelf-section,
    .about-section,
    .app-section,
    .category-intro {
        grid-template-columns: 1fr;
    }

    .update-board-head {
        position: static;
    }

    .korean-rail {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values {
        grid-column: auto;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .category-hero {
        grid-template-columns: auto 1fr;
    }

    .category-count {
        grid-column: 1 / -1;
        grid-template-columns: auto auto;
        justify-content: start;
        align-items: center;
        gap: 10px;
    }

    .catalog-row {
        grid-template-columns: 120px 1fr;
    }

    .catalog-action {
        grid-column: 2;
        justify-self: start;
    }

    .chapter-nav {
        grid-template-columns: 1fr 1fr;
    }

    .chapter-back {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .brand-copy small {
        display: none;
    }

    .primary-nav {
        grid-template-columns: repeat(2, 1fr);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .hero {
        min-height: 0;
        margin-top: 24px;
        padding: 32px 22px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .search-box {
        flex-wrap: wrap;
        padding: 12px;
    }

    .search-box input {
        min-height: 40px;
    }

    .search-box button {
        width: 100%;
    }

    .note-one {
        left: -6px;
    }

    .note-two {
        right: -5px;
    }

    .pulse-strip {
        padding: 20px 10px;
    }

    .pulse-item {
        padding: 0 10px;
    }

    .content-section,
    .ranking-section,
    .korean-section,
    .update-board,
    .reader-guide,
    .shelf-section,
    .voices,
    .about-section,
    .app-section,
    .editorial-feature {
        margin-top: 68px;
    }

    .book-grid-four,
    .genre-grid,
    .guide-steps,
    .voice-grid,
    .about-values,
    .korean-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .book-info p {
        display: none;
    }

    .ranking-champion {
        min-height: 430px;
    }

    .ranking-list li {
        padding: 16px;
        grid-template-columns: 38px 1fr;
    }

    .ranking-list li > a {
        grid-column: 2;
    }

    .genre-card,
    .guide-step,
    .voice-grid blockquote {
        padding: 20px;
    }

    .genre-card {
        min-height: 260px;
    }

    .editorial-copy,
    .korean-section,
    .shelf-section,
    .about-section,
    .app-section {
        padding: 30px 22px;
    }

    .editorial-art {
        min-height: 330px;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 71px;
    }

    .timeline-row {
        grid-template-columns: 50px 14px 1fr;
        gap: 10px;
    }

    .timeline-row > a {
        grid-column: 3;
    }

    .app-visual {
        min-height: 260px;
        gap: 15px;
    }

    .phone-frame {
        width: 135px;
        min-height: 240px;
    }

    .qr-pattern {
        width: 112px;
        height: 112px;
    }

    .subscribe-form {
        display: grid;
        gap: 8px;
        background: transparent;
    }

    .subscribe-form input {
        min-height: 48px;
        background: var(--white);
        border-radius: 12px;
    }

    .footer-shell {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .category-hero {
        padding: 30px 22px;
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .category-icon {
        width: 74px;
        height: 74px;
    }

    .category-count {
        grid-column: auto;
    }

    .catalog-row {
        grid-template-columns: 92px 1fr;
        align-items: start;
        gap: 15px;
    }

    .catalog-copy p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .reader-header {
        padding: 36px 20px;
    }

    .reading-notice {
        margin: 25px 18px;
        padding: 20px;
    }

    .chapter-content {
        width: calc(100% - 28px);
    }

    .chapter-content > p {
        margin-right: 4px;
        margin-left: 4px;
    }

    .chapter-end {
        padding: 38px 20px;
    }

    .chapter-nav {
        padding: 18px;
        grid-template-columns: 1fr;
    }

    .chapter-back {
        grid-column: auto;
        grid-row: auto;
    }

    .chapter-next {
        text-align: left;
    }
}
