* { box-sizing: border-box; }
:root { --ink: #182033; --muted: #687085; --paper: #ffffff; --soft: #f6f7fb; --line: #e7e9f1; --accent: #f04b55; --violet: #5b49c6; --shadow: 0 16px 40px rgba(24, 32, 51, .08); }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--soft); color: var(--ink); font-family: "Microsoft YaHei", "PingFang SC", sans-serif; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; object-fit: cover; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-row { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 9px; font-weight: 800; font-size: 19px; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; color: white; background: linear-gradient(135deg, var(--accent), #ff8b60); border-radius: 11px; font-size: 15px; }
.main-nav { display: flex; flex: 1; justify-content: space-between; align-items: center; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; gap: 5px; padding: 8px 7px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: var(--accent); background: #fff0f1; }
.nav-icon { color: var(--accent); font-size: 12px; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 23px; }
.hero { padding: 44px 0 34px; background: radial-gradient(circle at 80% 20%, #ffe6e4, transparent 26%), #fff; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0 0 15px; font-size: clamp(30px, 5vw, 52px); line-height: 1.2; }
h2 { margin: 0; font-size: clamp(23px, 3vw, 31px); line-height: 1.35; }
h3 { margin: 0; font-size: 18px; line-height: 1.48; }
p { color: var(--muted); }
.hero-copy > p:not(.eyebrow) { max-width: 560px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 43px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; }
.primary { color: #fff; border-color: var(--accent); background: var(--accent); }
.ghost { background: #fff; }
.hero-slider { position: relative; min-height: 380px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.slide { display: none; height: 380px; position: relative; }
.slide.active { display: block; }
.hero-image { height: 100%; }
.slide-caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 76px 25px 24px; color: #fff; background: linear-gradient(transparent, rgba(10, 13, 26, .88)); }
.slide-caption p { color: rgba(255,255,255,.82); margin: 7px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide-caption h2 { font-size: 22px; }
.slider-dots { position: absolute; top: 14px; right: 16px; display: flex; gap: 7px; }
.slider-dots button { width: 9px; height: 9px; padding: 0; cursor: pointer; border: 0; border-radius: 99px; background: rgba(255,255,255,.7); }
.content-section { padding: 38px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 18px; }
.more-link { color: var(--violet); font-size: 14px; font-weight: 700; white-space: nowrap; }
.card-grid { display: grid; gap: 18px; align-items: stretch; }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-card { min-width: 0; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: 0 3px 15px rgba(24,32,51,.035); }
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); transition: .2s ease; }
.card-image { display: block; }
.cover { aspect-ratio: 16 / 10; }
.card-body { min-height: 226px; display: flex; flex-direction: column; padding: 17px; }
.card-body h3 { margin-bottom: 9px; }
.card-body h3:hover { color: var(--accent); }
.card-body p { margin: 0; font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 13px; color: #9298a8; font-size: 12px; }
.topic-strip { padding: 47px 0; background: #22274a; color: #fff; }
.topic-strip .eyebrow { color: #ffb8a7; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.topic-pills a { padding: 7px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; font-size: 14px; }
.about-section, .app-section { padding: 56px 0; background: #fff; }
.about-grid, .app-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 35px; align-items: center; }
.about-note { padding: 28px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--violet), #9074df); }
.about-note p { color: rgba(255,255,255,.8); }
.note-number { font-size: 48px; font-weight: 900; opacity: .72; }
.app-section { padding-top: 0; }
.app-grid { padding: 34px; border-radius: 20px; background: #fff0f1; }
.qr-box { width: 170px; height: 170px; justify-self: end; display: grid; place-items: center; text-align: center; color: #fff; border-radius: 16px; background-color: #252544; background-image: linear-gradient(45deg, #fff2 25%, transparent 25%), linear-gradient(-45deg, #fff2 25%, transparent 25%); background-size: 18px 18px; }
.qr-box span { font-size: 40px; font-weight: 900; }
.qr-box p { margin: -25px 0 0; color: #fff; line-height: 1.3; font-size: 12px; white-space: pre-line; }
.page-hero { padding: 40px 0; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero p:not(.eyebrow) { max-width: 760px; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; color: #7b8291; font-size: 13px; }
.breadcrumb a { color: var(--violet); }
.category-note { padding: 42px 0; background: #f0eefb; }
.category-note p { max-width: 820px; margin-bottom: 0; }
.article-page { padding: 38px 0 55px; background: #fff; }
.article-wrap { width: min(820px, calc(100% - 40px)); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 17px; color: #7a8191; font-size: 13px; border-bottom: 1px solid var(--line); }
.lead { padding: 17px 20px; border-left: 4px solid var(--accent); background: #fff5f5; font-size: 16px; }
.article-cover { height: auto; max-height: 470px; margin: 23px 0 8px; border-radius: 14px; aspect-ratio: 16 / 9; }
.article-section { margin-top: 34px; }
.article-section h2 { margin-bottom: 12px; font-size: 25px; }
.article-section p { font-size: 16px; }
.article-image { max-height: 440px; margin-top: 16px; border-radius: 13px; aspect-ratio: 16 / 9; }
.chapter-end { margin-top: 38px; padding: 22px; text-align: center; border-radius: 12px; background: var(--soft); }
.chapter-end span { color: var(--accent); font-size: 30px; }
.chapter-end p { margin: 0; }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 24px; color: var(--violet); font-size: 14px; font-weight: 700; }
.article-nav a:last-child { text-align: right; }
.site-footer { padding-top: 43px; color: #fff; background: #171b31; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; }
.site-footer h2, .site-footer h3 { margin-bottom: 10px; }
.site-footer p { color: #b8bdcb; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; color: #cfd2de; font-size: 14px; }
.copyright { margin-top: 35px; padding: 14px 20px; text-align: center; border-top: 1px solid rgba(255,255,255,.1); }
.copyright p { margin: 0; font-size: 12px; }
@media (max-width: 900px) { .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 12px 20px; flex-wrap: wrap; justify-content: flex-start; background: #fff; border-bottom: 1px solid var(--line); } .main-nav.open { display: flex; } .nav-toggle { display: block; margin-left: auto; } .hero-grid, .about-grid, .app-grid { grid-template-columns: 1fr; } .card-grid.four, .card-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .qr-box { justify-self: start; } }
@media (max-width: 560px) { .wrap, .article-wrap { width: min(100% - 28px, 1180px); } .header-row { min-height: 62px; } .hero { padding-top: 26px; } .hero-slider, .slide { min-height: 300px; height: 300px; } .content-section { padding: 27px 0; } .card-grid.four, .card-grid.three { grid-template-columns: 1fr; } .card-body { min-height: 195px; } .section-head { align-items: center; } .app-grid { padding: 24px; } .article-nav { grid-template-columns: 1fr 1fr; } .article-nav .button { grid-column: 1 / -1; grid-row: 2; } .footer-grid { grid-template-columns: 1fr; } }