:root { --ink: #212038; --muted: #6c6a80; --cream: #fff9ed; --paper: #ffffff; --banana: #ffd84d; --coral: #fb796c; --lavender: #eae5ff; --line: #e9e4dc; --shadow: 0 15px 40px rgba(53, 42, 88, .10); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Microsoft YaHei", system-ui, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1200px, calc(100% - 40px)); margin-right: auto; margin-left: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 249, 237, .94); border-bottom: 1px solid rgba(233, 228, 220, .85); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 9px; font-size: 21px; font-weight: 900; letter-spacing: .04em; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 12px 12px 16px 16px; background: var(--banana); transform: rotate(-8deg); }
.main-nav { display: flex; align-items: stretch; justify-content: flex-end; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 9px 10px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--ink); background: var(--lavender); }
.nav-toggle { display: none; border: 0; background: var(--lavender); border-radius: 9px; padding: 7px 10px; font-size: 19px; }
.hero { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 68px; min-height: 488px; margin-top: 48px; padding: 42px 64px; overflow: hidden; border-radius: 30px; background: linear-gradient(135deg, #f0edff 0%, #fff5c9 100%); }
.eyebrow { margin: 0 0 8px; color: #7861aa; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.1; letter-spacing: -.06em; }
h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.24; letter-spacing: -.04em; }
h3 { font-size: 18px; line-height: 1.35; }
.hero-copy > p:not(.eyebrow) { max-width: 510px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-block; padding: 11px 19px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; transition: transform .2s; }
.button:hover { transform: translateY(-2px); }
.button.ghost { background: #fff; color: var(--ink); }
.hero-art { position: relative; }
.hero-art img { width: 100%; aspect-ratio: 1 / .82; object-fit: cover; border: 8px solid #fff; border-radius: 22px; box-shadow: var(--shadow); }
.floating-note { position: absolute; right: -20px; bottom: 22px; display: grid; padding: 13px 18px; border-radius: 14px; background: var(--coral); color: #fff; line-height: 1.3; box-shadow: var(--shadow); }
.floating-note strong { font-size: 20px; }
.floating-note span { font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.stats div { display: grid; gap: 2px; padding: 20px 24px; background: var(--paper); }
.stats strong { font-size: 21px; }
.stats span, .card-copy p, .category-card p { color: var(--muted); font-size: 13px; }
.content-section { margin-top: 92px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { color: #69509f; font-size: 14px; font-weight: 800; }
.comic-grid { display: grid; gap: 18px; }
.comic-grid.five { grid-template-columns: repeat(5, 1fr); }
.comic-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); transition: transform .2s, box-shadow .2s; }
.comic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.cover { position: relative; display: block; overflow: hidden; background: var(--lavender); }
.cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 99px; background: rgba(33, 32, 56, .78); color: #fff; font-size: 11px; }
.card-copy { padding: 14px; }
.card-copy h3 { margin-bottom: 6px; }
.card-copy p { margin-bottom: 0; line-height: 1.5; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { min-height: 202px; padding: 21px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.category-card > span { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 14px; border-radius: 13px; background: var(--banana); font-size: 22px; }
.category-card h3 { margin-bottom: 5px; }
.category-card p { margin-bottom: 0; line-height: 1.55; }
.rank-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 46px; margin-top: 92px; padding: 46px; border-radius: 24px; background: #29263e; color: #fff; }
.rank-copy p:not(.eyebrow) { color: #d3cee7; }
.ranking-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.ranking-list span { color: var(--banana); font-weight: 900; }
.ranking-list em { color: #c9c1e6; font-size: 12px; font-style: normal; }
.about-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; margin-top: 92px; padding: 52px 0; border-top: 1px solid var(--line); }
.about-copy { color: var(--muted); font-size: 16px; }
.page-main, .reader { padding-top: 45px; padding-bottom: 82px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; color: var(--muted); font-size: 13px; }
.breadcrumb a { color: #69509f; }
.listing-hero { margin-bottom: 46px; padding: 38px 44px; border-radius: 24px; background: linear-gradient(135deg, #e9e3ff, #fff1b8); }
.listing-hero h1 { margin-bottom: 12px; font-size: 46px; }
.listing-hero p:last-child { max-width: 600px; margin-bottom: 0; color: var(--muted); }
.listing-section { margin-bottom: 70px; }
.seo-copy { padding: 32px 38px; border-left: 5px solid var(--banana); border-radius: 0 18px 18px 0; background: var(--paper); }
.seo-copy h2 { margin-bottom: 10px; font-size: 26px; }
.seo-copy p { margin-bottom: 0; color: var(--muted); }
.reader { max-width: 920px; }
.reader-header { text-align: center; }
.reader-header h1 { margin-bottom: 14px; font-size: 44px; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--muted); font-size: 13px; }
.reading-note { margin: 34px 0; padding: 17px 22px; border-radius: 15px; background: #fff0bd; }
.reading-note p { margin: 4px 0 0; font-size: 14px; }
.comic-reader { display: grid; gap: 24px; }
.reader-panel { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.reader-panel img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reader-panel figcaption { padding: 10px 16px; color: var(--muted); font-size: 13px; }
.chapter-end { margin: 38px 0 26px; text-align: center; color: var(--muted); }
.chapter-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 800; }
.app-panel { display: grid; grid-template-columns: 1fr 170px; align-items: center; gap: 50px; margin-top: 70px; margin-bottom: 38px; padding: 38px 50px; border-radius: 26px; background: linear-gradient(120deg, #ffd84d, #ffbca5); }
.app-panel h2 { margin-bottom: 8px; }
.app-panel p:not(.eyebrow) { max-width: 660px; margin-bottom: 20px; }
.qr { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; width: 130px; padding: 10px; background: #fff; }
.qr span { display: grid; aspect-ratio: 1; place-items: center; background: var(--ink); color: #fff; font-size: 11px; font-weight: 900; }
.qr span:nth-child(2), .qr span:nth-child(3) { background: var(--coral); }
.site-footer { padding: 25px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.footer-inner p { margin-bottom: 0; }
.footer-inner a { color: #69509f; font-weight: 800; }
@media (max-width: 980px) { .header-inner { min-height: 70px; } .nav-toggle { display: block; } .main-nav { position: absolute; top: 70px; right: 20px; left: 20px; display: none; flex-wrap: wrap; justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); } .main-nav.open { display: flex; } .hero { grid-template-columns: 1fr 1fr; gap: 30px; padding: 34px; } .comic-grid.five { grid-template-columns: repeat(3, 1fr); } .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .shell { width: min(100% - 28px, 1200px); } .hero { grid-template-columns: 1fr; margin-top: 25px; padding: 28px 22px; } .hero-art { max-width: 430px; } .floating-note { right: 0; } .stats { grid-template-columns: repeat(2, 1fr); } .content-section, .rank-section, .about-section { margin-top: 58px; } .comic-grid.five { grid-template-columns: repeat(2, 1fr); gap: 12px; } .card-copy { padding: 11px; } .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .category-card { min-height: 180px; padding: 16px; } .rank-section, .about-section { grid-template-columns: 1fr; gap: 25px; padding: 28px 22px; } .about-section { padding: 32px 0; } .app-panel { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; } .qr { width: 110px; } .footer-inner { display: grid; } .listing-hero { padding: 28px 23px; } .listing-hero h1, .reader-header h1 { font-size: 34px; } .chapter-nav { font-size: 13px; } }
