:root {
  --mt-yellow: #ffd100;
  --mt-yellow-deep: #ffc300;
  --mt-orange: #ff5339;
  --mt-text: #222;
  --mt-sub: #888;
  --mt-line: #eee;
  --bg: #f5f5f5;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--mt-text);
  background: var(--bg);
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* 顶部微信提示条 */
.wx-tip {
  display: none;
  background: #fff8e1;
  color: #b26a00;
  font-size: 13px;
  padding: 10px 14px;
  border-bottom: 1px solid #ffe7a8;
  line-height: 1.5;
}
.wx-tip b { color: #e65100; }

/* 通用容器（后台/列表用系统宽度） */
.page { max-width: 960px; margin: 0 auto; padding: 16px; }
.page-title { font-size: 20px; font-weight: 700; margin: 8px 0 16px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--mt-line); font-size: 14px; }
.table th { background: #fafafa; color: var(--mt-sub); font-weight: 600; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fffdf5; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; color: #555; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: none; border-radius: 6px; padding: 7px 14px; font-size: 13px; font-weight: 600; transition: .15s; }
.btn-primary { background: var(--mt-yellow); color: #1a1a1a; }
.btn-primary:hover { background: var(--mt-yellow-deep); }
.btn-orange { background: var(--mt-orange); color: #fff; }
.btn-orange:hover { filter: brightness(.95); }
.btn-ghost { background: #f2f2f2; color: #333; }
.btn-ghost:hover { background: #e8e8e8; }
.btn-sm { padding: 5px 10px; font-size: 12px; }

/* 状态徽章 */
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.badge-ok { background: #e8f8ee; color: #18a058; border: 1px solid #b7ebc8; }
.badge-wait { background: #fff7e6; color: #d48806; border: 1px solid #ffe7ba; }
.badge-fb { background: #fff1f0; color: #cf1322; border: 1px solid #ffccc7; }
.btn:disabled { opacity: .65; cursor: default; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* 表单 */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--mt-sub); margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--mt-yellow); }

/* 卡片 */
.card { background: #fff; border-radius: 10px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 14px; }
.card h3 { margin: 0 0 12px; font-size: 15px; }

/* 登录 */
.login-wrap { max-width: 360px; margin: 8vh auto 0; }
.login-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.login-card .logo { text-align: center; font-size: 22px; font-weight: 800; color: var(--mt-yellow-deep); margin-bottom: 20px; }
.login-card .logo span { color: #222; }
.error-msg { color: var(--mt-orange); font-size: 13px; min-height: 18px; margin-top: 8px; }

/* 顶栏 */
.topnav { background: #fff; border-bottom: 1px solid var(--mt-line); position: sticky; top: 0; z-index: 20; }
.topnav-inner { max-width: 960px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.topnav .brand { font-weight: 800; font-size: 16px; color: var(--mt-yellow-deep); }
.topnav .user { font-size: 13px; color: var(--mt-sub); display: flex; align-items: center; gap: 10px; }

/* 下载页分组 */
.group { background: #fff; border-radius: 10px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.group-title { font-size: 15px; font-weight: 700; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.group-path {
  font-size: 12px; color: #888; background: #fafafa; border: 1px solid var(--mt-line);
  border-left: 3px solid var(--mt-yellow); border-radius: 6px;
  padding: 7px 10px; margin: -6px 0 14px; line-height: 1.5;
  overflow-wrap: anywhere;
}
.group-title .tag { background: var(--mt-yellow); color: #1a1a1a; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.img-item { border: 1px solid var(--mt-line); border-radius: 8px; overflow: hidden; background: #fafafa; }
.img-item .thumb { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #f0f0f0; display: block; }
.img-item .meta { padding: 8px 10px; }
.img-item .meta .name { font-size: 12px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.img-item .meta .dl { margin-top: 8px; width: 100%; }
.empty { color: var(--mt-sub); font-size: 13px; padding: 10px 0; }

/* ===== 美团模拟预览（手机 H5）—— 高保真还原 ===== */
.phone {
  max-width: 420px;
  margin: 0 auto;
  background: #f5f5f5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ── 状态栏 ── */
.statusbar {
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 4px;
  font-size: 15px;
  font-weight: 600;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  pointer-events: none;
}
.statusbar .right { display: flex; gap: 4px; align-items: center; }
.statusbar .right i { display: inline-block; width: 18px; height: 11px; background: #fff; border-radius: 2px; }
.statusbar .right i:nth-child(2) { width: 12px; }
.statusbar .bat { width: auto !important; background: none !important; font-size: 13px; }

/* ── 导航栏（透明浮在 banner 上）── */
.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 10px;
  position: absolute;
  top: 28px; left: 0; right: 0;
  z-index: 40;
  pointer-events: none;
}
.navback, .nav-back { /* alias */ }
.nav-back::before { content: '‹'; font-size: 28px; color: #fff; font-weight: 300; text-shadow: 0 1px 3px rgba(0,0,0,.3); line-height: 1; }
.nav-search::before { content: '🔍'; font-size: 18px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.nav-star::before { content: '☆'; font-size: 18px; color: #ffd100; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.nav-btn {
  border: 1px solid rgba(255,255,255,.7);
  color: #fff; border-radius: 14px;
  padding: 2px 10px; font-size: 12px; font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.nav-more::before { content: '⋮'; font-size: 20px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.3); }

/* ── Banner 区域（最顶部大图）── */
.banner-area {
  position: relative;
  height: 200px;
  background: #3a3a3a;
  overflow: hidden;
}
.banner-area.no-banner {
  background: linear-gradient(135deg, #2d5a3a 0%, #1a3a24 100%);
}
.banner-slides { position: absolute; inset: 0; }
.bs-slide {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  opacity: 0; transition: opacity .6s ease;
}
.bs-slide.active { opacity: 1; }
.banner-dots {
  position: absolute; bottom: 42px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 5px; z-index: 5;
}
.banner-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.45);
}
.banner-dots i.on { background: #fff; opacity: 1; }

/* 收藏 toast */
.toast-hint {
  position: absolute; top: 52px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.92);
  color: #ff6000; font-size: 12px; padding: 5px 14px;
  border-radius: 16px; white-space: nowrap; z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  animation: toastIn .3s ease;
}
@keyframes toastIn { from{opacity:0;transform:translateX(-50%) translateY(-8px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

/* banner 底部标签行 */
.banner-tags {
  position: absolute; bottom: 8px; left: 12px; right: 12px;
  display: flex; gap: 8px; z-index: 5;
}
.banner-tags span {
  background: rgba(0,0,0,.45); color: #fff;
  font-size: 11px; padding: 3px 9px; border-radius: 10px;
  backdrop-filter: blur(4px);
}
.bt-active { background: rgba(255,255,255,.25) !important; font-weight: 700; }

/* ── 店铺信息卡（悬浮在 banner 底部，向上侵入）── */
.shop-card {
  position: relative;
  margin: -30px 10px 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 12px;
  display: flex; gap: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  z-index: 15;
}
.sc-avatar {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, #ffd64d, #ffb800);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #7a5a00;
  overflow: hidden;
  background-size: cover; background-position: center;
}
.sc-info { flex: 1; min-width: 0; }
.sc-name {
  font-size: 17px; font-weight: 800; color: #222;
  line-height: 1.3; margin-bottom: 4px;
}
.sc-row {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; font-size: 12px; color: #666;
}
.sc-rating b { color: #ff6000; font-size: 16px; font-weight: 800; }
.sc-rating small { color: #999; }
.sc-sales { color: #666; }
.sc-delivery { color: #666; }
.sc-rank {
  background: #fff3e0; color: #e65100;
  font-size: 11px; padding: 1px 6px; border-radius: 4px;
  font-weight: 600;
}
.sc-rank span { color: #ff6000; font-weight: 800; }
.sc-desc {
  margin-top: 6px; font-size: 11px; color: #999;
  line-height: 1.4; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

/* ── 外送 / 自取 切换条 ── */
.delivery-bar {
  display: flex; align-items: center;
  margin: 10px 10px 0;
  background: #fff; border-radius: 10px;
  overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.db-tab {
  flex: 1; text-align: center; padding: 10px 0;
  font-size: 14px; font-weight: 700; color: #999;
  cursor: pointer;
}
.db-tab.active { color: #222; }
.db-tab small { font-weight: 400; font-size: 12px; color: #bbb; }
.db-divider { width: 1px; height: 20px; background: #eee; }
.db-tag {
  margin-right: 12px; background: #fff0f0; color: #ff4433;
  font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 600;
  white-space: nowrap;
}

/* ── 神券行 ── */
.coupon-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; overflow-x: auto;
  background: #fff; margin-top: 8px;
  scrollbar-width: none;
}
.coupon-bar::-webkit-scrollbar { display: none; }
.cb-shen {
  background: linear-gradient(135deg, #ff4433, #ff2000);
  color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 7px; border-radius: 4px; flex-shrink: 0;
}
.cb-item {
  border: 1px solid #ffd9d0; color: #ff6000;
  font-size: 12px; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; flex-shrink: 0; white-space: nowrap;
}
.cb-vip {
  background: #fdf6ee; color: #996600;
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  flex-shrink: 0; white-space: nowrap;
}
.cb-price {
  color: #ff6000; font-size: 13px; font-weight: 800;
  flex-shrink: 0; white-space: nowrap;
}

/* ── 标签行（免配送费等）── */
.tag-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px 10px; overflow-x: auto;
  background: #fff; scrollbar-width: none;
}
.tag-bar::-webkit-scrollbar { display: none; }
.tag-bar span {
  background: #f8f8f8; color: #666;
  font-size: 11px; padding: 3px 8px; border-radius: 4px;
  flex-shrink: 0; white-space: nowrap;
}
.tb-more { color: #bbb !important; background: none !important; margin-left: auto; }

/* ── 点菜 / 评价 / 商家 tab ── */
.tab-bar {
  display: flex; align-items: center; gap: 24px;
  padding: 12px 14px; background: #fff;
  margin-top: 6px; border-bottom: 1px solid #f0f0f0;
  position: sticky; top: 0; z-index: 20;
}
.tab-item {
  font-size: 15px; color: #888; font-weight: 500;
  cursor: pointer; position: relative; padding-bottom: 2px;
}
.tab-item.active {
  color: #222; font-weight: 800;
}
.tab-item.active::after {
  content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: #ffd100; border-radius: 2px;
}
.tab-item small { font-weight: 400; color: #bbb; font-size: 12px; }

/* ── 商品海报区（横排卡片）── */
.poster-section { background: #fff; margin-top: 8px; padding: 14px 14px 4px; }
.ps-title {
  font-size: 16px; font-weight: 800; margin: 0 0 12px;
  display: flex; align-items: center; gap: 6px;
}
.ps-title i {
  display: inline-block; width: 4px; height: 17px;
  background: #222; border-radius: 2px;
}
.poster-scroll {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 10px; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.poster-scroll::-webkit-scrollbar { display: none; }
.poster-card {
  flex: 0 0 160px; width: 160px;
  background: #fafafa; border-radius: 10px;
  overflow: hidden; border: 1px solid #eee;
}
.pc-top {
  padding: 6px 8px 4px;
  display: flex; justify-content: space-between; align-items: center;
}
.pc-store {
  font-size: 10px; color: #999; background: #f0f0f0;
  padding: 1px 6px; border-radius: 4px;
}
.pc-img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; display: block;
  background: #eee;
}
.pc-bottom {
  padding: 6px 8px 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.pc-dish {
  font-size: 13px; font-weight: 700; color: #222;
  max-width: 110px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.pc-arrow {
  color: #ccc; font-size: 18px; font-weight: 300;
}
.ps-empty {
  color: #bbb; font-size: 13px; text-align: center;
  padding: 24px 0;
}

/* ── 店招区（在商品海报下面）── */
.shop-banner-section { background: #fff; margin-top: 8px; padding: 14px 14px 8px; }
.sb-title {
  font-size: 16px; font-weight: 800; margin: 0 0 10px;
  display: flex; align-items: center; gap: 6px;
}
.sb-title i {
  display: inline-block; width: 4px; height: 17px;
  background: #222; border-radius: 2px;
}
.sb-block { margin-bottom: 14px; }
.sb-hint {
  text-align: center; font-size: 12px; color: #bbb;
  margin: 0 0 10px;
}
.sb-card {
  border-radius: 10px; overflow: hidden;
  background: #f8f8f8; position: relative;
  min-height: 80px;
  border: 1px solid #eee;
}
.sb-card.has-img { background: none; border: none; }
.sb-badge {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  width: 22px; height: 22px; background: #ff4433;
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.sb-label {
  position: absolute; top: 8px; left: 36px; z-index: 3;
  background: rgba(255,255,255,.92);
  color: #333; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
}
.sb-close {
  position: absolute; top: 6px; right: 8px; z-index: 3;
  color: #ff4433; font-size: 18px; line-height: 1;
}
.sb-card img {
  width: 100%; display: block; border-radius: 10px;
}
.sb-card-extra { margin-bottom: 10px; }
.sb-extra { margin-top: 6px; }
.sb-empty {
  color: #bbb; font-size: 13px; text-align: center;
  padding: 20px 0;
}

.preview-foot {
  text-align: center; color: #ccc; font-size: 11px;
  padding: 20px 16px 30px;
}

/* ===== 列表页筛选栏 ===== */
.filter-bar { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 8px; }
.filter-count { color: var(--mt-sub); font-size: 13px; margin: 0 0 12px; }
.seg-count { color: var(--mt-sub); font-size: 13px; align-self: center; }
.empty { color: var(--mt-sub); font-size: 13px; padding: 18px 0; text-align: center; }

/* ===== 数据看板 ===== */
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border-radius: 12px; padding: 18px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); text-align: center; border-top: 3px solid var(--mt-yellow); }
.kpi-val { font-size: 30px; font-weight: 800; line-height: 1.1; }
.kpi-label { font-size: 13px; color: var(--mt-sub); margin-top: 6px; }
.kpi-ok { border-top-color: #18a058; }
.kpi-ok .kpi-val { color: #18a058; }
.kpi-wait { border-top-color: #d48806; }
.kpi-wait .kpi-val { color: #d48806; }
.kpi-rate { border-top-color: var(--mt-orange); }
.kpi-rate .kpi-val { color: var(--mt-orange); }
.kpi-fb { border-top-color: #1677ff; }
.kpi-fb .kpi-val { color: #1677ff; }
.kpi-fbwait { border-top-color: #d4380d; }
.kpi-fbwait .kpi-val { color: #d4380d; }

.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ring-card { display: flex; flex-direction: column; align-items: center; }
.ring { width: 150px; height: 150px; border-radius: 50%; background: conic-gradient(var(--mt-orange) calc(var(--rate) * 1%), #eee 0); display: flex; align-items: center; justify-content: center; margin: 10px 0; }
.ring-inner { width: 112px; height: 112px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-inner span { font-size: 26px; font-weight: 800; color: var(--mt-orange); }
.ring-inner small { font-size: 12px; color: var(--mt-sub); }
.ring-legend { display: flex; gap: 18px; font-size: 13px; color: #555; margin-top: 4px; }
.ring-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.dot-ok { background: #18a058; }
.dot-wait { background: #d48806; }

.type-stats { margin-top: 6px; }
.type-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.type-name { width: 60px; font-size: 13px; color: #555; flex-shrink: 0; }
.type-bar { flex: 1; height: 10px; background: #f0f0f0; border-radius: 6px; overflow: hidden; }
.type-fill { height: 100%; background: linear-gradient(90deg, var(--mt-yellow), var(--mt-yellow-deep)); border-radius: 6px; }
.type-num { width: 54px; text-align: right; font-size: 13px; color: #333; font-weight: 600; flex-shrink: 0; }
.type-total { font-size: 13px; color: var(--mt-sub); border-top: 1px dashed var(--mt-line); padding-top: 12px; margin-top: 2px; }
.type-total b { color: #222; font-size: 15px; }

/* 进度条 */
.progress { height: 10px; background: #f0f0f0; border-radius: 6px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #18a058, #52c41a); border-radius: 6px; transition: width .4s ease; }

/* 手机端适配 */
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
}

/* ===== 后台商家多选上传 ===== */
.pick-search { margin-bottom: 10px; }
.merchant-pick {
  max-height: 280px; overflow-y: auto;
  border: 1px solid var(--mt-line); border-radius: 8px;
  background: #fff; padding: 4px;
}
.merchant-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 6px; cursor: pointer;
  font-size: 14px; border-bottom: 1px solid #f5f5f5;
}
.merchant-opt:last-child { border-bottom: none; }
.merchant-opt:hover { background: #fffdf5; }
.merchant-opt input { width: 16px; height: 16px; accent-color: var(--mt-yellow-deep); flex-shrink: 0; margin: 0; }
.merchant-opt .mo-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merchant-opt .mo-id { color: #999; font-size: 12px; flex-shrink: 0; }
.merchant-opt .mo-bd { color: #888; font-size: 12px; background: #f2f2f2; padding: 1px 8px; border-radius: 10px; flex-shrink: 0; }
.pick-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.pick-count { margin-left: auto; color: var(--mt-sub); font-size: 13px; font-weight: 600; }
.pick-subtitle { font-size: 13px; color: var(--mt-sub); margin-bottom: 10px; font-weight: 600; }

/* 图片预览 lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .5);
  background: #fff;
}
.lightbox-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .32); }

/* ===== 弹窗（反馈问题） ===== */
.modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 10000;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-card {
  width: 100%; max-width: 460px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--mt-line);
  font-size: 16px; font-weight: 700;
}
.modal-close {
  border: none; background: transparent; cursor: pointer;
  font-size: 24px; line-height: 1; color: #999;
}
.modal-close:hover { color: #333; }
.modal-body { padding: 18px; }
.modal-body textarea {
  width: 100%; resize: vertical;
  border: 1px solid var(--mt-line); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; font-family: inherit;
}
.modal-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 12px 18px; border-top: 1px solid var(--mt-line); background: #fafafa;
}

/* ===== BD 反馈列表 ===== */
.fb-list { display: flex; flex-direction: column; gap: 10px; }
.fb-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--mt-line); border-radius: 10px;
  background: #fff;
}
.fb-item.fb-resolved { background: #f7f7f7; opacity: .72; }
.fb-main { flex: 1; min-width: 0; }
.fb-reason { font-size: 14px; color: #222; line-height: 1.5; word-break: break-word; white-space: pre-wrap; }
.fb-item.fb-resolved .fb-reason { text-decoration: line-through; color: #888; }
.fb-meta { font-size: 12px; color: var(--mt-sub); margin-top: 6px; }
.fb-empty { color: var(--mt-sub); font-size: 13px; padding: 14px 0; text-align: center; }
