/* ============================================================
   ml127 · 米兰红黑金体育企业模板
   全站 m4- 前缀 class + --m4-* CSS 变量，纯自研，无 Bootstrap
   ============================================================ */
:root {
    --m4-page: #faf7f4;
    --m4-surface: #ffffff;
    --m4-ink: #1a1a2e;
    --m4-body: #3d3d50;
    --m4-muted: #7a7a8e;
    --m4-line: #e8e2da;
    --m4-brand: #991b1b;
    --m4-brand-2: #b91c1c;
    --m4-dark: #1a1a2e;
    --m4-dark-2: #2d1b3d;
    --m4-gold: #d4a012;
    --m4-gold-2: #f5c842;
    --m4-green: #16a34a;
    --m4-grad: linear-gradient(135deg, #991b1b 0%, #1a1a2e 100%);
    --m4-grad-gold: linear-gradient(135deg, #d4a012 0%, #f5c842 100%);
    --m4-radius: 14px;
    --m4-shadow: 0 8px 28px rgba(26, 26, 46, 0.08);
    --m4-shadow-lg: 0 16px 42px rgba(26, 26, 46, 0.14);
    --m4-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(--m4-body); background: var(--m4-page); font-size: 16px; line-height: 1.75; }
img { max-width: 100%; height: auto; vertical-align: middle; }
.m4-pic { display: contents; }
a { color: var(--m4-brand); text-decoration: none; transition: color .2s, opacity .2s, transform .2s, background .2s, box-shadow .2s; }
a:hover { color: var(--m4-brand-2); }
h1, h2, h3, h4, h5 { color: var(--m4-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; }
.m4-wrap { max-width: var(--m4-maxw); margin: 0 auto; padding: 0 20px; }
.m4-main { display: block; }

/* ---------- 页头 ---------- */
.m4-header { position: sticky; top: 0; z-index: 999; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--m4-line); box-shadow: 0 1px 8px rgba(26, 26, 46, .06); }
.m4-header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.m4-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--m4-ink); white-space: nowrap; }
.m4-logo-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(180deg, #4da8f5 0%, #1d6fd6 100%); border: 0; color: #fff; font-size: 22px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(29, 111, 214, .35); line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.12); }
.m4-logo-icon-lg { width: 38px; height: 38px; font-size: 20px; }
.m4-logo:hover { color: var(--m4-brand); }
.m4-nav { display: flex; align-items: center; gap: 4px; }
.m4-nav-item { padding: 8px 14px; border-radius: 999px; color: var(--m4-body); font-size: 15px; font-weight: 500; }
.m4-nav-item:hover { background: rgba(153, 27, 27, .08); color: var(--m4-brand); }
.m4-nav-item.active { background: var(--m4-brand); color: #fff; }
.m4-nav-cta { margin-left: 8px; padding: 9px 20px; border-radius: 999px; background: var(--m4-grad-gold); color: var(--m4-dark); font-weight: 700; font-size: 15px; box-shadow: 0 4px 14px rgba(212, 160, 18, .25); }
.m4-nav-cta:hover { color: var(--m4-dark); transform: translateY(-1px); }
.m4-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border: 1px solid var(--m4-line); border-radius: 10px; background: transparent; cursor: pointer; padding: 0 10px; }
.m4-burger span { display: block; height: 2px; background: var(--m4-ink); border-radius: 2px; }
.m4-nav-open { display: flex !important; }

/* ---------- 公告条 ---------- */
.m4-notice { background: #fdf6ec; border-bottom: 1px solid rgba(212, 160, 18, .25); font-size: 14px; color: var(--m4-brand); }
.m4-notice .m4-wrap { padding-top: 8px; padding-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.m4-notice-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--m4-brand); display: inline-block; animation: m4pulse 2s infinite; }
@keyframes m4pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

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

/* ---------- Hero ---------- */
.m4-hero { position: relative; overflow: hidden; background: var(--m4-dark); padding: 100px 0 120px; color: #fff; }
.m4-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.m4-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26, 26, 46, .95) 0%, rgba(153, 27, 27, .6) 50%, rgba(26, 26, 46, .85) 100%); }
.m4-hero-in { position: relative; z-index: 2; max-width: 780px; }
.m4-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(212, 160, 18, .15); border: 1px solid rgba(212, 160, 18, .4); font-size: 13px; color: var(--m4-gold-2); margin-bottom: 22px; }
.m4-hero h1 { color: #fff; font-size: 46px; line-height: 1.2; margin-bottom: 16px; letter-spacing: 1px; }
.m4-hero h1 .m4-em { background: var(--m4-grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m4-hero-sub { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 20px; max-width: 600px; }
.m4-hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.m4-hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: 14px; color: rgba(255,255,255,.9); }
.m4-hero-points li i { font-style: normal; color: var(--m4-gold); }
.m4-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.m4-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; }
.m4-btn-primary { background: var(--m4-brand); color: #fff; box-shadow: 0 8px 22px rgba(153, 27, 27, .35); }
.m4-btn-primary:hover { color: #fff; transform: translateY(-2px); background: var(--m4-brand-2); }
.m4-btn-gold { background: var(--m4-grad-gold); color: var(--m4-dark); box-shadow: 0 8px 22px rgba(212, 160, 18, .3); }
.m4-btn-gold:hover { color: var(--m4-dark); transform: translateY(-2px); }
.m4-btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.m4-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.18); }
.m4-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.m4-hero-wave svg { width: 100%; height: 50px; display: block; }

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

/* ---------- 特色卡片 ---------- */
.m4-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m4-feat-center { justify-content: center; }
.m4-feat-center .m4-feat-card { max-width: 340px; }
.m4-feat-card { background: var(--m4-surface); border: 1px solid var(--m4-line); border-radius: var(--m4-radius); padding: 26px 24px; box-shadow: var(--m4-shadow); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.m4-feat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--m4-grad); opacity: 0; transition: opacity .25s; }
.m4-feat-card:hover { transform: translateY(-5px); box-shadow: var(--m4-shadow-lg); }
.m4-feat-card:hover::before { opacity: 1; }
.m4-feat-ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: rgba(153, 27, 27, .08); margin-bottom: 14px; }
.m4-feat-card h3 { font-size: 18px; }
.m4-feat-card p { font-size: 14.5px; color: var(--m4-body); margin: 0; }

/* ---------- 关于我们 ---------- */
.m4-about { background: var(--m4-dark); }
.m4-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.m4-about-media { position: relative; }
.m4-about-media img { border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.4); width: 100%; max-height: 340px; object-fit: contain; background: rgba(255,255,255,.04); border: 2px solid rgba(153, 27, 27, .4); }
.m4-about-media .m4-about-badge { position: absolute; bottom: 20px; left: 20px; background: var(--m4-brand); color: #fff; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-size: 14px; box-shadow: 0 8px 20px rgba(153, 27, 27, .4); }
.m4-about-txt h2 { color: #fff; font-size: 28px; }
.m4-about-txt .m4-eyebrow { background: rgba(212, 160, 18, .15); color: var(--m4-gold); }
.m4-about-txt p { color: rgba(255,255,255,.8); }
.m4-about-list { margin: 18px 0 0; display: grid; gap: 14px; }
.m4-about-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.85); font-size: 15px; }
.m4-about-list li i { font-style: normal; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--m4-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; margin-top: 3px; }

/* ---------- 发展历程 ---------- */
.m4-tl { position: relative; padding: 10px 0; }
.m4-tl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--m4-grad); transform: translateX(-50%); opacity: .3; }
.m4-tl-item { display: grid; grid-template-columns: 1fr 72px 1fr; align-items: center; margin-bottom: 34px; }
.m4-tl-node { grid-column: 2; justify-self: center; width: 18px; height: 18px; border-radius: 50%; background: var(--m4-brand); border: 4px solid var(--m4-page); box-shadow: 0 0 0 2px rgba(153, 27, 27, .3); }
.m4-tl-card { background: var(--m4-surface); border: 1px solid var(--m4-line); border-radius: 14px; padding: 18px 22px; box-shadow: var(--m4-shadow); }
.m4-tl-card h3 { font-size: 17px; margin-bottom: 4px; }
.m4-tl-card .m4-tl-year { color: var(--m4-brand); font-weight: 800; font-size: 15px; letter-spacing: 1px; }
.m4-tl-card p { font-size: 14px; margin: 6px 0 0; }
.m4-tl-img { border-radius: 14px; overflow: hidden; box-shadow: var(--m4-shadow); }
.m4-tl-img img { width: 100%; max-height: 260px; object-fit: contain; background: rgba(255,255,255,.04); display: block; transition: transform .4s; }
.m4-tl-img:hover img { transform: scale(1.05); }
.m4-tl-item:nth-child(odd) .m4-tl-card { grid-column: 1; grid-row: 1; text-align: right; }
.m4-tl-item:nth-child(odd) .m4-tl-img { grid-column: 3; grid-row: 1; }
.m4-tl-item:nth-child(even) .m4-tl-card { grid-column: 3; grid-row: 1; }
.m4-tl-item:nth-child(even) .m4-tl-img { grid-column: 1; grid-row: 1; }

/* ---------- 功能入口 ---------- */
.m4-dept { background: linear-gradient(160deg, #1a1a2e 0%, #2d1b3d 100%); }
.m4-dept-head { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.m4-dept-head h2 { color: #fff; font-size: 28px; margin: 0; }
.m4-dept-head p { color: rgba(255,255,255,.7); margin: 6px 0 0; }
.m4-dept-head img { width: 280px; max-height: 200px; border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.4); object-fit: contain; background: rgba(255,255,255,.04); }
.m4-dept-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.m4-dept-card { border-radius: 16px; padding: 24px 18px; color: #fff; display: flex; flex-direction: column; gap: 10px; min-height: 220px; transition: transform .25s; position: relative; overflow: hidden; }
.m4-dept-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.3) 100%); border-radius: 16px; pointer-events: none; }
.m4-dept-card:hover { transform: translateY(-6px); color: #fff; }
.m4-dept-card > * { position: relative; z-index: 1; }
.m4-dept-card .m4-dept-no { font-size: 13px; font-weight: 800; opacity: .7; letter-spacing: 2px; }
.m4-dept-card h3 { color: #fff; font-size: 18px; margin: 0; }
.m4-dept-card p { font-size: 13.5px; line-height: 1.7; opacity: .85; margin: 0; flex: 1; }
.m4-dept-card .m4-dept-ico { font-size: 28px; }
.m4-dc-1 { background: linear-gradient(160deg, #991b1b, #c62828); }
.m4-dc-2 { background: linear-gradient(160deg, #b91c1c, #e53935); }
.m4-dc-3 { background: linear-gradient(160deg, #d4a012, #f5c842); }
.m4-dc-4 { background: linear-gradient(160deg, #6d28d9, #8b5cf6); }
.m4-dc-5 { background: linear-gradient(160deg, #065f46, #10b981); }

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

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

/* ---------- 口碑 ---------- */
.m4-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.m4-review { background: var(--m4-surface); border: 1px solid var(--m4-line); border-radius: var(--m4-radius); padding: 26px 24px; box-shadow: var(--m4-shadow); position: relative; }
.m4-review::before { content: "\201C"; position: absolute; top: 8px; right: 18px; font-size: 56px; color: rgba(153, 27, 27, .1); font-family: Georgia, serif; line-height: 1; }
.m4-review p { font-size: 14.5px; color: var(--m4-body); }
.m4-review-who { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.m4-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; overflow: hidden; border: 2px solid var(--m4-brand); }
.m4-review-who b { color: var(--m4-ink); font-size: 14.5px; }
.m4-stars { color: var(--m4-gold); font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }

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

/* ---------- CTA 横幅 ---------- */
.m4-cta { position: relative; overflow: hidden; padding: 78px 0; text-align: center; background: var(--m4-dark); }
.m4-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.m4-cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26, 26, 46, .92) 0%, rgba(153, 27, 27, .6) 100%); }
.m4-cta-in { position: relative; z-index: 2; }
.m4-cta-tag { display: inline-block; padding: 6px 18px; border-radius: 999px; background: rgba(212, 160, 18, .18); border: 1px solid rgba(212, 160, 18, .5); color: var(--m4-gold); font-size: 14px; margin-bottom: 16px; }
.m4-cta h2 { color: #fff; font-size: 32px; }
.m4-cta p { color: rgba(255,255,255,.8); margin-bottom: 26px; }
.m4-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

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

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

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

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

/* 分页 */
.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(--m4-surface); border: 1px solid var(--m4-line); color: var(--m4-body); font-size: 14px; }
.page-item.active .page-link { background: var(--m4-brand); border-color: transparent; color: #fff; }
.page-item .page-link:hover { color: var(--m4-brand); border-color: var(--m4-brand); }
.page-item.active .page-link:hover { color: #fff; }

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

/* block/article-list */
.m4ui-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--m4-line); }
.m4ui-item:last-child { border-bottom: 0; }
.m4ui-item .m4ui-media img { width: 110px; height: 74px; object-fit: contain; background: #f5f0eb; border-radius: 10px; display: block; }
.m4ui-item h4 { font-size: 14.5px; margin: 0 0 4px; font-weight: 600; }
.m4ui-item h4 a { color: var(--m4-ink); }
.m4ui-item h4 a:hover { color: var(--m4-brand); }
.m4ui-item .description { font-size: 12.5px; color: var(--m4-muted); margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m4ui-item .m4ui-time { font-size: 12px; color: var(--m4-muted); margin: 0; }

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

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

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

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