:root {
    --ink: #071525;
    --ink-soft: #10273f;
    --panel: #0d2138;
    --paper: #f6f8fb;
    --white: #ffffff;
    --muted: #8291a3;
    --line: rgba(255, 255, 255, 0.12);
    --coral: #ff6b57;
    --coral-dark: #e84f3b;
    --cyan: #57d9d0;
    --gold: #f7c65c;
    --shadow: 0 22px 60px rgba(4, 14, 26, 0.16);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    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;
    inset: 0;
    z-index: -2;
    content: "";
    background: radial-gradient(circle at 6% 8%, rgba(87, 217, 208, 0.11), transparent 25%), radial-gradient(circle at 93% 34%, rgba(255, 107, 87, 0.09), transparent 24%), #f6f8fb;
}

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

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

button,
input {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 21, 37, 0.95);
    backdrop-filter: blur(18px);
}

.header-shell,
.footer-shell,
main,
.hero,
.pulse-strip {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
    flex: 0 0 auto;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 13px 13px 13px 5px;
    color: var(--ink);
    background: linear-gradient(135deg, var(--cyan), #b6fff2);
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(87, 217, 208, 0.25);
}

.brand-copy {
    display: grid;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 18px;
    letter-spacing: 0.06em;
}

.brand-copy small {
    margin-top: 4px;
    color: #8fa4b9;
    font-size: 10px;
    letter-spacing: 0.14em;
}

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

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

.main-nav a {
    min-height: 44px;
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 12px;
    color: #b9c6d4;
    font-size: 14px;
    transition: 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.main-nav a.is-active {
    box-shadow: inset 0 -2px var(--coral);
}

.nav-icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    color: var(--cyan);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 8px 12px;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--white);
    background: transparent;
    cursor: pointer;
}

.section-space {
    margin-top: 76px;
    margin-bottom: 76px;
}

.hero {
    min-height: 610px;
    padding: 58px 64px;
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 56px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    color: var(--white);
    background: linear-gradient(135deg, #071525 0%, #0d2946 72%, #123b4b 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-label,
.section-kicker,
.eyebrow {
    display: inline-block;
    color: var(--coral);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 12px 0 10px;
    font-size: clamp(54px, 8vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(120deg, #ffffff, #9df4e7 75%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 620px;
    margin: 0 0 24px;
    color: #bed0de;
    font-size: 18px;
}

.hero-search label {
    display: block;
    margin-bottom: 8px;
    color: #e4eef5;
    font-size: 14px;
    font-weight: 700;
}

.search-row {
    display: flex;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}

.search-row input {
    min-width: 0;
    flex: 1;
    padding: 10px 12px;
    border: 0;
    outline: 0;
    color: var(--white);
    background: transparent;
}

.search-row input::placeholder {
    color: #8fa4b9;
}

.search-row button {
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 11px;
    color: var(--white);
    background: var(--coral);
    cursor: pointer;
}

.search-feedback {
    min-height: 24px;
    margin: 7px 0 0;
    color: #8fa4b9;
    font-size: 13px;
}

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

.button {
    min-height: 46px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    color: var(--white);
    background: var(--coral);
    box-shadow: 0 12px 24px rgba(255, 107, 87, 0.24);
}

.button-ghost {
    border-color: rgba(255, 255, 255, 0.22);
    color: inherit;
    background: rgba(255, 255, 255, 0.07);
}

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

.hero-stage {
    min-height: 470px;
    position: relative;
}

.hero-stage::before {
    position: absolute;
    inset: 8% 12% 2%;
    content: "";
    border-radius: 50%;
    background: rgba(87, 217, 208, 0.2);
    filter: blur(50px);
}

.hero-poster {
    position: absolute;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-main {
    inset: 0 22% 0 0;
    transform: rotate(-4deg);
}

.poster-side {
    width: 48%;
    height: 68%;
    right: 0;
    bottom: 2%;
    transform: rotate(6deg);
}

.poster-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px;
    display: grid;
    background: linear-gradient(transparent, rgba(3, 12, 23, 0.95));
}

.poster-caption span {
    color: var(--cyan);
    font-size: 12px;
}

.pulse-strip {
    margin-top: 30px;
    margin-bottom: 68px;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    border: 1px solid #dce3ea;
    border-radius: 16px;
    background: var(--white);
}

.pulse-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 6px rgba(255, 107, 87, 0.12);
}

.pulse-strip p {
    margin: 0;
    color: #536274;
}

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

.content-section,
.ranking-section,
.editorial-section,
.schedule-section,
.theme-section,
.completed-section,
.review-section,
.service-section,
.about-section,
.app-section,
.inner-main,
.reader-main {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

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

.section-heading h2,
.korean-intro h2,
.service-copy h2,
.about-content h2,
.app-copy h2 {
    margin: 6px 0 4px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.section-heading p {
    max-width: 720px;
    margin: 0;
    color: #667587;
}

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

.category-card {
    min-height: 178px;
    padding: 22px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: start;
    gap: 13px;
    border: 1px solid #dce3ea;
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan);
    box-shadow: 0 16px 32px rgba(7, 21, 37, 0.1);
}

.category-icon,
.category-hero-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--ink);
    background: #dffaf6;
    font-size: 22px;
}

.category-copy {
    display: grid;
}

.category-copy strong {
    font-size: 18px;
}

.category-copy small {
    margin-top: 7px;
    color: #728094;
    font-size: 13px;
    line-height: 1.6;
}

.category-arrow {
    color: var(--coral);
}

.book-grid,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.latest-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.book-card,
.catalog-card {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(7, 21, 37, 0.08);
}

.cover-link {
    aspect-ratio: 3 / 4;
    position: relative;
    display: block;
    overflow: hidden;
    background: #dfe6ed;
}

.cover-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.book-card:hover .cover-link img,
.catalog-card:hover .cover-link img {
    transform: scale(1.04);
}

.cover-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(7, 21, 37, 0.82);
    font-size: 12px;
}

.book-info {
    padding: 18px;
}

.book-info h3 {
    margin: 3px 0 7px;
    font-size: 18px;
    line-height: 1.35;
}

.book-info p {
    min-height: 72px;
    margin: 0;
    color: #667587;
    font-size: 14px;
    line-height: 1.7;
}

.book-meta {
    margin-top: 14px;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid #edf0f3;
    color: #7a8797;
    font-size: 12px;
}

.collect-button {
    padding: 4px 8px;
    border: 0;
    border-radius: 7px;
    color: var(--coral-dark);
    background: #fff0ed;
    cursor: pointer;
}

.collect-button.is-collected {
    color: #087d73;
    background: #ddf8f4;
}

.ranking-section {
    padding: 48px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: var(--ink);
}

.ranking-section .section-heading p {
    color: #9fb0c1;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 34px;
}

.ranking-feature {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.ranking-feature::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 35%, rgba(3, 12, 23, 0.96));
}

.ranking-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-feature > div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 30px;
}

.ranking-feature span,
.ranking-feature p {
    color: #b8cad8;
}

.ranking-feature h3 {
    margin: 4px 0;
    font-size: 34px;
}

.ranking-list {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
}

.ranking-list li {
    padding: 18px 0;
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: var(--coral);
    font-size: 25px;
    font-weight: 900;
}

.ranking-list div {
    display: grid;
}

.ranking-list a {
    font-weight: 800;
}

.ranking-list small,
.rank-trend {
    color: #8fa4b9;
    font-size: 12px;
}

.korean-feature {
    width: min(1200px, calc(100% - 40px));
    min-height: 480px;
    margin-inline: auto;
    padding: 58px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 52px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(130deg, #321832, #6b2445 70%, #a63f5c);
    overflow: hidden;
}

.korean-intro p {
    color: #f1cbd7;
}

.korean-stack {
    height: 360px;
    position: relative;
}

.stack-card {
    width: 41%;
    height: 88%;
    position: absolute;
    top: 4%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.stack-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stack-card span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 20px 14px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.84));
    font-weight: 800;
}

.stack-1 {
    left: 0;
    transform: rotate(-7deg);
}

.stack-2 {
    z-index: 2;
    left: 29%;
}

.stack-3 {
    right: 0;
    transform: rotate(7deg);
}

.editorial-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.editorial-card {
    min-height: 220px;
    padding: 28px;
    display: flex;
    gap: 24px;
    border-top: 4px solid var(--ink);
    background: var(--white);
}

.editorial-index {
    color: #d2d9e0;
    font-family: Georgia, serif;
    font-size: 52px;
    line-height: 1;
}

.editorial-card h3 {
    margin: 8px 0;
    font-size: 24px;
}

.editorial-card p {
    margin: 0;
    color: #677587;
}

.schedule-track {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border: 1px solid #dce3ea;
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
}

.schedule-item {
    min-height: 174px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #e6ebf0;
}

.schedule-item:last-child {
    border-right: 0;
}

.schedule-item > span {
    color: #8592a1;
    font-size: 13px;
}

.schedule-item strong {
    line-height: 1.45;
}

.schedule-item small {
    color: var(--coral-dark);
}

.schedule-item.is-today {
    color: var(--white);
    background: var(--coral);
}

.schedule-item.is-today span,
.schedule-item.is-today small {
    color: var(--white);
}

.theme-mosaic {
    min-height: 470px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 215px;
    gap: 16px;
}

.theme-tile {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: linear-gradient(150deg, #0d2946, #174b58);
    overflow: hidden;
}

.theme-tile:nth-child(2) {
    background: linear-gradient(150deg, #6f1e25, #dc543f);
}

.theme-tile:nth-child(3) {
    background: linear-gradient(150deg, #243a49, #4d7386);
}

.theme-tile:nth-child(4) {
    background: linear-gradient(150deg, #293065, #675cad);
}

.theme-tile:nth-child(5) {
    background: linear-gradient(150deg, #17473f, #39a38f);
}

.theme-tile span {
    color: #cbd9e4;
    font-size: 13px;
}

.theme-tile strong {
    font-size: 23px;
}

.theme-tile small {
    margin-top: 8px;
}

.theme-wide {
    grid-column: span 2;
}

.theme-tall {
    grid-row: span 2;
}

.completed-table {
    overflow: hidden;
    border: 1px solid #dce3ea;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.completed-row {
    min-height: 76px;
    padding: 14px 22px;
    display: grid;
    grid-template-columns: 54px 1.6fr 1fr 1fr auto;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e9edf1;
}

.completed-row:last-child {
    border-bottom: 0;
}

.completed-row:hover {
    background: #f0fbf9;
}

.completed-row > span {
    color: #708092;
}

.completed-order {
    color: var(--coral) !important;
    font-size: 20px;
    font-weight: 900;
}

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

.review-card {
    margin: 0;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 21, 37, 0.07);
}

.quote-mark {
    color: var(--coral);
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 0.6;
}

.review-card p {
    min-height: 116px;
    color: #4f6073;
}

.review-card footer {
    display: grid;
}

.review-card small {
    color: #8a96a5;
}

.service-section {
    padding: 48px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: var(--ink-soft);
}

.service-copy p {
    color: #aebdcb;
}

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

.service-points > div {
    min-height: 140px;
    padding: 20px;
    display: grid;
    align-content: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
}

.service-points > div > span {
    color: var(--cyan);
    font-size: 25px;
}

.service-points small {
    color: #9eb0c0;
}

.about-section {
    padding: 56px;
    display: grid;
    grid-template-columns: 0.36fr 1fr;
    gap: 56px;
    border: 1px solid #dce3ea;
    border-radius: var(--radius-xl);
    background: var(--white);
}

.about-badge {
    min-height: 300px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 22px;
    color: var(--white);
    background: linear-gradient(160deg, var(--coral), #9e2c43);
}

.about-badge strong {
    font-size: 42px;
    line-height: 1.12;
}

.about-content > p {
    color: #5d6c7d;
}

.about-stats {
    margin-top: 26px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e4e9ee;
}

.about-stats div {
    display: grid;
}

.about-stats strong {
    color: var(--coral);
    font-size: 34px;
}

.about-stats span {
    color: #788697;
    font-size: 13px;
}

.app-section {
    padding: 58px 70px;
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    align-items: center;
    gap: 70px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(120deg, #0c2138, #183d56);
}

.app-visual {
    display: grid;
    place-items: center;
}

.phone-card {
    width: 220px;
    min-height: 310px;
    padding: 36px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.phone-card img {
    width: 120px;
    height: 120px;
}

.phone-card span {
    margin-top: 18px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.phone-card small,
.app-copy p {
    color: #aebfce;
}

.app-copy .button-ghost {
    color: var(--white);
}

.subscribe-status {
    font-size: 13px;
}

.site-footer {
    margin-top: 80px;
    color: #aebdcb;
    background: #06111e;
}

.footer-shell {
    min-height: 230px;
    padding: 48px 0 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand strong {
    color: var(--white);
    font-size: 20px;
}

.footer-brand p {
    margin: 0;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.inner-main,
.reader-main {
    margin-top: 34px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #788697;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--coral-dark);
}

.category-hero {
    padding: 48px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 48px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(135deg, #071525, #14405a);
}

.category-hero-icon {
    margin-bottom: 20px;
}

.category-hero h1 {
    margin: 8px 0;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.08;
}

.category-hero p {
    max-width: 680px;
    color: #bed0de;
}

.category-summary {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.category-summary p {
    color: #bed0de;
}

.category-summary span {
    color: var(--cyan);
    font-size: 13px;
}

.catalog-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-seo {
    padding: 42px;
    display: grid;
    grid-template-columns: 0.45fr 1fr;
    gap: 45px;
    border-left: 5px solid var(--coral);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    background: var(--white);
}

.category-seo h2 {
    margin: 7px 0;
    line-height: 1.25;
}

.seo-columns {
    columns: 2;
    column-gap: 34px;
    color: #5d6c7d;
}

.seo-columns p {
    margin-top: 0;
}

.reader-article {
    margin-top: 34px;
}

.reader-header {
    padding: 56px;
    border-radius: var(--radius-xl);
    color: var(--white);
    background: linear-gradient(130deg, #071525, #143b53);
    text-align: center;
}

.reader-category {
    color: var(--cyan);
    font-weight: 800;
}

.reader-header h1 {
    max-width: 880px;
    margin: 10px auto;
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.16;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.reader-subtitle {
    max-width: 760px;
    margin: 0 auto 22px;
    color: #bed0de;
    font-size: 18px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.reader-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}

.reader-meta span {
    padding: 5px 11px;
    border-radius: 999px;
    color: #dce8f0;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
}

.reader-note {
    max-width: 900px;
    margin: 32px auto;
    padding: 24px 28px;
    border: 1px solid #dbe3e9;
    border-radius: 18px;
    background: var(--white);
}

.reader-note h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.reader-note p {
    margin: 0;
    color: #5d6c7d;
}

.chapter-nav {
    max-width: 900px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.chapter-nav a,
.chapter-nav span {
    min-height: 48px;
    padding: 10px 14px;
    display: grid;
    place-items: center;
    border: 1px solid #d8e0e7;
    border-radius: 12px;
    background: var(--white);
    text-align: center;
    font-weight: 800;
}

.chapter-nav a:hover,
.chapter-nav .back-category {
    color: var(--white);
    border-color: var(--coral);
    background: var(--coral);
}

.chapter-nav .is-disabled {
    color: #a0aab5;
    background: #edf1f4;
}

.comic-pages {
    max-width: 900px;
    margin: 42px auto;
}

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

.comic-page img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #dde5eb;
}

.comic-page figcaption {
    padding: 24px 28px 28px;
}

.comic-page figcaption span {
    color: var(--coral);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.comic-page figcaption p {
    margin: 7px 0 0;
    color: #536274;
}

.chapter-end {
    max-width: 900px;
    margin: 54px auto 28px;
    padding: 45px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--ink);
    text-align: center;
}

.chapter-end > span {
    color: var(--cyan);
    font-size: 26px;
}

.chapter-end h2 {
    margin: 6px 0;
}

.chapter-end p {
    max-width: 650px;
    margin: 0 auto;
    color: #aebfce;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1080px) {
    .header-shell {
        gap: 14px;
    }

    .brand-copy {
        display: none;
    }

    .main-nav a {
        padding-inline: 8px;
    }

    .book-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

}

@media (max-width: 820px) {
    .header-shell {
        min-height: 72px;
        position: relative;
    }

    .brand-copy {
        display: grid;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        background: #0a1b2d;
        box-shadow: var(--shadow);
    }

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

    .main-nav ul {
        padding: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav a {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 46px 34px;
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 440px;
    }

    .ranking-layout,
    .korean-feature,
    .service-section,
    .about-section,
    .app-section,
    .category-hero,
    .category-seo {
        grid-template-columns: 1fr;
    }

    .ranking-section,
    .korean-feature,
    .service-section,
    .about-section,
    .app-section,
    .category-hero {
        padding: 38px;
    }

    .editorial-row,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .review-card p {
        min-height: auto;
    }

    .catalog-grid,
    .schedule-track {
        grid-template-columns: 1fr;
    }

    .schedule-item {
        min-height: 112px;
        border-right: 0;
        border-bottom: 1px solid #e6ebf0;
    }

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

    .completed-row {
        grid-template-columns: 42px 1fr auto;
    }

    .completed-row span:nth-child(3),
    .completed-row span:nth-child(4) {
        display: none;
    }

    .seo-columns {
        columns: 1;
    }
}

@media (max-width: 580px) {
    .header-shell,
    .footer-shell,
    main,
    .hero,
    .pulse-strip,
    .content-section,
    .ranking-section,
    .korean-feature,
    .editorial-section,
    .schedule-section,
    .theme-section,
    .completed-section,
    .review-section,
    .service-section,
    .about-section,
    .app-section,
    .inner-main,
    .reader-main {
        width: min(100% - 24px, 1200px);
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        min-height: 0;
        margin-top: 20px;
        padding: 34px 22px;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .search-row {
        display: grid;
    }

    .hero-stage {
        min-height: 340px;
    }

    .poster-main {
        right: 16%;
    }

    .poster-side {
        width: 46%;
        height: 62%;
    }

    .pulse-strip {
        grid-template-columns: 1fr;
    }

    .section-space {
        margin-top: 54px;
        margin-bottom: 54px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }

    .category-grid,
    .book-grid,
    .service-points,
    .about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card {
        min-height: 190px;
        padding: 18px;
        grid-template-columns: 1fr auto;
    }

    .category-icon {
        grid-column: 1 / -1;
    }

    .category-copy small {
        display: none;
    }

    .book-info {
        padding: 14px;
    }

    .book-info h3 {
        font-size: 16px;
    }

    .book-info p,
    .book-meta > span {
        display: none;
    }

    .book-meta {
        justify-content: flex-end;
    }

    .ranking-section,
    .korean-feature,
    .service-section,
    .about-section,
    .app-section,
    .category-hero,
    .category-seo,
    .reader-header {
        padding: 28px 20px;
    }

    .ranking-feature {
        min-height: 360px;
    }

    .ranking-list li {
        grid-template-columns: 42px 1fr;
    }

    .rank-trend {
        display: none;
    }

    .korean-stack {
        height: 300px;
    }

    .stack-card {
        width: 48%;
    }

    .stack-2 {
        left: 26%;
    }

    .theme-mosaic {
        grid-auto-rows: 180px;
    }

    .theme-wide {
        grid-column: span 2;
    }

    .theme-tall {
        grid-row: span 1;
    }

    .about-stats {
        gap: 14px;
    }

    .about-stats div:last-child {
        grid-column: 1 / -1;
    }

    .app-section {
        gap: 34px;
    }

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

    .reader-header h1 {
        font-size: 30px;
    }

    .reader-subtitle {
        font-size: 16px;
    }

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

    .comic-page {
        margin-bottom: 28px;
    }

    .comic-page figcaption {
        padding: 18px;
    }

    .chapter-end {
        padding: 34px 20px;
    }
}
