:root {
    --ink: #17213b;
    --ink-soft: #4f5b75;
    --paper: #fffdf9;
    --canvas: #f3f5f9;
    --orange: #ff6b3d;
    --orange-dark: #d94820;
    --yellow: #ffc94a;
    --line: #dfe4ee;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(23, 33, 59, 0.1);
    --radius-lg: 28px;
    --radius-md: 18px;
    --shell: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button,
input {
    font: inherit;
}

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

.shell {
    width: min(calc(100% - 40px), var(--shell));
    margin: 0 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: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--ink);
    border-radius: 10px;
    transform: translateY(-160%);
}

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

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(255, 253, 249, 0.96);
    border-bottom: 1px solid rgba(223, 228, 238, 0.88);
    backdrop-filter: blur(16px);
}

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

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

.brand img {
    width: 48px;
    height: 48px;
}

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

.brand-copy strong {
    font-size: 1.15rem;
    letter-spacing: 0.06em;
}

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

.site-nav {
    min-width: 0;
    margin-left: auto;
}

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

.nav-link {
    display: grid;
    place-items: center;
    min-width: 67px;
    padding: 9px 7px 8px;
    color: #5d667a;
    border-radius: 13px;
    font-size: 0.8rem;
    line-height: 1.25;
    transition: 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--orange-dark);
    background: #fff0e9;
}

.nav-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-bottom: 3px;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    margin-left: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
    border-radius: 2px;
}

.hero-section {
    padding: 48px 0 18px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    min-height: 540px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid #e4e7ee;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.hero-copy {
    align-self: center;
    padding: 64px 56px;
}

.hero-label,
.eyebrow {
    margin: 0 0 12px;
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-copy h1 {
    max-width: 650px;
    margin: 0;
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero-copy h1 a {
    background: linear-gradient(130deg, var(--ink) 15%, #314a83 66%, var(--orange) 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 21px;
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

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

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

.button-secondary {
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
}

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

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

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 520px;
    margin-top: 26px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.hero-search input {
    min-width: 0;
    padding: 13px 16px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.hero-search button {
    padding: 0 18px;
    color: var(--white);
    background: var(--ink);
    border: 0;
    cursor: pointer;
}

.search-note {
    min-height: 25px;
    margin: 8px 0 0;
    color: #727b90;
    font-size: 0.78rem;
}

.hero-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 0.68fr;
    gap: 10px;
    padding: 18px;
    background: var(--ink);
}

.hero-panel {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.hero-panel-main {
    grid-column: 1 / -1;
}

.hero-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

.hero-panel-accent::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(150deg, transparent, rgba(120, 87, 232, 0.35));
    content: "";
}

.panel-caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    color: var(--white);
    background: rgba(23, 33, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.panel-caption small {
    color: #ffccba;
}

.panel-caption strong {
    font-size: 1.3rem;
}

.home-section {
    padding: 58px 0;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr) auto;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-kicker-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: var(--ink);
    border-radius: 14px;
    font-weight: 900;
    box-shadow: 5px 5px 0 var(--yellow);
}

.section-heading h2,
.ranking-intro h2,
.korean-copy h2,
.about-copy h2,
.app-copy h2,
.topic-copy h2 {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1.15;
}

.section-heading .eyebrow,
.section-heading p {
    margin: 0;
}

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

.text-link {
    color: var(--orange-dark);
    font-weight: 800;
    white-space: nowrap;
}

.quick-shelf {
    padding-top: 32px;
}

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

.shelf-item {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 16px;
    padding: 13px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.shelf-item img {
    width: 116px;
    height: 142px;
    object-fit: cover;
    border-radius: 12px;
}

.shelf-item > div {
    align-self: center;
    min-width: 0;
}

.shelf-item span,
.shelf-item a {
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.shelf-item h3 {
    margin: 4px 0 10px;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.progress-track {
    height: 6px;
    margin-bottom: 8px;
    overflow: hidden;
    background: #edf0f5;
    border-radius: 10px;
}

.progress-track span {
    display: block;
    height: 100%;
    background: var(--orange);
}

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

.comic-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 30px rgba(23, 33, 59, 0.05);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.comic-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    color: var(--white);
    background: var(--orange);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.comic-card-body {
    padding: 20px;
}

.comic-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.comic-card p {
    display: -webkit-box;
    min-height: 54px;
    margin: 9px 0 16px;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    color: #7b8395;
    border-top: 1px dashed var(--line);
    font-size: 0.78rem;
}

.ranking-section {
    color: var(--white);
    background: var(--ink);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.ranking-intro {
    position: relative;
    padding: 20px 0;
}

.giant-number {
    position: absolute;
    z-index: 0;
    top: -68px;
    left: -15px;
    color: rgba(255, 255, 255, 0.06);
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
}

.ranking-intro > *:not(.giant-number) {
    position: relative;
    z-index: 1;
}

.ranking-intro p:not(.eyebrow) {
    margin: 20px 0 26px;
    color: #bdc6d9;
}

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

.ranking-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-number {
    color: var(--yellow);
    font-size: 1.5rem;
    font-weight: 900;
}

.ranking-row a {
    display: grid;
}

.ranking-row small {
    color: #9faabd;
}

.rank-trend {
    color: #72e0ad;
    font-size: 0.85rem;
    font-weight: 800;
}

.editor-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.55fr;
    gap: 22px;
}

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

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

.editor-overlay {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: grid;
    padding: 22px;
    color: var(--white);
    background: rgba(23, 33, 59, 0.82);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.editor-overlay strong {
    font-size: 1.7rem;
}

.editor-notes {
    display: grid;
    gap: 22px;
}

.editor-note {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 214px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.editor-note:first-child {
    background: #fff1ba;
    border-color: #f0d46a;
}

.editor-note span {
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.editor-note h3 {
    margin: 8px 0 6px;
    font-size: 1.25rem;
}

.editor-note p {
    margin: 0;
    color: var(--ink-soft);
}

.categories-section {
    background: var(--paper);
}

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

.category-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 124px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: border-color 180ms ease, transform 180ms ease;
}

.category-card:hover {
    border-color: var(--category-accent);
    transform: translateY(-3px);
}

.category-symbol {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: var(--category-accent, var(--orange));
    border-radius: 50% 50% 46% 54% / 55% 46% 54% 45%;
    font-size: 1.15rem;
    font-weight: 900;
}

.category-card > span:nth-child(2) {
    display: grid;
    min-width: 0;
}

.category-card small {
    margin-top: 3px;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-arrow {
    color: var(--category-accent);
    font-size: 1.4rem;
}

.korean-section {
    color: var(--white);
    background: #332657;
}

.korean-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    align-items: center;
    gap: 46px;
}

.korean-copy p:not(.eyebrow) {
    margin: 20px 0 26px;
    color: #d8d0ef;
}

.korean-copy .section-kicker-icon {
    margin-bottom: 26px;
    color: #332657;
    background: #cdbdff;
    box-shadow: 6px 6px 0 #ff6b8d;
}

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

.korean-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 18px;
}

.korean-card:nth-child(2) {
    transform: translateY(24px);
}

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

.korean-card span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 11px;
    background: rgba(34, 22, 61, 0.82);
    border-radius: 11px;
    font-weight: 800;
    text-align: center;
}

.completion-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.completion-timeline::before {
    position: absolute;
    top: 11px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--line);
    content: "";
}

.timeline-item {
    position: relative;
    padding-top: 38px;
}

.timeline-dot {
    position: absolute;
    z-index: 1;
    top: 4px;
    left: 0;
    width: 16px;
    height: 16px;
    background: var(--orange);
    border: 4px solid var(--canvas);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--orange);
}

.timeline-item small {
    color: var(--orange-dark);
    font-weight: 800;
}

.timeline-item h3 {
    margin: 8px 0;
}

.timeline-item p {
    margin: 0 0 14px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.timeline-item a {
    color: var(--ink);
    font-weight: 800;
}

.weekly-section {
    background: #fff7e7;
}

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

.day-card {
    display: grid;
    min-height: 150px;
    padding: 20px;
    background: var(--white);
    border: 1px solid #eadfc9;
    border-radius: 16px;
}

.day-card span {
    width: fit-content;
    padding: 3px 9px;
    color: #8a6b2a;
    background: #fff1c7;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.day-card strong {
    align-self: end;
    font-size: 1.05rem;
}

.day-card small {
    color: var(--ink-soft);
}

.day-card.is-today {
    color: var(--white);
    background: var(--orange);
    border-color: var(--orange);
}

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

.topic-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    align-items: center;
    gap: 60px;
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.topic-copy > span {
    color: var(--orange);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.topic-copy p {
    color: var(--ink-soft);
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.topic-cloud a {
    padding: 11px 17px;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
}

.topic-cloud a:nth-child(3n + 1) {
    color: #8a2e14;
    background: #fff0e9;
    border-color: #ffd2c2;
}

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

.guide-step {
    position: relative;
    min-height: 230px;
    padding: 30px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    border-radius: var(--radius-md);
}

.guide-step:nth-child(2) {
    color: var(--ink);
    background: var(--yellow);
}

.guide-step:nth-child(3) {
    background: var(--orange);
}

.guide-step > span {
    position: absolute;
    right: 18px;
    bottom: -28px;
    color: rgba(255, 255, 255, 0.12);
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
}

.guide-step:nth-child(2) > span {
    color: rgba(23, 33, 59, 0.12);
}

.guide-step h3 {
    margin: 50px 0 10px;
    font-size: 1.4rem;
}

.guide-step p {
    position: relative;
    z-index: 1;
    margin: 0;
    opacity: 0.82;
}

.about-section {
    background: var(--paper);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.4fr 1.6fr;
    gap: 54px;
    align-items: center;
}

.about-stamp {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    color: var(--white);
    background: var(--orange);
    border: 10px solid #ffd5c7;
    border-radius: 50%;
    transform: rotate(-7deg);
}

.about-stamp span {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
}

.about-stamp small {
    font-weight: 900;
    letter-spacing: 0.16em;
}

.about-copy > p:not(.eyebrow) {
    color: var(--ink-soft);
}

.about-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.about-points span {
    padding: 7px 13px;
    background: #fff0e9;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
}

.app-section {
    padding-bottom: 88px;
}

.app-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
    padding: 42px;
    color: var(--white);
    background: linear-gradient(135deg, #17213b, #2d3f71);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.app-visual {
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 34px;
    transform: rotate(-4deg);
}

.app-copy p:not(.eyebrow) {
    max-width: 680px;
    color: #c7d0e3;
}

.subscribe-feedback {
    display: inline-block;
    min-width: 150px;
    margin-left: 12px;
    color: #b7f2ce;
    font-size: 0.85rem;
}

.brand-code {
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    color: var(--ink);
    background-color: var(--white);
    background-image: linear-gradient(90deg, rgba(23, 33, 59, 0.07) 1px, transparent 1px), linear-gradient(rgba(23, 33, 59, 0.07) 1px, transparent 1px);
    background-size: 12px 12px;
    border: 9px solid var(--white);
    border-radius: 20px;
    text-align: center;
}

.brand-code span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    color: var(--white);
    background: var(--orange);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 900;
}

.brand-code small {
    padding: 1px 5px;
    background: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
}

.site-footer {
    padding: 42px 0;
    color: #b8c1d4;
    background: #10182c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
}

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

.footer-brand img {
    width: 52px;
    height: 52px;
}

.footer-brand strong {
    color: var(--white);
}

.footer-brand p {
    margin: 3px 0 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

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

.copyright {
    grid-column: 1 / -1;
    padding-top: 22px;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
}

.inner-main,
.reader-main {
    padding: 34px 0 80px;
}

.breadcrumb {
    margin-bottom: 24px;
    color: #6f788c;
    font-size: 0.85rem;
}

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

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

.category-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 48px;
    color: var(--white);
    background: linear-gradient(130deg, var(--ink), color-mix(in srgb, var(--category-accent) 55%, var(--ink)));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.category-hero-copy {
    display: flex;
    align-items: center;
    gap: 26px;
}

.category-hero .category-symbol {
    width: 86px;
    height: 86px;
    font-size: 2rem;
}

.category-hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.6rem);
    line-height: 1;
}

.category-hero-copy p:not(.eyebrow) {
    max-width: 700px;
    margin: 18px 0 0;
    color: #d5dced;
}

.category-stats {
    display: flex;
    gap: 10px;
}

.category-stats div {
    display: grid;
    place-items: center;
    min-width: 108px;
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 16px;
}

.category-stats strong {
    font-size: 1.8rem;
}

.category-stats span {
    color: #c6cede;
    font-size: 0.75rem;
}

.category-library {
    margin-top: 56px;
}

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

.library-heading h2 {
    margin: 0;
    font-size: 2rem;
}

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

.library-heading > a {
    color: var(--orange-dark);
    font-weight: 800;
}

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

.library-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    min-height: 280px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.library-cover {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

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

.library-number {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 5px 10px;
    color: var(--white);
    background: rgba(23, 33, 59, 0.82);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
}

.library-body {
    display: flex;
    flex-direction: column;
    padding: 26px;
}

.library-body > span {
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.library-body h2 {
    margin: 8px 0;
    font-size: 1.35rem;
}

.library-body p {
    margin: 0;
    color: var(--ink-soft);
}

.library-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    margin-top: auto;
    color: #757e91;
    border-top: 1px dashed var(--line);
    font-size: 0.8rem;
}

.library-meta a {
    color: var(--ink);
    font-weight: 800;
}

.category-note {
    margin-top: 50px;
    padding: 32px;
    background: #fff7e7;
    border-left: 5px solid var(--yellow);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.category-note h2 {
    margin: 0 0 10px;
}

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

.reader-shell {
    max-width: 960px;
}

.reader-article {
    padding: 42px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

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

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

.reader-labels span {
    padding: 5px 11px;
    color: var(--orange-dark);
    background: #fff0e9;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.reader-header h1 {
    margin: 18px 0 13px;
    font-size: clamp(2rem, 5vw, 3.7rem);
    line-height: 1.2;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    color: #737c90;
    font-size: 0.82rem;
}

.reader-header > p {
    margin: 24px auto 18px;
    color: var(--ink-soft);
    font-size: 1.04rem;
}

.bookmark-button {
    padding: 9px 15px;
    color: var(--orange-dark);
    background: var(--white);
    border: 1px solid #ffc6b3;
    border-radius: 999px;
    cursor: pointer;
}

.bookmark-button.is-saved {
    color: var(--white);
    background: var(--orange);
    border-color: var(--orange);
}

.reading-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    max-width: 790px;
    padding: 20px 22px;
    margin: 38px auto;
    background: #fff8e9;
    border: 1px solid #f4ddb0;
    border-radius: 14px;
}

.reading-note strong {
    color: #8b5b00;
}

.reading-note p {
    margin: 0;
    color: #6d624d;
}

.chapter-content {
    max-width: 790px;
    margin: 0 auto;
}

.chapter-content > h2 {
    margin: 50px 0 24px;
    font-size: 1.6rem;
    text-align: center;
}

.reader-panel {
    margin: 0 0 34px;
    overflow: hidden;
    background: #f5f6f9;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.reader-panel img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    background: #e8ebf1;
}

.reader-panel figcaption {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 20px;
}

.reader-panel figcaption span {
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.reader-panel figcaption p {
    margin: 0;
    color: var(--ink-soft);
}

.chapter-end {
    max-width: 790px;
    padding: 36px;
    margin: 56px auto 0;
    background: var(--ink);
    border-radius: 20px;
    color: var(--white);
    text-align: center;
}

.chapter-end > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 50%;
    font-weight: 900;
}

.chapter-end h2 {
    margin: 0;
}

.chapter-end p {
    margin: 8px 0 0;
    color: #c3cbda;
}

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 12px;
    max-width: 790px;
    margin: 28px auto 0;
}

.chapter-nav > * {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 78px;
    padding: 13px 16px;
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.chapter-nav small {
    color: #747d90;
}

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

.back-category {
    align-items: center;
    color: var(--white);
    background: var(--orange);
    border-color: var(--orange);
    font-weight: 800;
}

.chapter-nav .is-disabled {
    color: #9aa1af;
    background: #f5f6f8;
}

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

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        display: none;
        padding: 14px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

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

    .nav-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-link {
        display: flex;
        justify-content: flex-start;
        gap: 8px;
        min-width: 0;
        padding: 11px;
        font-size: 0.9rem;
    }

    .nav-icon {
        margin: 0;
    }

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

    .hero-panels {
        min-height: 520px;
    }

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

    .library-card {
        grid-column: auto;
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .category-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .shell {
        width: min(calc(100% - 28px), var(--shell));
    }

    .hero-section {
        padding-top: 28px;
    }

    .hero-copy {
        padding: 46px 30px;
    }

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

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

    .shelf-strip,
    .comic-grid,
    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shelf-item:last-child,
    .guide-step:last-child {
        grid-column: 1 / -1;
    }

    .ranking-layout,
    .editor-layout,
    .korean-layout,
    .topic-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .ranking-layout {
        gap: 25px;
    }

    .korean-copy {
        max-width: 650px;
    }

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

    .completion-timeline::before {
        display: none;
    }

    .timeline-dot {
        top: 4px;
    }

    .topic-layout {
        gap: 25px;
        padding: 34px;
    }

    .about-stamp {
        width: 230px;
        justify-self: center;
    }

    .app-card {
        grid-template-columns: auto 1fr;
    }

    .brand-code {
        display: none;
    }

    .category-hero-copy {
        align-items: flex-start;
    }

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

    .library-card {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .reader-article {
        padding: 30px 22px;
    }
}

@media (max-width: 580px) {
    body {
        font-size: 16px;
    }

    .shell {
        width: min(calc(100% - 20px), var(--shell));
    }

    .brand-copy small {
        display: none;
    }

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

    .hero-grid {
        border-radius: 22px;
    }

    .hero-copy {
        padding: 38px 20px;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-search {
        grid-template-columns: 1fr;
    }

    .hero-search button {
        min-height: 46px;
    }

    .hero-panels {
        grid-template-columns: 1fr;
        grid-template-rows: 1.2fr 0.7fr 0.7fr;
        min-height: 680px;
        padding: 10px;
    }

    .hero-panel-main {
        grid-column: auto;
    }

    .home-section {
        padding: 42px 0;
    }

    .section-title-wrap {
        align-items: flex-start;
    }

    .section-kicker-icon {
        width: 42px;
        height: 42px;
    }

    .shelf-strip,
    .comic-grid,
    .guide-grid,
    .category-grid,
    .weekly-board,
    .completion-timeline {
        grid-template-columns: 1fr;
    }

    .shelf-item:last-child,
    .guide-step:last-child {
        grid-column: auto;
    }

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

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

    .rank-trend {
        display: none;
    }

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

    .korean-rail {
        grid-template-columns: 1fr;
    }

    .korean-card {
        aspect-ratio: 4 / 3;
    }

    .korean-card:nth-child(2) {
        transform: none;
    }

    .timeline-item {
        padding: 0 0 0 28px;
    }

    .topic-layout {
        padding: 26px 20px;
    }

    .about-stamp {
        width: 190px;
    }

    .app-card {
        grid-template-columns: 1fr;
        padding: 30px 22px;
        text-align: center;
    }

    .app-visual {
        width: 128px;
        height: 128px;
        justify-self: center;
    }

    .subscribe-feedback {
        display: block;
        margin: 10px 0 0;
    }

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

    .footer-links {
        justify-content: flex-start;
    }

    .category-hero {
        padding: 30px 22px;
    }

    .category-hero-copy {
        display: grid;
    }

    .category-hero .category-symbol {
        width: 64px;
        height: 64px;
    }

    .category-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .library-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .library-card {
        grid-template-columns: 1fr;
    }

    .library-cover {
        aspect-ratio: 16 / 10;
    }

    .library-meta {
        flex-direction: column;
    }

    .reading-note,
    .reader-panel figcaption {
        grid-template-columns: 1fr;
    }

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

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