/* ============================================================
   题库模块样式（banks / practice / my-banks / wrong-book / banks-admin 共用）
   依赖 style.css 的公共类（topbar / page / btn / alert / empty-state 等）
   ============================================================ */

/* ---------------- 题库市场 hero ---------------- */
.banks-hero {
  background: linear-gradient(135deg, #1f5f4e 0%, #2c8267 55%, #3a9d7d 100%);
  color: #fff;
  padding: 34px 0 30px;
}
.banks-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.banks-hero h1 { margin: 0 0 6px; font-size: 26px; letter-spacing: 1px; }
.banks-hero p { margin: 0; opacity: 0.85; font-size: 14px; }
.banks-hero .hero-links { display: flex; gap: 10px; }
.banks-hero .hero-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 10px; font-size: 13px;
  transition: background 0.15s;
}
.banks-hero .hero-link:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------------- 筛选条 ---------------- */
.banks-filters {
  max-width: 1080px; margin: 18px auto 0; padding: 0 20px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.banks-select {
  padding: 8px 12px; border: 1px solid #d8dee8; border-radius: 10px;
  background: #fff; font-size: 14px; color: #333; min-width: 140px;
}
.banks-search { display: flex; gap: 8px; margin-left: auto; }
.banks-search input {
  padding: 8px 12px; border: 1px solid #d8dee8; border-radius: 10px; font-size: 14px; width: 220px;
}

/* ---------------- 题库卡片流 ---------------- */
.banks-grid {
  max-width: 1080px; margin: 18px auto 40px; padding: 0 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .banks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .banks-grid { grid-template-columns: 1fr; } }

.bank-card {
  background: #fff; border: 1px solid #e6eaf1; border-radius: 14px;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.bank-card:hover { box-shadow: 0 8px 22px rgba(31, 95, 78, 0.12); transform: translateY(-2px); }

.bank-card-head { display: flex; gap: 12px; }
.bank-cover {
  width: 64px; height: 64px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.3;
  padding: 6px; word-break: break-all; overflow: hidden;
}
.bank-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.bank-card-title { font-size: 15px; font-weight: 700; color: #222; margin: 0 0 4px; line-height: 1.4; }
.bank-card-meta { font-size: 12px; color: #7a8494; }
.bank-card-meta .org-tag { color: #2c8267; font-weight: 600; }

.bank-card-stats { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #7a8494; }
.bank-card-foot { display: flex; justify-content: space-between; align-items: center; }
.bank-price { font-size: 16px; font-weight: 700; }
.bank-price.free { color: #e02e2e; }
.bank-price.paid { color: #d97706; }
.bank-owned { color: #2c8267; font-size: 13px; font-weight: 600; }

/* 渐变封面色板（按标题哈希取色，避免每次刷新变色） */
.bank-cover.c0 { background: linear-gradient(135deg, #2c6e49, #4c956c); }
.bank-cover.c1 { background: linear-gradient(135deg, #1d3f8f, #3f6fd8); }
.bank-cover.c2 { background: linear-gradient(135deg, #8a4f1d, #c97b34); }
.bank-cover.c3 { background: linear-gradient(135deg, #6d2a52, #a85683); }
.bank-cover.c4 { background: linear-gradient(135deg, #24555e, #4a8f9c); }
.bank-cover.c5 { background: linear-gradient(135deg, #4a3f8f, #7a6fd8); }

/* ---------------- 分页 ---------------- */
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 22px 0 8px; }
.pager button {
  min-width: 34px; height: 34px; border: 1px solid #d8dee8; background: #fff;
  border-radius: 8px; cursor: pointer; font-size: 13px; color: #444;
}
.pager button.current { background: #1f5f4e; color: #fff; border-color: #1f5f4e; }
.pager button:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------------- 做题页 ---------------- */
.practice-wrap { max-width: 860px; margin: 22px auto 48px; padding: 0 20px; }
.practice-head {
  background: #fff; border: 1px solid #e6eaf1; border-radius: 14px; padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.practice-head h2 { margin: 0; font-size: 17px; }
.practice-progress { font-size: 13px; color: #7a8494; }
.practice-progress b { color: #1f5f4e; font-size: 15px; }

.question-card {
  background: #fff; border: 1px solid #e6eaf1; border-radius: 14px; padding: 20px; margin-top: 14px;
}
.question-no { font-size: 12px; color: #9aa3b2; margin-bottom: 8px; }
.question-stem { font-size: 15px; color: #222; line-height: 1.7; margin: 0 0 14px; white-space: pre-wrap; word-break: break-word; }
.option-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px;
  border: 1px solid #e2e7ef; border-radius: 10px; margin-bottom: 9px; cursor: pointer;
  font-size: 14px; color: #333; line-height: 1.55; transition: border-color 0.12s, background 0.12s;
}
.option-item:hover { border-color: #2c8267; }
.option-item.selected { border-color: #1f5f4e; background: #eef7f3; }
.option-item .opt-key {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: #eef1f6;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #555;
}
.option-item.selected .opt-key { background: #1f5f4e; color: #fff; }

/* 判分结果 */
.result-banner { border-radius: 14px; padding: 20px; margin-top: 14px; color: #fff; }
.result-banner.good { background: linear-gradient(135deg, #1f5f4e, #3a9d7d); }
.result-banner.mid { background: linear-gradient(135deg, #9a6a1f, #d3a13c); }
.result-banner.bad { background: linear-gradient(135deg, #8f2a2a, #c95656); }
.result-score { font-size: 34px; font-weight: 800; }
.result-line { font-size: 13px; opacity: 0.92; margin-top: 4px; }

/* 交卷后的逐题回顾 */
.review-item { background: #fff; border: 1px solid #e6eaf1; border-radius: 14px; padding: 16px 18px; margin-top: 12px; }
.review-item.correct { border-left: 4px solid #2c8267; }
.review-item.wrong { border-left: 4px solid #c94f4f; }
.review-verdict { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.review-verdict.ok { color: #2c8267; }
.review-verdict.no { color: #c94f4f; }
.review-analysis {
  margin-top: 8px; background: #f6f8fb; border-radius: 8px; padding: 10px 12px;
  font-size: 13px; color: #555; line-height: 1.6; white-space: pre-wrap; word-break: break-word;
}

/* ---------------- 我的题库 / 错题本 ---------------- */
.mytable { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.mytable th, .mytable td { padding: 11px 14px; font-size: 13px; border-bottom: 1px solid #eef1f6; text-align: left; }
.mytable th { background: #f6f8fb; color: #5a6474; font-weight: 600; }
.mytable tr:last-child td { border-bottom: none; }

.my-grid { max-width: 1080px; margin: 22px auto 48px; padding: 0 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .my-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .my-grid { grid-template-columns: 1fr; } }

.section-bar {
  max-width: 1080px; margin: 26px auto 0; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.section-bar h2 { margin: 0; font-size: 17px; color: #222; }

/* ---------------- 后台 ---------------- */
.admin-stats-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
@media (max-width: 900px) { .admin-stats-row { grid-template-columns: repeat(3, 1fr); } }
.stat-card { background: #fff; border: 1px solid #e6eaf1; border-radius: 12px; padding: 14px; text-align: center; }
.stat-card .num { font-size: 22px; font-weight: 800; color: #1f5f4e; }
.stat-card .label { font-size: 12px; color: #7a8494; margin-top: 4px; }

.admin-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(20, 30, 40, 0.45); z-index: 50;
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow: auto;
}
.modal {
  background: #fff; border-radius: 14px; width: 640px; max-width: 100%; padding: 22px;
  max-height: calc(100vh - 80px); overflow: auto;
}
.modal h3 { margin: 0 0 16px; font-size: 16px; }
.modal .form-row { margin-bottom: 12px; }
.modal label { display: block; font-size: 13px; color: #555; margin-bottom: 5px; }
.modal input[type="text"], .modal input[type="number"], .modal textarea, .modal select {
  width: 100%; box-sizing: border-box; padding: 9px 11px; border: 1px solid #d8dee8;
  border-radius: 9px; font-size: 14px; font-family: inherit;
}
.modal textarea { resize: vertical; min-height: 64px; }
.modal .opt-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.modal .opt-row .opt-key-badge {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: #eef1f6;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

.tag-ok { color: #2c8267; font-weight: 600; }
.tag-off { color: #98a1b0; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.badge.free { background: #fdeeee; color: #e02e2e; }
.badge.paid { background: #fdf3e2; color: #b26a05; }
.badge.on { background: #e7f4ef; color: #1f5f4e; }
.badge.off { background: #eef1f6; color: #7a8494; }

/* ============================================================
   题库市场改版（对齐首页 home.css 风格，参考竞品截图）
   仅作用于 banks.html：banner + 三宫格入口 + 精选好题列表
   ============================================================ */

body.banks-body {
  background: #f4f7f5;
  padding-bottom: 84px; /* 给底部悬浮导航留位 */
}

.bank-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px 0;
}

/* ---------- 品牌 banner（复用首页 hero 的渐变与装饰圆） ---------- */
.bank-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 128px;
  background: linear-gradient(160deg, #7db79b 0%, #4f9a7d 45%, #2e7a60 100%);
  box-shadow: 0 14px 30px rgba(31, 111, 92, 0.18);
}
.bank-banner-hill {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
}
.bank-banner-hill.hill-1 { width: 300px; height: 300px; left: -90px; bottom: -200px; }
.bank-banner-hill.hill-2 { width: 380px; height: 380px; right: -130px; bottom: -260px; background: rgba(255, 255, 255, 0.08); }
.bank-banner-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 22px;
  color: #fff;
}
.bank-banner-title .q-mark {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
}
.bank-banner-title h1 { margin: 0; font-size: 21px; letter-spacing: 2px; }
.bank-banner-title p { margin: 3px 0 0; font-size: 12.5px; opacity: 0.88; }

/* ---------- 三宫格入口（白卡叠在 banner 下沿） ---------- */
.bank-entries-card {
  position: relative;
  margin: -30px auto 0;
  max-width: 640px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  padding: 16px 8px 12px;
  display: flex;
}
.bank-entry {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--home-ink, #1f2d27);
  padding: 6px 0;
  border-radius: 12px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.bank-entry:hover { transform: translateY(-2px); background: #f7faf8; }
.entry-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.entry-icon.icon-mock { background: linear-gradient(135deg, #ff9a62, #f4694c); }
.entry-icon.icon-wrong { background: linear-gradient(135deg, #ffb56b, #f79a3e); }
.entry-icon.icon-my { background: linear-gradient(135deg, #57b98d, #2e8f68); }
/* 课程中心入口配色（推荐课程 / 我的资料 / 我的课程） */
.entry-icon.icon-rec { background: linear-gradient(135deg, #5aa9f7, #2f7de8); }
.entry-icon.icon-data { background: linear-gradient(135deg, #ffb56b, #f79a3e); }
.entry-icon.icon-myc { background: linear-gradient(135deg, #57b98d, #2e8f68); }
.entry-label { font-size: 13.5px; font-weight: 600; }

/* ---------- 筛选条：无边框绿色文字下拉 ---------- */
.bank-shell .banks-filters {
  max-width: none;
  margin: 18px 0 0;
  padding: 0 2px;
  gap: 22px;
}
.bank-shell .banks-select {
  min-width: 0;
  border: none;
  background: transparent;
  padding: 4px 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--home-green, #1f6f5c);
  width: auto;
  cursor: pointer;
}
.bank-shell .banks-select:focus { outline: none; }
.bank-shell .banks-search {
  margin-left: auto;
  gap: 6px;
}
.bank-shell .banks-search input {
  width: 168px;
  border-radius: 999px;
  background: #fff;
  border-color: var(--home-line, #e6ece9);
  font-size: 13px;
}
.bank-shell .banks-search .btn { border-radius: 999px; font-size: 13px; }

/* ---------- 精选好题标题 ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 12px;
  padding: 0 2px;
}
.section-title {
  position: relative;
  margin: 0;
  padding-left: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--home-ink, #1f2d27);
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--home-green, #1f6f5c);
}
.section-more {
  font-size: 13px;
  color: #6b7a73;
  text-decoration: none;
}
.section-more:hover { color: var(--home-green, #1f6f5c); }

/* ---------- 卡片流：单列横向卡片 ---------- */
.bank-shell .banks-grid {
  max-width: none;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 12px;
}
/* 关键：grid 轨道 1fr 的最小尺寸默认是内容 min-width，
   卡片里 nowrap 省略号的简介/标题会把轨道撑到比视口宽（手机端整页被缩小一档）。
   min-width:0 让卡片严格收在视口内，由内部 ellipsis 负责截断。 */
.bank-shell .banks-grid > * { min-width: 0; }
.bank-shell .banks-grid .bank-card {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(31, 111, 92, 0.07);
}
.bank-shell .banks-grid .bank-card:hover {
  transform: none;
  box-shadow: 0 10px 24px rgba(31, 111, 92, 0.13);
}
.bank-shell .bank-card-head { flex: 1; min-width: 220px; gap: 14px; align-items: center; }
.bank-shell .bank-cover {
  width: 86px; height: 86px;
  border-radius: 12px;
  font-size: 13px;
  padding: 8px;
  flex: none;
}
.bank-shell .bank-card-title { font-size: 16px; margin: 0 0 6px; }
.bank-shell .bank-card-meta { font-size: 13px; color: #6b7a73; line-height: 1.7; }
.bank-shell .bank-card-meta .org-tag { color: #5b6b64; font-weight: 500; }
.bank-card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-left: auto;
}
.bank-shell .bank-price { font-size: 18px; }
.bank-shell .bank-price.free { color: #e02e2e; font-weight: 800; }
.bank-owned { font-size: 13px; }

.btn-redeem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 9px 18px;
  border: none;
  border-radius: 999px;
  background: var(--home-green, #1f6f5c);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}
.btn-redeem:hover { filter: brightness(1.08); }
.btn-redeem:active { transform: scale(0.97); }
.btn-redeem:disabled { opacity: 0.55; cursor: not-allowed; }

.bank-sold { font-size: 12.5px; color: #9aaba3; }

.bank-shell .bank-card-info { flex: 1; min-width: 0; }
.bank-shell .bank-card-info .bank-card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bank-shell .bank-card-desc {
  width: 100%;
  margin: 0;
  font-size: 12.5px;
  color: #8a9a92;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bank-shell .bank-card-foot { width: 100%; }
.bank-shell .bank-card-head > .bank-price,
.bank-shell .bank-card-head > .bank-owned { margin-left: auto; align-self: center; }

/* ---------- 题库中心 banner：整块可点击进备考答疑 ---------- */
.bank-banner-link {
  display: block;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bank-banner-link:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(31, 111, 92, 0.26); }
.bank-banner-text { flex: 1; min-width: 0; }
.bank-banner-text h1 { margin: 0; font-size: 21px; letter-spacing: 2px; white-space: nowrap; }
.bank-banner-text p { margin: 3px 0 0; font-size: 12.5px; opacity: 0.88; }
.banner-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--home-green, #1f6f5c);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease;
}
.bank-banner-link:hover .banner-cta { transform: translateX(3px); }

/* ---------- 备考答疑页：咨询老师列表（老师 + 电话 + 微信二维码） ---------- */
.bk-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 16px 96px;
}
.bk-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 2px 14px;
}
.bk-back {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #2b3a35;
  background: #fff;
  box-shadow: 0 4px 10px rgba(31, 111, 92, 0.12);
  transition: transform 0.15s ease;
}
.bk-back:hover { transform: translateX(-2px); }
.bk-navbar-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #22332d;
}
.bk-navbar-space { width: 36px; flex: none; }

.bk-list { display: flex; flex-direction: column; gap: 12px; }
.bk-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(31, 111, 92, 0.08);
  border: 1px solid rgba(31, 111, 92, 0.07);
}
.bk-info { flex: 1; min-width: 0; }
.bk-title {
  margin: 0 0 12px;
  font-size: 16.5px;
  font-weight: 800;
  color: #1f2d28;
  line-height: 1.45;
}
.bk-row {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: #55645e;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.bk-teacher {
  color: var(--home-green, #1f6f5c);
  font-weight: 700;
}
.bk-phone {
  font-weight: 700;
  color: #2b3a35;
  letter-spacing: 0.5px;
}
.bk-copy {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: #8a9691;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.bk-copy:hover { color: var(--home-green, #1f6f5c); }
.bk-copy.is-copied { color: var(--home-green, #1f6f5c); font-weight: 700; }
.bk-copy:disabled { cursor: default; }
.bk-qr {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 10px;
  border: 1px solid #eef2f0;
  background: #fff;
  object-fit: cover;
}

@media (max-width: 480px) {
  .bk-main { padding: 8px 12px 96px; }
  .bk-card { padding: 14px; gap: 12px; }
  .bk-title { font-size: 15px; margin-bottom: 8px; }
  .bk-row { font-size: 12.5px; }
  .bk-qr { width: 92px; height: 92px; }
}

/* ---------- 手机适配 ---------- */
@media (max-width: 640px) {
  /* 底部导航已承担页签切换，顶栏导航在小屏收起 */
  .banks-body .topbar-nav { display: none; }
  .banks-body .topbar { padding: 10px 14px; }
  .banks-body .topbar-left span { white-space: nowrap; }
  .banks-body .topbar .btn { white-space: nowrap; }
  .banks-body .user-chip .name {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .topbar-left span { white-space: nowrap; }
  .topbar .btn { white-space: nowrap; }
  .bank-banner-text p {
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .bank-banner-title { padding: 18px 14px; gap: 10px; }
  .bank-banner-title h1 { font-size: 17px; white-space: nowrap; }
  .bank-banner-title .q-mark { width: 36px; height: 36px; font-size: 19px; border-radius: 10px; }
  .bank-banner-title p { font-size: 11.5px; }
  .bank-shell .banks-filters { gap: 14px; }
  .bank-shell .banks-search input { width: 118px; }
  .bank-shell .banks-grid .bank-card { padding: 12px; }
  .bank-shell .bank-cover { width: 68px; height: 68px; }
  .bank-shell .bank-card-title { font-size: 14.5px; }
  .bank-shell .bank-card-meta { font-size: 12px; }
  .btn-redeem { min-width: 84px; padding: 8px 14px; font-size: 13px; }
}

/* ============================================================
   个人中心（dashboard.html 首页风格改版）
   ============================================================ */

/* 内容白卡 */
.dash-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(31, 111, 92, 0.07);
  padding: 18px 20px;
  margin-top: 12px;
}
.dash-card h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #1f2d27;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-card h2 .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-green, #1f6f5c);
}

/* 账号信息 + 数据库状态：桌面双列，窄屏单列 */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}
.dash-grid .dash-card { margin-top: 0; }

@media (max-width: 640px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-card { padding: 16px 14px; }
}

/* 个人中心表单主按钮：旧蓝紫 → 品牌绿（style.css 的 --brand 是蓝紫） */
.dash-card .btn-primary {
  background: linear-gradient(135deg, #1f6f5c 0%, #2e8f68 60%, #3aa57a 100%);
  border: none;
  box-shadow: 0 10px 24px rgba(31, 111, 92, 0.35);
}
.dash-card .btn-primary:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(31, 111, 92, 0.42);
}
.dash-card .input-wrap:focus-within {
  border-color: #2e8f68;
  box-shadow: 0 0 0 3px rgba(46, 143, 104, 0.16);
}
.dash-card .icon-btn:hover { color: #1f6f5c; }

/* ============================================================
   bank-shell 内嵌旧版布局容器：去掉自带外边距/内边距，避免双重留白
   （my-courses / my-banks / practice / wrong-book / course-play）
   ============================================================ */
.bank-shell .my-grid,
.bank-shell .practice-wrap,
.bank-shell .play-wrap,
.bank-shell .courses-grid {
  max-width: none;
  margin: 12px 0 0;
  padding: 0;
}
/* 防止 nowrap 长文本撑破网格轨道（沿用课程页踩坑结论） */
.bank-shell .my-grid > *,
.bank-shell .practice-wrap > *,
.bank-shell .play-wrap > * { min-width: 0; }
.bank-shell .pager { margin: 16px 0 8px; }
/* 看课页视频：贴合移动端 */
.bank-shell .play-main video { max-height: 56vw; }

/* 我的课程/我的题库卡片在窄屏下的留白 */
@media (max-width: 640px) {
  .bank-shell .my-grid,
  .bank-shell .courses-grid { gap: 12px; }
  .bank-shell .empty-state { padding: 26px 12px; }
}

/* 顶栏头像/更多链接：品牌绿（旧 style.css 蓝紫） */
.topbar .avatar { background: var(--home-green, #1f6f5c); }
.bank-shell .more-link { color: var(--home-green, #1f6f5c); }
.bank-shell .more-link:hover { opacity: 0.8; }

/* ============================================================
   个人中心（按竞品截图重做：头像+积分+签到 / 四宫格 / 分组菜单）
   ============================================================ */

/* ---------- 头部：绿色渐变 + 头像 + 签到 ---------- */
.pf-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1f6f5c 0%, #2e8f68 55%, #3aa57a 100%);
  border-radius: 0 0 22px 22px;
  padding: 26px 20px 30px;
}
.pf-hill {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  pointer-events: none;
}
.pf-hill.hill-1 { width: 210px; height: 210px; right: -60px; top: -110px; }
.pf-hill.hill-2 { width: 150px; height: 150px; left: -50px; bottom: -80px; }
.pf-user {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pf-avatar {
  flex: none;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-user-info { min-width: 0; flex: 1; }
.pf-user-info h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-user-info p {
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.pf-user-info p span { font-weight: 700; color: #ffe9a8; }
.pf-signin {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ffd98a, #f7b95c);
  color: #7a4b0d;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.pf-signin:active { transform: scale(0.96); }
.pf-signin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7a4b0d;
  opacity: 0.85;
}

/* ---------- 四宫格快捷入口 ---------- */
.pf-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(31, 111, 92, 0.07);
  padding: 16px 8px 13px;
  margin-top: -16px;
  position: relative;
  z-index: 1;
}
.pf-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  padding: 4px 0;
  min-width: 0;
  font-family: inherit;
}
.pf-quick-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.qi-banks { background: linear-gradient(135deg, #ff9aa8, #f4647e); }
.qi-wrong { background: linear-gradient(135deg, #ffc06b, #f79a3e); }
.qi-courses { background: linear-gradient(135deg, #6cb8f9, #2f7de8); }
.qi-orders { background: linear-gradient(135deg, #b28efb, #8655ec); }
.pf-quick-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #3c4a44;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ---------- 分组功能菜单 ---------- */
.pf-menu {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(31, 111, 92, 0.07);
  margin-top: 14px;
  padding: 4px 0;
  overflow: hidden;
}
.pf-menu .pf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  font-family: inherit;
}
.pf-menu .pf-item + .pf-item { border-top: 1px solid #f0f4f1; }
.pf-menu .pf-item:active { background: #f6faf8; }
.pf-item-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eaf4ef;
  color: #1f6f5c;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-item-label {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #26332d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-chevron { flex: none; color: #c2cdc7; }

/* ---------- 手机适配 ---------- */
@media (max-width: 480px) {
  .pf-hero { padding: 22px 16px 26px; }
  .pf-user-info h1 { font-size: 17px; max-width: 46vw; }
  .pf-avatar { width: 54px; height: 54px; }
  .pf-signin { padding: 7px 13px; font-size: 12.5px; }
  .pf-quick { gap: 4px; padding: 14px 4px 11px; }
  .pf-quick-icon { width: 42px; height: 42px; border-radius: 12px; }
  .pf-quick-label { font-size: 11.5px; }
  .pf-menu .pf-item { padding: 13px 14px; }
}

/* ============================================================
   顶栏滚动弹幕（除首页外所有用户侧页面）
   ============================================================ */
.topbar .tb-marquee {
  flex: 1;
  min-width: 0;
  height: 22px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
/* 无缝循环：文案由 topbar-marquee.js 复制为两份，0 -> -50% 平移一段恰好
   是一份文案的宽度，衔接处无空白，消除「滚完等半天才再来」的空窗期 */
.topbar .tb-marquee-inner {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  width: max-content;
  transform: translate(0, -50%);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1f5f4e;
  will-change: transform;
  animation: tb-marquee-scroll 18s linear infinite;
}
.topbar .tb-marquee-inner span { padding-right: 64px; }
@keyframes tb-marquee-scroll {
  0%   { transform: translate(0, -50%); }
  100% { transform: translate(-50%, -50%); }
}
@media (prefers-reduced-motion: reduce) {
  .topbar .tb-marquee-inner { animation: none; transform: translate(0, -50%); }
  .topbar .tb-marquee-inner span + span { display: none; }
}
/* topbar-left 需占满剩余空间，否则内部 flex:1 的弹幕容器宽度为 0 */
.topbar .topbar-left { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.topbar .topbar-right { flex: none; }

/* ============================================================
   头像：支持自定义图片（个人中心上传后全站顶栏同步显示）
   ============================================================ */
.avatar img,
.pf-avatar-face img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  user-select: none;
}
/* 个人中心大头像改为可点击上传按钮 */
.pf-avatar.pf-avatar-edit {
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.65);
  cursor: pointer;
  position: relative;
  font: inherit;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pf-avatar.pf-avatar-edit:hover:not(:disabled) {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.pf-avatar.pf-avatar-edit:disabled { cursor: wait; opacity: 0.8; }
.pf-avatar-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.pf-avatar-cam {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd98a, #f7b95c);
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   签到 / 积分明细 / 活动规则 页面
   ============================================================ */
.signin-shell, .points-shell, .rules-shell { max-width: 720px; }

/* 积分头 */
.si-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #2e8b74 0%, #1f6f5c 100%);
  padding: 34px 22px 58px;
  margin: 14px 0 -34px;
}
.si-hero-compact { padding: 26px 22px 50px; margin-bottom: -28px; }
.si-hill { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.si-hero .pf-hill { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.si-hero-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.si-points { margin: 0; color: #fff; font-size: 19px; font-weight: 700; letter-spacing: 0.5px; }
.si-points span { font-size: 26px; font-weight: 800; color: #ffe9a8; }
.si-rules-btn {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.si-rules-btn:hover { background: rgba(255, 255, 255, 0.3); }

/* 通用卡片（跟随 bank-shell 的卡片风格，上移压住绿色头部） */
.si-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #e7ecf2;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(23, 43, 77, 0.06);
}

/* 签到按钮 */
.si-btn {
  display: block;
  width: min(320px, 100%);
  margin: 4px auto 16px;
  padding: 14px 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #35a08a, #2e8b74);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 6px 18px rgba(46, 139, 116, 0.35);
}
.si-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(46, 139, 116, 0.4); }
.si-btn:disabled { cursor: default; }
.si-btn.done {
  background: linear-gradient(135deg, #9fc6ba, #8db9ac);
  box-shadow: none;
  cursor: default;
}
.si-entries {
  display: flex;
  justify-content: center;
  gap: 34px;
}
.si-entry {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
  background: none;
  border: none;
  color: #44586b;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.si-entry:hover { color: #1f6f5c; }

/* 月历 */
.si-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.si-cal-nav { display: flex; align-items: center; gap: 10px; }
.si-cal-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #44586b;
  cursor: pointer;
}
.si-cal-arrow:hover { color: #1f6f5c; border-color: #bcdccd; }
.si-cal-title { font-size: 16px; font-weight: 800; color: #24384e; }
.si-streak { margin: 0; font-size: 13px; color: #59627b; }
.si-streak span { font-size: 20px; font-weight: 800; color: #2e8b74; margin: 0 2px; }
.si-week-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  color: #8992a8;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.si-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 8px;
  text-align: center;
}
.si-day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  font-size: 14.5px;
  color: #33475c;
  justify-self: center;
  width: 38px;
  border-radius: 50%;
}
.si-day.dim { color: #c3cbd8; }
.si-day.signed { background: #2e8b74; color: #fff; font-weight: 700; }
.si-day.today:not(.signed) { border: 1.5px solid #2e8b74; color: #1f6f5c; font-weight: 700; }

/* 任务奖励 */
.si-tasks { padding: 0; overflow: hidden; }
.si-tasks-head {
  background: linear-gradient(135deg, #35a08a, #2e8b74);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 12px 18px;
}
.si-task-list { padding: 6px 16px; }
.si-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 2px;
}
.si-task + .si-task { border-top: 1px solid #f0f3f7; }
.si-task-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #35a08a, #2e8b74);
}
.si-task-icon.ti-2 { background: linear-gradient(135deg, #5b9bd5, #3f7fb8); }
.si-task-icon.ti-3 { background: linear-gradient(135deg, #f0a35c, #e2883a); }
.si-task-icon.ti-4 { background: linear-gradient(135deg, #b58ad6, #9a6cc4); }
.si-task-info { flex: 1; min-width: 0; }
.si-task-name { margin: 0; font-size: 14.5px; font-weight: 700; color: #33475c; display: flex; flex-direction: column; }
.si-task-name em { font-style: normal; font-size: 12px; color: #2e8b74; font-weight: 600; margin-top: 2px; }
.si-task-name small { font-size: 11.5px; color: #a2abb9; font-weight: 400; }
.si-task-btn {
  flex: none;
  padding: 7px 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #35a08a, #2e8b74);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.si-task-btn:hover { opacity: 0.88; }

/* 积分明细 */
.pt-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid #eef1f6;
  margin-bottom: 4px;
}
.pt-tab {
  padding: 10px 2px;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: #59627b;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.pt-tab.active { color: #24384e; font-weight: 800; border-bottom-color: #2e8b74; }
.pt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px;
}
.pt-item + .pt-item { border-top: 1px solid #f0f3f7; }
.pt-item-main { min-width: 0; }
.pt-reason { margin: 0; font-size: 15px; font-weight: 700; color: #33475c; }
.pt-time { margin: 4px 0 0; font-size: 12.5px; color: #a2abb9; }
.pt-delta { flex: none; font-size: 17px; font-weight: 800; }
.pt-delta.in { color: #2e8b74; }
.pt-delta.out { color: #e0655a; }

/* 活动规则 */
.rules-shell { padding-top: 14px; }
.rule-block { padding: 18px 20px; }
.rule-title { margin: 0 0 8px; font-size: 16.5px; font-weight: 800; color: #24384e; }
.rule-list { margin: 0; padding: 0 0 0 4px; list-style: none; }
.rule-list li {
  position: relative;
  padding: 6px 0 6px 16px;
  color: #44586b;
  font-size: 14px;
}
.rule-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2e8b74;
}
.rule-desc { margin: 4px 2px 20px; }
.rule-desc-title { color: #2e8b74; font-size: 15.5px; font-weight: 800; margin: 0 0 10px; }
.rule-desc p { margin: 0 0 8px; color: #59627b; font-size: 13.5px; line-height: 1.9; }

@media (max-width: 760px) {
  .si-hero { padding: 26px 16px 50px; margin: 10px 0 -30px; }
  .si-card { padding: 16px; }
  .si-points { font-size: 16px; }
  .si-points span { font-size: 22px; }
  .si-btn { font-size: 16.5px; }
  .si-day { height: 34px; width: 34px; font-size: 13.5px; }
  .si-entries { gap: 22px; }
}

/* ============================================================
   分享按钮（题库中心 / 课程中心卡片底部）
   ============================================================ */
.bank-foot-actions { display: inline-flex; align-items: center; gap: 8px; }
.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid #bcdccd;
  border-radius: 999px;
  background: #f2faf7;
  color: #1f6f5c;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-share::before {
  content: '';
  width: 13px;
  height: 13px;
  margin-right: 5px;
  background: currentColor;
  /* 分享图标（三点连线）用遮罩实现，避免额外请求图片 */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='18' cy='5.5' r='2.6'/><circle cx='6' cy='12' r='2.6'/><circle cx='18' cy='18.5' r='2.6'/><path d='M8.3 10.7l7.4-3.9M8.3 13.3l7.4 3.9' stroke='currentColor' stroke-width='1.9'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='18' cy='5.5' r='2.6'/><circle cx='6' cy='12' r='2.6'/><circle cx='18' cy='18.5' r='2.6'/><path d='M8.3 10.7l7.4-3.9M8.3 13.3l7.4 3.9' stroke='currentColor' stroke-width='1.9'/></svg>") center / contain no-repeat;
}
.btn-share:hover { background: #e3f4ee; }
.btn-share:active { transform: scale(0.97); }

@media (max-width: 760px) {
  .bank-foot-actions { gap: 6px; }
  .btn-share { padding: 7px 11px; font-size: 12.5px; }
  .btn-share::before { width: 12px; height: 12px; margin-right: 4px; }
}

/* ============================================================
   邀请中心
   ============================================================ */
.iv-code {
  margin: 14px 0 18px;
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 10px;
  color: #1f6f5c;
  font-family: 'Courier New', monospace;
  text-indent: 10px; /* 抵消最后一个字母的 letter-spacing，视觉居中 */
}
.iv-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.iv-btn {
  width: auto;
  margin: 0;
  padding: 12px 30px;
  font-size: 15.5px;
  letter-spacing: 1px;
}
.iv-btn-ghost {
  background: #fff;
  color: #1f6f5c;
  border: 1.5px solid #2e8b74;
  box-shadow: none;
}
.iv-btn-ghost:hover:not(:disabled) { background: #f2faf7; box-shadow: none; }
.iv-link-preview {
  margin: 14px 0 0;
  text-align: center;
  color: #8992a8;
  font-size: 12.5px;
  word-break: break-all;
}
@media (max-width: 760px) {
  .iv-code { font-size: 32px; letter-spacing: 7px; }
  .iv-btn { padding: 11px 22px; font-size: 14.5px; }
}

/* ============================================================
   积分兑换商城
   ============================================================ */
.mall-card { min-width: 0; }
.mall-cover { font-size: 26px; display: grid; place-items: center; }
.mall-cost { flex: none; color: #2e8b74; font-size: 20px; font-weight: 800; }
.mall-cost small { font-size: 12px; font-weight: 600; margin-left: 2px; }
.mall-status { flex: none; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.mall-status.st-0 { color: #b8860b; background: #fdf6e3; }
.mall-status.st-1 { color: #1f6f5c; background: #e7f4ef; }
