/* ================= 网警110 · 英烈褒扬与募捐 ================= */
.wm, .wmd { --mr: #9c2318; --mr-d: #6d1611; --gold: #c8a15a; }
.wm-more { margin-left: auto; font-size: 10.5px; color: #b0a49d; }

/* ---------- 主视觉 ---------- */
.wm-hero { position: relative; border-radius: 18px; overflow: hidden; color: #fff; padding: 18px 16px 15px; min-height: 196px; box-shadow: 0 14px 30px rgba(109, 22, 17, 0.26); }
.wm-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wm-hero-in { position: relative; z-index: 2; }
.wm-kicker { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 226, 180, 0.28); font-size: 10.5px; letter-spacing: 0.4px; color: #ffe9c9; }
.wm-kicker .ic { width: 12px; height: 12px; }
.wm-hero h2 { margin: 11px 0 6px; font-size: 22px; font-weight: 700; letter-spacing: 3px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.wm-hero p { margin: 0; font-size: 11.5px; line-height: 1.72; color: rgba(255, 236, 214, 0.78); max-width: 268px; }
.wm-stats { display: flex; gap: 0; margin-top: 15px; padding-top: 12px; border-top: 1px solid rgba(255, 226, 180, 0.18); }
.wm-stats > div { flex: 1; position: relative; }
.wm-stats > div + div::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 1px; background: rgba(255, 226, 180, 0.16); }
.wm-stats b { display: block; font-size: 16.5px; letter-spacing: 0.3px; font-variant-numeric: tabular-nums; color: #ffe9c9; }
.wm-stats span { display: block; margin-top: 2px; font-size: 9.5px; color: rgba(255, 236, 214, 0.6); }
.wm-stats > div + div { padding-left: 12px; }

.wm-note { display: flex; gap: 7px; align-items: flex-start; margin-top: 11px; padding: 10px 12px; border-radius: 12px; background: #fdf6f4; border: 1px solid #f6e4df; font-size: 11px; line-height: 1.66; color: #8a5b50; }
.wm-note .ic { flex: 0 0 auto; margin-top: 1px; color: #b4553f; }

/* ---------- 英烈卡片 ---------- */
.wm-list { display: flex; flex-direction: column; gap: 12px; }
.wm-card { position: relative; overflow: hidden; padding: 14px 14px 12px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(23, 34, 60, 0.07); border: 1px solid #f0eae7; }
.wm-card-glow { position: absolute; right: -46px; top: -58px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(156, 35, 24, 0.1), rgba(156, 35, 24, 0) 70%); pointer-events: none; }
.wm-card-hd { position: relative; display: flex; gap: 11px; align-items: center; }
.mseal { flex: 0 0 auto; width: 60px; height: 60px; display: block; filter: drop-shadow(0 4px 10px rgba(109, 22, 17, 0.28)); }
.mseal.lg { width: 86px; height: 86px; }
.wm-card-id { min-width: 0; flex: 1; }
.wm-nm { display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 700; letter-spacing: 2px; color: #1c2233; }
.wm-badge { flex: 0 0 auto; font-size: 9.5px; font-weight: 600; letter-spacing: 0.2px; padding: 2px 6px; border-radius: 5px; background: #fdeeeb; color: #a52d1f; border: 1px solid #f7d9d3; }
.wm-life { margin-top: 3px; font-size: 10.5px; color: #a1857c; letter-spacing: 0.3px; font-variant-numeric: tabular-nums; }
.wm-unit { margin-top: 2px; font-size: 11px; color: #7e8a9c; }
.wm-sum { position: relative; margin: 11px 0 0; font-size: 12.5px; line-height: 1.78; color: #4a5568; }
.wm-quote { position: relative; margin-top: 9px; padding: 8px 11px 8px 12px; border-left: 2.5px solid #d8a89c; background: #fdf8f6; border-radius: 0 9px 9px 0; font-size: 12.5px; line-height: 1.6; color: #7a3a2c; font-family: "Songti SC", "SimSun", serif; letter-spacing: 0.4px; }
.wm-quote .q { color: #cfa093; font-size: 15px; font-family: Georgia, serif; }
.wm-card-ft { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #f2ebe8; }
.wm-tags { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; min-width: 0; }
.wm-tag { font-size: 9.5px; padding: 2.5px 6px; border-radius: 5px; background: #f7f2ee; color: #8a6a5c; border: 1px solid #eee2da; letter-spacing: 0.2px; }
.wm-tag.light { background: rgba(255, 255, 255, 0.16); color: #ffe9c9; border-color: rgba(255, 226, 180, 0.34); }
.wm-flower { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 29px; padding: 0 10px; border-radius: 15px; border: 1px solid #f0d4cc; background: #fff8f6; color: #a52d1f; font-size: 11px; }
.wm-flower .ic { width: 13px; height: 13px; color: #c9452c; }
.wm-flower b { font-weight: 600; font-variant-numeric: tabular-nums; font-size: 10.5px; color: #b4786a; }
.wm-flower:active { transform: scale(0.96); }
.wm-card.lit { animation: wmLit 0.9s ease-out; }
@keyframes wmLit { 0% { box-shadow: 0 0 0 0 rgba(201, 69, 44, 0.34); } 100% { box-shadow: 0 0 0 14px rgba(201, 69, 44, 0); } }

/* ---------- 传承 ---------- */
.wm-legacy-list { display: flex; flex-direction: column; gap: 9px; }
.wm-legacy { position: relative; display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 12px 12px 12px 16px; border: 0; border-radius: 14px; background: #fff; text-align: left; box-shadow: 0 4px 14px rgba(23, 34, 60, 0.05); }
.wm-legacy .wl-line { position: absolute; left: 7px; top: 15px; bottom: 15px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #c9452c, #e8b9a8); }
.wm-legacy .wl-body { flex: 1; min-width: 0; }
.wl-t { display: block; font-size: 13.5px; font-weight: 600; color: #24304a; }
.wl-d { display: block; margin-top: 2px; font-size: 10.5px; color: #b08b7d; }
.wl-p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 5px; font-size: 11.5px; line-height: 1.62; color: #7b8797; }
.wl-go { align-self: center; color: #c9b3aa; }
.wl-go .ic { width: 13px; height: 13px; }

/* ---------- 基金用途 ---------- */
.wm-fund { padding: 14px; border-radius: 16px; }
.wm-fund-top { display: flex; align-items: baseline; gap: 8px; padding-bottom: 11px; border-bottom: 1px dashed #f0eae7; }
.wm-fund-top b { font-size: 21px; color: #9c2318; letter-spacing: 0.4px; font-variant-numeric: tabular-nums; }
.wm-fund-top span { font-size: 10.5px; color: #a89a94; }
.wm-fund-flow { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: 10px; color: #5f9a78; }
.wm-fund-flow .ic { width: 11px; height: 11px; }
.wm-fi { padding-top: 11px; }
.wm-fi-h { display: flex; align-items: center; font-size: 12.5px; color: #33415a; }
.wm-fi-h .p { margin-left: auto; font-size: 11px; color: #9c2318; font-weight: 600; font-variant-numeric: tabular-nums; }
.wm-bar { height: 5px; margin-top: 6px; border-radius: 4px; background: #f4efec; overflow: hidden; }
.wm-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #c9452c, #e08a6a); }
.wm-fi:nth-child(3) .wm-bar i { background: linear-gradient(90deg, #b8562f, #dda06f); }
.wm-fi:nth-child(4) .wm-bar i { background: linear-gradient(90deg, #9c2318, #c4664f); }
.wm-fi:nth-child(5) .wm-bar i { background: linear-gradient(90deg, #7d5a3c, #c8a15a); }.wm-fi-f { display: flex; gap: 8px; margin-top: 5px; font-size: 10.5px; color: #9aa5b4; }
.wm-fi-f .amt { margin-left: auto; flex: 0 0 auto; color: #7b665c; font-variant-numeric: tabular-nums; }

/* ---------- 捐赠 ---------- */
.wm-amount .amount.active { border-color: #c0392b; background: #fff6f4; color: #c0392b; }
.wm-safe { display: flex; align-items: flex-start; gap: 4px; margin: 10px 4px 0; font-size: 10.5px; line-height: 1.6; color: #a2acbd; }
.wm-safe .ic { flex: 0 0 auto; margin-top: 1px; }
.wm-pub { padding: 2px 14px; }

/* ---------- 事迹详情 ---------- */
.wmd-hero { position: relative; overflow: hidden; border-radius: 18px; padding: 22px 16px 18px; color: #fff; text-align: center; box-shadow: 0 14px 30px rgba(109, 22, 17, 0.26); }
.wmd-hero-in { position: relative; z-index: 2; }
.wmd-seal { display: flex; justify-content: center; margin-bottom: 9px; }
.wmd-hero h2 { margin: 0; font-size: 24px; letter-spacing: 6px; text-indent: 6px; font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); }
.wmd-life { margin-top: 6px; font-size: 11.5px; color: rgba(255, 236, 214, 0.82); letter-spacing: 0.6px; font-variant-numeric: tabular-nums; }
.wmd-unit { margin-top: 3px; font-size: 11px; color: rgba(255, 236, 214, 0.62); }
.wmd-honors { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.wmd-quote { position: relative; margin: 12px 0 0; padding: 16px 16px 14px; border-radius: 16px; background: linear-gradient(150deg, #fffaf7, #fdf3ef); border: 1px solid #f5e6df; text-align: center; }
.wmd-quote .qd { position: absolute; left: 12px; top: 2px; font-family: Georgia, serif; font-size: 40px; line-height: 1; color: #e5c3b7; }
.wmd-quote p { margin: 0; font-family: "Songti SC", "SimSun", serif; font-size: 16px; line-height: 1.7; color: #7a3125; letter-spacing: 1px; }
.wmd-quote .qs { display: block; margin-top: 7px; font-size: 10px; color: #b39a90; }

.wmd-facts { margin-top: 12px; padding: 4px 14px; }
.wmd-fact { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f6f1ee; font-size: 12.5px; }
.wmd-fact.last, .wmd-fact:last-child { border-bottom: 0; }
.wmd-fact .fk { flex: 0 0 92px; color: #9aa5b4; font-size: 11px; white-space: nowrap; }
.wmd-fact .fv { flex: 1; color: #33415a; font-variant-numeric: tabular-nums; }

.wmd-story { position: relative; padding-left: 2px; }
.wmd-p { position: relative; padding: 0 0 2px 30px; margin-bottom: 16px; }
.wmd-p::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: -14px; width: 1px; background: linear-gradient(180deg, #eddcd6, #f7f0ed); }
.wmd-p:last-child::before { display: none; }
.wmd-idx { position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #fdeeeb; border: 1px solid #f2d7cf; color: #a52d1f; font-size: 9.5px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.wmd-p h4 { margin: 0 0 5px; font-size: 14px; font-weight: 700; color: #1f2b42; letter-spacing: 0.3px; }
.wmd-p p { margin: 0; font-size: 12.5px; line-height: 1.85; color: #556274; text-align: justify; }

.wmd-legacy { margin-top: 4px; padding: 14px; border-radius: 15px; background: #fbf7f4; border: 1px solid #f2e8e2; }
.wmd-legacy-h { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #7a3a2c; letter-spacing: 0.3px; }
.wmd-legacy-h .ic { color: #c9452c; }
.wmd-legacy p { margin: 8px 0 0; font-size: 12px; line-height: 1.82; color: #6a7484; text-align: justify; }
.wmd-legacy-w { margin-top: 8px; font-size: 10.5px; color: #a58e83; text-align: right; }

.wmd-honor { margin-top: 12px; padding: 13px 14px; border-radius: 15px; background: #fff; box-shadow: 0 4px 14px rgba(23, 34, 60, 0.05); }
.wmd-honor-h { font-size: 12px; color: #9aa5b4; margin-bottom: 8px; }
.wmd-honor-list { display: flex; flex-wrap: wrap; gap: 6px; }

.wmd-flower { display: flex; align-items: center; gap: 10px; margin-top: 13px; padding: 12px 14px; border-radius: 15px; background: #fff; box-shadow: 0 4px 14px rgba(23, 34, 60, 0.05); }
.wmd-flower-n { font-size: 11px; color: #9aa5b4; }
.wmd-flower-n b { font-size: 15px; color: #9c2318; font-variant-numeric: tabular-nums; margin-right: 2px; }
.wmd-flower-btn { margin-left: auto; flex: 0 0 auto; height: 34px; padding: 0 15px; border-radius: 17px; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }

.wmd-msgs { display: flex; flex-direction: column; gap: 2px; padding: 2px 14px; border-radius: 15px; background: #fff; box-shadow: 0 4px 14px rgba(23, 34, 60, 0.05); }
.wmd-msg { display: flex; gap: 9px; padding: 11px 0; border-bottom: 1px solid #f7f2ef; }
.wmd-msg:last-child { border-bottom: 0; }
.wmd-msg.mine { animation: fadeIn 0.3s; }
.wm-ava { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #f7ece8; color: #a0523f; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.wm-msg-body { flex: 1; min-width: 0; }
.wm-msg-u { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #a89a94; }
.wm-msg-u em { font-style: normal; color: #c4b3ab; font-size: 9.5px; }
.wm-msg-body p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.68; color: #3c4a5f; word-break: break-word; }
.wmd-input { display: flex; gap: 9px; margin-top: 10px; }
.wmd-input input { flex: 1; height: 40px; border-radius: 20px; border: 1px solid #eee6e2; background: #fff; padding: 0 15px; font-size: 12.5px; color: #33415a; outline: none; }
.wmd-input input::placeholder { color: #b9b0ac; }
.wmd-input input:focus { border-color: #e0c0b6; }
.wmd-send { flex: 0 0 auto; height: 40px; padding: 0 18px; border: 0; border-radius: 20px; background: linear-gradient(135deg, #b03a25, #8a1f14); color: #fff; font-size: 12.5px; font-weight: 600; }

/* ---------- 献花动画 ---------- */
.wm-petal { position: fixed; z-index: 9999; width: 20px; height: 20px; margin: -10px 0 0 -10px; pointer-events: none; animation: wmPetal 1.5s ease-out forwards; }
.wm-petal svg { width: 100%; height: 100%; display: block; }
@keyframes wmPetal {
  0% { opacity: 0; transform: translateY(0) scale(0.4) rotate(0deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-92px) scale(1.05) rotate(28deg); }
}

@media (max-width: 380px) {
  .wm-hero h2 { font-size: 20px; letter-spacing: 2px; }
  .wm-stats b { font-size: 15px; }
  .wm-nm { font-size: 16px; letter-spacing: 1px; }
  .mseal { width: 54px; height: 54px; }
  .wmd-hero h2 { font-size: 21px; letter-spacing: 4px; }
  .wmd-quote p { font-size: 14.5px; }
}

/* 该模块主按钮沿用英烈红 */
.wm .btn-primary, .wmd .btn-primary {
  background: linear-gradient(135deg, #c0392b, #8a1f14);
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(138, 31, 20, 0.24);
}
.wm-fund-top b { margin-right: 1px; }
