:root {
    --bg: #f7faf7;
    --card: #ffffff;
    --text: #1f2a25;
    --muted: #65736b;
    --brand: #2f8f62;
    --brand-dark: #216a49;
    --line: #dfe8e1;
    --soft: #eaf6ee;
    --accent: #f2b84b;
    --shadow: 0 18px 44px rgba(27, 72, 48, .11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f6fbf8 0%, #ffffff 46%, #f7faf7 100%);
    line-height: 1.7;
}
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.topbar, .main-nav, .brand-search, main, .footer-grid { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0 12px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--text); }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.logo-text { font-size: 22px; letter-spacing: .04em; }
.domain-pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-size: 14px; color: var(--muted); }
.main-nav { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; }
.main-nav a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.main-nav a.active, .main-nav a:hover { background: var(--brand); color: #fff; text-decoration: none; }
.brand-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 0 0 14px; }
.brand-search input { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 16px; font-size: 16px; background: #fff; }
.brand-search button, .primary-btn, .secondary-btn, .actions button, .actions a, .text-button { border: 0; cursor: pointer; font: inherit; }
.brand-search button, .primary-btn { padding: 12px 18px; border-radius: 16px; background: var(--brand); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.secondary-btn { padding: 12px 18px; border-radius: 16px; background: #fff; color: var(--brand-dark); border: 1px solid var(--line); font-weight: 800; }
#brandSearchNotice { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }
main { padding: 28px 0 60px; }
.hero, .page-hero { border-radius: 36px; background: radial-gradient(circle at 12% 0%, #e5f7ea 0, transparent 34%), #fff; box-shadow: var(--shadow); padding: 34px; border: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 28px; align-items: center; }
.hero h1, .page-hero h1 { margin: 8px 0 14px; font-size: clamp(32px, 5vw, 56px); line-height: 1.12; letter-spacing: -.04em; }
.hero p, .page-hero p { color: var(--muted); font-size: 18px; }
.eyebrow { margin: 0 0 8px; color: var(--brand-dark); font-weight: 900; letter-spacing: .08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust-row span, .tag-row span, .heat, .score { padding: 7px 10px; border-radius: 999px; background: var(--soft); color: var(--brand-dark); font-weight: 700; font-size: 14px; }
.section { margin-top: 38px; }
.section-heading { margin-bottom: 18px; max-width: 780px; }
.section-heading h2 { margin: 4px 0 8px; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.section-heading p { color: var(--muted); }
.compact { margin-bottom: 14px; }
.module-grid, .video-grid, .author-grid { display: grid; gap: 18px; }
.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.module-card, .video-card, .author-card, .notice-card, .comment-card, .article-card, .category-item, details { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 12px 30px rgba(28, 70, 45, .07); }
.module-card { padding: 22px; }
.module-card h3, .video-body h3, .author-card h3, .article-card h3 { margin: 12px 0 8px; font-size: 21px; line-height: 1.35; }
.module-card p, .video-body p, .author-card p, .notice-card p, .article-card p, .category-item span, details p { color: var(--muted); }
.module-card ul, .notice-card ul { padding-left: 20px; color: var(--muted); }
.video-card { overflow: hidden; }
.hero-panel .video-card { box-shadow: none; }
.video-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--soft); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.play-button { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%) scale(.72); display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brand-dark); opacity: 0; transition: opacity .25s ease, transform .25s ease; box-shadow: var(--shadow); }
.video-card:hover .play-button, .video-card.is-hover .play-button { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.video-card:hover img, .video-card.is-hover img { transform: scale(1.04); }
.video-badge { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(31,42,37,.78); color: #fff; font-weight: 800; font-size: 13px; }
.video-body { padding: 18px; }
.image-description { font-size: 13px; border-left: 3px solid var(--brand); padding-left: 10px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: 14px; margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 16px 0; list-style: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.stats li { padding: 10px 8px; text-align: center; border-right: 1px solid var(--line); background: #fbfdfb; }
.stats li:last-child { border-right: 0; }
.stats strong { display: block; color: var(--brand-dark); }
.stats span { color: var(--muted); font-size: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions button, .actions a { padding: 8px 10px; border-radius: 12px; background: var(--soft); color: var(--brand-dark); font-weight: 800; }
.actions.stacked { flex-direction: column; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.category-list, .comment-list, .article-list, .faq-list { display: grid; gap: 12px; }
.category-item, .comment-card, .article-card, details, .notice-card { padding: 20px; }
.category-item { display: grid; gap: 6px; }
.category-item em { color: var(--brand-dark); font-style: normal; font-weight: 800; }
.notice-card { background: linear-gradient(180deg, #fff 0%, #f5fbf7 100%); }
.sticky-card { position: sticky; top: 180px; }
.author-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 20px; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--brand); color: #fff; font-size: 24px; font-weight: 900; }
.comment-card h3 { margin: 0 0 8px; }
.comment-card span { color: var(--brand-dark); font-weight: 800; font-size: 14px; }
details summary { cursor: pointer; font-weight: 900; color: var(--text); }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-radius: 28px; background: var(--text); color: #fff; }
.contact-strip p { color: rgba(255,255,255,.76); }
.contact-strip .eyebrow { color: #bde8cb; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; }
.breadcrumb a { font-weight: 800; }
.page-hero { margin-bottom: 34px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.site-footer { background: #16251d; color: #e9f5ee; padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr; gap: 22px; }
.site-footer p, .site-footer li { color: rgba(233,245,238,.75); }
.footer-logo { color: #fff; }
.footer-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.text-button { background: transparent; color: #bde8cb; padding: 0; font-weight: 800; text-align: left; }
@media (max-width: 980px) {
    .hero, .split { grid-template-columns: 1fr; }
    .hero-panel { order: -1; }
    .module-grid, .video-grid, .author-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sticky-card { position: static; }
}
@media (max-width: 680px) {
    .topbar { align-items: flex-start; flex-direction: column; }
    .brand-search { grid-template-columns: 1fr; }
    .hero, .page-hero { padding: 22px; border-radius: 26px; }
    .module-grid, .video-grid, .author-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .contact-strip { flex-direction: column; align-items: flex-start; }
}
