:root { --ink: #18212f; --muted: #697386; --line: #e7e9ef; --paper: #fbfaf7; --card: #ffffff; --coral: #f06455; --violet: #7665da; --mint: #37a88e; --gold: #d19a42; --blue: #438cc7; --shadow: 0 18px 50px rgba(27, 38, 59, .09); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251, 250, 247, .92); border-bottom: 1px solid rgba(231, 233, 239, .88); backdrop-filter: blur(18px); }
.nav-wrap { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--ink); border-radius: 14px 14px 14px 4px; box-shadow: 6px 6px 0 var(--coral); font-family: Georgia, serif; font-size: 22px; }
.nav-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 11px; color: var(--muted); border-radius: 999px; font-size: 14px; transition: .2s ease; }
.nav-list a:hover, .nav-list a.active { color: var(--ink); background: #fff; box-shadow: 0 6px 20px rgba(27, 38, 59, .08); }
.hero { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 52px; min-height: 520px; padding: 72px 0 56px; }
.eyebrow { color: var(--coral); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.04em; }
h1 { max-width: 680px; font-size: clamp(42px, 7vw, 82px); }
.hero-copy p { max-width: 610px; margin: 26px 0 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 700; transition: .2s ease; }
.button.primary { color: white; background: var(--ink); }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(27, 38, 59, .12); }
.hero-art { position: relative; min-height: 370px; }
.hero-card { position: absolute; right: 3%; bottom: 8%; width: 72%; padding: 14px; background: white; border-radius: 26px; box-shadow: var(--shadow); transform: rotate(5deg); }
.hero-card img { aspect-ratio: 4 / 5; border-radius: 18px; }
.hero-note { position: absolute; top: 6%; left: 3%; display: grid; width: 122px; height: 122px; padding: 16px; place-items: center; color: white; background: var(--coral); border-radius: 50%; font-weight: 800; line-height: 1.35; text-align: center; transform: rotate(-12deg); }
.hero-scribble { position: absolute; right: 0; top: 22%; width: 180px; height: 120px; border-top: 3px solid var(--violet); border-radius: 50%; transform: rotate(-20deg); }
.section { padding: 66px 0; scroll-margin-top: 86px; }
.section.tint { background: #f3f0fa; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head p { max-width: 470px; margin: 0; color: var(--muted); }
.section-kicker { margin-bottom: 10px; color: var(--violet); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { min-width: 0; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 8px 26px rgba(27, 38, 59, .04); transition: .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { margin-bottom: 14px; }
.card h3 { font-size: 19px; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.tag { color: var(--coral); font-weight: 700; }
.category-card { display: flex; min-height: 150px; flex-direction: column; justify-content: space-between; padding: 22px; border-radius: 24px; color: white; }
.category-card h3 { font-size: 22px; }
.category-card p { margin: 8px 0 0; opacity: .84; font-size: 13px; line-height: 1.55; }
.category-icon { font-size: 28px; }
.coral { background: linear-gradient(135deg, #e96152, #f09d73); } .violet { background: linear-gradient(135deg, #7563d7, #aa8ee8); } .mint { background: linear-gradient(135deg, #319c84, #75c4a1); } .gold { background: linear-gradient(135deg, #b78335, #e1be76); } .blue { background: linear-gradient(135deg, #3f7fc0, #75b8d7); } .plum { background: linear-gradient(135deg, #76507d, #b37e9c); } .rose { background: linear-gradient(135deg, #d85f7a, #ee9b9d); } .ink { background: linear-gradient(135deg, #24364f, #506982); }
.feature-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.feature-card { min-height: 340px; padding: 26px; color: white; border-radius: 28px; background: linear-gradient(125deg, rgba(24, 33, 47, .96), rgba(44, 65, 91, .88)), url('https://tse-mm.bing.com/th?q=星尘修理铺+原创漫画') center/cover; }
.feature-card h3 { max-width: 430px; margin-top: 80px; font-size: 38px; }
.feature-card p { max-width: 460px; color: rgba(255,255,255,.75); }
.mini-stack { display: grid; gap: 20px; }
.mini-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.mini-card img { width: 98px; flex: 0 0 98px; aspect-ratio: 1 / 1; }
.mini-card p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.ranking { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.tabs { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid var(--line); }
.tab { cursor: pointer; padding: 8px 15px; color: var(--muted); border: 0; background: transparent; border-radius: 999px; font: inherit; }
.tab.active { color: white; background: var(--ink); }
.rank-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; padding: 10px 22px 20px; }
.rank-item { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rank-number { color: var(--coral); font-family: Georgia, serif; font-size: 25px; }
.rank-item span:last-child { color: var(--muted); font-size: 12px; }
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.about-copy p { color: var(--muted); }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.point { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.point strong { display: block; margin-bottom: 5px; }
.point span { color: var(--muted); font-size: 13px; }
.app-banner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 34px; color: white; border-radius: 28px; background: var(--ink); }
.app-banner p { margin: 10px 0 0; color: rgba(255,255,255,.72); }
.app-badge { padding: 14px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; color: white; font-weight: 800; }
footer { padding: 34px 0 42px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 30px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: 13px; }
.footer-links { display: grid; gap: 5px; }
.copyright { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.breadcrumbs { padding: 28px 0 16px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--coral); }
.listing-hero { padding: 34px 0 46px; }
.listing-hero h1 { max-width: 760px; font-size: clamp(34px, 5vw, 60px); }
.listing-hero p { max-width: 720px; color: var(--muted); }
.article-grid { align-items: stretch; }
.article-page { max-width: 920px; margin: 0 auto; padding-bottom: 70px; }
.article-head { padding: 22px 0 34px; }
.article-head h1 { font-size: clamp(34px, 5vw, 62px); }
.article-info { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.reading-note { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--coral); border-radius: 0 16px 16px 0; background: #fff2ed; color: #74443b; }
.chapter-content { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.chapter-content h2 { margin-top: 28px; font-size: 28px; }
.chapter-content p { color: #4f5b6e; }
.chapter-content figure { margin: 24px 0; }
.chapter-content figcaption { margin-top: 8px; color: var(--muted); font-size: 12px; text-align: center; }
.chapter-end { margin-top: 30px; padding: 22px; border-radius: 18px; color: #235d4e; background: #e8f7f0; }
.article-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
.article-nav .button { flex: 1; }
.empty-button { visibility: hidden; }
@media (max-width: 900px) { .nav-wrap { align-items: flex-start; flex-direction: column; padding: 14px 0; } .nav-list { justify-content: flex-start; } .hero, .feature-grid, .about { grid-template-columns: 1fr; } .hero { padding-top: 46px; } .hero-art { min-height: 320px; } .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rank-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .site-shell { width: min(100% - 28px, 1180px); } .nav-list a { padding: 6px 8px; font-size: 12px; } .hero { min-height: auto; padding: 38px 0; } h1 { font-size: 42px; } .hero-copy p { font-size: 16px; } .hero-art { min-height: 260px; } .hero-card { width: 68%; } .grid, .about-points, .rank-list { grid-template-columns: 1fr; } .section { padding: 46px 0; } .section-head { align-items: flex-start; flex-direction: column; } .app-banner, .footer-grid { grid-template-columns: 1fr; } .chapter-content { padding: 18px; } .article-nav { flex-direction: column; } .empty-button { display: none; } }
