* { box-sizing: border-box; }
:root { --ink: #22263a; --muted: #70768b; --paper: #fffdfb; --line: #ebe9f1; --violet: #7157e8; --coral: #ff7d70; --mint: #dff5ec; --shadow: 0 16px 38px rgba(42, 38, 80, .09); }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #f8f8fc; font-family: "Microsoft YaHei", Arial, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; object-fit: cover; }
.site-wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; margin-top: 18px; border: 1px solid rgba(235,233,241,.9); border-radius: 22px; background: rgba(255,253,251,.94); box-shadow: 0 8px 24px rgba(42,38,80,.06); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; padding: 10px 20px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; gap: 9px; font-size: 21px; font-weight: 800; color: #563ed2; white-space: nowrap; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--violet), #a57cff); }
.nav { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 9px; border-radius: 10px; color: #555a70; font-size: 14px; white-space: nowrap; }
.nav a:hover, .nav a.active { color: #fff; background: var(--violet); }
.header-search { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 11px; color: #fff; background: #22263a; font-size: 13px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1.14fr .86fr; gap: 34px; align-items: center; margin-top: 38px; padding: 48px; overflow: hidden; border-radius: 30px; color: #fff; background: linear-gradient(120deg, #5e48ce, #8b6ef2 58%, #ff8d85); }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 13px; }
.hero h1 { margin: 0; font-size: clamp(36px, 6vw, 58px); letter-spacing: 2px; line-height: 1.15; }
.hero p { max-width: 620px; margin: 16px 0 23px; color: rgba(255,255,255,.9); }
.button { display: inline-flex; align-items: center; gap: 7px; padding: 11px 17px; border: 0; border-radius: 11px; color: #fff; background: var(--ink); font: inherit; cursor: pointer; }
.button.light { color: #5b43c8; background: #fff; }
.hero-art { transform: rotate(3deg); border: 8px solid rgba(255,255,255,.35); border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.section { margin-top: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 27px; line-height: 1.25; }
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.more { color: var(--violet); font-weight: 700; white-space: nowrap; }
.comic-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.comic-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: transform .2s; }
.comic-card:hover { transform: translateY(-5px); }
.comic-card img { aspect-ratio: 3 / 4; }
.comic-card-body { padding: 11px 12px 13px; }
.comic-card h3 { overflow: hidden; margin: 0; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.comic-card p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.chip-row, .tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border: 1px solid #e6defe; border-radius: 999px; color: #6149d5; background: #f3efff; font-size: 14px; }
.feature-row { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 18px; }
.feature { position: relative; min-height: 230px; padding: 28px; overflow: hidden; border-radius: 20px; color: #fff; background: #4d3cc1; }
.feature:nth-child(2) { background: #ed7970; }.feature:nth-child(3) { background: #279c87; }
.feature h3 { margin: 8px 0; font-size: 25px; }.feature p { margin: 0; color: rgba(255,255,255,.86); font-size: 14px; }.feature i { font-size: 30px; }
.ranking { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.rank-card { display: flex; gap: 13px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 7px 18px rgba(42,38,80,.05); }.rank-card img { width: 68px; height: 88px; border-radius: 9px; }.rank-num { color: var(--coral); font-size: 22px; font-weight: 900; }.rank-card h3 { margin: 0; font-size: 16px; }.rank-card p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.genre-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }.genre-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.genre-card i { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; color: var(--violet); background: #eee9ff; font-size: 21px; }.genre-card h3 { margin: 11px 0 3px; }.genre-card p { margin: 0; color: var(--muted); font-size: 12px; }
.update-list { border-top: 1px solid var(--line); background: #fff; }.update-item { display: grid; grid-template-columns: 100px 1fr 120px 110px; gap: 16px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--line); }.update-item strong { color: var(--violet); }.update-item span { color: var(--muted); font-size: 13px; }
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.editorial article { padding: 27px; border-radius: 20px; background: #fff0d5; }.editorial article:last-child { background: #e9f7f2; }.editorial h3 { margin: 7px 0; font-size: 23px; }.editorial p { margin: 0; color: #575b67; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }.timeline div { padding: 19px; border-left: 3px solid #ded5ff; background: #fff; }.timeline strong { display: block; color: var(--violet); }.timeline span { color: var(--muted); font-size: 13px; }
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 35px; padding: 36px; border-radius: 24px; background: #29264b; color: #fff; }.about p { color: #d8d5eb; }.about-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }.about-list div { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.1); }.about-list i { margin-right: 7px; color: #ffb6a6; }
.download { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 31px 36px; border-radius: 24px; background: linear-gradient(120deg,#f1ecff,#fff5e8); }.download h2 { margin: 0; }.download p { margin: 6px 0 16px; color: var(--muted); }.qr { display: grid; width: 128px; height: 128px; place-items: center; border: 8px solid #fff; border-radius: 12px; color: #5f48ce; background: repeating-linear-gradient(45deg,#ede7ff 0 7px,#fff 7px 14px); font-size: 13px; font-weight: 800; text-align: center; }
.site-footer { margin-top: 70px; padding: 30px 0; color: #777b8c; font-size: 13px; text-align: center; }.crumb { margin: 30px 0 18px; color: var(--muted); font-size: 14px; }.crumb a { color: var(--violet); }.page-title { padding: 30px; border-radius: 22px; background: #fff; }.page-title h1 { margin: 0; font-size: 34px; }.page-title p { margin: 7px 0 0; color: var(--muted); }.reading { max-width: 820px; margin: 40px auto 0; }.reading-head { padding: 28px; border-radius: 19px; background: #fff; }.reading-head h1 { margin: 0; font-size: 31px; }.meta { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; color: var(--muted); font-size: 13px; }.notice { margin-top: 20px; padding: 14px 17px; border-left: 4px solid var(--violet); border-radius: 0 10px 10px 0; background: #f0edff; color: #5b5190; }.page-art { margin-top: 24px; }.page-art img { margin-top: 18px; border-radius: 12px; aspect-ratio: 4 / 3; background: #eee; }.chapter-end { margin: 26px 0; padding: 20px; border-radius: 12px; color: #5a4c97; background: #eeeaff; text-align: center; }.chapter-nav { display: flex; justify-content: space-between; gap: 16px; }.empty-bookcase { padding: 30px; border-radius: 18px; background: #fff; }.search-box { display: flex; gap: 10px; margin-top: 18px; }.search-box input { flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
@media (max-width: 900px) { .header-inner { gap: 12px; }.header-search { display: none; }.hero { grid-template-columns: 1fr; padding: 34px; }.hero-art { max-height: 340px; }.comic-grid { grid-template-columns: repeat(3,1fr); }.feature-row { grid-template-columns: 1fr; }.ranking { grid-template-columns: repeat(2,1fr); }.genre-grid { grid-template-columns: repeat(2,1fr); }.update-item { grid-template-columns: 80px 1fr 100px; }.update-item span:last-child { display:none; } }
@media (max-width: 560px) { .site-wrap { width: min(100% - 20px,1200px); }.site-header { margin-top: 8px; border-radius: 15px; }.header-inner { min-height: 64px; padding: 7px 10px; }.brand { font-size: 17px; }.brand-mark { width: 30px; height: 30px; }.nav { justify-content: flex-start; }.nav a { padding: 7px; font-size: 12px; }.hero { margin-top: 24px; padding: 26px; border-radius: 21px; }.section { margin-top: 52px; }.section-heading h2 { font-size: 23px; }.comic-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }.ranking { grid-template-columns: 1fr; }.genre-grid { gap: 10px; }.genre-card { padding: 14px; }.update-item { grid-template-columns: 1fr auto; padding: 13px; }.update-item strong, .update-item span:nth-child(3) { display:none; }.editorial, .about, .download { grid-template-columns: 1fr; }.timeline { grid-template-columns: repeat(2,1fr); }.about { padding: 25px; }.download { padding: 25px; }.qr { width: 110px; height:110px; }.page-title, .reading-head { padding: 22px; }.page-title h1, .reading-head h1 { font-size: 26px; } }
