* { box-sizing: border-box; }
:root { --ink: #252233; --muted: #777186; --cream: #fff9ed; --melon: #ff6f61; --lime: #a8ca55; --plum: #402a59; --line: #e9dfd0; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Microsoft YaHei", Arial, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,249,237,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-row { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: 19px; font-weight: 800; color: var(--plum); }
.logo-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50% 50% 45% 45%; background: var(--melon); color: white; font-size: 15px; }
.main-nav { display: flex; flex: 1; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; }
.main-nav a { padding: 7px 4px; white-space: nowrap; }
.main-nav a:hover { color: var(--melon); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; }
.hero { padding: 42px 0 20px; }
.hero-slider { min-height: 390px; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; border-radius: 28px; background: radial-gradient(circle at 82% 22%, #ffd875 0 12%, transparent 13%), linear-gradient(130deg, #402a59, #714c73); color: white; }
.hero-copy { padding: 58px 10% 58px; }
.eyebrow { margin: 0 0 8px; color: var(--melon); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.hero .eyebrow { color: #ffda80; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.2; }
h2 { font-size: clamp(24px, 3vw, 33px); line-height: 1.3; }
h3 { font-size: 18px; line-height: 1.45; }
.hero-copy p:not(.eyebrow) { max-width: 560px; color: #f5eafa; }
.button { display: inline-block; padding: 11px 20px; border: 0; border-radius: 999px; background: var(--melon); color: white; font-weight: 800; cursor: pointer; }
.hero-visual { display: grid; place-items: center; gap: 0; min-height: 260px; text-align: center; }
.hero-visual span { font-size: 142px; filter: drop-shadow(0 14px 0 rgba(0,0,0,.12)); }
.section { margin-top: 62px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { color: var(--melon); font-weight: 800; }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.channel-tile { min-height: 132px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; transition: transform .2s, box-shadow .2s; }
.channel-tile:hover { transform: translateY(-4px); box-shadow: 0 11px 24px rgba(61,35,71,.1); }
.channel-tile span { display: block; font-size: 26px; }
.channel-tile strong { display: block; margin-top: 5px; }
.channel-tile small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.story-card { overflow: hidden; min-height: 380px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.story-card > a { display: block; height: 178px; }
.card-body { padding: 16px; }
.card-body .eyebrow { font-size: 11px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p:last-child { color: var(--muted); font-size: 13px; line-height: 1.55; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel, .about-panel, .app-panel, .seo-copy { border-radius: 22px; padding: 35px; background: white; border: 1px solid var(--line); }
.timeline-panel { background: #fff0d8; }
.rule-panel { background: #ede7fa; }
.panel h2, .about-panel h2, .app-panel h2 { margin-bottom: 12px; }
.timeline-panel ol { margin: 0; padding-left: 22px; }
.timeline-panel li { padding: 7px 0; }
.timeline-panel span { display: inline-block; width: 58px; color: var(--melon); font-weight: 800; }
.about-panel { background: linear-gradient(120deg,#fff 0 70%,#e7f0c8 70%); }
.app-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 62px; background: var(--plum); color: white; }
.app-panel .eyebrow { color: #ffda80; }
.app-panel p:not(.eyebrow) { color: #eee1f4; }
.qr-placeholder { display: grid; place-items: center; align-content: center; flex: 0 0 130px; height: 130px; border: 7px solid white; border-radius: 15px; background: repeating-linear-gradient(45deg,#fff 0 7px,#e9f2cd 7px 14px); color: var(--plum); }
.qr-placeholder span { font-size: 40px; font-weight: 900; }
.qr-placeholder small { font-weight: 800; }
.site-footer { padding: 42px 0 0; background: #231c30; color: #dcd2e5; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 40px; }
.footer-brand, .footer-title { color: white; font-weight: 800; }
.site-footer a { display: block; margin-bottom: 7px; }
.copyright { margin-top: 30px; padding: 17px 0; border-top: 1px solid #4c405b; color: #aa9db6; font-size: 13px; }
.page-main { min-height: 70vh; }
.breadcrumb { display: flex; gap: 10px; padding: 24px 0; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--plum); }
.category-hero { padding: 40px; border-radius: 24px; background: linear-gradient(115deg,#ffecbd,#fff 75%); }
.category-hero h1 { margin-bottom: 8px; }
.compact-section { margin-top: 28px; margin-bottom: 48px; }
.seo-copy { margin-bottom: 62px; }
.article-page { max-width: 830px; margin: 0 auto 60px; padding: 40px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.article-header { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-header h1 { font-size: clamp(28px,4vw,43px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 13px; }
.article-content { padding-top: 30px; font-size: 17px; }
.article-content h2 { margin-top: 32px; font-size: 25px; }
.article-figure { margin: 28px 0; }
.article-figure img { aspect-ratio: 16 / 9; border-radius: 13px; }
.article-figure figcaption { padding-top: 7px; color: var(--muted); font-size: 13px; text-align: center; }
.chapter-end { margin-top: 36px; padding: 17px; border-radius: 10px; background: #fff0d8; text-align: center; font-size: 14px; font-weight: 800; }
.article-pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 34px; }
.pager-link { color: var(--plum); font-weight: 800; }
@media (max-width: 840px) { .header-row { min-height: 64px; justify-content: space-between; } .menu-toggle { display: block; } .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 16px 20px; flex-wrap: wrap; justify-content: flex-start; background: var(--cream); border-bottom: 1px solid var(--line); } .main-nav.is-open { display: flex; } .hero { padding-top: 22px; } .hero-slider { grid-template-columns: 1fr; min-height: 0; } .hero-copy { padding: 42px 28px; } .hero-visual { min-height: 155px; padding-bottom: 25px; } .hero-visual span { font-size: 90px; } .channel-grid, .story-grid { grid-template-columns: repeat(2, 1fr); } .story-card { min-height: 340px; } .story-card > a { height: 145px; } .split-grid, .footer-grid { grid-template-columns: 1fr; } .app-panel { align-items: flex-start; } }
@media (max-width: 500px) { .shell { width: min(100% - 28px,1180px); } .channel-grid, .story-grid { grid-template-columns: 1fr; } .story-card { min-height: 0; } .story-card > a { height: 190px; } .panel, .about-panel, .app-panel, .seo-copy, .article-page { padding: 24px; } .category-hero { padding: 28px 24px; } .app-panel { flex-direction: column; } .article-pager { flex-direction: column; align-items: stretch; text-align: center; } }
