:root { --pink: #db2c68; --ink: #252532; --muted: #686875; --line: #e9e6ec; --paper: #ffffff; --bg: #faf9fc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.75 "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; object-fit: cover; max-width: 100%; background: #ece5ee; }
button, .button { font: inherit; cursor: pointer; border: 1px solid transparent; border-radius: 9px; padding: 11px 20px; background: var(--pink); color: white; display: inline-flex; align-items: center; justify-content: center; }
button:hover, .button:hover { background: #b51d51; color: white; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.4; }
h2 { font-size: 25px; line-height: 1.5; }
h3 { font-size: 18px; line-height: 1.5; }
p + p { margin-top: 14px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.icon { display: inline-flex; min-width: 1.2em; align-items: center; justify-content: center; margin-right: 8px; color: var(--pink); font-style: normal; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.brand-row { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; }
.brand { font-size: 25px; font-weight: 800; letter-spacing: -1px; }
.brand .icon { font-size: 35px; }
.brand-note, .muted { color: var(--muted); font-size: 14px; }
.main-nav { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; padding-bottom: 16px; }
.main-nav a { padding: 9px 2px; text-align: center; border-radius: 7px; font-size: 14px; white-space: nowrap; }
.main-nav a[aria-current="page"] { background: #fff0f5; color: var(--pink); font-weight: bold; }
.hero { margin-top: 36px; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 410px; background: #f3eff8; overflow: hidden; border-radius: 18px; }
.hero-text { padding: 42px; align-self: center; }
.eyebrow { color: var(--pink); font-size: 12px; font-weight: bold; letter-spacing: 1.3px; margin-bottom: 10px; }
.hero h1 { font-size: 20px; color: var(--pink); margin-bottom: 16px; }
.hero-title { font-size: clamp(28px, 3.1vw, 42px); font-weight: 800; line-height: 1.4; white-space: pre-line; letter-spacing: -1px; }
.hero-copy { color: var(--muted); margin-top: 18px; white-space: pre-line; }
.actions { display: flex; gap: 12px; margin-top: 25px; flex-wrap: wrap; }
.secondary { background: var(--paper); border-color: var(--line); color: var(--ink); }
.hero-art { position: relative; min-height: 410px; }
.hero-image { height: 100%; position: absolute; inset: 0; object-position: center 25%; }
.hero-overlay { position: absolute; bottom: 0; width: 100%; background: linear-gradient(transparent, #151724ed); color: white; padding: 85px 30px 28px; }
.hero-overlay .eyebrow { color: #ffd1e1; }
.hero-overlay a { display: inline-block; margin-top: 12px; color: #fff; }
.module { margin-top: 64px; }
.section-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-head p { margin-top: 6px; }
.grid { display: grid; gap: 24px; }
.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.comic-card { min-width: 0; }
.cover { display: block; border-radius: 11px; overflow: hidden; margin-bottom: 15px; }
.cover img { aspect-ratio: 3/4; transition: transform .25s; }
.cover:hover img { transform: scale(1.035); }
.comic-card .eyebrow { margin-bottom: 5px; }
.comic-card h3 { margin-bottom: 5px; }
.update-row { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.update-row > div { flex: 1; min-width: 0; }
.update-row > a { flex-shrink: 0; font-size: 14px; color: var(--pink); }
.update-row h3 { font-size: 16px; }
.row-number { color: #b9a9bc; font: italic 27px Georgia, serif; }
.category-card { padding: 24px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; }
.category-card .icon { font-size: 28px; margin-bottom: 12px; }
.category-card p { font-size: 14px; color: var(--muted); margin-top: 9px; }
.category-card:hover { border-color: var(--pink); background: #fff6fa; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; background: #252c40; color: white; border-radius: 14px; overflow: hidden; }
.feature > img { height: 100%; aspect-ratio: 5/4; }
.feature > div { padding: 40px; }
.feature .eyebrow { color: #ffc0d5; }
.feature h3 { font-size: 30px; white-space: pre-line; margin-bottom: 16px; }
blockquote { margin: 22px 0; padding-left: 16px; border-left: 3px solid #ff9bbb; color: #ffcee0; }
.ranking { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ranking li { display: grid; grid-template-columns: 60px 1fr 110px 1.1fr; gap: 12px; align-items: center; padding: 20px 8px; border-bottom: 1px solid var(--line); }
.ranking strong { font: italic 30px Georgia, serif; color: var(--pink); }
.ranking a { font-weight: bold; }
.ranking p { font-size: 14px; color: var(--muted); }
.korean-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px; background: #fff0f5; border-radius: 14px; }
.korean-feature h3 { font-size: 28px; margin-bottom: 16px; }
.korean-feature ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.korean-feature li { break-inside: avoid; padding: 16px 0; border-bottom: 1px solid #eed4de; }
.text-link { color: var(--pink); display: inline-block; margin-top: 22px; font-weight: bold; }
.plan article { padding: 22px; border-top: 3px solid #eb9db8; background: var(--paper); }
.plan p:not(.eyebrow) { margin: 12px 0; font-size: 14px; color: var(--muted); }
.plan a { color: var(--pink); font-size: 14px; }
.shelf { background: var(--paper); padding: 28px; border: 1px dashed #cdb9cb; border-radius: 12px; display: grid; gap: 12px; }
.shelf a { color: var(--pink); }
.shelf-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.shelf button { padding: 5px 12px; font-size: 14px; }
.guide article { border-left: 2px solid #ecc7d6; padding: 4px 24px; }
.guide p { margin-top: 14px; color: var(--muted); }
details { border-bottom: 1px solid var(--line); padding: 19px 0; }
summary { cursor: pointer; font-weight: bold; }
details p { margin-top: 12px; color: var(--muted); max-width: 900px; }
#about > div:not(.section-head):not(.about-facts) { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: var(--muted); }
#about p + p { margin-top: 0; }
.about-facts { display: flex; flex-wrap: wrap; gap: 30px; border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }
.subscribe { display: flex; justify-content: space-between; align-items: center; gap: 36px; background: #f8e8ef; border-radius: 16px; padding: 40px; margin-bottom: 64px; }
.subscribe > div:first-child { max-width: 760px; }
.subscribe h2 { margin-bottom: 12px; }
.subscribe .button { margin-top: 22px; }
.subscription-brand { min-width: 200px; text-align: center; border: 1px solid #edcbd7; padding: 22px; border-radius: 14px; background: #fff7fb; }
.subscription-brand .icon { display: block; font-size: 70px; margin: 0; line-height: 1.3; }
.subscription-brand strong { display: block; }
footer { margin-top: 64px; padding: 36px 0; background: var(--paper); border-top: 1px solid var(--line); }
footer > div > a { font-size: 21px; font-weight: bold; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin: 16px 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; font-size: 14px; color: var(--muted); }
.page-intro { margin-top: 28px; padding: 36px; border-radius: 14px; background: #f6edf3; }
.page-intro h2 { margin-top: 20px; }
.page-intro p { margin-top: 10px; max-width: 800px; }
.reader { max-width: 820px; margin: 30px auto 0; }
.reader-heading { text-align: center; padding: 25px 0; }
.reader-heading h1 { font-size: clamp(25px, 4vw, 35px); }
.reader-heading p:last-child { margin-top: 18px; color: var(--muted); font-size: 14px; }
.reader-note { padding: 22px; background: #f3edf6; border-radius: 10px; margin: 24px 0; }
.reader-note h2 { font-size: 18px; margin-bottom: 8px; }
.reader-note p { font-size: 14px; }
.reader-tools { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.reader-tools button { font-size: 14px; }
.story-panel { margin-bottom: 48px; }
.story-panel h2 { font-size: 20px; margin-bottom: 18px; }
figure { margin: 0 0 24px; }
figure img { aspect-ratio: 4/3; object-fit: contain; background: #e9e6ed; border-radius: 8px; }
figcaption { color: var(--muted); font-size: 14px; text-align: center; padding: 10px; }
.reading-content p { font-size: var(--reading-size, 19px); line-height: 2.1; }
.chapter-end { text-align: center; color: var(--muted); padding: 20px 0; }
.chapter-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
body.night { --bg: #171820; --paper: #232530; --ink: #edeaf2; --muted: #c0bbc9; --line: #45404e; --pink: #ff86af; }
.night .reader-note { background: #302938; }
.night button { background: #a72f59; color: white; }
.status { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #252532; color: white; border-radius: 10px; padding: 12px 20px; max-width: calc(100% - 32px); z-index: 10; }
.status:empty { display: none; }
.skip-link { position: absolute; top: -80px; left: 12px; z-index: 30; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
@media (max-width: 1000px) {
    .hero-text { padding: 28px; }
    .grid { gap: 18px; }
    .four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature > div { padding: 28px; }
    .feature h3 { font-size: 25px; }
    .main-nav { grid-template-columns: repeat(4, 1fr); }
    .subscribe { padding: 28px; }
}
@media (max-width: 640px) {
    .wrap { width: calc(100% - 32px); }
    .brand-row { justify-content: center; padding-block: 16px; }
    .brand { font-size: 22px; }
    .brand-note { display: none; }
    .main-nav { gap: 5px; }
    .main-nav a { font-size: 14px; padding: 8px 0; }
    .main-nav .icon { margin-right: 3px; }
    .hero { grid-template-columns: 1fr; margin-top: 24px; }
    .hero-text { padding: 26px 22px; }
    .hero-art { min-height: 310px; }
    .hero-copy { font-size: 15px; }
    .module { margin-top: 44px; }
    h2 { font-size: 22px; }
    .grid { gap: 18px 14px; }
    .two, .three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .updates, .guide { grid-template-columns: 1fr; }
    .category-card { padding: 18px; }
    .feature, .korean-feature { grid-template-columns: 1fr; }
    .feature > img { aspect-ratio: 4/3; max-height: 330px; }
    .feature > div, .korean-feature { padding: 24px; }
    .ranking li { grid-template-columns: 40px 1fr 85px; gap: 8px; }
    .ranking p { grid-column: 2/4; }
    #about > div:not(.section-head):not(.about-facts) { grid-template-columns: 1fr; gap: 16px; }
    .subscribe { flex-direction: column; align-items: stretch; padding: 24px; }
    .subscription-brand { min-width: 0; }
    .subscription-brand .icon { font-size: 48px; }
    .page-intro { padding: 24px; }
    .plan article { padding: 16px; }
    .actions .button { padding: 10px 13px; }
    .chapter-nav .button { flex: 1; padding: 10px; white-space: nowrap; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .cover img { transition: none; }
}
@media (max-width: 360px) {
    .main-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .main-nav .icon { display: block; margin: 0; }
}
