:root {
    --ink: #17142b;
    --ink-soft: #5f5a72;
    --paper: #fffdf9;
    --surface: #ffffff;
    --line: #e8e4ee;
    --coral: #ff624d;
    --coral-dark: #d94132;
    --yellow: #ffc94f;
    --purple: #6b57e8;
    --mint: #65c9a5;
    --shadow: 0 18px 50px rgba(31, 24, 68, 0.1);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body::before {
    position: fixed;
    z-index: -1;
    top: -180px;
    right: -140px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(255, 201, 79, 0.18);
    filter: blur(2px);
    content: "";
}

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

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

button,
input {
    font: inherit;
}

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

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

.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;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #ffffff;
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(232, 228, 238, 0.85);
    background: rgba(255, 253, 249, 0.94);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    border: 3px solid var(--ink);
    border-radius: 15px 8px 15px 8px;
    place-items: center;
    color: #ffffff;
    background: var(--coral);
    box-shadow: 4px 4px 0 var(--yellow);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-3deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

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

.primary-nav {
    margin-left: auto;
}

.primary-nav ul {
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.primary-nav a {
    display: flex;
    padding: 8px 9px;
    border-radius: 12px;
    align-items: center;
    gap: 6px;
    color: #504a64;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(31, 24, 68, 0.1);
}

.primary-nav a.is-active {
    color: var(--coral-dark);
}

.nav-icon {
    display: grid;
    width: 25px;
    height: 25px;
    border: 1px solid var(--line);
    border-radius: 8px;
    place-items: center;
    background: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    border: 0;
    color: var(--ink);
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 590px;
    padding-top: 66px;
    padding-bottom: 54px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero-copy h1 {
    margin: 16px 0 20px;
    font-size: clamp(3.4rem, 7vw, 6.2rem);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

.hero-copy h1 a {
    display: inline;
    background: linear-gradient(120deg, var(--ink) 25%, var(--purple) 72%, var(--coral));
    background-clip: text;
    color: transparent;
}

.hero-copy > p {
    max-width: 640px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.hero-kicker,
.eyebrow {
    color: var(--coral-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: var(--coral);
    box-shadow: 0 12px 28px rgba(255, 98, 77, 0.25);
}

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

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

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

.hero-metrics {
    display: flex;
    padding: 22px 0 0;
    margin: 30px 0 0;
    border-top: 1px solid var(--line);
    gap: 36px;
}

.hero-metrics div {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.hero-metrics dt {
    font-size: 1.4rem;
    font-weight: 900;
}

.hero-metrics dd {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.hero-visual {
    position: relative;
    max-width: 470px;
    margin-left: auto;
}

.hero-cover {
    overflow: hidden;
    margin: 0;
    border: 9px solid #ffffff;
    border-radius: 42px 18px 42px 18px;
    background: #ddd7ec;
    box-shadow: var(--shadow);
    transform: rotate(2.5deg);
}

.hero-cover img {
    aspect-ratio: 4 / 5;
}

.hero-float {
    position: absolute;
    display: flex;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero-float span {
    color: var(--ink-soft);
    font-size: 0.75rem;
}

.hero-float strong {
    font-size: 0.9rem;
}

.hero-float-top {
    top: 36px;
    left: -54px;
}

.hero-float-bottom {
    right: -25px;
    bottom: 42px;
}

.section {
    margin-top: 104px;
    margin-bottom: 104px;
}

.section-heading {
    display: grid;
    margin-bottom: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
    align-items: end;
    column-gap: 50px;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    letter-spacing: -0.05em;
}

.section-heading p {
    margin: 0;
    color: var(--ink-soft);
}

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

.category-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.category-card:last-child {
    grid-column: span 2;
}

.category-icon,
.category-hero-icon {
    display: grid;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    place-items: center;
    color: #ffffff;
    background: var(--ink);
    font-size: 1.05rem;
    font-weight: 900;
}

.category-card h3 {
    margin: 20px 0 8px;
    font-size: 1.2rem;
}

.category-card p {
    min-height: 80px;
    margin: 0 0 16px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.text-link {
    color: var(--coral-dark);
    font-weight: 800;
}

.category-popular,
.category-completed {
    background: #fff4f2;
}

.category-korean,
.category-ranking {
    background: #f5f1ff;
}

.category-chinese {
    background: #fff8e7;
}

.category-japanese {
    background: #eef7ff;
}

.feature-stage {
    padding: 90px 0;
    background: var(--ink);
    color: #ffffff;
}

.feature-stage .section-heading p {
    color: #bdb7ce;
}

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

.feature-panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: #24203b;
}

.feature-panel figure {
    overflow: hidden;
    margin: 0;
}

.feature-panel img {
    aspect-ratio: 4 / 3;
    transition: transform 0.4s ease;
}

.feature-panel:hover img {
    transform: scale(1.04);
}

.feature-panel-copy {
    padding: 26px;
}

.feature-panel h3 {
    margin: 8px 0;
    font-size: 1.45rem;
}

.feature-panel p {
    min-height: 84px;
    color: #c9c4d5;
}

.feature-panel a {
    color: var(--yellow);
    font-weight: 800;
}

.latest-layout {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 24px;
}

.latest-lead {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #fff0ed;
}

.latest-lead figure {
    margin: 0;
}

.latest-lead img {
    aspect-ratio: 16 / 10;
}

.latest-lead-copy {
    padding: 30px;
}

.latest-lead h3 {
    margin: 12px 0 8px;
    font-size: 1.8rem;
}

.latest-lead p {
    color: var(--ink-soft);
}

.status-pill,
.genre-pill {
    display: inline-flex;
    padding: 5px 11px;
    border-radius: 999px;
    color: #9d3024;
    background: #ffdcd6;
    font-size: 0.78rem;
    font-weight: 800;
}

.latest-list {
    display: grid;
    gap: 14px;
}

.latest-list article {
    display: grid;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    grid-template-columns: 96px 1fr;
    align-items: center;
    gap: 18px;
    background: #ffffff;
}

.mini-cover {
    overflow: hidden;
    border-radius: 12px;
}

.mini-cover img {
    aspect-ratio: 3 / 4;
}

.meta {
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.latest-list h3 {
    margin: 3px 0;
    font-size: 1rem;
}

.latest-list a {
    color: var(--coral-dark);
    font-size: 0.86rem;
    font-weight: 800;
}

.schedule-track {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.schedule-item {
    min-height: 180px;
    padding: 22px 15px;
    border-top: 3px solid var(--line);
    background: #ffffff;
}

.schedule-item.is-today {
    border-color: var(--coral);
    border-radius: 0 0 16px 16px;
    background: #fff4f2;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.schedule-item > span {
    color: var(--coral-dark);
    font-size: 0.8rem;
    font-weight: 900;
}

.schedule-item h3 {
    margin: 20px 0 8px;
    font-size: 1rem;
    line-height: 1.4;
}

.schedule-item p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.korean-spotlight {
    padding: 90px 0;
    background: linear-gradient(135deg, #6a52e5, #332a79);
    color: #ffffff;
}

.korean-inner {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 70px;
}

.korean-copy h2 {
    margin: 10px 0 20px;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.12;
}

.korean-copy p {
    color: #dcd7ff;
}

.phone-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.phone-strip a {
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.82);
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(10, 7, 40, 0.35);
}

.phone-strip a:nth-child(2) {
    transform: translateY(28px);
}

.phone-strip img {
    aspect-ratio: 9 / 14;
}

.phone-strip span {
    display: block;
    padding: 11px;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mosaic-grid {
    display: grid;
    min-height: 720px;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.mosaic-item figure {
    height: 100%;
    margin: 0;
}

.mosaic-item img {
    height: 100%;
}

.mosaic-1 {
    grid-row: span 2;
}

.mosaic-4 {
    display: none;
}

.mosaic-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 70px 26px 24px;
    color: #ffffff;
    background: linear-gradient(transparent, rgba(18, 13, 36, 0.9));
}

.mosaic-overlay span {
    font-size: 0.75rem;
    font-weight: 900;
}

.mosaic-overlay h3 {
    margin: 5px 0;
    font-size: 1.5rem;
}

.mosaic-overlay p {
    margin: 0 0 8px;
    font-size: 0.85rem;
}

.mosaic-overlay a {
    color: var(--yellow);
    font-weight: 800;
}

.completed-section {
    padding: 95px 0;
    background: #edf9f4;
}

.book-spines {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    gap: 12px;
}

.book-spine {
    min-height: 340px;
    padding: 28px 22px;
    border-left: 8px solid var(--mint);
    border-radius: 8px 24px 24px 8px;
    background: #ffffff;
    box-shadow: 8px 10px 0 rgba(23, 20, 43, 0.08);
}

.book-spine:nth-child(even) {
    transform: translateY(22px);
}

.book-count {
    color: #20805e;
    font-size: 0.78rem;
    font-weight: 900;
}

.book-spine h3 {
    margin: 28px 0 14px;
    font-size: 1.3rem;
    writing-mode: vertical-rl;
}

.book-spine p {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.book-spine a {
    color: #20805e;
    font-size: 0.85rem;
    font-weight: 800;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
}

.ranking-list {
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.ranking-list li {
    display: grid;
    min-height: 90px;
    padding: 16px 6px;
    border-bottom: 1px solid var(--line);
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 16px;
}

.rank-number {
    font-size: 1.65rem;
    font-weight: 900;
}

.ranking-list li:first-child .rank-number {
    color: var(--coral);
    font-size: 2.2rem;
}

.ranking-list h3,
.ranking-list p {
    margin: 0;
}

.ranking-list p {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.ranking-list a {
    padding: 7px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
}

.ranking-note {
    padding: 36px;
    border-radius: var(--radius-lg);
    color: #ffffff;
    background: var(--ink);
}

.ranking-note h3 {
    margin: 50px 0 14px;
    font-size: 2rem;
}

.ranking-note p {
    color: #c6c0d4;
}

.reading-guide {
    padding: 55px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

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

.guide-steps article {
    position: relative;
}

.guide-steps article:not(:last-child)::after {
    position: absolute;
    top: 20px;
    right: -24px;
    color: var(--coral);
    content: "→";
    font-size: 1.5rem;
}

.guide-steps span {
    color: var(--coral);
    font-size: 2rem;
    font-weight: 900;
}

.guide-steps h3 {
    margin: 10px 0;
}

.guide-steps p {
    color: var(--ink-soft);
}

.about-section {
    display: grid;
    padding: 68px;
    border-radius: var(--radius-lg);
    grid-template-columns: 0.7fr 1.3fr;
    gap: 70px;
    background: #fff2d4;
}

.about-title h2 {
    margin: 10px 0 0;
    font-size: 2.8rem;
    line-height: 1.18;
}

.about-copy p {
    margin-top: 0;
    color: #544d43;
}

.about-tags {
    display: flex;
    padding: 0;
    margin: 26px 0 0;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.about-tags li {
    padding: 7px 13px;
    border: 1px solid rgba(23, 20, 43, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
    font-size: 0.8rem;
    font-weight: 800;
}

.newsletter {
    display: grid;
    padding: 60px;
    border-radius: var(--radius-lg);
    grid-template-columns: 240px 1fr;
    align-items: center;
    gap: 65px;
    color: #ffffff;
    background: linear-gradient(130deg, #ff624d, #d83f67);
}

.newsletter-graphic {
    position: relative;
    display: grid;
    width: 220px;
    height: 220px;
    border: 12px solid #ffffff;
    border-radius: 35px;
    place-items: center;
    color: var(--ink);
    background: #ffffff;
}

.newsletter-graphic strong {
    position: relative;
    z-index: 2;
    display: grid;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    place-items: center;
    color: #ffffff;
    background: var(--ink);
    font-size: 1.5rem;
}

.qr-pattern {
    position: absolute;
    inset: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.qr-pattern span {
    border: 5px solid var(--ink);
    border-radius: 5px;
}

.qr-pattern span:nth-child(2n) {
    border-width: 10px;
}

.newsletter-copy h2 {
    margin: 6px 0 12px;
    font-size: 2.7rem;
    line-height: 1.2;
}

.newsletter-copy .eyebrow {
    color: #ffe4ad;
}

.newsletter-copy > p {
    color: #ffe8e3;
}

.subscribe-form {
    display: flex;
    max-width: 590px;
    padding: 5px;
    border-radius: 15px;
    background: #ffffff;
}

.subscribe-form input {
    min-width: 0;
    padding: 12px 16px;
    border: 0;
    outline: 0;
    flex: 1;
    color: var(--ink);
    background: transparent;
}

.subscribe-form button {
    padding: 0 20px;
    border: 0;
    border-radius: 11px;
    color: #ffffff;
    background: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.subscribe-result {
    margin-bottom: 0;
    font-size: 0.8rem;
}

.breadcrumb {
    padding-top: 34px;
}

.breadcrumb ol {
    display: flex;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.breadcrumb li {
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.breadcrumb li:not(:last-child)::after {
    margin-left: 8px;
    color: #b8b2c3;
    content: "/";
}

.category-hero {
    display: grid;
    padding: 58px;
    margin-top: 32px;
    border-radius: var(--radius-lg);
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
    background: linear-gradient(125deg, color-mix(in srgb, var(--category-accent) 14%, white), #ffffff);
    box-shadow: inset 6px 0 0 var(--category-accent);
}

.category-hero-icon {
    background: var(--category-accent);
}

.category-hero h1 {
    margin: 16px 0 8px;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1;
}

.category-hero p {
    max-width: 710px;
    margin: 0;
    color: var(--ink-soft);
}

.category-stats {
    display: flex;
    margin: 0;
    gap: 24px;
}

.category-stats div {
    text-align: center;
}

.category-stats dt {
    font-size: 1.25rem;
    font-weight: 900;
}

.category-stats dd {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.76rem;
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.catalogue-grid > article {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    grid-template-columns: 210px 1fr;
    background: #ffffff;
}

.catalogue-grid > article:last-child {
    grid-column: 1 / -1;
}

.catalogue-cover {
    position: relative;
    min-height: 300px;
}

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

.chapter-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(23, 20, 43, 0.88);
    font-size: 0.75rem;
    font-weight: 800;
}

.catalogue-copy {
    display: flex;
    padding: 26px;
    flex-direction: column;
}

.catalogue-copy h2 {
    margin: 7px 0 10px;
    font-size: 1.35rem;
}

.catalogue-copy p {
    margin: 0;
    flex: 1;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.catalogue-actions {
    display: flex;
    margin-top: 18px;
    gap: 10px;
}

.save-button {
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.save-button.is-saved {
    border-color: #9ad9c2;
    color: #176747;
    background: #eaf9f3;
}

.category-note {
    padding: 50px;
    border-radius: var(--radius-md);
    background: #f4f1ff;
}

.category-note h2 {
    margin-top: 0;
}

.category-note p {
    color: var(--ink-soft);
}

.reader {
    max-width: 980px;
    padding-top: 42px;
    padding-bottom: 100px;
}

.reader-header {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.reader-labels {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.genre-pill {
    color: #4a399e;
    background: #ebe7ff;
}

.reader-header h1 {
    margin: 18px 0 8px;
    font-size: clamp(2.3rem, 5vw, 4.1rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.chapter-subtitle {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.15rem;
}

.reader-meta {
    display: flex;
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.reading-notice {
    display: grid;
    max-width: 820px;
    padding: 22px;
    margin: 0 auto 40px;
    border: 1px solid #d9d3fa;
    border-radius: 18px;
    grid-template-columns: 38px 1fr;
    gap: 15px;
    background: #f5f2ff;
}

.reading-notice > span {
    display: grid;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    place-items: center;
    color: #ffffff;
    background: var(--purple);
    font-weight: 900;
}

.reading-notice h2,
.reading-notice p {
    margin: 0;
}

.reading-notice h2 {
    font-size: 1rem;
}

.reading-notice p {
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.chapter-copy {
    max-width: 760px;
    padding: 40px;
    margin: 0 auto 50px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.chapter-copy h2 {
    margin-top: 0;
}

.chapter-copy p {
    color: #4d475f;
}

.comic-pages {
    display: grid;
    gap: 34px;
}

.comic-page {
    overflow: hidden;
    margin: 0;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.comic-page img {
    aspect-ratio: 3 / 4;
    background: #eeebf2;
}

.comic-page figcaption {
    padding: 13px 18px;
    color: var(--ink-soft);
    text-align: center;
    font-size: 0.8rem;
}

.chapter-end {
    max-width: 680px;
    padding: 55px;
    margin: 70px auto 45px;
    border-radius: 30px;
    text-align: center;
    background: #fff2d4;
}

.chapter-end > span {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    place-items: center;
    color: #ffffff;
    background: var(--coral);
    font-weight: 900;
}

.chapter-end h2 {
    margin: 0;
}

.chapter-end p {
    color: var(--ink-soft);
}

.save-large {
    border-color: transparent;
    color: #ffffff;
    background: var(--ink);
}

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 12px;
}

.chapter-nav > a,
.chapter-disabled {
    display: flex;
    min-height: 96px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.chapter-nav span {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

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

.chapter-back {
    color: #ffffff;
    background: var(--ink) !important;
    font-weight: 800;
}

.chapter-disabled {
    opacity: 0.55;
}

.site-footer {
    padding-top: 64px;
    color: #ffffff;
    background: var(--ink);
}

.footer-grid {
    display: grid;
    padding-bottom: 45px;
    grid-template-columns: 1.25fr 0.75fr 1fr;
    gap: 70px;
}

.footer-brand strong {
    font-size: 1.5rem;
}

.footer-brand p,
.footer-note p {
    color: #afa9c0;
}

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

.footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

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

.copyright {
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #8f899f;
    font-size: 0.78rem;
}

@media (max-width: 1080px) {
    .header-inner {
        min-height: 72px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .primary-nav a {
        justify-content: center;
    }

    .hero {
        gap: 38px;
    }

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

    .schedule-track {
        overflow-x: auto;
        grid-template-columns: repeat(7, 145px);
        padding-bottom: 20px;
    }

    .book-spines {
        grid-template-columns: repeat(5, 1fr);
    }

    .book-spine:nth-child(even) {
        transform: none;
    }

    .catalogue-grid > article {
        grid-template-columns: 170px 1fr;
    }
}

@media (max-width: 800px) {
    .shell {
        width: min(100% - 28px, 680px);
    }

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

    .hero {
        min-height: 0;
        padding-top: 48px;
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .hero-visual {
        width: 82%;
        margin: 0 auto;
    }

    .section-heading {
        grid-template-columns: 1fr;
    }

    .section-heading p {
        margin-top: 12px;
    }

    .feature-trio,
    .latest-layout,
    .korean-inner,
    .ranking-layout,
    .about-section,
    .newsletter,
    .category-hero {
        grid-template-columns: 1fr;
    }

    .feature-trio {
        gap: 18px;
    }

    .korean-inner {
        gap: 45px;
    }

    .mosaic-grid {
        min-height: 980px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.2fr 0.8fr;
    }

    .mosaic-1 {
        grid-column: span 2;
        grid-row: auto;
    }

    .book-spines {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-steps {
        grid-template-columns: 1fr;
    }

    .guide-steps article:not(:last-child)::after {
        display: none;
    }

    .about-section {
        padding: 42px;
        gap: 28px;
    }

    .newsletter {
        padding: 42px;
        justify-items: center;
        gap: 30px;
        text-align: center;
    }

    .subscribe-form {
        margin: auto;
    }

    .category-stats {
        justify-content: flex-start;
    }

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

    .catalogue-grid > article:last-child {
        grid-column: auto;
    }

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

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    .brand-copy small {
        display: none;
    }

    .primary-nav ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .primary-nav a {
        justify-content: flex-start;
    }

    .hero {
        padding-top: 38px;
    }

    .hero-metrics {
        gap: 18px;
    }

    .hero-metrics div {
        flex-direction: column;
        gap: 0;
    }

    .hero-float-top {
        left: -18px;
    }

    .hero-float-bottom {
        right: -15px;
    }

    .category-grid,
    .phone-strip,
    .book-spines {
        grid-template-columns: 1fr;
    }

    .category-card:last-child {
        grid-column: auto;
    }

    .category-card p {
        min-height: 0;
    }

    .phone-strip {
        grid-template-columns: repeat(3, 72%);
        overflow-x: auto;
        padding-bottom: 24px;
    }

    .phone-strip a:nth-child(2) {
        transform: none;
    }

    .mosaic-grid {
        display: block;
        min-height: 0;
    }

    .mosaic-item {
        min-height: 410px;
        margin-bottom: 14px;
    }

    .completed-section,
    .feature-stage,
    .korean-spotlight {
        padding: 65px 0;
    }

    .book-spine {
        min-height: 0;
    }

    .book-spine h3 {
        writing-mode: horizontal-tb;
    }

    .reading-guide,
    .about-section,
    .newsletter,
    .category-hero,
    .category-note,
    .chapter-copy,
    .chapter-end {
        padding: 28px;
    }

    .newsletter-graphic {
        width: 180px;
        height: 180px;
    }

    .subscribe-form {
        flex-direction: column;
        gap: 6px;
    }

    .subscribe-form button {
        min-height: 45px;
    }

    .category-stats {
        flex-wrap: wrap;
    }

    .catalogue-grid > article {
        grid-template-columns: 1fr;
    }

    .catalogue-cover {
        min-height: 0;
    }

    .catalogue-cover img {
        aspect-ratio: 4 / 3;
    }

    .catalogue-actions {
        flex-direction: column;
    }

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

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

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