/* ============================================================
   不迷茫 H5 · 样式（移动优先，自包含前缀 .blm- 避免与点微/Discuz 冲突）
   ============================================================ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0f1226;
  color: #1f2330;
  -webkit-font-smoothing: antialiased;
}
.blm-app { max-width: 480px; margin: 0 auto; min-height: 100vh; position: relative; }

/* 背景渐变层 */
.blm-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 60% at 50% 0%, #2a2f5e 0%, #161a36 45%, #0f1226 100%);
}
.blm-screen { position: relative; z-index: 1; padding: 22px 18px 40px; display: none; }
.blm-screen.active { display: block; }

/* 顶部品牌条 */
.blm-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.blm-logo { color: #fff; font-weight: 800; font-size: 18px; letter-spacing: 1px; }
.blm-logo span { color: #ffb020; }
.blm-tag-top {
  font-size: 11px; color: #cfd3ee; background: rgba(255,255,255,.08);
  padding: 4px 10px; border-radius: 999px;
}

/* 首页大标题 */
.blm-hero {
  background: linear-gradient(135deg, #ff7a45 0%, #ff4d6d 100%);
  border-radius: 22px; padding: 30px 22px; color: #fff;
  box-shadow: 0 12px 30px rgba(255,77,109,.35);
}
.blm-hero h1 { margin: 0 0 10px; font-size: 30px; line-height: 1.2; font-weight: 900; }
.blm-hero p { margin: 0; font-size: 14px; opacity: .95; line-height: 1.6; }
.blm-hero .blm-sub2 { margin-top: 14px; font-size: 13px; opacity: .9; }

.blm-start-btn {
  display: block; width: 100%; margin-top: 16px;
  background: #0f1226; color: #ffb020; border: none; border-radius: 14px;
  padding: 16px; font-size: 18px; font-weight: 800; cursor: pointer;
}
.blm-start-btn:active { transform: scale(.98); }

.blm-count {
  margin-top: 16px; text-align: center; color: #cfd3ee; font-size: 13px;
}
.blm-count b { color: #ffb020; font-size: 16px; }

.blm-pain {
  margin-top: 18px; background: rgba(255,255,255,.06); border-radius: 16px;
  padding: 16px 18px; color: #e7e9f7; font-size: 13px; line-height: 1.7;
}
.blm-pain b { color: #ff7a45; }

/* 答题页 */
.blm-progress-wrap { margin-bottom: 18px; }
.blm-progress-top { display: flex; justify-content: space-between; color: #cfd3ee; font-size: 13px; margin-bottom: 8px; }
.blm-progress-bar { height: 8px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.blm-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg,#ffb020,#ff4d6d); transition: width .25s; }

.blm-q-card {
  background: #fff; border-radius: 20px; padding: 26px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.blm-q-num { color: #9aa0c0; font-size: 13px; font-weight: 700; }
.blm-q-text { font-size: 20px; font-weight: 800; color: #1f2330; margin: 10px 0 22px; line-height: 1.5; }
.blm-opt {
  display: block; width: 100%; text-align: left; background: #f5f6fb; border: 2px solid #ecedf5;
  border-radius: 14px; padding: 16px 16px; margin-bottom: 12px; font-size: 16px; color: #2a2f45;
  cursor: pointer; transition: .15s; line-height: 1.45;
}
.blm-opt:active { transform: scale(.985); }
.blm-opt.sel-a { border-color: #ff7a45; background: #fff3ec; }
.blm-opt.sel-b { border-color: #3b7cff; background: #eef3ff; }
.blm-opt small { display:block; color:#9aa0c0; font-size:12px; margin-top:4px; }

.blm-back { margin-top: 8px; background: none; border: none; color: #cfd3ee; font-size: 13px; cursor: pointer; }

/* 结果页 */
.blm-result-card {
  background: #fff; border-radius: 22px; padding: 26px 22px 22px; text-align: center;
  box-shadow: 0 14px 36px rgba(0,0,0,.3);
}
.blm-result-emoji { font-size: 52px; line-height: 1; }
.blm-result-title { margin: 12px 0 4px; font-size: 26px; font-weight: 900; color: #1f2330; }
.blm-result-sub { font-size: 13px; color: #9aa0c0; margin-bottom: 16px; }
.blm-result-quote {
  background: #f7f8fc; border-radius: 14px; padding: 16px; font-size: 15px; color: #2a2f45;
  line-height: 1.7; text-align: left;
}
.blm-section-label { text-align: left; font-size: 13px; font-weight: 800; color: #6b7090; margin: 22px 0 10px; }

/* 雷达/分数条 */
.blm-bars { text-align: left; }
.blm-bar-row { display: flex; align-items: center; margin-bottom: 9px; }
.blm-bar-name { width: 56px; font-size: 13px; color: #2a2f45; font-weight: 700; }
.blm-bar-track { flex: 1; height: 12px; background: #eef0f7; border-radius: 999px; overflow: hidden; margin: 0 8px; }
.blm-bar-fill { height: 100%; border-radius: 999px; }

/* 职业方向 */
.blm-career {
  display: flex; align-items: center; background: #f7f8fc; border-radius: 12px;
  padding: 13px 14px; margin-bottom: 10px; text-align: left;
}
.blm-career .dot { width: 10px; height: 10px; border-radius: 50%; margin-right: 12px; flex: 0 0 auto; }
.blm-career .ct { font-size: 15px; font-weight: 700; color: #1f2330; }
.blm-career .cs { font-size: 12px; color: #9aa0c0; margin-top: 3px; }

.blm-core {
  margin-top: 4px; background: linear-gradient(135deg,#1f2440,#2a2f5e); color: #fff;
  border-radius: 14px; padding: 16px; font-size: 14px; line-height: 1.7; text-align: left;
}

/* 付费墙 */
.blm-paywall {
  margin-top: 18px; border: 2px dashed #ffb020; border-radius: 16px; padding: 18px;
  background: #fffaf0;
}
.blm-paywall h3 { margin: 0 0 6px; font-size: 17px; color: #b9700a; }
.blm-paywall p { margin: 0 0 12px; font-size: 13px; color: #8a6a3a; line-height: 1.6; }
.blm-pay-btn {
  display: block; width: 100%; background: linear-gradient(135deg,#ff7a45,#ff4d6d);
  color: #fff; border: none; border-radius: 12px; padding: 15px; font-size: 17px; font-weight: 800; cursor: pointer;
}
.blm-pay-btn:active { transform: scale(.98); }
.blm-pay-note { margin-top: 10px; font-size: 11px; color: #b0b4c8; text-align: center; }

/* 行动清单 */
.blm-action { text-align: left; }
.blm-action li { margin-bottom: 8px; font-size: 14px; color: #2a2f45; line-height: 1.6; }

.blm-fullmap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
.blm-chip { background: #eef3ff; color: #3b7cff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 700; }

/* 按钮组 */
.blm-btn-row { display: flex; gap: 10px; margin-top: 18px; }
.blm-btn {
  flex: 1; border: none; border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 800; cursor: pointer;
}
.blm-btn.primary { background: linear-gradient(135deg,#ff7a45,#ff4d6d); color: #fff; }
.blm-btn.ghost { background: #fff; color: #ff4d6d; border: 2px solid #ffd2dc; }

.blm-disclaimer { margin-top: 22px; font-size: 11px; color: #8b8fb0; text-align: center; line-height: 1.6; }

/* 弹层 */
.blm-modal-mask {
  position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.7);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.blm-modal-mask.active { display: flex; }
.blm-modal {
  background: #fff; border-radius: 18px; padding: 22px; width: 100%; max-width: 360px; text-align: center;
}
.blm-modal h3 { margin: 0 0 12px; font-size: 18px; color: #1f2330; }
.blm-modal img { width: 100%; border-radius: 12px; }
.blm-modal .blm-save-tip { font-size: 12px; color: #8a6a3a; margin: 10px 0; }
.blm-modal .blm-close { margin-top: 8px; background: #f5f6fb; border: none; border-radius: 10px; padding: 12px; width: 100%; font-size: 14px; color: #6b7090; cursor: pointer; }

/* ===== 点微首页入口卡片（仿需求圈，作用域 .blm-entry，避免样式冲突） ===== */
.blm-entry { margin: 8px 10px 0; }
.blm-entry__link {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg,#ff7a45 0%,#ff4d6d 100%);
  border-radius: 14px; padding: 14px 16px; text-decoration: none; color: #fff;
  box-shadow: 0 6px 16px rgba(255,77,109,.3);
}
.blm-entry__tag {
  display: inline-block; font-size: 11px; background: rgba(255,255,255,.22);
  padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
.blm-entry__title { font-size: 20px; font-weight: 900; line-height: 1.1; }
.blm-entry__sub { font-size: 12px; opacity: .92; margin-top: 4px; }
.blm-entry__btn {
  flex: 0 0 auto; background: #0f1226; color: #ffb020; font-weight: 800;
  border-radius: 999px; padding: 9px 14px; font-size: 14px; margin-left: 12px;
}
