/* ============ 课程网站样式（黑金主题） ============ */
:root {
  --brand: #d4af37;            /* 金色主色 */
  --brand-2: #f0d878;          /* 亮金 */
  --brand-soft: rgba(212, 175, 55, .14);
  --bg: #0d0d10;               /* 近黑底 */
  --bg-soft: #141419;
  --card: #1a1a20;
  --card-2: #22222a;
  --text: #f2efe6;             /* 暖白文字 */
  --muted: #9b947f;
  --line: #2b2b33;
  --ok: #4caf7d;
  --warn: #d99a2b;
  --danger: #e05252;
  --input-bg: #22222a;
  --input-text: #f2efe6;
  --r: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .35);
  --gold-grad: linear-gradient(135deg, #c9a227 0%, #f0d878 100%);
}

/* 管理后台：独立浅色变量，保证可读性（品牌色同样换金） */
body.admin-page {
  --brand: #c9a227;
  --brand-2: #e0b94f;
  --brand-soft: #f7efd8;
  --bg: #f8f5f1;
  --bg-soft: #f3efe8;
  --card: #ffffff;
  --card-2: #ffffff;
  --text: #232830;
  --muted: #8a8f98;
  --line: #eee7e0;
  --input-bg: #ffffff;
  --input-text: #232830;
  --shadow: 0 4px 16px rgba(35, 40, 48, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 通用组件 ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 700;
  background: var(--gold-grad); color: #16130a; transition: opacity .15s, transform .1s, box-shadow .15s;
  box-shadow: 0 2px 12px rgba(212, 175, 55, .18);
}
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.98); }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); box-shadow: none; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-danger { background: var(--danger); color: #fff; box-shadow: none; }
.btn-ok { background: var(--ok); color: #fff; box-shadow: none; }
.btn-muted { background: #eceff3; color: #232830; box-shadow: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; background: var(--input-bg); color: var(--input-text); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.textarea { min-height: 90px; resize: vertical; }
.label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
.badge-ok { background: rgba(76, 175, 125, .16); color: #7ed6a8; }
body.admin-page .badge-ok { background: #e5f6ec; color: #2e9e5b; }
.badge-warn { background: rgba(217, 154, 43, .18); color: #e7b25c; }
body.admin-page .badge-warn { background: #fdf1e0; color: #d97706; }
.badge-danger { background: rgba(224, 82, 82, .18); color: #f08c8c; }
body.admin-page .badge-danger { background: #fdeaea; color: #dc2626; }
.badge-muted { background: rgba(255, 255, 255, .08); color: var(--muted); }
body.admin-page .badge-muted { background: #eef0f3; color: #8a8f98; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hidden { display: none !important; }
.center { text-align: center; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }

/* ---------- 顶栏 ---------- */
.site-header {
  background: rgba(13, 13, 16, .92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.site-name { font-size: 18px; font-weight: 800; color: var(--brand); }
.site-name small { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 8px; }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- 页头横幅（整幅图片广告 + 小字品牌） ---------- */
.hero-banner {
  position: relative; width: 100%; min-height: 150px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(560px 240px at 50% -30px, rgba(212, 175, 55, .14), transparent 70%),
    linear-gradient(170deg, #17171d 0%, #0d0d10 100%);
}
.hero-banner::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(transparent, rgba(0, 0, 0, .5)); pointer-events: none;
}
.hero-banner-bg { position: static; }
.hero-banner-bg a { display: block; height: auto; }
.hero-banner-bg img { position: relative; display: block; width: 100%; height: auto; }
.hero-banner-text {
  position: absolute; left: 24px; bottom: 18px; z-index: 2; text-align: left; pointer-events: none;
}
.brand-name {
  font-size: 20px; font-weight: 800; letter-spacing: 5px; color: #f0d878;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}
.brand-slogan {
  font-size: 12px; letter-spacing: 4px; color: #d8c99b; margin-top: 4px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .75);
}
@media (max-width: 640px) {
  .hero-banner { aspect-ratio: 16/9; }
  .hero-banner-text { left: 14px; bottom: 12px; }
  .brand-name { font-size: 16px; letter-spacing: 3px; }
  .brand-slogan { font-size: 11px; letter-spacing: 2px; }
}

/* ---------- 学员端导航（我的课程 / 每日打卡） ---------- */
.app-nav { display: flex; gap: 4px; margin-right: 12px; }
.app-nav a {
  color: var(--muted); font-size: 14px; padding: 6px 12px; border-radius: 999px;
  text-decoration: none; transition: color .15s, background .15s;
}
.app-nav a:hover { color: var(--text); }
.app-nav a.on { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
@media (max-width: 640px) {
  .app-nav a { font-size: 13px; padding: 5px 8px; }
}

/* ---------- 每日打卡 ---------- */
.checkin-card { text-align: center; padding: 28px 20px; }
.checkin-big { font-size: 16px; color: var(--text); }
.checkin-big b { color: var(--brand); font-size: 34px; margin: 0 6px; }
.checkin-btn { padding: 14px 46px; font-size: 17px; border-radius: 999px; margin-top: 16px; }
.checkin-done { margin-top: 16px; color: var(--ok); font-weight: 700; font-size: 15px; }
.reward-list { display: flex; flex-direction: column; gap: 10px; }
.reward-item {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
}
.reward-item.granted { border-color: rgba(212, 175, 55, .55); }
.reward-day {
  flex: 0 0 auto; background: var(--brand-soft); color: var(--brand); font-weight: 700;
  font-size: 13px; padding: 4px 10px; border-radius: 8px; white-space: nowrap;
}
.reward-name { flex: 1; font-weight: 600; }
.reward-target { color: var(--muted); font-size: 13px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reward-state { flex: 0 0 auto; }
.story-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 16px; box-shadow: var(--shadow); }
.story-img { width: 100%; max-height: 340px; object-fit: cover; display: block; }
.story-text { padding: 16px 18px; line-height: 1.9; font-size: 14px; color: var(--muted); }
.story-modal { max-width: 580px; width: 92%; }
.story-modal img { width: 100%; max-height: 58vh; object-fit: cover; border-radius: 10px; }
.story-modal p { margin-top: 14px; line-height: 1.9; font-size: 14px; }
.story-head { font-weight: 800; font-size: 17px; color: var(--brand); margin-bottom: 12px; }

/* ---------- 广告区 ---------- */
.ad-section { margin-top: 30px; }
.section-title { font-size: 20px; font-weight: 800; margin: 34px 0 16px; display: flex; align-items: center; gap: 10px; }
.section-title::before {
  content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--gold-grad); display: inline-block;
}

/* 视频广告展示位 */
.video-ad-slot { display: flex; flex-direction: column; gap: 18px; }
.video-ad-box {
  background: #000; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); aspect-ratio: 16/7;
}
.video-ad-box video { width: 100%; height: 100%; object-fit: cover; }
.video-ad-title { font-size: 14px; color: var(--muted); margin-top: 8px; }
@media (max-width: 640px) { .video-ad-box { aspect-ratio: 16/10; } }

/* 图片广告展示位 */
.image-ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.image-ad {
  position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
  display: block;
}
.image-ad:hover { transform: translateY(-3px); border-color: var(--brand); }
.image-ad img { width: 100%; display: block; height: auto; }
.image-ad-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: 14px; font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72)); color: #fff;
}

/* ---------- 课程卡片 ---------- */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.course-card {
  background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .15s, border-color .15s;
  border: 1px solid transparent;
}
.course-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.course-cover { aspect-ratio: 16/9; overflow: hidden; }
.course-cover img { width: 100%; height: 100%; object-fit: cover; }
.course-cover.placeholder {
  background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center; color: #16130a;
  font-size: 42px; font-weight: 800;
}
.course-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 19px; font-weight: 700; line-height: 1.45; }
.course-body p { font-size: 15px; color: var(--muted); margin-top: 6px; flex: 1; }
.course-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.course-meta .badge { font-size: 14px; }

/* 返回条（二级页底部） */
.back-bar { margin: 44px 0 30px; }
.back-bar .btn { padding: 12px 40px; border-radius: 999px; }

/* ---------- 登录页 ---------- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { width: 100%; max-width: 380px; }
.login-card h1 { font-size: 22px; font-weight: 800; text-align: center; color: var(--brand); }
.login-card .sub { text-align: center; color: var(--muted); font-size: 14px; margin-top: 6px; }
.login-err {
  background: rgba(224, 82, 82, .14); color: #f08c8c; border-radius: 10px; padding: 10px 12px;
  font-size: 13px; margin-top: 16px; display: none;
}
.login-err.show { display: block; }

/* ---------- 学员端 ---------- */
.page { max-width: 820px; margin: 0 auto; padding: 20px 16px 60px; }
.expire-banner {
  background: rgba(217, 154, 43, .14); color: #e7b25c; border-radius: 12px; padding: 12px 16px;
  font-size: 14px; margin-bottom: 18px; border: 1px solid rgba(217, 154, 43, .35);
}
.expire-banner.danger { background: rgba(224, 82, 82, .16); color: #f08c8c; border-color: rgba(224, 82, 82, .4); }
.my-courses .course-card { cursor: pointer; }
.claim-btn { display: inline-block; border: 0; border-radius: 8px; padding: 6px 14px; font-size: 13px; font-weight: 600; }

/* 课程详情 */
.video-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.video-item {
  background: var(--card); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; cursor: pointer; border: 1px solid transparent;
}
.video-item:hover { border-color: var(--brand); }
.video-num {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.video-item .v-title { font-size: 14px; font-weight: 600; flex: 1; }
.material-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; }

/* 播放器 */
.player-wrap { max-width: 960px; margin: 0 auto; padding: 16px 16px 60px; }
.player-box {
  background: #000; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16/9; border: 1px solid var(--line);
}
.player-box video { width: 100%; height: 100%; object-fit: contain; }
.player-title { font-size: 18px; font-weight: 700; margin-top: 16px; }
.player-back { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 14px; margin-bottom: 12px; }

/* ---------- 管理后台 ---------- */
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.admin-top {
  background: #16161a; color: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 56px; border-bottom: 1px solid var(--line);
}
.admin-top .t { font-weight: 800; font-size: 16px; }
.admin-nav { display: flex; gap: 4px; background: var(--card); border-bottom: 1px solid var(--line); overflow-x: auto; padding: 0 16px; }
.admin-nav button {
  border: 0; background: transparent; padding: 13px 16px; font-size: 14px; font-weight: 600;
  color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent;
}
.admin-nav button.on { color: var(--brand); border-bottom-color: var(--brand); }
.admin-body { flex: 1; max-width: 1100px; width: 100%; margin: 0 auto; padding: 22px 16px 60px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.admin-head h2 { font-size: 19px; font-weight: 800; }

/* 统计卡 */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.stat-card { background: var(--card); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.stat-card .n { font-size: 26px; font-weight: 800; }
.stat-card .t { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* 表格 */
.table-wrap { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.admin-table th { background: var(--bg-soft); color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.row-actions button { border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 4px 10px; font-size: 12px; color: var(--text); }
.row-actions button:hover { border-color: var(--brand); color: var(--brand); }
.row-actions button.del:hover { border-color: var(--danger); color: var(--danger); }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal {
  background: var(--card); border-radius: 16px; width: 100%; max-width: 560px; max-height: 90vh;
  overflow-y: auto; padding: 22px; border: 1px solid var(--line);
}
.modal h3 { font-size: 17px; font-weight: 800; margin-bottom: 18px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* 轻提示 */
.toast-box { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast-item {
  background: var(--card); color: var(--text); border: 1px solid var(--brand); border-radius: 999px;
  padding: 9px 20px; font-size: 14px; box-shadow: 0 6px 22px rgba(0, 0, 0, .45); animation: toastIn .18s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* 复选卡片（选课） */
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.check-item {
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13px;
  cursor: pointer; user-select: none; transition: all .12s;
}
.check-item.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); font-weight: 600; }

/* 文本工具 */
.mono { font-family: Consolas, Menlo, monospace; font-size: 12px; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

@media (max-width: 640px) {
  .page { padding: 14px 12px 60px; }
}

/* ---------- 移动端适配（手机优先） ---------- */
@media (max-width: 640px) {
  /* 头图：完整显示整张图（不再裁剪），无图时保持品牌渐变底 */
  .hero-banner { aspect-ratio: auto; min-height: 150px; }
  .hero-banner-bg { position: static; }
  .hero-banner-bg a { height: auto; }
  .hero-banner-bg img { position: relative; display: block; height: auto; }

  /* 课程卡片：两列 */
  .course-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .course-body { padding: 10px 10px 12px; }
  .course-body h3 { font-size: 17px; }
  .course-body p { font-size: 14px; }
  .course-meta .badge { font-size: 13px; }
  .course-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .course-meta .btn { width: 100%; text-align: center; }

  /* 图片广告：手机端保持整幅大图（单列全宽） */
  .image-ad-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- 移动端底部导航（固定） ---------- */
.bottom-nav { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 62px; }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(13, 13, 16, .96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .35);
  }
  .bottom-nav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 9px 0 8px; color: var(--muted); font-size: 11px; text-decoration: none;
  }
  .bottom-nav a .nav-ico { font-size: 19px; line-height: 1; }
  .bottom-nav a:active { background: var(--brand-soft); }
  .bottom-nav a.on { color: var(--brand); font-weight: 600; }
}
/* 视频广告封面+点击播放（微信兼容方案） */
.video-cover { position: relative; cursor: pointer; }
.video-cover video { width: 100%; height: 100%; object-fit: cover; }
.video-cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 2;
}
/* ---------- 门店保本点测算 ---------- */
.be-entry {
  margin: 30px 0 0; padding: 20px; border-radius: 14px; cursor: pointer;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.05));
  border: 1px solid rgba(212,175,55,.5);
  transition: transform .15s ease, border-color .15s ease;
}
.be-entry:hover { transform: translateY(-2px); border-color: var(--brand); }
.be-entry-title { font-size: 19px; font-weight: 800; color: var(--brand); }
.be-entry-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
/* 保本点入口：图片广告版 */
.be-entry-img {
  margin: 30px 0 0; border-radius: 14px; overflow: hidden; cursor: pointer;
  transition: transform .15s ease;
}
.be-entry-img:hover { transform: translateY(-2px); }
.be-entry-img img { width: 100%; display: block; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
@media (max-width: 520px) { .field-row { flex-direction: column; gap: 0; } .field-row .field { margin-top: 16px; } }
.result-head { font-size: 15px; font-weight: 800; color: var(--brand); margin-bottom: 12px; }
.result-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.result-item { background: var(--brand-soft); border-radius: 10px; padding: 10px 8px; text-align: center; }
.result-item .n { font-size: 15px; font-weight: 800; color: var(--brand); word-break: break-all; }
.result-item .t { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.result-verdict {
  margin-top: 12px; padding: 10px 14px; border-radius: 10px; text-align: center;
  font-size: 15px; font-weight: 800;
}
.result-verdict.good { background: rgba(76,175,125,.15); color: #7ed6a8; }
.result-verdict.flat { background: rgba(217,154,43,.16); color: #e7b25c; }
.result-verdict.risk { background: rgba(224,82,82,.16); color: #f08c8c; }
.result-detail { margin-top: 16px; font-size: 14px; line-height: 2; color: var(--text); }
.result-detail b { color: var(--brand); }
.phone-unlock { margin-top: 20px; padding: 18px; border-radius: 14px; background: rgba(212,175,55,.08); border: 1px dashed rgba(212,175,55,.55); }
.phone-unlock .p-title { font-weight: 800; font-size: 16px; color: var(--brand); }
.phone-unlock .p-sub { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.phone-unlock .p-row { display: flex; gap: 10px; }
.phone-unlock .p-row .input { flex: 1; }
.phone-unlock .p-row .btn { white-space: nowrap; }
@media (max-width: 520px) { .phone-unlock .p-row { flex-direction: column; } }
.phone-hint {
  margin-top: 16px; padding: 12px 14px; border-radius: 10px; text-align: center;
  font-size: 14px; font-weight: 700; color: var(--brand);
  background: rgba(212,175,55,.08); border: 1px dashed rgba(212,175,55,.5);
}

/* ---------- 登录后横幅（保本点广告图） ---------- */
.be-banner {
  position: relative; margin-bottom: 16px; border-radius: 12px; overflow: hidden;
}
.be-banner-img { display: block; }
.be-banner-img img { width: 100%; display: block; }
.be-banner-x {
  position: absolute; top: 10px; right: 10px; width: 28px; height: 28px;
  background: rgba(0, 0, 0, .5); border: none; border-radius: 50%;
  color: #fff; font-size: 14px; cursor: pointer; line-height: 1;
}


/* 我的测算结果卡片 */
.be-card { border-left: 4px solid var(--gold, #c9a24b); }
.be-card.be-ok   { border-left-color: #2e7d32; }
.be-card.be-warn { border-left-color: #f2a900; }
.be-card.be-bad  { border-left-color: var(--danger, #c0392b); }
.be-card-head { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }


/* 我的积分卡片 */
.point-card { border-left: 4px solid var(--gold, #c9a24b); }
.point-head { font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: space-between; }
.point-balance { color: var(--gold, #c9a24b); font-size: 18px; }
.point-list { list-style: none; margin: 10px 0 0; padding: 0; }
.point-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px dashed rgba(0,0,0,.08); font-size: 14px; }
.point-amt { font-weight: 700; min-width: 34px; }
.point-amt.up { color: #2e7d32; }
.point-amt.down { color: var(--danger, #c0392b); }
.point-why { flex: 1; }
