/* ============================================================
   yg001 · 高端体育企业模板（绿茵数据风落地页）
   全站 yg- 前缀 class + --yg-* CSS 变量，纯自研，无 Bootstrap
   ============================================================ */
:root {
    --yg-page: #f2f6fb;
    --yg-surface: #ffffff;
    --yg-ink: #0c1f38;
    --yg-body: #4c5b73;
    --yg-muted: #8494ab;
    --yg-line: #e2eaf3;
    --yg-brand: #125bd6;
    --yg-brand-2: #0a3f9e;
    --yg-night: #081a33;
    --yg-night-2: #0d2647;
    --yg-cyan: #19c2d8;
    --yg-gold: #f6a821;
    --yg-green: #22b573;
    --yg-grad: linear-gradient(135deg, #125bd6 0%, #19c2d8 100%);
    --yg-radius: 16px;
    --yg-shadow: 0 10px 30px rgba(14, 42, 84, 0.08);
    --yg-shadow-lg: 0 18px 46px rgba(14, 42, 84, 0.14);
    --yg-maxw: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    color: var(--yg-body);
    background: var(--yg-page);
    font-size: 16px;
    line-height: 1.75;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
.yg-pic { display: contents; }
a { color: var(--yg-brand); text-decoration: none; transition: color .2s, opacity .2s, transform .2s, background .2s, box-shadow .2s; }
a:hover { color: var(--yg-brand-2); }
h1, h2, h3, h4, h5 { color: var(--yg-ink); line-height: 1.3; margin: 0 0 .6rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.yg-wrap { max-width: var(--yg-maxw); margin: 0 auto; padding: 0 20px; }
.yg-main { display: block; }

/* ---------- 页头 ---------- */
.yg-header {
    position: sticky; top: 0; z-index: 999;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--yg-line);
}
.yg-header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.yg-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--yg-ink); white-space: nowrap; }
.yg-logo img { border-radius: 10px; }
.yg-logo:hover { color: var(--yg-brand); }
.yg-nav { display: flex; align-items: center; gap: 4px; }
.yg-nav-item { padding: 8px 14px; border-radius: 999px; color: var(--yg-ink); font-size: 15px; font-weight: 500; }
.yg-nav-item:hover { background: #eef4fd; color: var(--yg-brand); }
.yg-nav-item.active { background: var(--yg-grad); color: #fff; }
.yg-nav-cta { margin-left: 8px; padding: 9px 20px; border-radius: 999px; background: var(--yg-grad); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 6px 16px rgba(18, 91, 214, .28); }
.yg-nav-cta:hover { color: #fff; transform: translateY(-1px); }
.yg-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--yg-line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0 10px; }
.yg-burger span { display: block; height: 2px; background: var(--yg-ink); border-radius: 2px; }
.yg-nav-open { display: flex !important; }

/* ---------- 公告条 ---------- */
.yg-notice { background: linear-gradient(90deg, #eaf2ff, #f2fbff); border-bottom: 1px solid var(--yg-line); font-size: 14px; color: var(--yg-brand-2); }
.yg-notice .yg-wrap { padding-top: 8px; padding-bottom: 8px; }

/* ---------- 通用板块 ---------- */
.yg-sec { padding: 72px 0; }
.yg-sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.yg-eyebrow { display: inline-block; padding: 4px 14px; border-radius: 999px; background: #eaf2ff; color: var(--yg-brand); font-size: 13px; font-weight: 600; letter-spacing: 2px; margin-bottom: 12px; }
.yg-sec-title { font-size: 30px; margin-bottom: 10px; }
.yg-sec-sub { color: var(--yg-muted); font-size: 15px; margin: 0; }
.yg-sec-head.light .yg-eyebrow { background: rgba(255, 255, 255, .14); color: #a8e6ff; }
.yg-sec-head.light .yg-sec-title { color: #fff; }
.yg-sec-head.light .yg-sec-sub { color: rgba(255, 255, 255, .75); }

/* ---------- Hero ---------- */
.yg-hero {
    position: relative; overflow: hidden;
    background: var(--yg-night);
    padding: 96px 0 110px;
    color: #fff;
}
.yg-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.yg-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8, 26, 51, .92) 0%, rgba(10, 40, 84, .72) 55%, rgba(11, 63, 158, .45) 100%); }
.yg-hero-in { position: relative; z-index: 2; max-width: 760px; }
.yg-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; color: #cfe9ff; margin-bottom: 20px; }
.yg-hero h1 { color: #fff; font-size: 44px; line-height: 1.25; margin-bottom: 14px; letter-spacing: 1px; }
.yg-hero h1 .yg-em { background: var(--yg-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yg-hero-sub { font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 18px; }
.yg-hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.yg-hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: #e7f3ff; }
.yg-hero-points li i { font-style: normal; color: var(--yg-gold); }
.yg-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.yg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 30px; border-radius: 999px; font-size: 16px; font-weight: 600; border: 0; cursor: pointer; }
.yg-btn-primary { background: var(--yg-grad); color: #fff; box-shadow: 0 10px 26px rgba(25, 160, 216, .35); }
.yg-btn-primary:hover { color: #fff; transform: translateY(-2px); }
.yg-btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.yg-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .2); }
.yg-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.yg-hero-wave svg { width: 100%; height: 46px; display: block; }

/* ---------- 数据带 ---------- */
.yg-stats { margin-top: -58px; position: relative; z-index: 5; }
.yg-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.yg-stat { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); box-shadow: var(--yg-shadow); padding: 22px 16px; text-align: center; }
.yg-stat b { display: block; font-size: 30px; color: var(--yg-brand); line-height: 1.2; }
.yg-stat span { font-size: 14px; color: var(--yg-muted); }

/* ---------- 平台特色 ---------- */
.yg-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yg-feat-card { background: var(--yg-surface); border: 1px solid var(--yg-line); border-top: 3px solid transparent; border-radius: var(--yg-radius); padding: 26px 24px; box-shadow: var(--yg-shadow); transition: transform .25s, box-shadow .25s; }
.yg-feat-card:hover { transform: translateY(-5px); box-shadow: var(--yg-shadow-lg); border-top-color: var(--yg-brand); }
.yg-feat-ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: #eaf2ff; margin-bottom: 14px; }
.yg-feat-card h3 { font-size: 18px; }
.yg-feat-card p { font-size: 14.5px; color: var(--yg-body); margin: 0; }
.yg-feat-note { text-align: center; margin: 26px 0 0; font-size: 14px; color: var(--yg-muted); }

/* ---------- 了解平台 ---------- */
.yg-about { background: linear-gradient(180deg, #0a2140 0%, #103059 100%); }
.yg-about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.yg-about-media { position: relative; }
.yg-about-media .yg-ring { position: absolute; width: 78%; height: 78%; left: 11%; top: 11%; border-radius: 50%; border: 2px dashed rgba(25, 194, 216, .5); z-index: 1; }
.yg-about-media img { position: relative; z-index: 2; border-radius: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); width: 100%; aspect-ratio: 1000/720; object-fit: cover; }
.yg-about-cards { position: absolute; z-index: 3; right: -18px; bottom: 26px; display: grid; gap: 12px; }
.yg-glass { background: rgba(10, 30, 60, .62); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 14px 18px; color: #fff; min-width: 240px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.yg-glass b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.yg-glass span { font-size: 13px; color: rgba(255, 255, 255, .72); }
.yg-about-txt h2 { color: #fff; font-size: 30px; }
.yg-about-txt .yg-eyebrow { background: rgba(255, 255, 255, .12); color: #8fd8ff; }
.yg-about-txt p { color: rgba(255, 255, 255, .82); }
.yg-about-list { margin: 18px 0 0; display: grid; gap: 14px; }
.yg-about-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .85); font-size: 15px; }
.yg-about-list li i { font-style: normal; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--yg-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; margin-top: 3px; }

/* ---------- 发展历程 ---------- */
.yg-tl { position: relative; padding: 10px 0; }
.yg-tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--yg-brand), var(--yg-cyan)); transform: translateX(-50%); opacity: .35; }
.yg-tl-item { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; margin-bottom: 34px; }
.yg-tl-node { grid-column: 2; justify-self: center; width: 18px; height: 18px; border-radius: 50%; background: var(--yg-brand); border: 4px solid #fff; box-shadow: 0 0 0 2px rgba(18, 91, 214, .35); }
.yg-tl-card { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: 14px; padding: 18px 22px; box-shadow: var(--yg-shadow); }
.yg-tl-card h3 { font-size: 17px; margin-bottom: 4px; }
.yg-tl-card .yg-tl-year { color: var(--yg-brand); font-weight: 800; font-size: 15px; letter-spacing: 1px; }
.yg-tl-card p { font-size: 14px; margin: 6px 0 0; }
.yg-tl-img { border-radius: 14px; overflow: hidden; box-shadow: var(--yg-shadow); }
.yg-tl-img img { width: 100%; aspect-ratio: 520/360; object-fit: cover; display: block; transition: transform .4s; }
.yg-tl-img:hover img { transform: scale(1.05); }
.yg-tl-item:nth-child(odd) .yg-tl-card { grid-column: 1; grid-row: 1; text-align: right; }
.yg-tl-item:nth-child(odd) .yg-tl-img { grid-column: 3; grid-row: 1; }
.yg-tl-item:nth-child(even) .yg-tl-card { grid-column: 3; grid-row: 1; }
.yg-tl-item:nth-child(even) .yg-tl-img { grid-column: 1; grid-row: 1; }

/* ---------- 五大入口 ---------- */
.yg-dept { background: linear-gradient(160deg, #0a2140 0%, #071224 100%); }
.yg-dept-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.yg-dept-head h2 { color: #fff; font-size: 28px; margin: 0; }
.yg-dept-head p { color: rgba(255, 255, 255, .7); margin: 6px 0 0; }
.yg-dept-head img { width: 300px; border-radius: 18px; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); aspect-ratio: 600/400; object-fit: cover; }
.yg-dept-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.yg-dept-card { border-radius: 18px; padding: 26px 20px; color: #fff; display: flex; flex-direction: column; gap: 10px; min-height: 230px; transition: transform .25s; }
.yg-dept-card:hover { transform: translateY(-6px); color: #fff; }
.yg-dept-card .yg-dept-no { font-size: 13px; font-weight: 800; opacity: .75; letter-spacing: 2px; }
.yg-dept-card h3 { color: #fff; font-size: 19px; margin: 0; }
.yg-dept-card p { font-size: 13.5px; line-height: 1.7; opacity: .88; margin: 0; flex: 1; }
.yg-dept-card .yg-dept-ico { font-size: 30px; }
.yg-dc-1 { background: linear-gradient(160deg, #125bd6, #1e88ff); }
.yg-dc-2 { background: linear-gradient(160deg, #e8590c, #ff922b); }
.yg-dc-3 { background: linear-gradient(160deg, #087f5b, #22b573); }
.yg-dc-4 { background: linear-gradient(160deg, #6741d9, #9775fa); }
.yg-dc-5 { background: linear-gradient(160deg, #c2410c, #f6a821); }

/* ---------- 合作伙伴 ---------- */
.yg-partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.yg-partner { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: 14px; padding: 20px 22px; box-shadow: var(--yg-shadow); }
.yg-partner .yg-p-ico { font-size: 26px; margin-bottom: 6px; }
.yg-partner b { display: block; color: var(--yg-ink); font-size: 16px; }
.yg-partner span { font-size: 13.5px; color: var(--yg-muted); }

/* ---------- 赛程预告 ---------- */
.yg-matches { background: #eef4fb; }
.yg-match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.yg-match { background: var(--yg-surface); border-radius: 16px; box-shadow: var(--yg-shadow); padding: 18px 20px; border: 1px solid var(--yg-line); }
.yg-match-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--yg-muted); border-bottom: 1px dashed var(--yg-line); padding-bottom: 10px; margin-bottom: 12px; }
.yg-match-top .yg-league { color: var(--yg-brand); font-weight: 700; }
.yg-match-top .yg-status { padding: 2px 10px; border-radius: 999px; background: #f1f6fd; border: 1px solid var(--yg-line); }
.yg-match-body { display: flex; align-items: center; gap: 12px; }
.yg-match-team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.yg-match-badge { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 15px; }
.yg-match-team span { font-size: 13.5px; color: var(--yg-ink); font-weight: 600; }
.yg-match-vs { font-weight: 800; color: var(--yg-muted); font-size: 17px; }
.yg-match-foot { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--yg-muted); }

/* ---------- FAQ ---------- */
.yg-faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.yg-faq-q { width: 100%; text-align: left; background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: 14px; padding: 18px 52px 18px 22px; font-size: 16px; font-weight: 600; color: var(--yg-ink); cursor: pointer; position: relative; }
.yg-faq-q::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--yg-brand); transition: transform .25s; }
.yg-faq-open .yg-faq-q { border-color: var(--yg-brand); color: var(--yg-brand); }
.yg-faq-open .yg-faq-q::after { transform: translateY(-50%) rotate(45deg); }
.yg-faq-a { display: none; background: var(--yg-surface); border: 1px solid var(--yg-line); border-top: 0; border-radius: 0 0 14px 14px; padding: 4px 22px 16px; font-size: 14.5px; margin-top: -15px; }
.yg-faq-open .yg-faq-a { display: block; }

/* ---------- 愿景 / 口碑 ---------- */
.yg-mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yg-mission { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); padding: 28px 24px; text-align: center; box-shadow: var(--yg-shadow); }
.yg-mission .yg-m-ico { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; background: var(--yg-grad); color: #fff; box-shadow: 0 10px 22px rgba(18, 91, 214, .3); }
.yg-mission h3 { font-size: 18px; }
.yg-mission p { font-size: 14px; margin: 0; }
.yg-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yg-review { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); padding: 26px 24px; box-shadow: var(--yg-shadow); position: relative; }
.yg-review::before { content: "“"; position: absolute; top: 8px; right: 18px; font-size: 56px; color: #dce8f8; font-family: Georgia, serif; line-height: 1; }
.yg-review p { font-size: 14.5px; color: var(--yg-body); }
.yg-review-who { display: flex; align-items: center; gap: 10px; }
.yg-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 15px; background: var(--yg-grad); object-fit: cover; flex: 0 0 auto; overflow: hidden; }
.yg-review-who b { color: var(--yg-ink); font-size: 14.5px; }
.yg-stars { color: var(--yg-gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }

/* ---------- CTA 横幅 ---------- */
.yg-cta { position: relative; overflow: hidden; padding: 78px 0; text-align: center; background: var(--yg-night); }
.yg-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.yg-cta-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(8, 26, 51, .9), rgba(18, 91, 214, .55)); }
.yg-cta-in { position: relative; z-index: 2; }
.yg-cta-tag { display: inline-block; padding: 6px 18px; border-radius: 999px; background: rgba(246, 168, 33, .18); border: 1px solid rgba(246, 168, 33, .5); color: var(--yg-gold); font-size: 14px; margin-bottom: 16px; }
.yg-cta h2 { color: #fff; font-size: 32px; }
.yg-cta p { color: rgba(255, 255, 255, .8); margin-bottom: 26px; }
.yg-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- 资讯（取数） ---------- */
.yg-news { background: var(--yg-page); }
.yg-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yg-newscard { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); overflow: hidden; box-shadow: var(--yg-shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.yg-newscard:hover { transform: translateY(-5px); box-shadow: var(--yg-shadow-lg); }
.yg-newscard-media { display: block; }
.yg-newscard-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.yg-newscard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.yg-newscard-body h3 { font-size: 16.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yg-newscard-body h3 a { color: var(--yg-ink); }
.yg-newscard-body h3 a:hover { color: var(--yg-brand); }
.yg-newscard-excerpt { font-size: 13.5px; color: var(--yg-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.yg-newscard-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--yg-muted); border-top: 1px dashed var(--yg-line); padding-top: 10px; }
.yg-news-foot { text-align: center; margin-top: 30px; }
.yg-news-empty { grid-column: 1 / -1; text-align: center; background: var(--yg-surface); border: 1px dashed var(--yg-line); border-radius: var(--yg-radius); padding: 40px 20px; color: var(--yg-muted); }
.yg-news-empty img { width: 220px; border-radius: 12px; margin-bottom: 16px; }

/* ---------- 页脚 ---------- */
.yg-footer { background: var(--yg-night); color: rgba(255, 255, 255, .68); font-size: 14px; margin-top: 0; }
.yg-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; padding: 56px 0 40px; }
.yg-footer .yg-logo { color: #fff; }
.yg-footer .yg-logo:hover { color: #fff; }
.yg-fcol p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.8; }
.yg-fcol h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.yg-fcol ul { display: grid; gap: 9px; }
.yg-fcol ul a { color: rgba(255, 255, 255, .68); font-size: 13.5px; }
.yg-fcol ul a:hover { color: var(--yg-cyan); }
.yg-fqr { width: 108px; border-radius: 10px; background: #fff; padding: 6px; margin-top: 12px; }
.yg-fcol .yg-fqr-tip { font-size: 12px; color: rgba(255, 255, 255, .5); }
.yg-friend { border-top: 1px solid rgba(255, 255, 255, .08); padding: 14px 0; font-size: 13px; }
.yg-friend .yg-wrap { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.yg-friend a { color: rgba(255, 255, 255, .55); }
.yg-friend a:hover { color: var(--yg-cyan); }
.yg-fbottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: 13px; color: rgba(255, 255, 255, .5); }
.yg-fbottom a { color: rgba(255, 255, 255, .7); }
.yg-fbottom a:hover { color: var(--yg-cyan); }

/* ---------- 子页公共 ---------- */
.yg-pagehead { background: linear-gradient(120deg, #0a2140, #103059); color: #fff; padding: 44px 0; }
.yg-pagehead h1 { color: #fff; font-size: 30px; margin: 0 0 8px; }
.yg-pagehead p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.yg-crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.yg-crumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, .35); }
.yg-crumb a { color: rgba(255, 255, 255, .78); }
.yg-crumb a:hover { color: #fff; }
.yg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; padding: 40px 0 64px; align-items: start; }
.yg-panel { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); box-shadow: var(--yg-shadow); padding: 26px 28px; }
.yg-widget { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); box-shadow: var(--yg-shadow); padding: 22px 24px; margin-bottom: 22px; }
.yg-widget h3 { font-size: 17px; border-left: 4px solid var(--yg-brand); padding-left: 10px; margin-bottom: 16px; }
.yg-widget-list { display: grid; gap: 12px; }
.yg-widget-list li { display: flex; gap: 10px; align-items: flex-start; }
.yg-widget-list .yg-rank { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; background: #eef4fd; color: var(--yg-brand); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-top: 4px; }
.yg-widget-list li:nth-child(-n+3) .yg-rank { background: var(--yg-grad); color: #fff; }
.yg-widget-list a { color: var(--yg-ink); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yg-widget-list a:hover { color: var(--yg-brand); }
.yg-widget-list time { display: block; font-size: 12px; color: var(--yg-muted); }
.yg-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.yg-tagcloud a { padding: 5px 14px; border-radius: 999px; background: #f1f6fd; border: 1px solid var(--yg-line); font-size: 13px; color: var(--yg-body); }
.yg-tagcloud a:hover { background: var(--yg-grad); border-color: transparent; color: #fff; }
.yg-empty { text-align: center; color: var(--yg-muted); font-size: 14px; padding: 30px 0; }

/* 栏目文章列表 */
.yg-list { display: grid; gap: 16px; }
.yg-list-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); overflow: hidden; box-shadow: var(--yg-shadow); transition: transform .2s, box-shadow .2s; }
.yg-list-row:hover { transform: translateY(-3px); box-shadow: var(--yg-shadow-lg); }
.yg-list-row .yg-row-media { display: block; }
.yg-list-row .yg-row-media img { width: 100%; height: 100%; min-height: 158px; object-fit: cover; display: block; }
.yg-list-row .yg-row-body { padding: 16px 22px 16px 0; display: flex; flex-direction: column; gap: 8px; }
.yg-list-row h2, .yg-list-row h3 { font-size: 17.5px; margin: 0; }
.yg-list-row h2 a, .yg-list-row h3 a { color: var(--yg-ink); }
.yg-list-row h2 a:hover, .yg-list-row h3 a:hover { color: var(--yg-brand); }
.yg-list-row .yg-row-excerpt { font-size: 13.5px; color: var(--yg-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.yg-list-row .yg-row-meta { display: flex; gap: 18px; font-size: 12.5px; color: var(--yg-muted); }
.yg-cate-tip { font-size: 13.5px; color: var(--yg-muted); margin-bottom: 18px; }
.yg-cate-tip b { color: var(--yg-brand); }

/* 图集形态 */
.yg-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.yg-galcard { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: 14px; overflow: hidden; box-shadow: var(--yg-shadow); }
.yg-galcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.yg-galcard .yg-gal-body { padding: 14px 16px; }
.yg-galcard h3 { font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yg-galcard h3 a { color: var(--yg-ink); }
.yg-galcard h3 a:hover { color: var(--yg-brand); }
.yg-galcard time { font-size: 12px; color: var(--yg-muted); }

/* 分页（核心输出的 .pagination/.page-item/.page-link 需适配） */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 28px 0 0; list-style: none; padding: 0; }
.page-item .page-link { display: inline-block; min-width: 38px; text-align: center; padding: 8px 12px; border-radius: 10px; background: var(--yg-surface); border: 1px solid var(--yg-line); color: var(--yg-body); font-size: 14px; }
.page-item.active .page-link { background: var(--yg-grad); border-color: transparent; color: #fff; }
.page-item .page-link:hover { color: var(--yg-brand); border-color: var(--yg-brand); }
.page-item.active .page-link:hover { color: #fff; }

/* 详情页 */
.yg-detail-head h1 { font-size: 30px; line-height: 1.4; }
.yg-detail-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--yg-muted); border-bottom: 1px dashed var(--yg-line); padding-bottom: 16px; margin-bottom: 22px; }
.yg-detail-meta a { color: var(--yg-muted); }
.yg-detail-meta a:hover { color: var(--yg-brand); }
.yg-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.yg-detail-tags a { padding: 3px 12px; border-radius: 999px; background: #f1f6fd; border: 1px solid var(--yg-line); font-size: 12.5px; color: var(--yg-body); }
.yg-detail-tags a:hover { color: var(--yg-brand); border-color: var(--yg-brand); }
.yg-detail-body { font-size: 16.5px; color: #2c3a50; line-height: 2; }
.yg-detail-body img { max-width: 100%; height: auto; border-radius: 12px; margin: 14px 0; }
.yg-detail-body p { margin: 0 0 1.2em; }
.yg-detail-body h2, .yg-detail-body h3 { margin: 1.6em 0 .8em; }
.yg-detail-relate { margin-top: 30px; }
.yg-detail-relate h3 { font-size: 18px; margin-bottom: 14px; }
.yg-updown { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.yg-updown > div { background: #f6fafd; border: 1px solid var(--yg-line); border-radius: 12px; padding: 14px 18px; }
.yg-updown p { font-size: 12.5px; color: var(--yg-muted); margin: 0 0 4px; }
.yg-updown a { color: var(--yg-ink); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.yg-updown a:hover { color: var(--yg-brand); }
.yg-updown .yg-down-page { text-align: right; }

/* block/article-list 复用（用于侧栏/相关） */
.ygui-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--yg-line); }
.ygui-item:last-child { border-bottom: 0; }
.ygui-item .ygui-media img { width: 110px; height: 74px; object-fit: cover; border-radius: 10px; display: block; }
.ygui-item h4 { font-size: 14.5px; margin: 0 0 4px; font-weight: 600; }
.ygui-item h4 a { color: var(--yg-ink); }
.ygui-item h4 a:hover { color: var(--yg-brand); }
.ygui-item .description { font-size: 12.5px; color: var(--yg-muted); margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ygui-item .ygui-time { font-size: 12px; color: var(--yg-muted); margin: 0; }

/* 搜索 */
.yg-searchform { display: flex; gap: 10px; margin-bottom: 22px; }
.yg-searchform input[type="text"] { flex: 1; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--yg-line); background: #fff; font-size: 15px; outline: none; }
.yg-searchform input[type="text"]:focus { border-color: var(--yg-brand); box-shadow: 0 0 0 3px rgba(18, 91, 214, .12); }
.yg-searchform .yg-btn { padding: 11px 26px; }

/* 返回顶部 */
.yg-top { position: fixed; right: 22px; bottom: 26px; z-index: 900; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--yg-line); background: rgba(255, 255, 255, .92); color: var(--yg-brand); font-size: 18px; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--yg-shadow); }
.yg-top-show { display: flex; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .yg-dept-grid { grid-template-columns: repeat(3, 1fr); }
    .yg-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .yg-hero h1 { font-size: 36px; }
    .yg-layout { grid-template-columns: 1fr; }
    .yg-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .yg-burger { display: flex; }
    .yg-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--yg-line); box-shadow: var(--yg-shadow-lg); padding: 14px 20px; gap: 6px; }
    .yg-nav-cta { margin: 6px 0 0; text-align: center; }
    .yg-about-grid { grid-template-columns: 1fr; }
    .yg-about-cards { position: static; right: auto; bottom: auto; margin-top: 16px; }
    .yg-glass { min-width: 0; }
    .yg-dept-head { flex-direction: column; text-align: center; }
    .yg-dept-head img { width: 220px; }
    .yg-tl::before { left: 18px; }
    .yg-tl-item { grid-template-columns: 36px minmax(0, 1fr); }
    .yg-tl-node { grid-column: 1; }
    .yg-tl-item:nth-child(odd) .yg-tl-card, .yg-tl-item:nth-child(even) .yg-tl-card,
    .yg-tl-item:nth-child(odd) .yg-tl-img, .yg-tl-item:nth-child(even) .yg-tl-img { grid-column: 2; grid-row: auto; text-align: left; }
    .yg-feat-grid, .yg-news-grid, .yg-partner-grid, .yg-match-grid, .yg-mission-grid, .yg-review-grid, .yg-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    .yg-sec { padding: 52px 0; }
    .yg-hero { padding: 64px 0 92px; }
    .yg-hero h1 { font-size: 28px; }
    .yg-sec-title { font-size: 24px; }
    .yg-feat-grid, .yg-news-grid, .yg-partner-grid, .yg-match-grid, .yg-mission-grid, .yg-review-grid, .yg-gallery, .yg-dept-grid { grid-template-columns: 1fr; }
    .yg-list-row { grid-template-columns: 1fr; }
    .yg-list-row .yg-row-media img { min-height: 0; aspect-ratio: 16/9; }
    .yg-list-row .yg-row-body { padding: 0 20px 18px; }
    .yg-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .yg-updown { grid-template-columns: 1fr; }
    .yg-app-grid { grid-template-columns: 1fr !important; text-align: center; }
    .yg-app-qr { justify-content: center; }
}

/* ---------- DIY 子页 ---------- */
.yg-diy-hero { background: linear-gradient(120deg, #0a2140, #103059); color: #fff; padding: 48px 0; }
.yg-diy-hero h1 { color: #fff; font-size: 30px; margin-bottom: 6px; }
.yg-diy-hero p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }
.yg-prose { max-width: 860px; }
.yg-prose h2 { font-size: 20px; margin: 30px 0 12px; }
.yg-prose p { font-size: 15.5px; color: var(--yg-body); margin-bottom: 14px; }
.yg-prose ul yg-li, .yg-prose .yg-prose-list li { list-style: disc; margin-left: 22px; margin-bottom: 8px; color: var(--yg-body); font-size: 15px; }
.yg-app-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; }
.yg-app-grid h2 { font-size: 26px; }
.yg-app-phone img { border-radius: 18px; box-shadow: var(--yg-shadow-lg); width: 100%; max-width: 360px; aspect-ratio: 760/600; object-fit: cover; }
.yg-app-qr { display: flex; gap: 18px; align-items: center; margin-top: 20px; }
.yg-app-qr img { width: 120px; height: 120px; border-radius: 12px; background: #fff; padding: 6px; border: 1px solid var(--yg-line); }
.yg-app-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.yg-app-feats div { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: 14px; padding: 18px; text-align: center; font-size: 14px; color: var(--yg-body); box-shadow: var(--yg-shadow); }
.yg-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.yg-contact-card { background: var(--yg-surface); border: 1px solid var(--yg-line); border-radius: var(--yg-radius); padding: 26px 24px; text-align: center; box-shadow: var(--yg-shadow); }
.yg-contact-card .yg-c-ico { font-size: 30px; margin-bottom: 10px; }
.yg-contact-card h3 { font-size: 17px; } 
.yg-contact-card p { font-size: 14px; margin: 0; color: var(--yg-muted); }
