/* 新 morepage 版式 152（12-05，照竞品 table-mahjong 蜘蛛版）：米黄底 + 深绿 + 朱红点缀，像一张麻将桌：衬线标题、细线框白卡、两层页头（米黄细框栏 + 深绿方框导航）、深绿整宽色带、步骤列表、规则条、左竖线记录列表；只用系统字体，不加载外部资源。 */
.mp152 { --mh4-paper: #f6f0e2; --mh4-paper2: #efe6d2; --mh4-card: #fffdf7; --mh4-green: #1f4d3a; --mh4-green2: #163a2c; --mh4-red: #b8382a; --mh4-ink: #2a2a22; --mh4-dim: #5a5747; --mh4-line: #d9ceb4; --mh4-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif; --mh4-font: "PingFang SC", "Microsoft YaHei", sans-serif; }
body.mp152:not(.mp152-old) { margin: 0; background: var(--mh4-paper); color: var(--mh4-ink); font-family: var(--mh4-font); font-size: 16px; line-height: 1.75; }
.mp152 a { color: var(--mh4-green); }
.mp152 img { max-width: 100%; height: auto; display: block; }
.mh4-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* 两层页头 */
.mh4-head { position: sticky; top: 0; z-index: 50; font-family: var(--mh4-font); }
.mh4-frame { background: var(--mh4-paper); border-bottom: 1px solid var(--mh4-line); }
.mh4-frame-in { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 8px; padding-bottom: 8px; }
.mh4-logo img { height: 34px; width: auto; }
.mh4-note { margin: 0; font-family: var(--mh4-serif); font-size: 14px; color: var(--mh4-dim); }
.mh4-mid { margin: 0 .3em; color: var(--mh4-red); }
.mh4-join { margin-left: auto; padding: 6px 16px !important; font-size: 14px; }
.mh4-toggle { display: none; border: 1px solid var(--mh4-line); border-radius: 4px; padding: 7px; background: transparent; }
.mh4-bars, .mh4-bars::before, .mh4-bars::after { display: block; width: 18px; height: 2px; background: var(--mh4-green); content: ""; position: relative; }
.mh4-bars::before { position: absolute; top: -6px; } .mh4-bars::after { position: absolute; top: 6px; }
.mh4-bars { margin: 6px 0; }
.mh4-navbar { background: var(--mh4-green); padding: 0; }
.mh4-nav { display: flex; flex-wrap: wrap; }
.mh4-nav .nav-link { padding: 10px 18px !important; color: #f3ead2 !important; font-size: 14.5px; border-right: 1px solid rgba(243, 234, 210, .18); }
.mh4-nav .nav-link:first-child { border-left: 1px solid rgba(243, 234, 210, .18); }
.mh4-nav .nav-link:hover, .mh4-nav .nav-link.active { background: var(--mh4-paper); color: var(--mh4-green) !important; }
.mh4-jump { background: var(--mh4-paper2); border-bottom: 1px solid var(--mh4-line); font-size: 13px; }
.mh4-jump .mh4-wrap { display: flex; gap: 4px 18px; overflow-x: auto; padding-top: 6px; padding-bottom: 6px; }
.mh4-jump a { white-space: nowrap; color: var(--mh4-dim); text-decoration: none; }
.mh4-jump a:hover { color: var(--mh4-red); }

/* 按钮 */
.mh4-btn { display: inline-block; padding: 10px 22px; border-radius: 4px; font-weight: 700; font-size: 15px; text-decoration: none !important; border: 1px solid transparent; }
.mh4-btn-green { background: var(--mh4-green); color: #fff !important; }
.mh4-btn-green:hover { background: var(--mh4-green2); }
.mh4-btn-red { background: var(--mh4-red); color: #fff !important; }
.mh4-btn-red:hover { background: #9c2d21; }
.mh4-btn-line { border-color: var(--mh4-green); color: var(--mh4-green) !important; background: transparent; }
.mh4-btn-line:hover { background: var(--mh4-paper2); }
.mh4-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* 首屏：左字右便当盒 */
.mh4-hero { padding: 44px 0 50px; border-bottom: 1px solid var(--mh4-line); }
.mh4-hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.mh4-eyebrow { margin: 0 0 8px !important; font-size: 13px; letter-spacing: .12em; color: var(--mh4-red) !important; font-weight: 700; }
.mh4-hero h1 { margin: 0 0 16px; font-family: var(--mh4-serif); font-size: clamp(30px, 4.2vw, 50px); line-height: 1.2; font-weight: 700; color: var(--mh4-green); }
.mh4-lead { color: var(--mh4-dim); margin: 0 0 10px; }
.mh4-bento { display: grid; gap: 14px; }
.mh4-feature { background: var(--mh4-card); border: 1px solid var(--mh4-line); padding: 8px; }
.mp152 .mh4-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.mh4-stat { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; background: var(--mh4-green); color: #f3ead2; }
.mh4-stat > div { padding: 12px 10px; text-align: center; border-right: 1px solid rgba(243, 234, 210, .2); }
.mh4-stat > div:last-child { border-right: 0; }
.mh4-stat dt { font-size: 12px; font-weight: 400; color: #e3d9bc; }
.mh4-stat dd { margin: 2px 0 0; font-family: var(--mh4-serif); font-size: 22px; font-weight: 700; color: #fff; }

/* 版块 */
.mh4-sec { padding: 56px 0; border-bottom: 1px solid var(--mh4-line); }
.mh4-tight { padding: 40px 0; }
.mh4-shead { margin-bottom: 22px; }
.mh4-shead h2, .mh4-sec h2, .mh4-band h2 { margin: 0; font-family: var(--mh4-serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.3; font-weight: 700; color: var(--mh4-green); }
.mh4-shead p { margin: 8px 0 0; color: var(--mh4-dim); }
.mh4-sec h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--mh4-ink); }
.mh4-sec p { color: var(--mh4-dim); }

/* 话题 1：步骤编号列表 + 方图 */
.mh4-warm { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }
.mh4-steps { margin: 0; padding: 0; list-style: none; counter-reset: mh4s; }
.mh4-steps li { position: relative; padding: 14px 0 14px 56px; border-top: 1px solid var(--mh4-line); color: var(--mh4-dim); counter-increment: mh4s; }
.mh4-steps li::before { content: counter(mh4s); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--mh4-green); color: var(--mh4-green); font-family: var(--mh4-serif); font-weight: 700; }
.mp152 .mh4-tile, .mp152 .mh4-square { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--mh4-line); padding: 6px; background: var(--mh4-card); }
.mh4-warm > ol:only-child, .mh4-rules > div:only-child { grid-column: 1 / -1; }

/* 话题 2：规则条 */
.mh4-rules { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.mh4-rule-list p { margin: 0 0 10px; padding: 14px 18px; background: var(--mh4-card); border: 1px solid var(--mh4-line); border-left: 4px solid var(--mh4-red); }

/* 三小标题：左竖线记录列表 */
.mh4-log { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.mh4-log li { padding: 12px 18px; border-left: 3px solid var(--mh4-green); background: var(--mh4-card); }
.mh4-log p { margin: 0; }

/* 话题 3：深绿整宽色带 */
.mh4-band { padding: 56px 0; background: var(--mh4-green); color: #f3ead2; }
.mh4-band-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.mh4-band h2 { color: #fff; }
.mh4-band h3 { margin: 10px 0 10px; font-size: 16px; color: #f0c97a; font-weight: 700; }
.mh4-band p { color: #ece3c7; margin: 0 0 12px; }
.mp152 .mh4-wide { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 6px solid rgba(243, 234, 210, .15); }
.mh4-band-copy:only-child { grid-column: 1 / -1; }

/* 话题 4~6：三张卡 */
.mh4-support { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mh4-card { background: var(--mh4-card); border: 1px solid var(--mh4-line); padding: 20px; min-width: 0; }
.mp152 .mh4-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; }
.mh4-card h2 { font-size: 20px !important; margin-bottom: 8px !important; }
.mh4-card p { font-size: 14.5px; }

/* 表格 */
.mh4-tw { background: var(--mh4-card); border: 1px solid var(--mh4-line); }
.mh4-table { width: 100%; margin: 0; --bs-table-bg: transparent; color: var(--mh4-ink); }
.mh4-table th, .mh4-table td { padding: 11px 14px !important; border-bottom: 1px solid var(--mh4-line) !important; color: var(--mh4-ink) !important; background: transparent !important; vertical-align: middle; }
.mh4-table th { background: var(--mh4-paper2) !important; font-family: var(--mh4-serif); color: var(--mh4-green) !important; white-space: nowrap; }
.mh4-table tbody tr:last-child td { border-bottom: 0 !important; }
.mh4-day, .mh4-comp, .mh4-ver { white-space: nowrap; color: var(--mh4-dim) !important; font-size: 14px; }
.mh4-pair { font-weight: 600; }
.mh4-v { margin: 0 .4em; color: var(--mh4-red); font-size: 13px; }
.mh4-res { font-family: var(--mh4-serif); font-weight: 700; font-size: 17px; color: var(--mh4-green); white-space: nowrap; }
.mh4-state { display: inline-block; padding: 1px 10px; border: 1px solid var(--mh4-red); color: var(--mh4-red); font-size: 13px; white-space: nowrap; }
.mh4-tnote { margin: 10px 0 0 !important; font-size: 14px; }

/* 资讯：三栏图卡 */
.mh4-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mh4-ni { background: var(--mh4-card); border: 1px solid var(--mh4-line); padding: 10px 10px 16px; min-width: 0; }
.mh4-ni-top { grid-column: span 2; }
.mp152 .mh4-npic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 10px; }
.mh4-ni time { display: block; font-size: 12.5px; color: var(--mh4-red); margin: 0 6px; }
.mh4-ni h3 { margin: 4px 6px 6px; font-size: 16px; line-height: 1.5; }
.mh4-ni h3 a { color: var(--mh4-ink); text-decoration: none; }
.mh4-ni h3 a:hover { color: var(--mh4-green); text-decoration: underline; }
.mh4-ni p { margin: 0 6px; font-size: 14px; }
.mh4-more { margin: 20px 0 0 !important; font-weight: 700; }

/* 问答：规则折叠 */
.mh4-folds { border-top: 1px solid var(--mh4-line); }
.mh4-fold { border-bottom: 1px solid var(--mh4-line); padding: 14px 4px; }
.mh4-fold summary { cursor: pointer; font-family: var(--mh4-serif); font-size: 17px; font-weight: 700; color: var(--mh4-green); }
.mh4-fold summary::marker { color: var(--mh4-red); }
.mh4-fold p { margin: 10px 0 0 !important; }

/* 内页（结构跟 151 一样，样式换成牌桌风） */
.mh4-main .mh4-blk { padding: 34px 20px; max-width: 1160px; margin: 0 auto; border-bottom: 1px solid var(--mh4-line); }
.mh4-blk h2 { margin: 0 0 14px; font-family: var(--mh4-serif); font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; color: var(--mh4-green); }
.mh4-blk h3 { margin: 0 0 4px; font-size: 16.5px; font-weight: 700; }
.mh4-blk p { color: var(--mh4-dim); margin: 0 0 12px; }
.mh4-phead { background: var(--mh4-paper2); }
.mh4-phead h1 { margin: 10px 0 14px; font-family: var(--mh4-serif); font-size: clamp(28px, 3.8vw, 42px); line-height: 1.2; font-weight: 700; color: var(--mh4-green); }
.mh4-trail { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--mh4-dim); }
.mh4-trail li + li::before { content: "›"; margin-right: 6px; color: var(--mh4-red); }
.mh4-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.mh4-blk .mh4-btn { padding: 10px 22px; border-radius: 4px; background: var(--mh4-green); color: #fff !important; font-weight: 700; }
.mh4-blk .mh4-ghost { background: transparent; border: 1px solid var(--mh4-green); color: var(--mh4-green) !important; }
.mh4-facts, .mh4-benefit { margin: 10px 0 0; padding-left: 24px; }
.mh4-facts li, .mh4-benefit li { margin: 10px 0; color: var(--mh4-dim); }
.mh4-facts li::marker, .mh4-benefit li::marker { color: var(--mh4-red); font-weight: 700; }
.mh4-benefit p { margin: 0 !important; }
.mh4-tag { display: inline-block; padding: 0 8px; border: 1px solid var(--mh4-red); color: var(--mh4-red); font-size: 12px; }
.mh4-tag-l { margin-bottom: 4px; }
.mh4-feed { border-top: 1px solid var(--mh4-line); }
.mh4-feed .mh4-ni { display: grid; grid-template-columns: 110px minmax(0, 1fr) 150px; gap: 18px; align-items: start; background: transparent; border: 0; border-bottom: 1px solid var(--mh4-line); padding: 14px 0; }
.mh4-feed .mh4-ni-top { grid-template-columns: 110px minmax(0, 1fr) 260px; }
.mh4-date { color: var(--mh4-red); font-size: 13.5px; }
.mh4-nbody h3 a { color: var(--mh4-ink); }
.mh4-nbody p { margin: 0 !important; font-size: 14.5px; }
.mh4-faq { border-top: 1px solid var(--mh4-line); }
.mh4-qa { border-bottom: 1px solid var(--mh4-line); padding: 12px 4px; }
.mh4-qa summary { cursor: pointer; font-family: var(--mh4-serif); font-weight: 700; color: var(--mh4-green); }
.mh4-qa p { margin: 8px 0 0 !important; }
.mh4-tables > section { max-width: 1160px; margin: 0 auto; padding: 34px 20px; }

/* 收尾 + 页脚 */
.mh4-end .mh4-cta { max-width: none; background: var(--mh4-green); border-bottom: 0; text-align: center; padding: 50px 20px; }
.mh4-cta h2 { color: #fff !important; }
.mh4-cta p { color: #ece3c7 !important; max-width: 640px; margin: 10px auto 0 !important; }
.mh4-cta .mh4-acts { justify-content: center; }
.mh4-cta .mh4-btn { background: var(--mh4-red); }
.mh4-cta .mh4-ghost { background: transparent; border-color: #f3ead2; color: #f3ead2 !important; }
.mh4-foot { background: var(--mh4-paper2); border-top: 6px solid var(--mh4-green); color: var(--mh4-dim); font-size: 14px; line-height: 1.75; font-family: var(--mh4-font); padding: 32px 20px 26px; }
.mh4-fcols { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 26px; }
.mh4-foot p { margin: 3px 0; overflow-wrap: anywhere; }
.mh4-fh { font-family: var(--mh4-serif); font-weight: 700; color: var(--mh4-green); }
.mh4-flinks a { display: inline-block; margin-right: 12px; color: var(--mh4-green) !important; }
.mp152 .mh4-flogo { width: 140px; margin-bottom: 10px; }
.mh4-fbot { max-width: 1160px; margin: 18px auto 0; padding-top: 12px; border-top: 1px solid var(--mh4-line); }
.mh4-beian a { margin-left: 6px; }

/* 列表、文章等老页面（还加载 module.css） */
.mp152-old .mh4-tables, .mp152-old .mh4-end { font-family: var(--mh4-font); font-size: 16px; line-height: 1.75; }

@media (max-width: 991.98px) {
  .mh4-toggle { display: block; }
  .mh4-nav { flex-direction: column; }
  .mh4-nav .nav-link { border: 0 !important; border-bottom: 1px solid rgba(243, 234, 210, .18) !important; }
  .mh4-hero-in, .mh4-warm, .mh4-rules, .mh4-band-in { grid-template-columns: 1fr; gap: 26px; }
  .mh4-news { grid-template-columns: repeat(2, 1fr); }
  .mh4-fcols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mh4-note { order: 4; flex-basis: 100%; font-size: 12.5px; }
  .mh4-stat { grid-template-columns: repeat(2, 1fr); }
  .mh4-stat > div:nth-child(2) { border-right: 0; }
  .mh4-news, .mh4-fcols { grid-template-columns: 1fr; }
  .mh4-ni-top { grid-column: auto; }
  .mh4-feed .mh4-ni, .mh4-feed .mh4-ni-top { grid-template-columns: 1fr; gap: 6px; }
  .mh4-sec, .mh4-band { padding: 40px 0; }
}
