/* ===========================================================================
   feedback.css —— 「反馈需求」说明弹窗样式（2026-09-26 建；2026-09-28 改版）
   独立文件、排在 style.css 之后加载（项目铁律：不改他人样式文件）
   ⚠️ 所有类名统一 fb- 前缀，全站唯一
   品牌色：橘黄 #f95901
   2026-09-28：二维码 / QQ 号那套样式已删 —— 弹窗改版成「四类说明 ＋ 奖励 ＋ 去反馈按钮」
   =========================================================================== */

/* ---------- 遮罩 ---------- */
.fb-mask {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 14, 10, .52);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: 20px;
  animation: fbFadeIn .18s ease-out;
}
@keyframes fbFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fbPopIn {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 卡片 ---------- */
.fb-card {
  position: relative;
  width: 100%; max-width: 330px;
  background: #fff;
  border-radius: 22px;
  padding: 26px 22px 22px;
  box-shadow: 0 18px 50px rgba(60, 30, 10, .22), 0 2px 8px rgba(0,0,0,.06);
  animation: fbPopIn .24s cubic-bezier(.2, .9, .3, 1.1);
  text-align: center;
}

/* 右上关闭 */
.fb-x {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; line-height: 1;
  border: none; background: #f6f6f8; color: #9a9aa5;
  border-radius: 50%; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.fb-x:active { background: #ececf0; }

/* ---------- 头部 ---------- */
.fb-hd { margin-bottom: 18px; }
.fb-title {
  font-size: 19px; font-weight: 800; color: #f95901;
  letter-spacing: .5px;
}
.fb-sub {
  margin-top: 6px;
  font-size: 12.5px; color: #9a9aa5; line-height: 1.5;
}

/* ---------- 头部图标（2026-09-28 加） ---------- */
.fb-ico { font-size: 30px; line-height: 1; margin-bottom: 8px; }

/* ---------- 可反馈的四类（标题与客服会话菜单逐字一致） ---------- */
.fb-list {
  text-align: left;
  background: #fff8f3;
  border: 1px solid #ffe7d8;
  border-radius: 14px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.fb-li { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.fb-li + .fb-li { border-top: 1px dashed #ffe0cf; }
.fb-li-ic { font-size: 16px; flex: none; width: 20px; text-align: center; }
.fb-li-tx { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.fb-li-tx b { font-size: 13.5px; font-weight: 700; color: #3a2a20; flex: none; }
.fb-li-tx i {
  font-style: normal; font-size: 11.5px; color: #a8a0a0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- 奖励说明（老板 2026-09-28：被采纳送算力豆） ---------- */
.fb-gift {
  display: flex; align-items: flex-start; gap: 7px;
  text-align: left;
  font-size: 12.5px; line-height: 1.6; color: #6b6b76;
  background: linear-gradient(135deg, #fff5e9, #fffaf6);
  border: 1px solid #ffd9b8;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.fb-gift-ic { font-size: 14px; flex: none; line-height: 1.4; }
/* 🔴 nowrap：否则窄屏上「算力豆」会被拆成"算力 / 豆"两行（2026-09-28 本地预览实测到） */
.fb-gift b { color: #f95901; font-weight: 800; white-space: nowrap; }

/* ---------- 主按钮：去反馈（点了跳企业微信客服） ---------- */
.fb-go {
  width: 100%; border: none; cursor: pointer; font-family: inherit;
  background: linear-gradient(135deg, #ff7a1a, #f95901);
  color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 1px;
  padding: 13px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(249, 89, 1, .28);
  transition: transform .1s, box-shadow .15s;
}
.fb-go:active { transform: scale(.97); box-shadow: 0 3px 10px rgba(249, 89, 1, .32); }

/* ---------- toast（2026-09-28：随 QQ 复制功能一并删除，已无调用方） ---------- */

/* ===========================================================================
   「反馈需求」专属二维码弹窗（2026-10-05 新增）
   ---------------------------------------------------------------------------
   🔴 为什么单独做、不再复用 contactModal：
     上一版把「反馈需求」直接套进「联系客服」的弹窗（青绿标题条 + 180px 方格），
     老板看了说"你UI设计一下呀"。问题有三：
       ① 两个入口语义不同（客服 = 找人问 / 反馈 = 提需求），却长一个样，不专业；
       ② 老板给的客服码是**竖版海报**（702×908），塞进 180×180 方格后 object-fit:contain
          ⇒ 码实际只显示 ~70px，又小又难扫；
       ③ 海报自带「微信扫码咨询客服」「企业微信·微信客服」两行字，与我们的标题重复。
     所以这里：① 换用**裁好的纯码** img/feedback-qr-code.png（456×456，四周 40px 静默区，
                 由 Pillow 扫黑模块包围盒定位后裁出，不动码本体）；
               ② 用**品牌橘色系**（--primary #f95901），与「联系客服」的青绿一眼分得开；
               ③ 文案只谈"反馈"，不重复客服那套。
   ⚠️ 类名统一 fbq- 前缀（全站唯一）；浮层挂 document.body（铁律：不写进 display:none 容器）
   =========================================================================== */
.fbq-mask {
  position: fixed; inset: 0; z-index: 210;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 14, 10, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 20px;
  animation: fbFadeIn .18s ease-out;
}
.fbq-card {
  position: relative;
  width: 100%; max-width: 316px;
  background: #fff; border-radius: 24px;
  padding: 24px 22px 20px;
  text-align: center;
  box-shadow: 0 20px 54px rgba(60, 30, 10, .24), 0 2px 8px rgba(0, 0, 0, .05);
  animation: fbPopIn .26s cubic-bezier(.2, .9, .3, 1.1);
}
.fbq-x {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; line-height: 1;
  border: none; background: #f6f6f8; color: #9a9aa5;
  border-radius: 50%; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.fbq-x:active { background: #ececf0; }

/* 顶部图标（与「我的」页「反馈需求」入口的邮筒意象一致） */
.fbq-ico {
  width: 46px; height: 46px; margin: 0 auto 10px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, #fff1e4, #ffe0c8);
  box-shadow: inset 0 0 0 1px #ffe2cd;
}
.fbq-title { font-size: 19px; font-weight: 800; color: #f95901; letter-spacing: .4px; }
.fbq-sub { margin-top: 5px; font-size: 12.5px; color: #9a9aa5; line-height: 1.55; }

/* 二维码：淡橘渐变描边当"相框"，内层纯白保证静默区不被吃掉 */
.fbq-qrbox {
  margin: 16px auto 0;
  width: 100%; max-width: 240px;
  padding: 7px; border-radius: 22px;
  background: linear-gradient(140deg, #ffd8b6, #fff0e2 55%, #ffdcbe);
}
.fbq-qrin { background: #fff; border-radius: 16px; padding: 8px; }
.fbq-qr { display: block; width: 100%; height: auto; }

.fbq-tip {
  margin-top: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: #c25200;
  background: #fff4ea; border: 1px solid #ffe0c8;
  border-radius: 999px; padding: 7px 14px;
}
.fbq-note { margin-top: 11px; font-size: 11.5px; color: #b3aa9f; line-height: 1.5; }
