:root {
    --banana: #ffcf33;
    --banana-deep: #f2b800;
    --ink: #171717;
    --ink-soft: #5f625f;
    --paper: #fffdf7;
    --surface: #ffffff;
    --surface-alt: #f4f5ef;
    --line: #e8e6dc;
    --mint: #b8ead7;
    --coral: #ff8d73;
    --lavender: #c9c2ff;
    --sky: #a9dcff;
    --shadow: 0 18px 50px rgba(42, 38, 22, 0.1);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1200px;
}

* {
    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", system-ui, sans-serif;
    line-height: 1.7;
}

body.theme-night {
    --ink: #f7f4e9;
    --ink-soft: #bdbbad;
    --paper: #141512;
    --surface: #1d1f1a;
    --surface-alt: #242720;
    --line: #34372e;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input {
    font: inherit;
}

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

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.container-narrow {
    width: min(860px, calc(100% - 40px));
    margin-inline: 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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 247, 0.92);
    border-bottom: 1px solid rgba(232, 230, 220, 0.8);
    backdrop-filter: blur(18px);
}

.theme-night .site-header {
    background: rgba(20, 21, 18, 0.92);
}

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

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

.brand-mark {
    width: 46px;
    height: 46px;
}

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

.brand-copy strong {
    font-size: 19px;
    letter-spacing: 0.04em;
}

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

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

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 10px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: #1c1a12;
    background: var(--banana);
    transform: translateY(-1px);
}

.nav-icon {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.56);
    font-size: 12px;
}

.menu-toggle,
.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
}

.menu-toggle {
    display: none;
}

.hero-section {
    margin-top: 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    min-height: 590px;
    padding: clamp(40px, 6vw, 78px);
    overflow: hidden;
    background: linear-gradient(135deg, #fff1ad 0%, #ffcf33 55%, #ffb967 100%);
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #705d11;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(56px, 7vw, 96px);
    line-height: 1;
    letter-spacing: -0.08em;
}

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

.hero-lead {
    max-width: 600px;
    margin: 0;
    color: #403814;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.8;
}

.search-form {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    max-width: 610px;
    margin-top: 28px;
    padding: 7px 7px 7px 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(23, 23, 23, 0.1);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(74, 54, 4, 0.12);
}

.search-icon {
    color: #75651f;
    font-size: 24px;
}

.search-form input {
    min-width: 0;
    padding: 10px 4px;
    background: transparent;
    border: 0;
    outline: none;
}

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

.search-feedback {
    min-height: 26px;
    margin: 8px 0 0;
    color: #685918;
    font-size: 12px;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    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: 0 12px 24px rgba(23, 23, 23, 0.16);
}

.theme-night .button-primary {
    color: #171717;
    background: var(--banana);
}

.button-secondary {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
}

.button-dark {
    color: #171717;
    background: var(--banana);
}

.button-light {
    color: #171717;
    background: #ffffff;
}

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

.hero-poster {
    position: absolute;
    overflow: hidden;
    background: #ffffff;
    border: 8px solid #ffffff;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(83, 54, 0, 0.24);
}

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

.hero-poster-main {
    inset: 2% 12% 3% 11%;
    transform: rotate(3deg);
}

.hero-poster-small {
    right: -8%;
    bottom: 4%;
    width: 38%;
    height: 46%;
    transform: rotate(8deg);
}

.poster-caption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    color: #ffffff;
    background: rgba(18, 18, 18, 0.78);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.poster-caption span {
    color: var(--banana);
    font-size: 11px;
    font-weight: 800;
}

.floating-note {
    position: absolute;
    top: 8%;
    left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(80, 56, 5, 0.18);
}

.floating-note > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #ffffff;
    background: var(--coral);
    border-radius: 50%;
}

.floating-note div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.floating-note small {
    color: #77705c;
}

.section-space {
    margin-block: 94px;
}

.section-tinted {
    padding-block: 86px;
    background: var(--surface-alt);
}

.news-strip {
    margin-block: 38px 0;
}

.news-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 17px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.news-inner p {
    margin: 0;
    color: var(--ink-soft);
}

.news-label {
    display: inline-flex;
    gap: 7px;
    font-weight: 900;
}

.news-inner > a,
.text-link {
    color: #9a7200;
    font-weight: 900;
}

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

.section-heading h2,
.feature-content h2,
.ranking-intro h2,
.reading-guide h2,
.faq-layout h2,
.about-copy h2,
.app-copy h2 {
    margin: 7px 0 8px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.section-heading p,
.ranking-intro p,
.reading-guide > div > p,
.faq-layout > div > p {
    max-width: 680px;
    margin: 0;
    color: var(--ink-soft);
}

.comic-grid {
    display: grid;
    gap: 24px;
}

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

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

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

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

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

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

.cover-badge,
.feature-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    color: #171717;
    background: var(--banana);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

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

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 11px;
}

.comic-card h3 {
    margin: 8px 0 6px;
    font-size: 20px;
}

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

.shelf-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 7px 0;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    font-weight: 800;
    cursor: pointer;
}

.shelf-button.is-saved {
    color: #b77b00;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.ranking-intro {
    position: sticky;
    top: 120px;
}

.ranking-intro .button {
    margin-top: 24px;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    grid-template-columns: auto 64px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.ranking-list img {
    width: 64px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.rank-number {
    color: #b1ad9f;
    font-size: 23px;
    font-weight: 900;
}

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

.ranking-list h3 {
    font-size: 15px;
}

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

.trend-up {
    color: #26805d;
    font-weight: 900;
}

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

.category-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px) rotate(-0.5deg);
}

.category-tone-1 {
    background: #fff0a9;
}

.category-tone-2 {
    background: #ccefe0;
}

.category-tone-3 {
    background: #dcd8ff;
}

.category-tone-4 {
    background: #ffd0c5;
}

.category-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #171717;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 15px;
    font-size: 23px;
}

.category-card h3,
.category-card p {
    margin-top: 0;
}

.category-card h3 {
    margin-bottom: 6px;
    color: #171717;
}

.category-card p {
    margin-bottom: 12px;
    color: #575340;
    font-size: 13px;
}

.category-count {
    color: #75691f;
    font-size: 11px;
    font-weight: 900;
}

.korean-feature {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 58px;
    align-items: center;
}

.feature-cover {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.feature-cover img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.feature-lead {
    color: var(--ink-soft);
    font-size: 17px;
}

.mini-list {
    display: grid;
    margin: 28px 0;
    border-top: 1px solid var(--line);
}

.mini-list a {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.mini-list img {
    width: 56px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}

.mini-list a > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mini-list small {
    overflow: hidden;
    color: var(--ink-soft);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.schedule-panel {
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.tab-list {
    display: flex;
    gap: 8px;
    padding-bottom: 20px;
    overflow-x: auto;
}

.tab-button {
    flex: 0 0 auto;
    padding: 10px 17px;
    color: var(--ink-soft);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

.tab-button.is-active {
    color: #171717;
    background: var(--banana);
    border-color: var(--banana);
}

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

.schedule-grid a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--surface-alt);
    border-radius: 14px;
}

.schedule-grid time {
    font-size: 13px;
    font-weight: 900;
}

.schedule-grid a > span:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.schedule-grid small {
    color: var(--ink-soft);
}

.status-dot {
    color: #217656;
    font-size: 11px;
    font-weight: 900;
}

.schedule-message {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 180px;
    padding: 30px;
    background: var(--surface-alt);
    border-radius: 18px;
}

.schedule-message[hidden] {
    display: none;
}

.schedule-message > span {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    background: var(--banana);
    border-radius: 50%;
    color: #171717;
    font-size: 28px;
}

.schedule-message h3,
.schedule-message p {
    margin: 0;
}

.schedule-message p {
    color: var(--ink-soft);
}

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

.editorial-card {
    display: grid;
    grid-template-columns: auto 150px 1fr;
    align-items: center;
    gap: 20px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.editorial-index {
    color: #b8b4a6;
    font-size: 26px;
    font-weight: 900;
    writing-mode: vertical-rl;
}

.editorial-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
}

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

.editorial-card h3,
.editorial-card p {
    margin: 5px 0;
}

.editorial-card p {
    color: var(--ink-soft);
    font-size: 13px;
}

.tiny-label {
    color: #9a7200;
    font-size: 11px;
    font-weight: 900;
}

.dark-showcase {
    padding-block: 86px;
    color: #ffffff;
    background: #1b1c18;
}

.dark-showcase .eyebrow,
.dark-showcase .text-link {
    color: var(--banana);
}

.dark-showcase .section-heading p {
    color: #b9baae;
}

.completed-track {
    display: grid;
    gap: 12px;
}

.completed-item {
    display: grid;
    grid-template-columns: 54px 86px 1fr;
    align-items: center;
    gap: 20px;
    padding: 13px 18px;
    border-top: 1px solid #34362f;
    transition: background 0.2s ease;
}

.completed-item:last-child {
    border-bottom: 1px solid #34362f;
}

.completed-item:hover {
    background: #242620;
}

.completed-item img {
    width: 86px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.completed-number {
    color: var(--banana);
    font-size: 28px;
    font-weight: 900;
}

.completed-item > span:last-child {
    display: flex;
    flex-direction: column;
}

.completed-item small {
    color: #adafa4;
}

.reading-guide {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
}

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

.steps-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.steps-list li > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #171717;
    background: var(--banana);
    border-radius: 50%;
    font-weight: 900;
}

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

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

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

.quote-grid figure {
    margin: 0;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.quote-grid blockquote {
    margin: 0 0 22px;
    font-size: 17px;
}

.quote-grid figcaption {
    color: var(--ink-soft);
    font-size: 13px;
}

.quote-grid figcaption span {
    color: var(--ink);
    font-weight: 900;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
}

.faq-list details {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    cursor: pointer;
    font-size: 17px;
    font-weight: 900;
}

.faq-list p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.about-section {
    padding-block: 86px;
    background: #fff1ad;
}

.theme-night .about-section {
    background: #2c2819;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 64px;
}

.about-visual {
    position: relative;
}

.about-visual img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 8px solid #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-stamp {
    position: absolute;
    right: -20px;
    bottom: 28px;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    color: #ffffff;
    background: #171717;
    border: 5px solid var(--banana);
    border-radius: 50%;
    font-size: 13px;
    transform: rotate(-8deg);
}

.about-stamp strong {
    font-size: 30px;
    line-height: 1;
}

.about-copy p {
    color: #544c2e;
}

.theme-night .about-copy p {
    color: #d0c9ad;
}

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

.about-metrics span {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    color: #5d5437;
    font-size: 12px;
}

.about-metrics strong {
    color: #171717;
    font-size: 24px;
}

.app-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
    padding: clamp(32px, 5vw, 64px);
    color: #ffffff;
    background: linear-gradient(135deg, #181915, #303124);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.app-card .eyebrow {
    color: var(--banana);
}

.app-copy {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
}

.app-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    color: #171717;
    background: var(--banana);
    border-radius: 18px;
    font-size: 27px;
}

.app-copy p {
    max-width: 690px;
    color: #c9c9bc;
}

.subscribe-status {
    display: inline-block;
    margin-left: 12px;
    color: var(--banana);
    font-size: 13px;
}

.qr-placeholder {
    display: grid;
    place-items: center;
    padding: 14px;
    color: #cbcbbf;
    background: #ffffff;
    border-radius: 20px;
    font-size: 11px;
}

.qr-placeholder img {
    width: 154px;
    height: 154px;
}

.site-footer {
    padding-top: 60px;
    color: #d6d5ca;
    background: #11120f;
}

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

.brand-footer {
    color: #ffffff;
}

.footer-brand p,
.footer-grid > div > p {
    max-width: 430px;
    color: #a8aa9d;
}

.footer-title {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 16px;
}

.footer-links {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 18px;
    border-top: 1px solid #2d2e29;
    color: #8f9186;
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: #171717;
    background: var(--banana);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(8px);
}

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

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 36px;
    color: var(--ink-soft);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: #9a7200;
}

.category-hero {
    margin-top: 24px;
}

.category-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 46px;
    background: linear-gradient(135deg, #fff0a9, #ffcf33);
    border-radius: var(--radius-lg);
}

.category-hero-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    color: #171717;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    font-size: 38px;
}

.category-hero h1 {
    margin: 5px 0;
    color: #171717;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
}

.category-hero p {
    max-width: 770px;
    margin: 0;
    color: #514719;
}

.channel-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
    padding: 18px;
    color: #ffffff;
    background: #171717;
    border-radius: 18px;
}

.channel-count strong {
    font-size: 34px;
}

.channel-count span {
    font-size: 11px;
}

.channel-feature {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 55px;
    align-items: center;
}

.channel-feature-image {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.channel-feature-image img {
    width: 100%;
    height: 100%;
    min-height: 510px;
    object-fit: cover;
}

.channel-feature-copy h2 {
    margin: 8px 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.1;
}

.feature-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0;
}

.feature-facts div {
    padding: 14px;
    background: var(--surface-alt);
    border-radius: 13px;
}

.feature-facts dt {
    color: var(--ink-soft);
    font-size: 11px;
}

.feature-facts dd {
    margin: 3px 0 0;
    font-weight: 900;
}

.channel-note {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.channel-note-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: #171717;
    background: var(--banana);
    border-radius: 16px;
}

.channel-note h2,
.channel-note p {
    margin: 0;
}

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

.reader-header {
    padding-block: 62px 36px;
    text-align: center;
}

.reader-header h1 {
    margin: 10px 0 16px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.15;
    letter-spacing: -0.05em;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    color: var(--ink-soft);
    font-size: 13px;
}

.reading-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 13px;
    margin-top: 28px;
    padding: 18px;
    text-align: left;
    background: #fff3bf;
    border: 1px solid #ecd77f;
    border-radius: 14px;
}

.theme-night .reading-notice {
    background: #322e1d;
    border-color: #5c5230;
}

.reading-notice p {
    margin: 0;
    color: #5d5229;
}

.theme-night .reading-notice p {
    color: #d9d1af;
}

.comic-chapter {
    padding-block: 22px 70px;
}

.comic-chapter > .container-narrow:first-child {
    margin-bottom: 28px;
    text-align: center;
}

.comic-chapter h2 {
    margin-bottom: 6px;
}

.chapter-opening {
    margin: 0;
    color: var(--ink-soft);
}

.comic-panel {
    width: min(940px, calc(100% - 28px));
    margin: 0 auto 48px;
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--surface-alt);
    border-radius: 6px 6px 0 0;
}

.comic-panel figcaption {
    padding: 22px 28px;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
}

.chapter-end {
    padding: 38px;
    text-align: center;
    background: var(--surface-alt);
    border-radius: var(--radius-md);
}

.chapter-end > span {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #171717;
    background: var(--banana);
    border-radius: 50%;
}

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

.shelf-button-large {
    padding: 11px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.chapter-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-bottom: 90px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.chapter-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.chapter-nav-link > span:not(:only-child) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chapter-nav-link small {
    color: var(--ink-soft);
}

.chapter-nav-link strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.chapter-nav-link.is-disabled {
    opacity: 0.48;
}

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

    .menu-toggle {
        display: inline-grid;
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        inset: 74px 0 auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        max-height: calc(100vh - 74px);
        padding: 20px;
        overflow-y: auto;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        justify-content: center;
        min-height: 46px;
        background: var(--surface-alt);
    }

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

    .hero-visual {
        margin-top: 30px;
    }

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

    .ranking-layout,
    .korean-feature,
    .reading-guide,
    .faq-layout,
    .about-grid,
    .channel-feature {
        grid-template-columns: 1fr;
    }

    .ranking-intro {
        position: static;
    }

    .feature-cover,
    .feature-cover img {
        min-height: 520px;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .container,
    .container-narrow {
        width: min(100% - 28px, var(--container));
    }

    .brand-copy small {
        display: none;
    }

    .theme-toggle {
        width: 39px;
        height: 39px;
    }

    .hero-section {
        margin-top: 22px;
    }

    .hero-grid {
        min-height: auto;
        padding: 32px 22px;
        border-radius: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(48px, 15vw, 68px);
    }

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

    .search-form button {
        grid-column: 1 / -1;
    }

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

    .hero-poster-main {
        inset: 2% 11% 3% 5%;
    }

    .hero-poster-small {
        right: -3%;
    }

    .floating-note {
        top: 2%;
    }

    .section-space {
        margin-block: 66px;
    }

    .section-tinted,
    .dark-showcase,
    .about-section {
        padding-block: 62px;
    }

    .news-inner {
        grid-template-columns: 1fr auto;
    }

    .news-inner p {
        grid-column: 1 / -1;
        grid-row: 2;
    }

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

    .comic-grid-four,
    .category-grid,
    .ranking-list,
    .schedule-grid,
    .editorial-grid,
    .quote-grid,
    .about-metrics {
        grid-template-columns: 1fr;
    }

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

    .feature-cover,
    .feature-cover img {
        min-height: 430px;
    }

    .schedule-grid a {
        grid-template-columns: auto 1fr;
    }

    .status-dot {
        grid-column: 2;
    }

    .editorial-card {
        grid-template-columns: auto 110px 1fr;
        gap: 12px;
    }

    .about-stamp {
        right: 10px;
    }

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

    .qr-placeholder {
        justify-self: start;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .category-hero-inner {
        grid-template-columns: auto 1fr;
        padding: 28px 22px;
    }

    .category-hero-icon {
        width: 60px;
        height: 60px;
        border-radius: 17px;
    }

    .channel-count {
        grid-column: 1 / -1;
        align-items: start;
    }

    .feature-facts {
        grid-template-columns: 1fr;
    }

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

    .channel-note .button {
        grid-column: 1 / -1;
    }

    .reader-header {
        padding-top: 42px;
    }

    .comic-panel {
        width: 100%;
        margin-bottom: 34px;
    }

    .comic-panel img {
        border-radius: 0;
    }

    .comic-panel figcaption {
        padding: 18px;
        border-radius: 0;
    }

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

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

    .chapter-nav-next {
        text-align: left;
        justify-content: space-between;
    }
}

@media (max-width: 440px) {
    .brand-copy strong {
        font-size: 16px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
    }

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

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

    .editorial-image {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .editorial-index {
        writing-mode: initial;
    }

    .completed-item {
        grid-template-columns: 44px 70px 1fr;
        gap: 10px;
        padding-inline: 4px;
    }

    .completed-item img {
        width: 70px;
    }

    .footer-bottom {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
