:root {
    --ink: #17212b;
    --muted: #697580;
    --paper: #f7f4ee;
    --white: #ffffff;
    --pink: #ff4d79;
    --pink-deep: #e43161;
    --yellow: #ffd75e;
    --aqua: #55d7ca;
    --navy: #17213d;
    --line: #e7e1d8;
    --shadow: 0 18px 50px rgba(31, 40, 55, 0.1);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button {
    font: inherit;
}

.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;
    z-index: 50;
    top: 0;
    padding: 14px 20px;
    background: rgba(247, 244, 238, 0.92);
    border-bottom: 1px solid rgba(23, 33, 43, 0.08);
    backdrop-filter: blur(18px);
}

.header-shell,
.footer-shell,
.breadcrumb,
.listing-main > section,
.reader-main > article,
main > section {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

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

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

.brand-mark {
    position: relative;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    background: var(--pink);
    border: 2px solid var(--ink);
    border-radius: 14px 14px 18px 18px;
    box-shadow: 4px 4px 0 var(--yellow);
    transform: rotate(-3deg);
}

.brand-page {
    position: absolute;
    top: -8px;
    width: 15px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-bottom: 0;
}

.brand-page-left {
    left: 8px;
    transform: rotate(-13deg);
}

.brand-page-right {
    right: 8px;
    transform: rotate(13deg);
}

.brand-word {
    position: relative;
    z-index: 2;
    font-weight: 900;
}

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

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

.brand-copy small {
    color: var(--pink-deep);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 6px;
}

.main-nav a {
    display: flex;
    min-width: 70px;
    padding: 9px 10px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #59636e;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 8px 24px rgba(23, 33, 43, 0.08);
}

.main-nav a[aria-current="page"] .nav-icon {
    color: var(--white);
    background: var(--pink);
}

.nav-icon {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: var(--pink-deep);
    background: #ffe5ec;
    border-radius: 8px;
    font-size: 13px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

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

.hero {
    display: grid;
    min-height: 590px;
    padding: 54px;
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 54px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--pink-deep);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(52px, 6.5vw, 88px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.hero h1 a {
    background: linear-gradient(90deg, var(--ink) 0 67%, var(--pink) 67%);
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 580px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 18px;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
}

.button-primary {
    color: var(--white);
    background: var(--pink);
    box-shadow: 0 10px 25px rgba(255, 77, 121, 0.28);
}

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

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

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

.hero-facts {
    display: flex;
    padding: 0;
    margin: 28px 0 0;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-facts li span:first-child {
    color: var(--aqua);
}

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

.hero-art::before {
    position: absolute;
    inset: 22px -18px -18px 22px;
    content: "";
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 30px;
    transform: rotate(3deg);
}

.hero-art img {
    position: relative;
    z-index: 1;
    height: 470px;
    object-fit: cover;
    border: 2px solid var(--ink);
    border-radius: 30px;
}

.hero-card-note {
    position: absolute;
    z-index: 2;
    right: -24px;
    bottom: 30px;
    display: flex;
    width: 235px;
    padding: 20px;
    flex-direction: column;
    color: var(--white);
    background: var(--navy);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.hero-card-note span,
.hero-card-note small {
    color: #c7d0e5;
    font-size: 11px;
}

.hero-card-note strong {
    margin: 5px 0;
    font-size: 22px;
}

.section-heading {
    display: flex;
    margin-bottom: 34px;
    align-items: flex-start;
    gap: 18px;
}

.section-heading > span {
    padding-top: 8px;
    color: var(--pink);
    font-size: 13px;
    font-weight: 900;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

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

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

.category-tile {
    min-height: 220px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: 0.2s ease;
}

.category-tile:first-child {
    grid-column: span 2;
    color: var(--white);
    background: var(--navy);
}

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

.category-icon,
.listing-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--pink-deep);
    background: #ffe5ec;
    border-radius: 15px;
    font-size: 22px;
}

.category-tile h3 {
    margin: 28px 0 4px;
    font-size: 21px;
}

.category-tile p {
    min-height: 52px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.category-tile:first-child p {
    color: #bcc4d7;
}

.text-link {
    color: var(--pink-deep);
    font-size: 14px;
    font-weight: 900;
}

.latest-rail {
    border-top: 2px solid var(--ink);
}

.latest-entry {
    display: grid;
    padding: 26px 6px;
    grid-template-columns: 90px 1fr 48px;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.latest-entry time {
    color: var(--pink);
    font-size: 28px;
    font-weight: 900;
}

.latest-entry h3 {
    margin: 5px 0 3px;
    font-size: 22px;
}

.latest-entry p {
    margin: 0;
    color: var(--muted);
}

.mini-tag {
    color: var(--pink-deep);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.round-link {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
}

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

.ranking-feature {
    position: relative;
    display: grid;
    overflow: hidden;
    min-height: 520px;
    align-items: end;
    border-radius: var(--radius-lg);
}

.ranking-feature::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 38%, rgba(14, 20, 41, 0.92));
}

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

.ranking-feature > div {
    position: relative;
    z-index: 2;
    padding: 38px;
    color: var(--white);
}

.ranking-feature h3 {
    margin: 6px 0;
    font-size: 36px;
}

.ranking-feature p {
    margin: 0;
    color: #d5d9e6;
}

.rank-number {
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 26px;
    color: var(--yellow);
    font-size: 68px;
    font-weight: 900;
}

.ranking-list {
    padding: 0;
    margin: 0;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.ranking-list li + li {
    border-top: 1px solid var(--line);
}

.ranking-list a {
    display: grid;
    min-height: 130px;
    padding: 24px;
    grid-template-columns: 58px 1fr 30px;
    align-items: center;
    gap: 12px;
}

.rank-index {
    color: var(--pink);
    font-size: 26px;
    font-weight: 900;
}

.rank-copy {
    display: flex;
    flex-direction: column;
}

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

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

.rank-arrow {
    font-size: 20px;
}

.korean-mosaic {
    display: grid;
    min-height: 610px;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
}

.korean-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    border-radius: 22px;
}

.korean-card-1 {
    grid-row: span 2;
}

.korean-card-4 {
    grid-column: span 2;
}

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

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

.korean-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 50px 22px 22px;
    flex-direction: column;
    color: var(--white);
    background: linear-gradient(transparent, rgba(17, 24, 39, 0.9));
}

.korean-overlay strong {
    font-size: 20px;
}

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

.route-panel {
    min-height: 340px;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 100px 100px 24px 24px;
    text-align: center;
}

.route-panel:nth-child(2) {
    background: #fff3cc;
}

.route-panel:nth-child(3) {
    color: var(--white);
    background: var(--navy);
}

.route-icon {
    display: grid;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    place-items: center;
    color: var(--white);
    background: var(--pink);
    border-radius: 50%;
    font-size: 30px;
}

.route-panel h3 {
    margin: 6px 0 12px;
    font-size: 25px;
}

.route-panel p {
    color: var(--muted);
    font-size: 14px;
}

.route-panel:nth-child(3) p {
    color: #bac3d7;
}

.route-panel a {
    color: var(--pink-deep);
    font-weight: 900;
}

.schedule-board {
    display: grid;
    padding: 24px;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.schedule-day {
    display: flex;
    min-height: 170px;
    padding: 18px 12px;
    flex-direction: column;
    justify-content: space-between;
    background: #f3f0ea;
    border-radius: 15px;
}

.schedule-day span,
.schedule-day small {
    color: var(--muted);
    font-size: 12px;
}

.schedule-day strong {
    line-height: 1.35;
}

.schedule-day.is-highlight {
    color: var(--white);
    background: var(--pink);
    transform: translateY(-10px);
}

.schedule-day.is-highlight span,
.schedule-day.is-highlight small {
    color: #ffeaf0;
}

.theme-cinema {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    border-radius: 32px;
}

.theme-cinema::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(13, 19, 40, 0.95), rgba(13, 19, 40, 0.14));
}

.theme-cinema img {
    position: absolute;
    height: 100%;
    object-fit: cover;
}

.cinema-copy {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(560px, 70%);
    min-height: 580px;
    padding: 60px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--white);
}

.cinema-copy h3 {
    margin: 8px 0 16px;
    font-size: 48px;
}

.cinema-copy p {
    margin: 0 0 28px;
    color: #d1d8e9;
}

.guide-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.guide-flow::before {
    position: absolute;
    top: 31px;
    right: 15%;
    left: 15%;
    height: 2px;
    content: "";
    background: var(--line);
}

.guide-step {
    position: relative;
    text-align: center;
}

.guide-step > span {
    position: relative;
    z-index: 2;
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    place-items: center;
    color: var(--white);
    background: var(--navy);
    border: 7px solid var(--paper);
    border-radius: 50%;
    font-weight: 900;
}

.guide-step h3 {
    margin: 0 0 8px;
}

.guide-step p {
    margin: 0;
    color: var(--muted);
}

.complete-stack {
    display: grid;
    gap: 12px;
}

.complete-stack > a {
    display: grid;
    min-height: 104px;
    padding: 12px 18px 12px 12px;
    grid-template-columns: 92px 1fr auto;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.complete-thumb {
    overflow: hidden;
    height: 80px;
    border-radius: 12px;
}

.complete-thumb img {
    height: 100%;
    object-fit: cover;
}

.complete-copy {
    display: flex;
    flex-direction: column;
}

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

.complete-copy strong {
    font-size: 20px;
}

.complete-status {
    padding: 6px 12px;
    color: #14796f;
    background: #d9f8f3;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.about-layout {
    display: grid;
    padding: 48px;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 58px;
    color: var(--white);
    background: var(--navy);
    border-radius: var(--radius-lg);
}

.about-story p {
    margin: 0;
    color: #d1d7e5;
    font-size: 17px;
}

.about-story p + p {
    margin-top: 18px;
}

.about-values {
    display: grid;
    margin: 0;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.about-values div {
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.about-values dt {
    color: var(--yellow);
    font-weight: 900;
}

.about-values dd {
    margin: 7px 0 0;
    color: #bec7dc;
    font-size: 13px;
}

.note-banner {
    display: flex;
    padding: 34px 40px;
    align-items: center;
    gap: 26px;
    background: #fff3cc;
    border: 1px solid #e9ce77;
    border-radius: 20px;
}

.note-symbol {
    display: grid;
    width: 62px;
    height: 62px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    background: #eea824;
    border-radius: 50%;
    font-size: 28px;
}

.note-banner h3,
.note-banner p {
    margin: 0;
}

.note-banner p {
    color: #73602d;
}

.subscribe-section {
    display: grid;
    padding: 54px;
    grid-template-columns: 1fr 240px;
    align-items: center;
    gap: 60px;
    background: var(--aqua);
    border: 2px solid var(--ink);
    border-radius: 32px;
    box-shadow: 9px 9px 0 var(--ink);
}

.subscribe-copy h2 {
    margin: 0 0 14px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.subscribe-copy p {
    max-width: 680px;
}

.subscribe-message {
    margin-bottom: 0;
    font-weight: 800;
}

.qr-card {
    padding: 20px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 20px;
    text-align: center;
    transform: rotate(2deg);
}

.qr-pattern {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 12px;
    background-color: var(--white);
    background-image: repeating-linear-gradient(0deg, transparent 0 9px, var(--navy) 9px 14px), repeating-linear-gradient(90deg, transparent 0 11px, var(--pink) 11px 16px);
    border: 8px solid var(--white);
    outline: 2px solid var(--ink);
}

.qr-pattern span {
    position: absolute;
    inset: 34%;
    background: var(--yellow);
    border: 4px solid var(--ink);
}

.qr-card strong,
.qr-card small {
    display: block;
}

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

.site-footer {
    padding: 64px 20px 32px;
    margin-top: 100px;
    color: var(--white);
    background: #111827;
}

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

.footer-brand strong {
    font-size: 24px;
}

.footer-brand p {
    margin: 7px 0 0;
    color: #98a3b8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #cbd3e2;
    font-size: 14px;
}

.copyright {
    padding-top: 26px;
    margin: 12px 0 0;
    grid-column: 1 / -1;
    color: #7f8aa0;
    border-top: 1px solid #293246;
    font-size: 12px;
}

.breadcrumb {
    padding-top: 32px;
}

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

.breadcrumb li + li::before {
    margin-right: 9px;
    content: "/";
    color: #b9b3aa;
}

.breadcrumb a {
    color: var(--pink-deep);
    font-weight: 700;
}

.listing-hero {
    display: grid;
    padding: 48px;
    grid-template-columns: 1fr 300px;
    align-items: end;
    gap: 50px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.listing-hero h1 {
    margin: 5px 0 12px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
}

.listing-lead {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.listing-note {
    display: flex;
    padding: 26px;
    flex-direction: column;
    color: var(--white);
    background: var(--navy);
    border-radius: 18px;
}

.listing-note span,
.listing-note small {
    color: #aeb8cc;
    font-size: 12px;
}

.listing-note strong {
    margin: 8px 0;
    color: var(--yellow);
    font-size: 22px;
}

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

.listing-header h2,
.listing-header p {
    margin: 0;
}

.listing-header h2 {
    font-size: 34px;
}

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

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.book-card {
    display: grid;
    overflow: hidden;
    min-height: 340px;
    grid-template-columns: 43% 57%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.book-card:last-child {
    grid-column: 1 / -1;
    grid-template-columns: 30% 70%;
}

.book-cover {
    position: relative;
    min-height: 340px;
}

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

.book-order {
    position: absolute;
    top: 14px;
    left: 14px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: var(--pink);
    border-radius: 12px;
    font-weight: 900;
}

.book-info {
    display: flex;
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.book-info h2 {
    margin: 7px 0 12px;
    font-size: 27px;
    line-height: 1.25;
}

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

.book-meta {
    display: flex;
    margin: 18px 0;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
}

.channel-copy {
    padding: 40px;
    background: #fff3cc;
    border-radius: 20px;
}

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

.channel-copy p {
    margin-top: 8px;
    color: #74612e;
}

.reader-main > .breadcrumb {
    width: min(980px, calc(100% - 40px));
}

.reader-main > article {
    width: min(980px, calc(100% - 40px));
}

.reader-header {
    text-align: center;
}

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

.reader-labels span {
    padding: 6px 12px;
    color: var(--pink-deep);
    background: #ffe3eb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.reader-header h1 {
    margin: 18px 0 12px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.1;
}

.reader-summary {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 17px;
}

.reader-meta {
    display: flex;
    margin-top: 24px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
}

.reader-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reader-meta b {
    color: var(--pink);
}

.reader-notice {
    display: flex;
    padding: 22px 26px;
    margin: 44px 0;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.reader-notice > span {
    font-size: 30px;
}

.reader-notice strong,
.reader-notice p {
    margin: 0;
}

.reader-notice p {
    color: var(--muted);
    font-size: 13px;
}

.chapter-content > h2 {
    margin: 0 0 38px;
    font-size: 30px;
    text-align: center;
}

.story-beat {
    margin-bottom: 58px;
}

.story-index {
    color: var(--pink-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.story-beat h3 {
    margin: 5px 0 8px;
    font-size: 25px;
}

.story-beat > p {
    margin: 0 0 20px;
    color: var(--muted);
}

.reader-frame {
    overflow: hidden;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.reader-frame img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.reader-frame figcaption {
    padding: 13px 18px;
    color: var(--muted);
    font-size: 12px;
}

.chapter-end {
    padding: 40px;
    margin-top: 60px;
    background: var(--navy);
    border-radius: 22px;
    color: var(--white);
    text-align: center;
}

.chapter-end > span {
    color: var(--yellow);
}

.chapter-end strong {
    display: block;
    margin: 8px 0;
    font-size: 24px;
}

.chapter-end p {
    margin: 0;
    color: #b9c2d6;
}

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

.chapter-nav > a,
.chapter-disabled {
    display: flex;
    min-height: 86px;
    padding: 16px;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

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

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

.chapter-back {
    align-items: center;
    color: var(--white);
    background: var(--pink) !important;
    font-weight: 900;
}

.chapter-disabled {
    opacity: 0.55;
}

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

    .menu-toggle {
        display: grid;
        margin-left: auto;
        place-items: center;
    }

    .main-nav {
        display: none;
        width: 100%;
        padding-top: 8px;
        flex-basis: 100%;
        grid-template-columns: repeat(4, 1fr);
    }

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

    .hero {
        padding: 38px;
        grid-template-columns: 1fr 0.9fr;
    }

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

    .category-tile:first-child {
        grid-column: span 1;
    }

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

@media (max-width: 820px) {
    .section-space {
        margin-top: 62px;
        margin-bottom: 62px;
    }

    .hero,
    .ranking-layout,
    .about-layout,
    .subscribe-section,
    .listing-hero {
        grid-template-columns: 1fr;
    }

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

    .hero-art img {
        height: 400px;
    }

    .category-grid,
    .editor-routes,
    .guide-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .korean-mosaic {
        min-height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .korean-card,
    .korean-card-1,
    .korean-card-4 {
        min-height: 320px;
        grid-row: auto;
        grid-column: auto;
    }

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

    .cinema-copy {
        width: 100%;
        padding: 40px;
    }

    .guide-flow::before {
        display: none;
    }

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

    .book-card:last-child {
        grid-column: auto;
        grid-template-columns: 43% 57%;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 10px 14px;
    }

    .header-shell,
    .footer-shell,
    .breadcrumb,
    .listing-main > section,
    .reader-main > article,
    main > section {
        width: min(100% - 28px, 1200px);
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-copy small {
        display: none;
    }

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

    .main-nav a {
        justify-content: flex-start;
    }

    .hero {
        min-height: 0;
        padding: 28px 22px;
        gap: 34px;
        border-radius: 24px;
    }

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

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

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

    .hero-art,
    .hero-art img {
        min-height: 330px;
        height: 330px;
    }

    .hero-card-note {
        right: -5px;
        bottom: 18px;
        width: 210px;
    }

    .category-grid,
    .editor-routes,
    .guide-flow,
    .korean-mosaic,
    .listing-grid {
        grid-template-columns: 1fr;
    }

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

    .category-tile p {
        min-height: 0;
    }

    .latest-entry {
        grid-template-columns: 64px 1fr;
    }

    .latest-entry time {
        font-size: 22px;
    }

    .latest-entry .round-link {
        display: none;
    }

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

    .ranking-feature > div {
        padding: 26px;
    }

    .rank-number {
        font-size: 52px;
    }

    .schedule-board {
        grid-template-columns: 1fr 1fr;
        padding: 14px;
    }

    .schedule-day {
        min-height: 140px;
    }

    .theme-cinema,
    .cinema-copy {
        min-height: 520px;
    }

    .cinema-copy {
        padding: 28px;
    }

    .cinema-copy h3 {
        font-size: 38px;
    }

    .complete-stack > a {
        grid-template-columns: 74px 1fr;
    }

    .complete-status {
        display: none;
    }

    .about-layout,
    .subscribe-section,
    .listing-hero {
        padding: 28px 22px;
    }

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

    .note-banner {
        padding: 25px;
        align-items: flex-start;
    }

    .subscribe-section {
        gap: 30px;
    }

    .qr-card {
        width: 220px;
        max-width: 100%;
        margin: auto;
    }

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

    .listing-hero {
        gap: 28px;
    }

    .listing-note {
        width: 100%;
    }

    .listing-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .book-card,
    .book-card:last-child {
        grid-template-columns: 1fr;
    }

    .book-cover {
        min-height: 290px;
    }

    .book-info {
        padding: 24px;
    }

    .reader-meta {
        align-items: center;
        flex-direction: column;
        gap: 7px;
    }

    .reader-notice {
        align-items: flex-start;
    }

    .reader-frame img {
        aspect-ratio: 4 / 5;
    }

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

    .chapter-back {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}
