:root {
    --ink: #1d2530;
    --muted: #697281;
    --paper: #fffdf7;
    --surface: #ffffff;
    --line: #e8e1d2;
    --yellow: #ffd84d;
    --yellow-deep: #f2b91f;
    --green: #1e6c5b;
    --coral: #ef6c57;
    --plum: #54345d;
    --shadow: 0 20px 50px rgba(38, 31, 19, 0.09);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

body.reader-night {
    --ink: #eef1ed;
    --muted: #b7c0bd;
    --paper: #111816;
    --surface: #19221f;
    --line: #33403c;
}

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

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

button,
input {
    font: inherit;
}

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

.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;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    color: #ffffff;
    background: var(--green);
    border-radius: 12px;
    transform: translateY(-160%);
}

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

.section-shell,
.header-inner,
.footer-grid,
.copyright {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 247, 0.94);
    border-bottom: 1px solid rgba(232, 225, 210, 0.8);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    font-size: 24px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 16px 16px 16px 5px;
    box-shadow: 4px 4px 0 var(--ink);
}

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

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

.brand-copy small {
    color: var(--muted);
    font-size: 11px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 9px;
    color: #4f5965;
    font-size: 13px;
    border-radius: 11px;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    background: var(--yellow);
}

.ui-icon {
    display: inline-grid;
    place-items: center;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: var(--ink);
    background: var(--yellow);
    border: 1px solid var(--ink);
    border-radius: 12px;
    cursor: pointer;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: center;
    min-height: 640px;
    margin-top: 48px;
    padding: 64px;
    background: linear-gradient(135deg, #fff4bb 0%, #ffe775 48%, #ffc760 100%);
    border: 1px solid #e7ca49;
    border-radius: 36px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(56px, 8vw, 106px);
    line-height: 1;
    letter-spacing: -0.08em;
}

.hero h1 a {
    display: inline-block;
}

.hero-lead {
    max-width: 650px;
    margin: 26px 0 0;
    font-size: 18px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 20px;
    font-weight: 800;
    border: 1px solid var(--ink);
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    color: #ffffff;
    background: var(--ink);
    box-shadow: 5px 5px 0 rgba(29, 37, 48, 0.18);
}

.button-ghost {
    color: var(--ink);
    background: transparent;
}

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

.button-dark {
    color: #ffffff;
    background: #1d2530;
    border-color: #1d2530;
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin: 42px 0 0;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats dt {
    font-size: 24px;
    font-weight: 900;
}

.hero-stats dd {
    margin: 0;
    color: #66591f;
    font-size: 12px;
}

.hero-visual {
    position: relative;
    min-height: 510px;
}

.hero-card-main {
    position: absolute;
    top: 0;
    right: 4%;
    width: 75%;
    padding: 10px;
    background: #ffffff;
    border: 2px solid var(--ink);
    border-radius: 160px 160px 28px 28px;
    box-shadow: 14px 14px 0 rgba(29, 37, 48, 0.85);
    transform: rotate(3deg);
}

.hero-card-main img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 150px 150px 20px 20px;
}

.hero-card-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 8px 4px;
    font-size: 12px;
}

.hero-card-caption strong {
    font-size: 15px;
}

.floating-note {
    position: absolute;
    z-index: 2;
    padding: 10px 15px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    background: var(--green);
    border: 2px solid var(--ink);
    border-radius: 30px;
    box-shadow: 5px 5px 0 var(--ink);
}

.note-one {
    top: 18%;
    left: 3%;
}

.note-two {
    right: 0;
    bottom: 12%;
    color: var(--ink);
    background: #ffffff;
}

.quick-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 26px;
    margin-top: 28px;
    padding: 24px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(38, 31, 19, 0.06);
}

.search-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-copy .ui-icon {
    width: 42px;
    height: 42px;
    background: var(--yellow);
    border-radius: 13px;
}

.search-copy div {
    display: flex;
    flex-direction: column;
}

.search-copy span,
.search-feedback {
    color: var(--muted);
    font-size: 12px;
}

.search-box {
    display: flex;
    padding: 4px;
    background: #f4f1e9;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.search-box input {
    width: 100%;
    min-width: 0;
    padding: 9px 12px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.search-box button {
    padding: 8px 18px;
    color: #ffffff;
    background: var(--green);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.search-feedback {
    margin: 0;
}

.content-section {
    margin-top: 96px;
    margin-bottom: 96px;
}

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

.section-heading h2,
.guide-intro h2,
.shelf-copy h2,
.topic-copy h2,
.about-heading h2,
.subscribe-copy h2,
.editorial-copy h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.section-heading h2 .ui-icon,
.guide-intro h2 .ui-icon,
.shelf-copy h2 .ui-icon,
.topic-copy h2 .ui-icon,
.subscribe-copy h2 .ui-icon,
.editorial-copy h2 .ui-icon {
    width: 42px;
    height: 42px;
    margin-right: 7px;
    font-size: 21px;
    background: var(--yellow);
    border-radius: 13px;
    vertical-align: middle;
}

.section-heading p {
    margin: 12px 0 0;
    color: var(--muted);
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding-bottom: 4px;
    font-weight: 800;
    border-bottom: 2px solid currentColor;
}

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

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

.comic-card {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
}

.comic-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    transition: transform 0.35s ease;
}

.comic-card:hover .comic-cover img {
    transform: scale(1.04);
}

.cover-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    padding: 5px 10px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    background: var(--coral);
    border-radius: 20px;
}

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

.comic-card-body h3 {
    margin: 3px 0 8px;
    font-size: 20px;
    line-height: 1.35;
}

.comic-card-body > p:not(.comic-type) {
    min-height: 4.8em;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.comic-type {
    margin: 0;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 13px;
    color: var(--muted);
    font-size: 11px;
    border-top: 1px solid var(--line);
}

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

.category-card {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 145px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: 0.25s ease;
}

.category-card:nth-child(2n) {
    background: #f5f9ec;
}

.category-card:nth-child(3n) {
    background: #fff2ee;
}

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

.category-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    font-size: 25px;
    background: var(--yellow);
    border-radius: 18px;
}

.category-text {
    display: flex;
    flex-direction: column;
}

.category-text strong {
    font-size: 17px;
}

.category-text small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.category-arrow {
    font-size: 22px;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    padding: 30px;
    background: #1d2530;
    border-radius: 32px;
}

.ranking-feature {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 23px;
}

.ranking-feature img {
    width: 100%;
    height: 100%;
    min-height: 560px;
}

.ranking-feature::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, 0.86));
}

.ranking-overlay {
    position: absolute;
    right: 34px;
    bottom: 34px;
    left: 34px;
    z-index: 2;
    color: #ffffff;
}

.ranking-overlay p {
    color: #ffd84d;
    font-size: 13px;
    font-weight: 800;
}

.ranking-overlay h2 {
    margin: 0 0 22px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: #ffffff;
    list-style: none;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 44px 70px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ranking-list img {
    width: 70px;
    aspect-ratio: 1;
    border-radius: 14px;
}

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

.ranking-list div {
    display: flex;
    flex-direction: column;
}

.ranking-list strong {
    font-size: 17px;
}

.ranking-list div span {
    color: #aeb7c2;
    font-size: 11px;
}

.korean-zone {
    padding: 52px;
    color: #ffffff;
    background: var(--plum);
    border-radius: 34px;
}

.light-heading .eyebrow {
    color: #f9cfe9;
}

.light-heading p {
    color: #dacddd;
}

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

.poster-card {
    position: relative;
    overflow: hidden;
    border-radius: 140px 140px 22px 22px;
}

.poster-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
}

.poster-card::after {
    position: absolute;
    inset: 45% 0 0;
    content: "";
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.poster-card span {
    position: absolute;
    right: 16px;
    bottom: 14px;
    left: 16px;
    z-index: 2;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
}

.editorial-story {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 60px;
}

.editorial-lead {
    margin: 24px 0;
    color: var(--muted);
    font-size: 17px;
}

.editorial-copy blockquote {
    margin: 24px 0;
    padding: 20px 22px;
    color: var(--green);
    font-weight: 800;
    background: #eff7f1;
    border-left: 5px solid var(--green);
    border-radius: 0 18px 18px 0;
}

.editorial-image {
    margin: 0;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.editorial-image img {
    width: 100%;
    aspect-ratio: 5 / 4;
    border-radius: 20px;
}

.editorial-image figcaption {
    padding: 13px 8px 2px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.update-timeline {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
    padding: 30px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 0;
    padding: 0 10px;
    text-align: center;
}

.timeline-item::before {
    position: absolute;
    top: 41px;
    right: 50%;
    left: -50%;
    height: 2px;
    content: "";
    background: var(--line);
}

.timeline-item:first-child::before {
    display: none;
}

.timeline-day {
    color: var(--muted);
    font-size: 12px;
}

.timeline-dot {
    z-index: 1;
    width: 13px;
    height: 13px;
    margin: 12px 0 16px;
    background: var(--green);
    border: 3px solid var(--surface);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--green);
}

.timeline-item.is-today .timeline-dot {
    background: var(--coral);
    box-shadow: 0 0 0 5px #ffd9d1;
}

.timeline-item strong {
    font-size: 13px;
}

.timeline-item small {
    color: var(--muted);
    font-size: 10px;
}

.reading-guide {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    padding: 52px;
    background: #f0f7ee;
    border: 1px solid #d6e3d2;
    border-radius: 32px;
}

.guide-intro > p:last-child {
    color: var(--muted);
}

.guide-steps {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-steps li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 18px;
    background: var(--surface);
    border-radius: 18px;
}

.guide-steps li > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #ffffff;
    font-weight: 900;
    background: var(--green);
    border-radius: 14px;
}

.guide-steps p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.shelf-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 64px;
    padding: 50px 70px;
    background: #fff0df;
    border: 1px solid #eccfaf;
    border-radius: 32px;
}

.shelf-visual {
    position: relative;
    display: grid;
    min-height: 250px;
    place-items: center;
}

.shelf-icon {
    position: absolute;
    top: 0;
    left: 20%;
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    color: #ffffff;
    font-size: 34px;
    background: var(--coral);
    border-radius: 50%;
}

.book-stack {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.book-stack span {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 65px;
    height: 185px;
    padding: 10px 6px;
    color: #ffffff;
    font-weight: 800;
    background: var(--green);
    border: 2px solid var(--ink);
    border-radius: 8px;
    writing-mode: vertical-rl;
    box-shadow: 5px 5px 0 var(--ink);
}

.book-stack span:nth-child(2) {
    height: 220px;
    color: var(--ink);
    background: var(--yellow);
}

.book-stack span:nth-child(3) {
    height: 165px;
    background: var(--plum);
}

.shelf-copy > p:not(.eyebrow) {
    color: var(--muted);
}

.shelf-message {
    display: inline-block;
    margin-left: 12px;
    font-size: 12px;
}

.topic-wall {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: center;
    gap: 50px;
}

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

.topic-cloud a {
    padding: 15px 20px;
    font-weight: 800;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 100px;
}

.topic-cloud a:nth-child(2n) {
    background: var(--yellow);
    border-color: var(--yellow-deep);
}

.about-section {
    padding: 55px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.about-heading {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-mark {
    display: grid;
    width: 80px;
    height: 80px;
    place-items: center;
    font-size: 38px;
    background: var(--yellow);
    border-radius: 25px 25px 25px 8px;
}

.about-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 36px;
}

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

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.about-values span {
    padding: 7px 13px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    background: #edf7f1;
    border-radius: 20px;
}

.app-subscribe {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 58px;
    margin-bottom: 70px;
    padding: 58px;
    color: #ffffff;
    background: linear-gradient(135deg, #1e6c5b, #173d37);
    border-radius: 34px;
    overflow: hidden;
}

.subscribe-art {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
}

.phone-shape {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 160px;
    height: 280px;
    color: var(--ink);
    background: var(--yellow);
    border: 8px solid #101916;
    border-radius: 30px;
    box-shadow: 15px 15px 0 rgba(0, 0, 0, 0.2);
}

.phone-shape span {
    font-size: 58px;
}

.qr-placeholder {
    display: grid;
    width: 116px;
    height: 116px;
    place-items: center;
    color: var(--ink);
    text-align: center;
    background: #ffffff;
    border-radius: 18px;
}

.qr-placeholder span {
    font-size: 45px;
    line-height: 1;
}

.qr-placeholder small {
    font-size: 10px;
}

.subscribe-copy .eyebrow {
    color: var(--yellow);
}

.subscribe-copy h2 .ui-icon {
    color: var(--ink);
}

.subscribe-copy > p:not(.eyebrow) {
    color: #cae0da;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.subscribe-form label {
    flex: 1;
}

.subscribe-form input {
    width: 100%;
    min-height: 48px;
    padding: 10px 15px;
    border: 0;
    border-radius: 15px;
    outline: 0;
}

.form-message {
    font-size: 11px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    color: var(--muted);
    font-size: 12px;
}

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

.column-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 300px;
    margin-top: 24px;
    padding: 54px 62px;
    background: linear-gradient(130deg, #fff0a6, #ffe260);
    border: 1px solid #e5c84d;
    border-radius: 32px;
}

.column-hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.1;
}

.column-hero h1 .ui-icon {
    display: inline-grid;
    width: 58px;
    height: 58px;
    margin-right: 10px;
    background: #ffffff;
    border-radius: 18px;
    vertical-align: middle;
}

.column-hero p:last-child {
    max-width: 720px;
    margin-bottom: 0;
}

.column-symbol {
    display: grid;
    width: 150px;
    height: 150px;
    place-items: center;
    font-size: 70px;
    background: #ffffff;
    border: 2px solid var(--ink);
    border-radius: 48px 48px 48px 14px;
    box-shadow: 10px 10px 0 var(--ink);
    transform: rotate(5deg);
}

.result-count {
    padding: 7px 13px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    background: #edf7f1;
    border-radius: 20px;
}

.five-grid .comic-card-body {
    padding: 16px;
}

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

.five-grid .comic-card-body > p:not(.comic-type) {
    font-size: 12px;
}

.channel-notes {
    display: grid;
    grid-template-columns: 0.7fr 1.15fr 1.15fr;
    gap: 34px;
    padding: 42px;
    background: #eef6ea;
    border-radius: 26px;
}

.channel-notes h2 {
    margin: 8px 0 0;
    font-size: 28px;
}

.channel-notes p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.note-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    background: var(--yellow);
    border-radius: 14px;
}

.reader-page {
    max-width: 1040px;
    margin-top: 26px;
    margin-bottom: 90px;
}

.reader-header {
    padding: 56px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 30px;
}

.reader-header h1 {
    margin: 10px 0 14px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.15;
}

.reader-summary {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
}

.reader-meta {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 32px 0 0;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.reader-meta div {
    display: flex;
    flex-direction: column;
}

.reader-meta dt {
    color: var(--muted);
    font-size: 11px;
}

.reader-meta dd {
    margin: 2px 0 0;
    font-size: 13px;
    font-weight: 800;
}

.reader-actions {
    justify-content: center;
}

.reading-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin: 28px 0;
    padding: 25px;
    background: #fff6c9;
    border: 1px solid #ead776;
    border-radius: 20px;
}

.notice-icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    background: var(--yellow);
    border-radius: 14px;
}

.reading-notice h2 {
    margin: 0;
    color: #1d2530;
    font-size: 17px;
}

.reading-notice p {
    margin: 4px 0 0;
    color: #655f47;
    font-size: 12px;
}

.chapter-content {
    padding: 30px;
    background: #18201e;
    border-radius: 28px;
}

.chapter-heading {
    padding: 22px 20px 35px;
    color: #ffffff;
    text-align: center;
}

.chapter-heading span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.chapter-heading h2 {
    margin: 5px 0 0;
    font-size: 30px;
}

.comic-panel {
    max-width: 820px;
    margin: 0 auto 36px;
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #2c3633;
    border-radius: 10px;
}

.comic-panel figcaption {
    display: flex;
    gap: 14px;
    padding: 16px 6px 0;
    color: #c5cfcc;
    font-size: 12px;
}

.comic-panel figcaption span {
    color: var(--yellow);
    font-weight: 800;
}

.chapter-end {
    margin-top: 28px;
    padding: 48px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.chapter-end > span {
    display: grid;
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    place-items: center;
    background: var(--yellow);
    border-radius: 50%;
}

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

.chapter-end p {
    margin-bottom: 0;
    color: var(--muted);
}

.chapter-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 14px;
    margin-top: 28px;
}

.chapter-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 13px 17px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.chapter-link.next {
    justify-content: flex-end;
    text-align: right;
}

.chapter-link span {
    display: flex;
    flex-direction: column;
}

.chapter-link small {
    color: var(--muted);
    font-size: 10px;
}

.chapter-link.is-disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.62;
}

.site-footer {
    color: #dce3df;
    background: #18201e;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 60px;
    padding-top: 58px;
    padding-bottom: 44px;
}

.footer-brand {
    color: #ffffff;
    font-size: 22px;
}

.footer-grid p {
    color: #99aaa4;
    font-size: 12px;
}

.footer-grid h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 14px;
}

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

.footer-grid li {
    margin: 5px 0;
    color: #b7c3bf;
    font-size: 12px;
}

.copyright {
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
    color: #778782;
    font-size: 11px;
    border-top: 1px solid #303b38;
}

.copyright p {
    margin: 0;
}

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--ink);
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-link {
        flex: 0 0 auto;
    }

    .hero {
        grid-template-columns: 1fr 0.8fr;
        padding: 48px;
    }

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

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

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

    .search-feedback {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .section-shell,
    .header-inner,
    .footer-grid,
    .copyright {
        width: min(100% - 28px, 1200px);
    }

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

    .main-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 16px;
    }

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

    .nav-link {
        justify-content: flex-start;
        padding: 11px 13px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        margin-top: 28px;
        padding: 42px 34px;
    }

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

    .hero-visual {
        min-height: 520px;
        margin-top: 35px;
    }

    .hero-card-main {
        right: 12%;
        width: 66%;
    }

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

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

    .ranking-layout,
    .editorial-story,
    .reading-guide,
    .shelf-panel,
    .topic-wall,
    .app-subscribe {
        grid-template-columns: 1fr;
    }

    .ranking-feature,
    .ranking-feature img {
        min-height: 460px;
    }

    .update-timeline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 22px 0;
    }

    .timeline-item:nth-child(5)::before {
        display: none;
    }

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

    .column-hero {
        padding: 42px;
    }

    .column-symbol {
        width: 110px;
        height: 110px;
        font-size: 48px;
    }

    .channel-notes {
        grid-template-columns: 1fr 1fr;
    }

    .channel-notes > div {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .brand-copy small {
        display: none;
    }

    .hero {
        padding: 34px 22px;
        border-radius: 25px;
    }

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

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

    .hero-stats {
        justify-content: space-between;
        gap: 12px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .hero-card-main {
        right: 12%;
        width: 76%;
    }

    .note-one {
        left: 0;
    }

    .quick-search {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .search-box {
        width: 100%;
    }

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

    .section-heading h2,
    .guide-intro h2,
    .shelf-copy h2,
    .topic-copy h2,
    .about-heading h2,
    .subscribe-copy h2,
    .editorial-copy h2 {
        font-size: 30px;
    }

    .comic-grid,
    .five-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

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

    .comic-card-body h3,
    .five-grid .comic-card-body h3 {
        font-size: 15px;
    }

    .comic-card-body > p:not(.comic-type) {
        min-height: 0;
        font-size: 11px;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .card-meta {
        flex-direction: column;
        gap: 2px;
    }

    .category-card {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        min-height: 200px;
        padding: 16px;
    }

    .category-arrow {
        display: none;
    }

    .ranking-layout,
    .korean-zone,
    .reading-guide,
    .shelf-panel,
    .about-section,
    .app-subscribe {
        padding: 24px;
        border-radius: 24px;
    }

    .ranking-feature,
    .ranking-feature img {
        min-height: 380px;
    }

    .ranking-overlay {
        right: 22px;
        bottom: 22px;
        left: 22px;
    }

    .ranking-list li {
        grid-template-columns: 35px 56px 1fr;
        padding: 10px 2px;
    }

    .ranking-list img {
        width: 56px;
    }

    .poster-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .editorial-story {
        gap: 30px;
    }

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

    .timeline-item:nth-child(odd)::before {
        display: none;
    }

    .shelf-panel {
        gap: 30px;
    }

    .about-heading {
        align-items: flex-start;
    }

    .app-subscribe {
        gap: 34px;
    }

    .phone-shape {
        width: 135px;
        height: 235px;
    }

    .qr-placeholder {
        width: 95px;
        height: 95px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .column-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 24px;
    }

    .column-hero h1 {
        font-size: 40px;
    }

    .column-symbol {
        width: 85px;
        height: 85px;
        font-size: 38px;
    }

    .channel-notes {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .channel-notes > div {
        grid-column: auto;
    }

    .reader-header {
        padding: 35px 20px;
    }

    .reader-meta {
        flex-direction: column;
        gap: 15px;
    }

    .chapter-content {
        padding: 12px;
    }

    .comic-panel {
        margin-bottom: 26px;
    }

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

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

    .chapter-navigation > .button {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .chapter-link {
        min-width: 0;
        font-size: 12px;
    }

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

    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .copyright {
        flex-direction: column;
        gap: 5px;
    }
}
