:root {
    --pink: #e7487e;
    --pink-dark: #bc285c;
    --ink: #252431;
    --muted: #716f7c;
    --line: #ebe8ee;
    --soft: #fff0f5;
    --paper: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #faf9fc; color: var(--ink); font: 16px/1.75 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-dark); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
h2 { font-size: 26px; letter-spacing: -.5px; }
h3 { font-size: 18px; }
p + p { margin-top: 16px; }
:focus-visible { outline: 3px solid #9a386f; outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 23px 0; gap: 20px; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-name { font-size: 23px; font-weight: 800; letter-spacing: 1px; }
.brand small { display: block; font-size: 12px; letter-spacing: 2px; color: var(--muted); font-weight: 400; }
.header-note { font-size: 14px; color: var(--muted); }
.main-nav { display: flex; justify-content: space-between; gap: 6px; padding-bottom: 14px; }
.main-nav a { font-size: 14px; padding: 9px 12px; border-radius: 9px; white-space: nowrap; }
.main-nav a.active { background: var(--soft); color: var(--pink-dark); font-weight: 700; }
.icon { display: inline-block; margin-right: 8px; font-size: 1.15em; line-height: 1; }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 36px; background: #f9e5ed; border-radius: 22px; overflow: hidden; min-height: 440px; }
.hero-copy { padding: 42px; align-self: center; }
.eyebrow { font-size: 12px; letter-spacing: 1.7px; color: var(--pink-dark); font-weight: 700; margin-bottom: 12px; }
.hero h1 { font-size: 18px; margin-bottom: 15px; }
.hero-headline { font-size: clamp(32px, 3.5vw, 48px); font-weight: 800; letter-spacing: -2px; line-height: 1.3; margin-bottom: 20px; }
.hero-copy > p:not(.eyebrow):not(.hero-headline) { color: #6b5160; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 11px 18px; display: inline-flex; justify-content: center; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); text-align: center; }
.button:hover { transform: translateY(-1px); border-color: var(--pink); }
.primary { background: var(--pink); border-color: var(--pink); color: white; }
.primary:hover { color: white; background: var(--pink-dark); }
.dark { background: var(--ink); border-color: var(--ink); color: white; }
.dark:hover { color: white; }
.glass { background: #ffffff85; border-color: #ffffffa8; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: #755969; margin-top: 28px; }
.hero-art { position: relative; min-height: 440px; background: #d9c5d6; }
.hero-image { width: 100%; height: 100%; position: absolute; inset: 0; object-position: center 30%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #191327d9, transparent 65%); }
.hero-caption { position: absolute; bottom: 32px; left: 30px; right: 30px; z-index: 1; color: white; }
.hero-caption h2 { font-size: 30px; margin: 13px 0 8px; }
.hero-caption p { font-size: 14px; }
.pill { display: inline-block; background: #ffffff2e; border: 1px solid #ffffff70; border-radius: 30px; padding: 4px 12px; font-size: 12px; }
.module { margin: 60px 0; }
.section-heading { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section-heading .icon { color: var(--pink); }
.text-link { font-size: 14px; color: var(--muted); white-space: nowrap; }
.grid { display: grid; gap: 24px; }
.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.comic-card { min-width: 0; }
.cover-wrap { position: relative; border-radius: 12px; overflow: hidden; background: #eee5ef; }
.cover { width: 100%; aspect-ratio: 3/4; height: auto; transition: transform .3s; }
.comic-card a:hover .cover { transform: scale(1.035); }
.cover-label { position: absolute; bottom: 12px; left: 12px; background: #292333de; color: white; border-radius: 5px; padding: 3px 9px; font-size: 12px; }
.card-copy { padding: 15px 0 0; }
.card-copy .eyebrow { margin-bottom: 5px; }
.card-copy h3 { font-size: 17px; }
.card-copy > p:last-child { color: var(--muted); margin-top: 8px; font-size: 14px; }
.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.category { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 23px; }
.category > .icon { background: var(--soft); color: var(--pink-dark); padding: 12px; border-radius: 10px; font-size: 26px; margin-bottom: 18px; }
.category p { color: var(--muted); font-size: 14px; margin: 10px 0 16px; }
.category > span:last-child { color: var(--pink-dark); font-size: 12px; }
.editorial { display: grid; grid-template-columns: .8fr 1.2fr; background: #efedf8; border-radius: 16px; overflow: hidden; }
.editorial-picture { max-height: 440px; }
.editorial-picture img { height: 100%; width: 100%; }
.editorial-copy { padding: 40px; align-self: center; }
.editorial-copy h3 { font-size: 30px; margin-bottom: 14px; }
.lead { font-size: 22px; font-weight: 600; line-height: 1.7; }
.editorial-copy > p:not(.eyebrow):not(.lead) { margin-top: 16px; color: #625c72; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span, .chip { padding: 5px 11px; background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.ranking-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.rank-panel { background: white; border: 1px solid var(--line); padding: 24px; border-radius: 12px; }
.rank-panel ol { list-style: none; padding: 0; margin: 12px 0 0; }
.rank-panel li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rank-panel li:last-child { border-bottom: 0; padding-bottom: 0; }
.rank-panel li > .icon { margin-left: auto; color: var(--muted); }
.rank-panel li p { font-size: 12px; color: var(--muted); }
.rank-number { font-size: 26px; font-weight: 800; color: var(--pink); font-style: italic; }
.muted { color: var(--muted); font-size: 13px; margin-top: 14px; }
.korean-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; background: #eaf5f2; padding: 34px; border-radius: 16px; }
.korean-feature > div > h3 { font-size: 32px; margin-bottom: 16px; }
.korean-feature .button { margin-top: 24px; }
.mini-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.mini-pair img { border-radius: 10px; }
.mini-pair h3 { margin-top: 10px; font-size: 16px; }
.reading-plan { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: white; }
.reading-plan > div { padding: 22px 14px; border-right: 1px solid var(--line); }
.reading-plan > div:last-child { border: 0; }
.reading-plan h3 { margin-bottom: 16px; }
.reading-plan a { font-size: 14px; }
.reading-plan p:last-child { color: var(--muted); font-size: 12px; margin-top: 7px; }
.complete-banner { padding: 32px; background: #292737; color: white; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 12px 12px 0 0; }
.complete-banner .eyebrow { color: #ff9ab8; }
.complete-banner h3 { font-size: 28px; margin-bottom: 12px; }
.complete-banner p:not(.eyebrow) { color: #d4d0df; }
.complete-banner .button { flex-shrink: 0; }
.chapter-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.chapter-strip a { padding: 18px; background: white; font-size: 14px; }
.chapter-strip span { color: var(--pink); margin-right: 12px; }
.shelf-box { padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: white; border: 1px dashed #d0b2c0; border-radius: 12px; }
.shelf-box p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.shelf-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.shelf-item button { background: none; border: 0; color: var(--pink-dark); flex-shrink: 0; }
.search-form { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.search-form label { display: block; font-size: 14px; margin-bottom: 10px; }
.search-form > div { display: flex; gap: 12px; }
input { min-width: 0; width: 100%; padding: 12px 16px; border: 1px solid #d9d4df; border-radius: 8px; background: #faf9fc; }
.search-form button { flex-shrink: 0; }
.search-results { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.faq-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; align-items: start; }
details { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); font-size: 14px; margin-top: 14px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid > div { color: var(--muted); font-size: 15px; }
.subscribe { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 30px; background: #fbe7ef; padding: 34px; border-radius: 16px; }
.brand-stamp { aspect-ratio: 1; border: 1px solid #deaac0; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--pink); font-size: 50px; line-height: 1.2; background: #fff6fa; }
.brand-stamp span { font-size: 12px; letter-spacing: 3px; }
.subscribe h2 { margin-bottom: 12px; }
.subscribe p:not(.eyebrow) { font-size: 14px; }
.subscribe-actions { display: grid; gap: 10px; }
.site-footer { background: white; border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--muted); }
.footer-inner > div:first-child > a { color: var(--ink); font-size: 18px; font-weight: 700; }
.footer-inner p { margin: 5px 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; font-size: 14px; color: var(--muted); }
.page-intro { padding: 36px; background: var(--soft); border-radius: 16px; }
.page-intro h1 { font-size: 36px; margin-bottom: 16px; }
.page-intro h2 { margin-bottom: 12px; }
.reading-note { background: white; border: 1px solid var(--line); border-left: 3px solid var(--pink); padding: 24px; border-radius: 8px; }
.reading-note h2, .reading-note h3 { font-size: 18px; margin-bottom: 12px; }
.reading-note p { color: var(--muted); font-size: 14px; }
.reader-heading { text-align: center; padding: 20px 0; }
.reader-heading h1 { font-size: 32px; }
.reader-heading > p:last-child { font-size: 13px; color: var(--muted); margin-top: 16px; }
.reader-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 16px 0 30px; }
.reader-content { max-width: 780px; margin: 40px auto; }
.scene { margin: 44px 0; }
.scene h2 { font-size: 23px; margin-bottom: 18px; }
.scene p { font-size: 18px; line-height: 2; margin-bottom: 22px; }
figure { margin: 0; }
.panel-image { width: 100%; height: auto; aspect-ratio: 4/3; border-radius: 12px; background: #eee7f1; object-fit: contain; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.chapter-end { text-align: center; padding: 24px; }
.chapter-end > span { font-size: 38px; color: var(--pink); }
.chapter-end p { margin-top: 12px; color: var(--muted); }
.chapter-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 24px 0 60px; }
body.large-text .scene p { font-size: 22px; }
body.eye-care { background: #edf3e9; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); padding: 12px 20px; background: #292737; color: white; border-radius: 10px; max-width: calc(100% - 32px); z-index: 10; display: none; font-size: 14px; }
.toast.visible { display: block; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 20; background: white; padding: 12px; }
.skip-link:focus { top: 10px; }
@media (max-width: 1000px) {
    .main-nav { flex-wrap: wrap; justify-content: flex-start; }
    .hero-copy { padding: 30px; }
    .hero-meta { gap: 8px; }
    .four, .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ranking-grid { gap: 12px; }
    .rank-panel { padding: 16px; }
    .korean-feature { gap: 24px; padding: 26px; }
    .reading-plan { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .reading-plan > div { border-bottom: 1px solid var(--line); }
    .subscribe { grid-template-columns: 90px 1fr; }
    .subscribe-actions { grid-column: 2; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
    .container { width: calc(100% - 32px); }
    .header-top { padding: 18px 0; gap: 8px; }
    .brand-name { font-size: 18px; letter-spacing: 0; }
    .brand { gap: 8px; }
    .brand img { width: 36px; height: 36px; }
    .brand small { font-size: 12px; letter-spacing: 0; }
    .header-note { display: none; }
    .menu-toggle { display: inline-flex; padding: 8px 10px; font-size: 12px; flex-shrink: 0; }
    .main-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; }
    .main-nav a { text-align: center; padding: 9px 4px; font-size: 12px; }
    .main-nav .icon { margin-right: 4px; }
    .js-ready .main-nav:not(.expanded) { display: none; }
    h2 { font-size: 22px; }
    .hero { grid-template-columns: 1fr; margin-top: 24px; border-radius: 15px; }
    .hero-copy { padding: 28px 24px; }
    .hero-headline { font-size: 36px; }
    .hero-art { min-height: 300px; }
    .hero-caption { bottom: 24px; left: 24px; }
    .hero-caption h2 { font-size: 27px; }
    .module { margin: 42px 0; }
    .section-heading { align-items: flex-start; gap: 10px; margin-bottom: 20px; }
    .text-link { font-size: 12px; margin-top: 5px; }
    .grid { gap: 20px 14px; }
    .three { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .card-copy h3 { font-size: 15px; }
    .card-copy > p:last-child { font-size: 13px; }
    .category-grid { gap: 12px; }
    .category { padding: 18px 14px; }
    .category p { font-size: 13px; }
    .editorial, .korean-feature, .shelf-box, .about-grid { grid-template-columns: 1fr; gap: 24px; }
    .editorial-picture { height: 280px; }
    .editorial-copy { padding: 26px; }
    .ranking-grid { grid-template-columns: 1fr; gap: 16px; }
    .rank-panel { padding: 24px; }
    .reading-plan { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .complete-banner { flex-direction: column; align-items: flex-start; padding: 26px; }
    .chapter-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .chapter-strip a { padding: 16px 10px; font-size: 12px; }
    .shelf-box, .search-form { padding: 22px; }
    .search-form > div { flex-direction: column; }
    .faq-grid { grid-template-columns: 1fr; }
    .subscribe { padding: 24px; grid-template-columns: 64px 1fr; gap: 20px; }
    .subscribe > div:nth-child(2) { grid-column: 1 / -1; }
    .subscribe-actions { grid-column: 1 / -1; grid-template-columns: 1fr; }
    .brand-stamp { font-size: 30px; }
    .brand-stamp span { font-size: 10px; letter-spacing: 1px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .page-intro { padding: 26px; }
    .page-intro h1 { font-size: 29px; }
    .reader-heading h1 { font-size: 26px; }
    .reader-controls { gap: 8px; }
    .reader-controls .button { padding: 9px 10px; font-size: 12px; }
    .chapter-nav { grid-template-columns: 1fr; gap: 10px; }
    .scene p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
