:root {
    --pink: #df376e;
    --ink: #202539;
    --muted: #687082;
    --line: #e8eaf0;
    --soft: #fff0f5;
    --surface: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8f9fc; font: 16px/1.75 "Microsoft YaHei", "PingFang SC", sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #dc3870; outline-offset: 5px; }
img { display: block; width: 100%; max-width: 100%; object-fit: cover; background: #ececf2; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 34px; line-height: 1.4; }
h2 { font-size: 25px; letter-spacing: -.5px; }
h3 { font-size: 19px; }
p + p { margin-top: 14px; }
.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.topbar { min-height: 100px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 24px; font-weight: 800; line-height: 1.4; }
.brand small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 2px; margin-top: 5px; }
.brand-mark { background: var(--pink); color: white; width: 49px; height: 49px; border-radius: 16px 16px 16px 4px; text-align: center; font-size: 35px; }
.header-note { margin-left: auto; color: var(--muted); font-size: 14px; }
.shelf-button { background: var(--soft); color: var(--pink); padding: 9px 16px; border-radius: 10px; font-size: 14px; }
.icon { display: inline-block; width: 1.45em; color: var(--pink); font-family: "Segoe UI Symbol", sans-serif; }
.navigation { display: grid; grid-template-columns: repeat(9, 1fr); padding-bottom: 12px; gap: 5px; }
.navigation a { text-align: center; padding: 10px 3px; border-radius: 8px; font-size: 14px; }
.navigation a[aria-current="page"] { background: var(--pink); color: white; }
.navigation a[aria-current="page"] .icon { color: white; }
.hero { margin-top: 36px; display: grid; grid-template-columns: 1.04fr 1fr; min-height: 450px; background: #f4eaf0; border-radius: 22px; overflow: hidden; }
.hero-copy { padding: 44px 38px; background: linear-gradient(120deg, #fff1f6, #f5eef7); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.3px; color: var(--pink); }
.hero h1 { margin-top: 15px; font-size: 22px; }
.hero-title { font-size: 40px; line-height: 1.4; font-weight: 800; max-width: 410px; margin-top: 10px; white-space: pre-line; letter-spacing: -1px; }
.hero-intro { margin-top: 18px; color: #596174; max-width: 440px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 19px; border-radius: 9px; font-weight: 700; font-size: 14px; border: 1px solid transparent; }
.primary { background: var(--pink); color: #fff; }
.primary .icon { color: white; }
.primary:hover { background: #bd285a; color: white; }
.secondary { background: white; border-color: #dfe2ea; color: var(--ink); }
.white { background: white; color: var(--ink); }
.hero-meta { font-size: 12px; color: var(--muted); margin-top: 22px; }
.hero-art { position: relative; min-height: 440px; background: #353b56; }
.hero-image { height: 100%; position: absolute; object-position: center 30%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19,24,42,.86), transparent 80%); }
.hero-caption { position: absolute; z-index: 1; bottom: 30px; left: 30px; right: 30px; color: white; }
.hero-caption h2 { font-size: 32px; margin: 6px 0; }
.hero-caption .eyebrow { color: #ffcbdf; }
.hero-caption .button { margin-top: 16px; }
.section { margin-top: 64px; scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.section-heading p { font-size: 14px; margin-top: 5px; }
.muted { color: var(--muted); }
.text-link { font-size: 14px; color: var(--pink); font-weight: 600; }
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { background: white; border: 1px solid var(--line); border-radius: 13px; padding: 22px; transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #2025390c; }
.category-card > .icon { font-size: 28px; background: var(--soft); border-radius: 9px; text-align: center; margin-bottom: 12px; }
.category-card p { font-size: 14px; color: var(--muted); margin-top: 7px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.comic-card { min-width: 0; }
.cover-link { display: block; position: relative; overflow: hidden; border-radius: 13px; }
.cover { aspect-ratio: 3 / 4; height: auto; transition: transform .25s; }
.cover-link:hover img { transform: scale(1.035); }
.badge { position: absolute; bottom: 12px; left: 12px; border-radius: 6px; background: #ffffffed; font-size: 12px; padding: 3px 9px; color: #292c41; }
.card-copy { padding-top: 15px; }
.card-copy h3 { margin: 5px 0; }
.card-copy .muted { font-size: 14px; min-height: 50px; }
.card-copy .text-link { display: inline-block; margin-top: 9px; }
.update-list { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; }
.update-row { display: grid; grid-template-columns: 70px 1fr 110px 65px; gap: 20px; align-items: center; padding: 18px 0; }
.update-row + .update-row { border-top: 1px solid var(--line); }
.update-row time { font-size: 20px; font-weight: 700; color: var(--muted); }
.update-row p { color: var(--muted); font-size: 14px; }
.pill { display: inline-block; width: fit-content; padding: 4px 11px; border-radius: 6px; font-size: 12px; background: var(--soft); color: #a83159; }
.feature { display: grid; grid-template-columns: 1fr 1fr; background: #242b41; color: white; border-radius: 16px; overflow: hidden; }
.feature-image { aspect-ratio: 4/3; height: 100%; }
.feature > div { padding: 35px; }
.feature h3 { font-size: 28px; margin: 12px 0; }
.feature p { color: #d5d9e6; }
.feature .button { margin-top: 22px; }
.ranking { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ranking li { display: flex; align-items: center; gap: 18px; background: #fff; border-bottom: 2px solid #f0d9e3; padding: 22px; }
.rank-number { font-size: 36px; line-height: 1; font-weight: 800; font-style: italic; color: #df376e; }
.ranking p { font-size: 14px; color: var(--muted); }
.ranking .text-link { margin-left: auto; flex-shrink: 0; }
.korean-panel { background: #fff0f5; border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; padding: 32px; gap: 40px; }
.korean-panel h3 { font-size: 30px; margin: 14px 0; }
.korean-panel .text-link { display: inline-block; margin-top: 20px; }
.chapter-list { list-style: none; padding: 0; margin: 0; }
.chapter-list li + li { border-top: 1px solid #efd8e2; }
.chapter-list a { display: flex; gap: 20px; padding: 12px 5px; }
.chapter-list span { color: var(--pink); font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.finish-card { background: white; border: 1px solid var(--line); padding: 28px; border-radius: 14px; }
.finish-card h3 { margin: 12px 0; font-size: 24px; }
.finish-card .text-link { display: block; margin-top: 16px; }
.shelf-content { background: white; border: 1px dashed #db9bb0; border-radius: 12px; padding: 25px; margin-top: 18px; }
.saved-row { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 12px 0; }
.saved-row button { background: #f4f5f8; border: 0; border-radius: 6px; padding: 6px 12px; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
details { background: white; border: 1px solid var(--line); padding: 20px; border-radius: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: 15px; color: var(--muted); font-size: 14px; }
.about-copy { columns: 2; column-gap: 40px; color: #51596b; }
.about-copy p { break-inside: avoid; }
.subscribe { display: grid; grid-template-columns: 140px 1fr auto; gap: 30px; align-items: center; margin: 64px 0 48px; background: #eaeefa; border-radius: 18px; padding: 32px; }
.subscribe h2 { margin-bottom: 10px; }
.subscribe p { font-size: 14px; }
.app-identity { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.app-brand { background: var(--pink); color: white; width: 90px; height: 90px; text-align: center; font-size: 61px; border-radius: 24px; line-height: 90px; }
.footer { padding: 30px 0; background: white; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer a { display: inline-block; margin: 12px 20px 0 0; }
.breadcrumbs { margin: 32px 0 24px; color: var(--muted); font-size: 14px; }
.page-intro { background: var(--soft); padding: 36px; border-radius: 16px; }
.page-intro h1 { margin: 10px 0 18px; }
.category-grid { grid-template-columns: repeat(3,1fr); }
.reading-note { padding: 24px; background: #edf0f8; border-radius: 12px; margin: 28px 0; }
.reading-note h2 { font-size: 18px; margin-bottom: 8px; }
.reader-head { max-width: 850px; margin-inline: auto; padding: 18px 0; }
.reader-head h1 { margin: 12px 0; }
.reader-head > p { color: var(--muted); }
.reader { max-width: 800px; margin-inline: auto; }
.story-panel { margin: 45px 0; padding: 28px; border-radius: 12px; background: var(--surface); }
.story-panel h2 { font-size: 17px; color: var(--pink); margin-bottom: 16px; }
.story-text { font-size: 20px; line-height: 2; }
figure { margin: 25px 0 0; }
.reader-image { aspect-ratio: 4/3; height: auto; object-fit: contain; }
figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.chapter-end { text-align: center; margin: 50px 0; }
.chapter-end p { margin-top: 12px; }
.chapter-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.night { --surface: #262d40; --ink: #e8ebf3; --muted: #bac1d2; background: #191f2d; }
.night .site-header, .night .footer { background: #22293b; }
.night .reading-note { background: #30384d; }
.skip { position: absolute; top: -100px; left: 15px; z-index: 10; background: white; padding: 10px; }
.skip:focus { top: 10px; }
@media (max-width: 1000px) {
    .header-note { display: none; }
    .shelf-button { margin-left: auto; }
    .navigation { grid-template-columns: repeat(5,1fr); }
    .hero-title { font-size: 32px; }
    .hero-copy { padding: 30px; }
    .cards { gap: 16px; }
    .ranking li { flex-wrap: wrap; }
    .ranking .text-link { margin-left: 54px; }
    .subscribe { grid-template-columns: 110px 1fr; }
    .subscribe > .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 700px) {
    .wrap { width: calc(100% - 28px); }
    .topbar { min-height: 86px; gap: 10px; }
    .brand { font-size: 20px; gap: 8px; }
    .brand small { font-size: 10px; letter-spacing: 1px; }
    .brand-mark { width: 40px; height: 40px; font-size: 28px; border-radius: 12px; }
    .shelf-button { font-size: 12px; padding: 8px; }
    .navigation { grid-template-columns: repeat(3,1fr); }
    .navigation a { padding: 8px 2px; }
    .hero { grid-template-columns: 1fr; margin-top: 24px; }
    .hero-copy { padding: 28px 24px; }
    .hero-title { font-size: 34px; }
    .hero-art { min-height: 300px; }
    .hero-caption { left: 24px; bottom: 24px; }
    .section { margin-top: 44px; }
    h2 { font-size: 21px; }
    .section-heading { align-items: start; gap: 12px; }
    .section-heading > .text-link { flex-shrink: 0; font-size: 12px; margin-top: 5px; }
    .categories, .cards, .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
    .category-card { padding: 16px; }
    .category-card h3 { font-size: 17px; }
    .category-card p { font-size: 12px; }
    .card-copy h3 { font-size: 17px; }
    .card-copy .muted { font-size: 12px; min-height: 45px; }
    .eyebrow { font-size: 11px; }
    .update-list { padding: 0 16px; }
    .update-row { grid-template-columns: 46px 1fr 48px; gap: 10px; }
    .update-row time { font-size: 15px; }
    .update-row .pill { display: none; }
    .update-row h3 { font-size: 17px; }
    .update-row .text-link { font-size: 12px; }
    .feature, .korean-panel, .ranking, .two-col, .faq { grid-template-columns: 1fr; }
    .feature-image { aspect-ratio: 16/10; height: auto; }
    .feature > div { padding: 26px; }
    .feature h3 { font-size: 25px; }
    .ranking li { flex-wrap: nowrap; }
    .ranking .text-link { margin-left: auto; font-size: 12px; }
    .ranking p { font-size: 12px; }
    .rank-number { font-size: 28px; }
    .korean-panel { padding: 24px; gap: 20px; }
    .about-copy { columns: 1; }
    .subscribe { grid-template-columns: 1fr; padding: 26px; gap: 20px; margin-top: 44px; }
    .app-identity { flex-direction: row; }
    .app-brand { width: 60px; height: 60px; font-size: 40px; line-height: 60px; border-radius: 17px; }
    .subscribe > .button { grid-column: 1; }
    .page-intro { padding: 24px; }
    h1 { font-size: 27px; }
    .story-panel { padding: 20px 16px; }
    .story-text { font-size: 18px; }
    .reading-note { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
