:root {
    --ink: #17201f;
    --paper: #f7f4ed;
    --white: #ffffff;
    --frog: #087f6a;
    --frog-dark: #075d50;
    --mint: #cbeee4;
    --red: #e64935;
    --yellow: #f4ca55;
    --blue: #b9dced;
    --line: #263230;
    --muted: #66736f;
    --shadow: 8px 8px 0 #17201f;
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.site-shell {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
}

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

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

.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: 100;
    border-bottom: 2px solid var(--ink);
    background: rgba(247, 244, 237, 0.96);
    backdrop-filter: blur(14px);
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--white);
    background: var(--frog);
    border: 2px solid var(--ink);
    border-radius: 15px 15px 15px 4px;
    box-shadow: 3px 3px 0 var(--ink);
    font-weight: 900;
}

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

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

.brand-copy small {
    margin-top: 4px;
    color: var(--frog-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

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

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

.main-nav a {
    display: grid;
    min-width: 62px;
    min-height: 52px;
    padding: 7px 8px;
    place-items: center;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.main-nav a span:first-child {
    color: var(--frog);
    font-size: 1.1rem;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--white);
    border-color: var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    color: var(--white);
    background: var(--ink);
    border: 0;
    border-radius: 12px;
}

.hero {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 64px;
    align-items: center;
    min-height: 610px;
    padding-block: 72px;
}

.hero-copy h1 {
    margin: 20px 0 10px;
    font-family: "STKaiti", "KaiTi", serif;
    font-size: clamp(4rem, 9vw, 7.5rem);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

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

.hero-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    color: var(--frog-dark);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-label {
    padding: 7px 12px;
    background: var(--mint);
    border: 2px solid var(--ink);
    border-radius: 999px;
}

.hero-lead {
    max-width: 620px;
    margin: 24px 0 0;
    color: #3f4b48;
    font-size: 1.12rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    padding: 11px 20px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 2px solid var(--ink);
    border-radius: 13px;
    font-weight: 900;
    cursor: pointer;
}

.button-primary {
    color: var(--white);
    background: var(--frog);
    box-shadow: 5px 5px 0 var(--ink);
}

.button-ghost {
    background: var(--white);
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin: 38px 0 0;
}

.hero-stats div {
    display: grid;
}

.hero-stats dt {
    color: var(--red);
    font-size: 1.55rem;
    font-weight: 950;
}

.hero-stats dd {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.hero-art {
    position: relative;
    min-height: 480px;
}

.hero-art::before,
.hero-art::after {
    content: "";
    position: absolute;
    border: 2px solid var(--ink);
    border-radius: 50%;
}

.hero-art::before {
    top: 8px;
    left: 8px;
    width: 86px;
    height: 86px;
    background: var(--yellow);
}

.hero-art::after {
    right: 4px;
    bottom: 32px;
    width: 128px;
    height: 128px;
    background: var(--mint);
}

.hero-poster {
    position: absolute;
    z-index: 2;
    inset: 30px 64px 40px 52px;
    overflow: hidden;
    background: var(--white);
    border: 3px solid var(--ink);
    border-radius: 50% 50% 24px 24px;
    box-shadow: 12px 12px 0 var(--ink);
}

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

.hero-poster > div {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    padding: 13px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 12px;
}

.hero-poster span {
    color: var(--frog-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.hero-note {
    position: absolute;
    z-index: 3;
    right: 0;
    top: 78px;
    width: 180px;
    padding: 16px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 12px;
    box-shadow: 6px 6px 0 var(--ink);
    transform: rotate(3deg);
}

.hero-note > span {
    font-size: 1.5rem;
}

.hero-note p {
    margin: 4px 0 0;
    font-size: 0.78rem;
}

.section {
    margin-top: 108px;
}

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

.section-heading h2,
.about-title h2,
.app-copy h2 {
    margin: 7px 0 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading > p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
}

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

.rail-feature {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.rail-feature-copy {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 24px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 15px;
}

.rail-feature-copy h3 {
    margin: 6px 0;
    font-size: 1.9rem;
}

.rail-feature-copy p {
    margin: 0 0 12px;
    color: var(--muted);
}

.rail-feature-copy a {
    color: var(--frog-dark);
    font-weight: 900;
}

.rail-list {
    display: grid;
    gap: 13px;
}

.rail-item {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    padding: 20px;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 14px;
}

.rail-item:hover {
    transform: translateX(5px);
}

.rail-index {
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 950;
}

.rail-item > span:nth-child(2) {
    display: grid;
}

.rail-item small {
    color: var(--muted);
}

.categories-section,
.update-board,
.korean-strip,
.schedule-section,
.reader-tools,
.app-section {
    padding-block: 92px;
    background: var(--white);
    border-block: 2px solid var(--ink);
}

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

.category-card {
    position: relative;
    display: flex;
    min-height: 250px;
    padding: 24px;
    flex-direction: column;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 5px 5px 0 var(--ink);
}

.category-card:hover {
    transform: translateY(-5px);
}

.tone-1 {
    background: var(--mint);
}

.tone-2 {
    background: #f8e5df;
}

.tone-3 {
    background: #e6edf7;
}

.tone-4 {
    background: #f7e9ad;
}

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 50%;
    font-size: 1.35rem;
}

.category-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(23, 32, 31, 0.45);
    font-weight: 900;
}

.category-card h3 {
    margin: 22px 0 6px;
    font-size: 1.3rem;
}

.category-card p {
    margin: 0 0 20px;
    color: #46514f;
    font-size: 0.92rem;
}

.category-card strong {
    margin-top: auto;
    font-size: 0.86rem;
}

.pick-mosaic {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: 280px 280px;
    gap: 18px;
}

.pick-card {
    position: relative;
    overflow: hidden;
    border: 3px solid var(--ink);
    border-radius: var(--radius);
}

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

.pick-card > div {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 15px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 12px;
}

.pick-card span {
    color: var(--frog-dark);
    font-size: 0.76rem;
    font-weight: 900;
}

.pick-card h3 {
    margin: 4px 0;
}

.pick-card a {
    color: var(--red);
    font-size: 0.84rem;
    font-weight: 900;
}

.pick-1 {
    grid-row: 1 / 3;
}

.pick-4 {
    grid-column: 2 / 4;
}

.timeline-list {
    border-top: 2px solid var(--ink);
}

.timeline-row {
    display: grid;
    grid-template-columns: 90px 16px 1fr auto;
    padding: 22px 8px;
    align-items: center;
    gap: 20px;
    border-bottom: 2px solid var(--ink);
}

.timeline-row time {
    color: var(--red);
    font-weight: 950;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--frog);
    border: 2px solid var(--ink);
    border-radius: 50%;
}

.timeline-row h3,
.timeline-row p {
    margin: 0;
}

.timeline-row p {
    color: var(--muted);
    font-size: 0.88rem;
}

.status-chip {
    padding: 5px 10px;
    background: var(--mint);
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.text-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--frog-dark);
    font-weight: 900;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 24px;
}

.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0;
    margin: 0;
    align-items: end;
    list-style: none;
}

.podium li {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}

.podium .rank-1 {
    min-height: 450px;
    order: 2;
}

.podium .rank-2 {
    min-height: 390px;
    order: 1;
}

.podium .rank-3 {
    min-height: 360px;
    order: 3;
}

.podium img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.podium li > div {
    display: grid;
    padding: 16px;
}

.rank-number {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border: 2px solid var(--ink);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 950;
}

.podium small {
    color: var(--muted);
}

.rank-notes {
    display: grid;
    gap: 16px;
}

.rank-notes a {
    display: grid;
    min-height: 170px;
    padding: 20px;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    background: var(--mint);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}

.rank-notes > a:last-child {
    background: var(--yellow);
}

.rank-notes > a > span {
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 950;
}

.rank-notes p {
    margin: 8px 0 0;
    font-size: 0.87rem;
}

.vertical-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.comic-card {
    overflow: hidden;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}

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

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

.card-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 8px;
    background: var(--yellow);
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 900;
}

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

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

.comic-card h3 {
    font-size: 1.02rem;
}

.comic-card p {
    min-height: 46px;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.78rem;
}

.shelf-button {
    display: inline-flex;
    padding: 7px 0 0;
    align-items: center;
    gap: 4px;
    color: var(--frog-dark);
    background: transparent;
    border: 0;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.shelf-button.saved {
    color: var(--red);
}

.mood-panel {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 36px;
    padding: 36px;
    background: var(--ink);
    border-radius: var(--radius);
}

.mood-buttons {
    display: grid;
    align-content: center;
    gap: 10px;
}

.mood-button {
    padding: 14px 18px;
    color: var(--white);
    background: transparent;
    border: 1px solid #6b7774;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
}

.mood-button.active,
.mood-button:hover {
    color: var(--ink);
    background: var(--yellow);
    border-color: var(--yellow);
    font-weight: 900;
}

.mood-results {
    display: grid;
    gap: 10px;
}

.mood-result {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    padding: 15px;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border-radius: 14px;
}

.mood-result.hidden {
    display: none;
}

.mood-symbol {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: var(--mint);
    border: 1px solid var(--ink);
    border-radius: 50%;
}

.mood-result h3,
.mood-result p {
    margin: 0;
}

.mood-result p {
    color: var(--muted);
    font-size: 0.82rem;
}

.mood-result a {
    color: var(--frog-dark);
    font-weight: 900;
}

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

.day-card {
    display: flex;
    min-height: 190px;
    padding: 17px;
    flex-direction: column;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 16px;
}

.day-card.today {
    color: var(--white);
    background: var(--frog);
    box-shadow: 5px 5px 0 var(--ink);
}

.day-card span {
    font-weight: 950;
}

.day-card strong {
    margin-top: 24px;
    line-height: 1.35;
}

.day-card time {
    margin-top: auto;
    font-size: 0.83rem;
}

.book-spines {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 420px;
    align-items: end;
    border-bottom: 12px solid var(--ink);
}

.book-spine {
    display: flex;
    min-height: 370px;
    padding: 22px 15px;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid var(--ink);
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
}

.book-spine:nth-child(odd) {
    min-height: 410px;
}

.spine-1 {
    background: var(--mint);
}

.spine-2 {
    background: var(--blue);
}

.spine-3 {
    color: var(--white);
    background: var(--frog);
}

.spine-4 {
    background: var(--yellow);
}

.spine-5 {
    color: var(--white);
    background: var(--red);
}

.book-spine strong {
    writing-mode: vertical-rl;
    font-size: 1.35rem;
    letter-spacing: 0.12em;
}

.book-spine small {
    font-weight: 900;
}

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

.tool-card {
    padding: 30px;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}

.tool-card > span {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: var(--white);
    background: var(--frog);
    border: 2px solid var(--ink);
    border-radius: 50%;
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 1.4rem;
}

.tool-card h3 {
    margin: 22px 0 8px;
}

.tool-card p {
    margin: 0;
    color: var(--muted);
}

.about-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
    padding: 56px;
    background: var(--yellow);
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-title strong {
    display: block;
    margin-top: 30px;
    font-size: 1.25rem;
    line-height: 1.6;
}

.about-copy p {
    margin: 0 0 18px;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.about-points li {
    display: flex;
    padding: 10px 12px;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--ink);
    border-radius: 10px;
    font-weight: 800;
}

.app-panel {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 72px;
    padding: 64px;
    color: var(--white);
    background: var(--frog-dark);
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.app-copy .eyebrow {
    color: var(--mint);
}

.app-copy p {
    max-width: 650px;
    color: #e0f3ed;
}

.subscribe-form {
    margin-top: 26px;
}

.subscribe-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 900;
}

.subscribe-form > div {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 2px solid var(--ink);
    border-radius: 12px;
}

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

.subscribe-form small {
    display: block;
    margin-top: 10px;
    color: #bfe0d7;
}

.app-code {
    display: grid;
    padding: 24px;
    place-items: center;
    color: var(--ink);
    background: var(--white);
    border: 3px solid var(--ink);
    border-radius: 18px;
    transform: rotate(2deg);
}

.app-code img {
    width: 170px;
    aspect-ratio: 1;
}

.app-code span {
    color: var(--frog-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.site-footer {
    margin-top: 0;
    padding: 68px 0 24px;
    color: var(--white);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
    gap: 48px;
}

.footer-brand .brand-mark {
    margin-bottom: 14px;
}

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

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

.footer-links {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-links strong,
.footer-note strong {
    margin-bottom: 8px;
    color: var(--yellow);
}

.footer-links a {
    color: #c6cfcd;
}

.copyright {
    display: flex;
    padding-top: 34px;
    margin-top: 50px;
    justify-content: space-between;
    gap: 24px;
    color: #899592;
    border-top: 1px solid #45514f;
    font-size: 0.82rem;
}

.toast {
    position: fixed;
    z-index: 200;
    right: 20px;
    bottom: 20px;
    max-width: 320px;
    padding: 14px 18px;
    color: var(--white);
    background: var(--ink);
    border: 2px solid var(--white);
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.breadcrumb {
    margin-top: 34px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    color: var(--muted);
    list-style: none;
    font-size: 0.86rem;
}

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

.breadcrumb a {
    color: var(--frog-dark);
    font-weight: 800;
}

.category-main {
    padding-bottom: 110px;
}

.category-hero {
    display: grid;
    grid-template-columns: 140px 1fr 250px;
    gap: 36px;
    margin-top: 44px;
    padding: 48px;
    align-items: center;
    background: var(--mint);
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.category-hero > div:first-child {
    display: grid;
    gap: 14px;
}

.category-hero-icon {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    color: var(--white);
    background: var(--frog);
    border: 3px solid var(--ink);
    border-radius: 50%;
    font-size: 2.4rem;
}

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

.category-hero p {
    margin: 18px 0 0;
    color: #40504c;
}

.category-hero dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.category-hero dl div {
    padding: 14px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 12px;
}

.category-hero dt {
    color: var(--muted);
    font-size: 0.78rem;
}

.category-hero dd {
    margin: 2px 0 0;
    font-weight: 950;
}

.category-listing {
    margin-top: 90px;
}

.listing-head {
    display: flex;
    margin-bottom: 28px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.listing-head h2 {
    margin: 4px 0 0;
    font-size: 2.5rem;
}

.listing-head p {
    color: var(--muted);
}

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

.catalog-card:nth-child(even) {
    transform: translateY(20px);
}

.catalog-card .comic-card-body {
    min-height: 156px;
}

.category-note {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    margin-top: 90px;
    padding: 28px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}

.category-note > span {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 50%;
    font-size: 1.4rem;
}

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

.category-note p {
    margin-top: 6px;
}

.reader-main {
    max-width: 980px;
    padding-bottom: 110px;
}

.reader-header {
    padding: 70px 0 38px;
    text-align: center;
}

.reader-category {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: var(--frog-dark);
    font-weight: 900;
}

.reader-header h1 {
    margin: 16px 0 8px;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.chapter-title {
    margin: 0;
    color: var(--red);
    font-size: 1.25rem;
    font-weight: 900;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    margin-top: 26px;
    justify-content: center;
    gap: 10px;
}

.reader-meta span,
.reader-meta time {
    padding: 6px 10px;
    background: var(--white);
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: 0.78rem;
}

.reading-guide {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 24px;
    background: var(--mint);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}

.reading-guide > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 50%;
    font-size: 1.3rem;
}

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

.reading-guide p {
    margin-top: 4px;
}

.comic-chapter {
    margin-top: 56px;
}

.chapter-heading {
    margin-bottom: 24px;
    text-align: center;
}

.chapter-heading span {
    color: var(--frog-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

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

.comic-panel {
    margin: 0 0 48px;
    overflow: hidden;
    background: var(--white);
    border: 3px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: #dfe6e3;
}

.comic-panel figcaption {
    display: grid;
    grid-template-columns: 100px 170px 1fr;
    padding: 20px 24px;
    align-items: start;
    gap: 18px;
    border-top: 2px solid var(--ink);
}

.comic-panel figcaption span {
    color: var(--red);
    font-size: 0.76rem;
    font-weight: 950;
}

.comic-panel figcaption p {
    margin: 0;
    color: var(--muted);
}

.chapter-end {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 22px;
    padding: 34px;
    background: var(--yellow);
    border: 3px solid var(--ink);
    border-radius: var(--radius);
}

.chapter-end > span {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border: 2px solid var(--ink);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 950;
}

.chapter-end h2,
.chapter-end p {
    margin: 0;
}

.chapter-end p {
    margin-top: 5px;
}

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

.chapter-link,
.chapter-home {
    display: flex;
    min-height: 96px;
    padding: 18px;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 14px;
}

.chapter-link span {
    color: var(--muted);
    font-size: 0.8rem;
}

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

.chapter-link.disabled {
    opacity: 0.52;
}

.chapter-home {
    color: var(--white);
    background: var(--frog);
    align-items: center;
    font-weight: 900;
}

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

    .header-inner {
        gap: 10px;
    }

    .main-nav a {
        min-width: 58px;
        padding-inline: 6px;
    }

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

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

    .category-comics .comic-card:last-child {
        grid-column: 1 / 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .category-comics .comic-card:last-child .comic-cover img {
        height: 100%;
        aspect-ratio: auto;
    }

    .vertical-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .vertical-cards .comic-card:nth-last-child(-n + 2) {
        grid-column: span 1;
    }

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

    .schedule-grid .day-card:nth-last-child(-n + 3) {
        min-height: 150px;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        height: calc(100vh - 84px);
        padding: 20px 16px 40px;
        overflow-y: auto;
        background: var(--paper);
        border-top: 2px solid var(--ink);
    }

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

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

    .main-nav a {
        min-height: 68px;
        background: var(--white);
        border-color: var(--ink);
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-block: 52px;
    }

    .hero-art {
        min-height: 420px;
    }

    .reading-rail,
    .ranking-layout,
    .mood-panel,
    .about-section,
    .app-panel {
        grid-template-columns: 1fr;
    }

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

    .category-comics .comic-card:last-child {
        grid-column: auto;
        display: block;
    }

    .category-comics .comic-card:nth-last-child(2):nth-child(even) {
        transform: translateY(20px);
    }

    .pick-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 320px);
    }

    .pick-1,
    .pick-4 {
        grid-row: auto;
        grid-column: auto;
    }

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

    .vertical-cards .comic-card:last-child {
        grid-column: 1 / 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

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

    .book-spines {
        grid-template-columns: repeat(5, minmax(120px, 1fr));
        overflow-x: auto;
    }

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

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

    .category-hero dl {
        grid-column: 1 / 3;
        grid-template-columns: repeat(2, 1fr);
    }

    .app-code {
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(100% - 24px, 1200px);
    }

    .header-inner {
        min-height: 72px;
    }

    .main-nav {
        height: calc(100vh - 72px);
    }

    .brand-copy {
        display: grid;
    }

    .brand-copy small {
        display: none;
    }

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

    .hero {
        padding-block: 40px;
    }

    .hero-copy h1 {
        font-size: 4.3rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

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

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

    .hero-art {
        min-height: 350px;
    }

    .hero-poster {
        inset: 22px 28px 24px 18px;
    }

    .hero-note {
        top: 54px;
        width: 145px;
    }

    .section {
        margin-top: 76px;
    }

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

    .section-heading h2,
    .about-title h2,
    .app-copy h2 {
        font-size: 2.2rem;
    }

    .rail-feature {
        min-height: 390px;
    }

    .rail-item {
        grid-template-columns: 42px 1fr auto;
        padding: 15px;
    }

    .categories-section,
    .update-board,
    .korean-strip,
    .schedule-section,
    .reader-tools,
    .app-section {
        padding-block: 64px;
    }

    .category-grid,
    .category-comics,
    .vertical-cards,
    .pick-mosaic,
    .podium,
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: 220px;
    }

    .pick-mosaic {
        grid-template-rows: repeat(4, 330px);
    }

    .timeline-row {
        grid-template-columns: 58px 12px 1fr;
        gap: 10px;
    }

    .timeline-row .status-chip {
        grid-column: 3;
        width: max-content;
    }

    .podium .rank-1,
    .podium .rank-2,
    .podium .rank-3 {
        min-height: auto;
        order: initial;
    }

    .podium img {
        height: 330px;
    }

    .vertical-cards .comic-card:last-child {
        grid-column: auto;
        display: block;
    }

    .mood-panel {
        padding: 20px;
    }

    .mood-result {
        grid-template-columns: 44px 1fr;
    }

    .mood-result a {
        grid-column: 2;
    }

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

    .day-card,
    .schedule-grid .day-card:nth-last-child(-n + 3) {
        min-height: 155px;
    }

    .schedule-grid .day-card:last-child {
        grid-column: 1 / 3;
    }

    .about-section,
    .app-panel {
        padding: 30px 22px;
        gap: 36px;
    }

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

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

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

    .copyright {
        flex-direction: column;
    }

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

    .category-hero > div:first-child {
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .category-hero-icon {
        width: 68px;
        height: 68px;
        font-size: 1.8rem;
    }

    .category-hero h1 {
        font-size: 3.2rem;
    }

    .category-hero dl {
        grid-column: auto;
    }

    .category-comics .comic-card,
    .category-comics .comic-card:nth-child(even),
    .category-comics .comic-card:nth-last-child(2):nth-child(even) {
        transform: none;
    }

    .category-note,
    .reading-guide,
    .chapter-end {
        grid-template-columns: 1fr;
    }

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

    .reader-header h1 {
        font-size: 3.2rem;
    }

    .comic-panel {
        margin-bottom: 30px;
        box-shadow: 5px 5px 0 var(--ink);
    }

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

    .comic-panel figcaption {
        grid-template-columns: 1fr;
        gap: 5px;
    }

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

    .chapter-home {
        min-height: 64px;
        grid-row: 1;
    }

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

@media (prefers-reduced-motion: no-preference) {
    .rail-item,
    .category-card,
    .comic-card,
    .button {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
}
