/* ==========================================================================
   全局业务弹层：发布 / 任务 / 动态 / 打赏 / 报告 / 工具 / 提示词 / 视频 /
   匹配 / 信用档案 / AI 服务 / 盲盒 / 会话设置 / 登录
   ========================================================================== */

/* ---------- 弹层标题与通用骨架 ---------- */

.sh-head { padding: 7px 14px 2px; }
.sh-row { position: relative; display: flex; align-items: center; justify-content: center; min-height: 38px; }
.sh-copy { max-width: calc(100% - 64px); text-align: center; }
.sh-copy strong { display: block; font-size: 16.5px; font-weight: 800; letter-spacing: -0.2px; line-height: 1.3; }
.sh-copy span { display: block; margin-top: 3px; font-size: 10.5px; color: var(--sub); line-height: 1.4; }
.sh-x {
  position: absolute;
  right: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #F1F4F9;
  color: #7D8797;
}
.sh-back {
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
}
.sh-spacer { width: 30px; }
.sh-body { padding: 6px 16px calc(16px + env(safe-area-inset-bottom)); }
.sh-body [hidden] { display: none !important; }
.sh-footnote { margin: 12px 2px 2px; color: #AAB2C0; font-size: 9.5px; line-height: 1.7; text-align: center; }
.sh-sec { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; }
.sh-sec i { width: 3px; height: 12px; border-radius: 2px; background: var(--brand-grad); }
.sh-sec strong { font-size: 13px; font-weight: 800; color: #1C2638; }
.sh-sec span { margin-left: auto; font-size: 9.5px; color: #AAB2C0; }
.sh-para { margin: 0; font-size: 13px; line-height: 1.85; color: #4A5568; }
.sh-bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.sh-bullets li { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; line-height: 1.7; color: #4A5568; }
.sh-bullets .ico { flex: 0 0 auto; margin-top: 4px; color: var(--green); }
.sh-plainchip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  background: #F4F6FA;
  color: #5A6578;
  font-size: 11.5px;
  line-height: 1.4;
}
.sh-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 3px; }
.sh-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: #5A6578;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.sh-chip.is-on { background: var(--brand-grad); border-color: transparent; color: #fff; font-weight: 700; }
.sh-chip.is-on.is-green { background: var(--green); }
.sh-chip.is-picked { background: rgba(13, 155, 95, 0.12); border-color: rgba(13, 155, 95, 0.4); color: #0A3D24; font-weight: 700; }
.sh-field-label { display: flex; align-items: baseline; gap: 5px; margin: 14px 1px 8px; font-size: 11.5px; font-weight: 700; color: #1C2638; }
.sh-field-label em { font-style: normal; font-size: 9px; font-weight: 500; color: #AAB2C0; }
.sh-field { display: block; margin-bottom: 10px; }
.sh-field span { display: block; margin: 0 0 5px 1px; color: #5A6578; font-size: 11.5px; font-weight: 600; }
.sh-field input {
  width: 100%;
  height: 41px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #F4F6FA;
  outline: none;
  font-size: 16px;
  color: var(--ink);
}
.sh-field input:focus { border-color: rgba(63, 142, 247, 0.42); background: #fff; }

.sh-form { display: flex; flex-direction: column; gap: 9px; }
.sh-input {
  width: 100%;
  padding: 13px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #F3F5F9;
  outline: none;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  transition: border-color 0.15s, background 0.15s;
}
.sh-input::placeholder { color: #AAB2C0; font-weight: 400; }
.sh-input:focus { border-color: rgba(63, 142, 247, 0.4); background: #fff; }
.sh-textarea { min-height: 108px; resize: none; }

.sh-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 22px rgba(80, 110, 230, 0.28);
}
.sh-primary:active { transform: scale(0.985); }
.sh-primary.is-done { background: #EEF1F6; color: #8A94A6; box-shadow: none; }
.sh-primary.is-disabled {
  background: linear-gradient(135deg, #9DC2F9, #A9A3F2);
  opacity: 0.62;
  box-shadow: none;
}
.sh-x-float { position: absolute; right: 10px; top: 10px; transform: none; z-index: 6; }
.credit-sheet, .report-sheet { position: relative; }
.sh-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #F4F6FA;
  color: #5A6578;
  font-size: 12.5px;
  font-weight: 700;
}
.sh-tip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #FFF9EF;
  border: 1px solid #F7E6C7;
  color: #C7860B;
  font-size: 12.5px;
  font-weight: 700;
}
.sh-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin-top: 13px;
  text-align: left;
}
.sh-check-box {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 1px solid #D5DCE7;
  background: #fff;
  color: transparent;
}
.sh-check.is-on .sh-check-box { background: var(--brand); border-color: var(--brand); color: #fff; }
.sh-check em { flex: 1; font-style: normal; font-size: 10.5px; line-height: 1.65; color: #5A6578; }
.sh-inline-back {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 0 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #F4F6FA;
  color: #5A6578;
  font-size: 10.5px;
  font-weight: 600;
}
.sh-subhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 17px 0 9px; }
.sh-subhead span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: #1C2638; }
.sh-subhead em { font-style: normal; font-size: 9.5px; color: #AAB2C0; }
.sh-spark { font-style: normal; color: var(--brand); }
.sh-req {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: #7D8797;
  font-size: 11.5px;
}
.sh-req.is-need { border-color: #F5DFB4; background: #FFFBF2; color: var(--gold); font-weight: 600; }
.sh-ai-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 41px;
  margin-top: 17px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F1F0FF, #EDF4FF);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
}
.sh-ai-btn span { color: #8A7BFF; }
.sh-plan {
  margin-top: 10px;
  padding: 13px;
  border-radius: 12px;
  background: #F8F9FF;
  border: 1px solid #EAEAFF;
  color: #4A5568;
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
}

/* ---------- 发布 ---------- */

.pub-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(16, 27, 48, 0.04);
  text-align: left;
}
.pub-option:active { background: #FAFBFD; transform: scale(0.992); }
.pub-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
}
.pub-icon.is-blue { background: linear-gradient(135deg, #3F8EF7, #5B5BE6); }
.pub-icon.is-orange { background: linear-gradient(135deg, #F06A1D, #FFB03A); }
.pub-icon.is-green { background: linear-gradient(135deg, #0D9B5F, #34C759); }
.pub-copy { flex: 1; min-width: 0; }
.pub-copy strong { display: block; font-size: 14px; font-weight: 800; color: #1C2638; }
.pub-copy em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; line-height: 1.5; color: #8A94A6; }
.pub-option > .ico { color: #C2C8D4; }

/* ---------- 任务详情 ---------- */

.task-top { display: flex; align-items: flex-start; gap: 10px; }
.task-top h2 { flex: 1; margin: 0; font-size: 16.5px; font-weight: 900; line-height: 1.45; letter-spacing: -0.2px; }
.task-budget { flex: 0 0 auto; color: var(--orange); font-size: 19px; font-weight: 900; letter-spacing: -0.5px; }
.task-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; color: #8A94A6; font-size: 11.5px; }
.task-meta i { width: 3px; height: 3px; border-radius: 50%; background: #D6DBE4; }
.task-meta .is-red { color: var(--red); font-weight: 600; }
.task-party {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #F8FAFD;
}
.task-party-copy { flex: 1; min-width: 0; }
.task-party-copy strong { display: block; font-size: 14px; font-weight: 800; color: #1C2638; }
.task-party-copy span { display: flex; gap: 4px; margin-top: 5px; }
.task-cert {
  font-style: normal;
  padding: 2px 6px;
  border-radius: 5px;
  background: #EEF4FF;
  color: #3F7FDB;
  font-size: 9px;
  font-weight: 700;
}
.task-cert.is-enterprise { background: #FFF6E6; color: #B87807; }
.task-party-stat { flex: 0 0 auto; padding-left: 10px; border-left: 1px solid #E8EDF5; text-align: center; }
.task-party-stat b { display: block; font-size: 14px; font-weight: 900; color: #1C2638; }
.task-party-stat span { display: block; margin-top: 2px; font-size: 9.5px; color: #8A94A6; }
.task-providers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.task-provider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px 9px;
  border-radius: 12px;
  background: #F7F8FB;
}
.task-provider:active { background: #F1F4FA; }
.task-provider strong { margin-top: 5px; font-size: 11px; font-weight: 700; color: #1C2638; }
.task-provider b { margin-top: 2px; color: var(--brand-deep); font-size: 10px; font-weight: 900; }
.task-actions { display: flex; align-items: center; gap: 7px; margin-top: 18px; }
.task-actions .sh-ghost { flex: 1; padding: 0 10px; }
.task-actions .sh-tip-btn { flex: 0 0 auto; padding: 0 11px; }
.task-actions .sh-primary { flex: 1.15; height: 44px; margin: 0; font-size: 14px; }

/* ---------- 动态详情 ---------- */

.dyn-head { display: flex; align-items: center; gap: 9px; }
.dyn-author { flex: 1; min-width: 0; }
.dyn-author strong { display: flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 800; color: #1C2638; }
.dyn-opc {
  font-style: normal;
  padding: 1px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #F0A020, #D9930D);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
}
.dyn-author span { display: block; margin-top: 2px; font-size: 10.5px; color: #8A94A6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dyn-follow {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #EEF4FF;
  border: 1px solid #DBE3F2;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 600;
}
.dyn-follow.is-on { background: #F7F9FD; color: #5A6578; }
.dyn-cover { margin-top: 12px; border-radius: 12px; overflow: hidden; max-height: 240px; background: #EEF1F7; }
.dyn-cover img { width: 100%; max-height: 240px; object-fit: cover; display: block; }
.dyn-text { margin: 12px 0 0; font-size: 14px; line-height: 1.8; color: #1C2638; white-space: pre-wrap; }
.dyn-topics { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.dyn-topics span { padding: 3px 8px; border-radius: 6px; background: #F0F1FF; color: #6B63D9; font-size: 10px; font-weight: 600; }
.dyn-actions { display: flex; align-items: center; gap: 14px; margin-top: 13px; padding: 11px 0; border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.dyn-actions button { display: inline-flex; align-items: center; gap: 4px; color: #8A94A6; font-size: 12px; }
.dyn-actions button .ico { width: 14px; height: 14px; }
.dyn-actions button.is-liked { color: #E04545; font-weight: 700; }
.dyn-actions button.is-saved { color: var(--gold); font-weight: 700; }
.dyn-actions button.is-tip { margin-left: auto; color: var(--gold); font-weight: 700; }
.dyn-tipnote { align-self: flex-start; margin-top: 10px; padding: 6px 10px; border-radius: 8px; background: #FFFAF0; color: var(--gold); font-size: 10.5px; }
.dyn-links { display: flex; align-items: center; gap: 17px; margin-top: 12px; }
.dyn-links button { color: var(--brand); font-size: 12px; font-weight: 600; }
.dyn-links button i { font-style: normal; color: var(--brand-deep); }
.dyn-summary {
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  background: #F4F2FF;
  color: #5A6578;
  font-size: 11.5px;
  line-height: 1.7;
}
.dyn-comments { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.dyn-comment { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; line-height: 1.7; }
.dyn-comment strong { flex: 0 0 auto; font-weight: 800; color: #1C2638; }
.dyn-comment span { color: #5A6578; }
.dyn-empty { margin: 2px 0 0; color: #8A94A6; font-size: 11.5px; }
.dyn-composer { display: flex; gap: 8px; margin-top: 14px; }
.dyn-composer input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #F4F6FA;
  outline: none;
  font-size: 16px;
}
.dyn-composer button {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: #1E2A44;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 打赏 ---------- */

.tip-sheet { padding-top: 2px; }
.tip-who { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tip-ava-ring {
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F95F8, #8A6BF0);
  box-shadow: 0 10px 24px rgba(80, 110, 230, 0.28);
}
.tip-name { display: flex; align-items: center; gap: 5px; margin-top: 9px; }
.tip-name strong { font-size: 16px; font-weight: 900; color: #1C2638; }
.tip-opc { font-style: normal; padding: 2px 6px; border-radius: 4px; background: linear-gradient(135deg, #F0A020, #D9930D); color: #fff; font-size: 8.5px; font-weight: 800; }
.tip-who > p { margin: 5px 0 0; color: #7D8797; font-size: 12px; }
.tip-subject { margin-top: 4px; color: #A3ABB8; font-size: 11.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tip-past { margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: #F0EEFF; color: var(--brand-deep); font-style: normal; font-size: 10px; font-weight: 600; }
.tip-amounts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 18px; }
.tip-amount {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-soft);
  color: #1C2638;
  font-size: 16px;
  font-weight: 900;
}
.tip-amount i { font-style: normal; font-size: 10px; font-weight: 700; opacity: 0.5; }
.tip-amount.is-on { background: var(--brand-grad); border-color: transparent; color: #fff; box-shadow: 0 7px 16px rgba(80, 110, 230, 0.3); }
.tip-amount.is-on i { opacity: 0.85; }
.tip-custom { display: flex; align-items: center; gap: 7px; height: 43px; margin-top: 9px; padding: 0 13px; border-radius: 12px; background: #F4F6FA; }
.tip-custom span { color: #8A94A6; font-size: 15px; font-weight: 900; }
.tip-custom input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 16px; font-weight: 700; }
.tip-note { margin: 9px 0 0; text-align: center; color: #A3ABB8; font-size: 10.5px; }
.tip-message { position: relative; margin-top: 14px; border-radius: 12px; border: 1px solid var(--border-soft); background: #fff; }
.tip-message textarea {
  width: 100%;
  min-height: 76px;
  padding: 11px 13px 24px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  outline: none;
  resize: none;
  font-size: 16px;
  line-height: 1.6;
}
.tip-message span { position: absolute; right: 11px; bottom: 7px; color: #C2C8D4; font-size: 10px; }
.tip-quicks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tip-quicks button {
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  background: #FBFCFE;
  border: 1px solid var(--border-soft);
  color: #5A6578;
  font-size: 11.5px;
}
.tip-quicks button.is-kimi { background: #F6F4FF; border-color: #E3DDFF; color: var(--brand-deep); font-weight: 700; }
.tip-pay-title { margin: 17px 0 9px; font-size: 12.5px; font-weight: 800; color: #1C2638; }
.tip-pays { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tip-pay {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 43px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border-soft);
  color: #5A6578;
}
.tip-pay i { width: 16px; height: 16px; border-radius: 5px; background: #D6DBE4; flex: 0 0 auto; }
.tip-pay.is-wechat i { background: linear-gradient(135deg, #4ADE80, #16A34A); }
.tip-pay.is-alipay i { background: linear-gradient(135deg, #4AA8FF, #1677FF); }
.tip-pay.is-balance i { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.tip-pay.is-credit i { background: linear-gradient(135deg, #A78BFA, #7C3AED); }
.tip-pay span { flex: 1; text-align: left; font-size: 12.5px; font-weight: 600; }
.tip-pay em { font-style: normal; color: #8A94A6; font-size: 10px; }
.tip-pay.is-on { background: #F6FAFF; border-color: #CFE0FF; }
.tip-pay.is-on span { color: var(--brand); }
.tip-warn { margin: 9px 2px 0; text-align: right; color: var(--red); font-size: 11px; font-weight: 600; }
.tip-confirm { margin-top: 17px; }
.tip-later { display: block; width: 100%; height: 38px; margin-top: 4px; color: #8A94A6; font-size: 12.5px; }

/* ---------- 品牌报告 ---------- */

.gd-report-head { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0 13px; }
.gd-report-head > div { flex: 1; min-width: 0; }
.gd-report-head strong { display: block; font-size: 16px; font-weight: 900; line-height: 1.35; color: #1C2638; }
.gd-report-head > div span { display: block; margin-top: 4px; color: #8A94A6; font-size: 10px; line-height: 1.5; }
.report-hero {
  position: relative;
  padding: 15px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(100% 85% at 100% 0%, rgba(150, 170, 255, 0.6), transparent 55%),
    linear-gradient(145deg, #3F7EF0, #5B5BE6 58%, #7A5BE6);
  color: #fff;
  box-shadow: 0 12px 28px rgba(70, 100, 220, 0.26);
}
.report-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.04), 0 0 0 42px rgba(255, 255, 255, 0.03);
}
.report-hero-label { font-size: 12px; opacity: 0.8; }
.report-hero-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.report-hero-main > div:first-child b { display: block; font-size: 40px; font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; }
.report-hero-main small { font-size: 16px; font-weight: 700; opacity: 0.8; }
.report-hero-main span { display: block; margin-top: 2px; font-size: 10.5px; opacity: 0.75; }
.report-ring {
  position: relative;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: conic-gradient(#fff var(--p), rgba(255, 255, 255, 0.22) 0);
  isolation: isolate;
}
.report-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(64, 92, 210, 0.55);
}
.report-ring span { font-size: 14px; font-weight: 900; line-height: 1; }
.report-ring em { display: block; margin-top: 2px; font-style: normal; font-size: 7.5px; opacity: 0.72; text-align: center; }
.report-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.report-legend span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font-size: 9.5px; }
.report-legend i { width: 6px; height: 6px; border-radius: 50%; background: #FFD36E; }
.report-legend .c2 { background: #7BF0B0; }
.report-legend .c3 { background: #FF8A8A; }
.report-legend .c4 { background: #C6B8FF; }
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px 6px;
  margin-top: 13px;
  padding: 12px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}
.report-grid > div { text-align: center; }
.report-grid b { display: block; font-size: 16px; font-weight: 900; line-height: 1.2; }
.report-grid span { display: block; margin-top: 2px; font-size: 9.5px; opacity: 0.85; }
.report-grid em { display: block; margin-top: 2px; font-style: normal; font-size: 8px; opacity: 0.6; line-height: 1.35; }
.report-quote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  padding: 13px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(16, 27, 48, 0.04);
}
.report-quote > span { color: var(--brand); font-size: 20px; line-height: 1; font-weight: 900; }
.report-quote p { margin: 0; font-size: 12.5px; line-height: 1.8; color: #3D4757; }
.report-platforms { margin-top: 13px; padding: 13px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.report-pl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.report-pl-head strong { font-size: 13.5px; font-weight: 800; color: #1C2638; }
.report-pl-head span { font-size: 9.5px; color: #AAB2C0; }
.report-pl { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.report-pl > span { flex: 0 0 62px; font-size: 11.5px; color: #3D4757; }
.report-bar { flex: 1; height: 6px; border-radius: 999px; background: #F0F3F9; overflow: hidden; }
.report-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4F95F8, #5B5BE6); }
.report-pl em { flex: 0 0 26px; font-style: normal; font-size: 9px; color: #AAB2C0; text-align: right; }
.report-pl b { flex: 0 0 40px; font-size: 11px; font-weight: 800; color: #1C2638; text-align: right; }
.report-actions { display: flex; gap: 8px; margin-top: 15px; }
.report-actions .sh-ghost { flex: 1; }
.report-actions .sh-primary { flex: 1.2; margin: 0; height: 44px; }

/* ---------- 工具 ---------- */

.tool-hero {
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(16, 27, 48, 0.18);
}
.tool-title { display: flex; align-items: center; gap: 7px; margin-top: 14px; }
.tool-title h2 { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -0.5px; color: #1C2638; }
.tool-title em { font-style: normal; padding: 3px 8px; border-radius: 7px; background: #EEF4FF; color: #3F7FDB; font-size: 10px; font-weight: 700; }
.tool-desc { margin: 6px 0 0; color: #8A94A6; font-size: 12px; line-height: 1.6; }
.tool-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; padding: 13px 6px; border-radius: 13px; background: #F5F7FB; }
.tool-metrics > div { text-align: center; border-left: 1px solid #E7ECF5; }
.tool-metrics > div:first-child { border-left: 0; }
.tool-metrics b { display: block; font-size: 17px; font-weight: 900; color: #1C2638; }
.tool-metrics span { display: block; margin-top: 2px; font-size: 9.5px; color: #8A94A6; }
.tool-note { margin-top: 13px; padding: 11px 12px; border-radius: 11px; background: #FFF9EF; color: #8A6A35; font-size: 11.5px; line-height: 1.6; }
.tool-sheet .sh-primary { margin-top: 14px; }

/* ---------- 会话设置 ---------- */

.chat-set { display: flex; flex-direction: column; gap: 12px; }
.chat-set-card { overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.chat-set-profile { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-bottom: 1px solid var(--divider); }
.chat-set-profile > div { flex: 1; min-width: 0; }
.chat-set-profile strong { display: block; font-size: 14px; font-weight: 800; color: #1C2638; }
.chat-set-profile > div span { display: block; margin-top: 2px; color: #8A94A6; font-size: 11px; }
.chat-set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 14px;
  border-top: 1px solid var(--divider);
}
.chat-set-row:first-of-type { border-top: 0; }
.chat-set-row strong { font-size: 13.5px; font-weight: 600; color: #1C2638; }
.chat-set-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 13px 14px;
  border-top: 1px solid var(--divider);
  color: #5A6578;
  text-align: left;
}
.chat-set-action:first-child { border-top: 0; }
.chat-set-action strong { flex: 1; font-size: 13.5px; font-weight: 600; color: #1C2638; }
.chat-set-action .ico:last-child { color: #C2C8D4; }
.chat-set-action.is-danger .ico:first-child,
.chat-set-action.is-danger strong { color: #D9534F; }
.chat-set-action.is-danger .ico:last-child { color: #E3B7B7; }

/* ---------- 提交 AI 作品 ---------- */

.submit-tip {
  margin-bottom: 14px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #FFF9EF;
  color: #8A6A35;
  font-size: 11.5px;
  line-height: 1.65;
}
.submit-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin-bottom: 10px;
  padding: 11px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(16, 27, 48, 0.04);
  text-align: left;
}
.submit-thumb { position: relative; flex: 0 0 auto; width: 76px; height: 56px; border-radius: 10px; overflow: hidden; background: #EEF1F7; }
.submit-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.submit-thumb em {
  position: absolute;
  left: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(10, 14, 26, 0.55);
  color: #fff;
  font-style: normal;
  font-size: 8.5px;
  font-weight: 700;
}
.submit-copy { flex: 1; min-width: 0; }
.submit-copy strong { display: block; font-size: 13px; font-weight: 700; color: #1C2638; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.submit-copy em { display: block; margin-top: 4px; font-style: normal; font-size: 10px; color: #8A94A6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.submit-go {
  flex: 0 0 auto;
  height: 29px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 29px;
}
.submit-done { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; color: var(--green); font-size: 11px; font-weight: 600; }
.submit-cover { position: relative; height: 150px; border-radius: 14px; overflow: hidden; background: #EEF1F7; }
.submit-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.submit-cover span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(10, 14, 26, 0.55);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
}
.submit-work .sh-form { margin-top: 13px; }
.submit-note { display: flex; align-items: flex-start; gap: 5px; margin-top: 14px; color: #8A94A6; font-size: 11px; line-height: 1.65; }
.submit-note .ico { flex: 0 0 auto; margin-top: 1px; color: var(--gold); }

/* ---------- 投名状 ---------- */

.pitch-sub { margin: 2px 0 12px; color: #8A94A6; font-size: 11.5px; }
.pitch-gates { padding: 11px; border-radius: 11px; background: #F4F6FA; }
.pitch-gates-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pitch-gates-head span { display: inline-flex; align-items: center; gap: 4px; color: #1C2638; font-size: 11px; font-weight: 700; }
.pitch-gates-head span .ico { color: var(--brand); }
.pitch-gates-head em { font-style: normal; color: #AAB2C0; font-size: 9.5px; }
.pitch-gate { padding: 4px 8px; border-radius: 999px; background: rgba(63, 142, 247, 0.08); border: 1px solid rgba(63, 142, 247, 0.22); color: var(--brand-deep); font-size: 10.5px; font-weight: 600; }
.pitch-editor { margin-top: 14px; }
.pitch-editor-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pitch-editor-head strong { font-size: 11.5px; font-weight: 700; color: #1C2638; }
.pitch-editor-head span { font-size: 9.5px; color: #AAB2C0; }
.pitch-editor textarea {
  width: 100%;
  min-height: 126px;
  padding: 11px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
  resize: none;
  font-size: 16px;
  line-height: 1.7;
}
.pitch-editor textarea:focus { border-color: rgba(63, 142, 247, 0.42); }
.pitch-case-title { margin: 14px 0 7px; font-size: 11px; font-weight: 600; color: #8A94A6; }
.pitch-cases { display: flex; flex-direction: column; gap: 6px; }
.pitch-cases button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  color: #5A6578;
  text-align: left;
}
.pitch-cases button i {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #D5DCE7;
  font-style: normal;
  color: #fff;
}
.pitch-cases button span { font-size: 11.5px; line-height: 1.45; }
.pitch-cases button.is-on { background: rgba(63, 142, 247, 0.07); border-color: rgba(63, 142, 247, 0.4); color: #1C2638; }
.pitch-cases button.is-on i { background: var(--brand); border-color: var(--brand); }

/* ---------- 发布悬赏 ---------- */

.reward-kinds { gap: 7px; }
.reward-kinds .sh-chip { height: 31px; }
.reward-kinds .sh-chip.is-on { background: var(--brand-deep); }
.reward-form .sh-form { margin-top: 9px; }
.reward-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding: 0 11px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #fff;
}
.reward-price > span { flex: 0 0 auto; color: #5A6578; font-size: 11.5px; font-weight: 600; }
.reward-price input {
  width: 84px;
  border: 0;
  background: none;
  outline: none;
  font-size: 16px;
  font-weight: 900;
  color: #1C2638;
}
.reward-price > em { font-style: normal; font-size: 10px; color: #AAB2C0; }
.reward-price > div { display: flex; gap: 5px; margin-left: auto; }
.reward-price button { height: 24px; padding: 0 8px; border-radius: 999px; background: rgba(63, 142, 247, 0.1); color: var(--brand); font-size: 10.5px; font-weight: 700; }
.reward-barter-note { color: #AAB2C0; font-size: 10.5px; }
.reward-slots { display: flex; align-items: center; gap: 7px; margin-top: 9px; }
.reward-slots > span { flex: 0 0 auto; color: #5A6578; font-size: 11.5px; font-weight: 600; }
.reward-slots button { height: 28px; padding: 0 11px; border-radius: 999px; background: #F4F6FA; color: #5A6578; font-size: 11.5px; }
.reward-slots button.is-on { background: var(--orange); color: #fff; font-weight: 700; }

/* ---------- 提示词 ---------- */

.prompt-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 4px 0 13px; }
.prompt-tag { padding: 3px 8px; border-radius: 6px; background: #F0F1FF; color: #6B63D9; font-size: 10.5px; font-weight: 600; }
.prompt-tags > em { margin-left: auto; font-style: normal; color: var(--orange); font-size: 12.5px; font-weight: 900; }
.prompt-tags > em.is-free { color: var(--green); }
.prompt-box { padding: 13px; border-radius: 13px; background: #F5F7FB; }
.prompt-box-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #8A94A6; }
.prompt-box-head span { font-size: 11.5px; font-weight: 600; }
.prompt-box-head em { font-style: normal; font-size: 10px; color: #AAB2C0; }
.prompt-box p { margin: 0; font-size: 13px; line-height: 1.8; color: #1C2638; white-space: pre-wrap; }
.prompt-actions { display: flex; gap: 8px; margin-top: 16px; }
.prompt-actions .sh-ghost { flex: 1; }

/* ---------- 视频 ---------- */

.video-stage { position: relative; height: 190px; border-radius: 14px; overflow: hidden; background: #101828; }
.video-stage > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 18, 0.1), rgba(4, 8, 18, 0.58)); }
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.video-pause-bars { display: flex; gap: 4px; }
.video-pause-bars i { width: 4px; height: 16px; border-radius: 2px; background: #fff; }
.video-progress { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 10px; }
.video-progress > div { flex: 1; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.video-progress i { display: block; width: 0; height: 100%; border-radius: 999px; background: #fff; transition: width 0.12s linear; }
.video-actions { display: flex; align-items: center; gap: 13px; margin-top: 14px; }
.video-actions button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; color: #8A94A6; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.video-actions button.is-liked { color: #E04545; }
.video-actions button.is-saved { color: var(--gold); }
.video-actions button.is-tip {
  margin-left: auto;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #FFF9EF;
  color: var(--gold);
  font-size: 12px;
}
.video-comments-head { display: flex; align-items: center; gap: 6px; margin-top: 20px; }
.video-comments-head strong { font-size: 14px; font-weight: 900; color: #1C2638; }
.video-comments-head span { color: #AAB2C0; font-size: 12px; }
.video-comments { margin-top: 6px; }
.video-comment { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; }
.video-comment > div { flex: 1; min-width: 0; }
.video-comment strong { display: block; font-size: 11.5px; font-weight: 600; color: #1C2638; }
.video-comment p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.65; color: #5A6578; }
.video-empty { margin: 0; padding: 20px 0; text-align: center; color: #8A94A6; font-size: 12px; }
.video-composer { display: flex; gap: 8px; margin-top: 12px; }
.video-composer input { flex: 1; min-width: 0; height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border); background: #F4F6FA; outline: none; font-size: 16px; }
.video-composer button { flex: 0 0 auto; height: 36px; padding: 0 15px; border-radius: 999px; background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 700; }

/* ---------- 智能匹配 ---------- */

.match-row { margin-bottom: 11px; padding: 12px; border-radius: 15px; background: #fff; border: 1px solid var(--border); box-shadow: 0 4px 14px rgba(16, 27, 48, 0.04); }
.match-head { display: flex; align-items: center; gap: 9px; }
.match-copy { flex: 1; min-width: 0; }
.match-copy strong { display: flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 900; color: #1C2638; }
.match-cert { font-style: normal; padding: 2px 5px; border-radius: 4px; background: #EEF4FF; color: #3F7FDB; font-size: 8px; font-weight: 700; }
.match-level { font-style: normal; padding: 2px 5px; border-radius: 4px; background: #FFF3D6; color: #9A6B08; font-size: 8.5px; font-weight: 800; }
.match-copy > span { display: block; margin-top: 2px; color: #8A94A6; font-size: 10.5px; }
.match-score { flex: 0 0 auto; text-align: center; }
.match-score b { display: block; font-size: 19px; font-weight: 900; color: var(--brand-deep); line-height: 1.1; }
.match-score span { display: block; font-size: 9px; color: #AAB2C0; }
.match-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; padding: 8px 0; border-radius: 10px; background: #F7F8FB; }
.match-strip > div { text-align: center; border-left: 1px solid #E9EDF4; }
.match-strip > div:first-child { border-left: 0; }
.match-strip b { display: block; font-size: 13.5px; font-weight: 900; color: #1C2638; }
.match-strip span { display: block; margin-top: 1px; font-size: 9px; color: #8A94A6; }
.match-why { margin: 9px 0 0; color: #5A6578; font-size: 10.5px; line-height: 1.6; }
.match-actions { display: flex; gap: 8px; margin-top: 10px; }
.match-actions .sh-ghost { flex: 1; height: 34px; }
.match-actions .sh-primary { flex: 1; height: 34px; margin: 0; font-size: 12.5px; }

/* ---------- 信用档案 ---------- */

.credit-sheet { padding-top: 12px; }
.credit-fit {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(140deg, #2E4BE0, #6B3FD6);
  color: #fff;
  box-shadow: 0 12px 26px rgba(63, 110, 240, 0.28);
}
.credit-fit-top { display: flex; align-items: baseline; gap: 8px; }
.credit-fit-top span { flex: 1; font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, 0.86); }
.credit-fit-top b { font-size: 31px; font-weight: 900; letter-spacing: -1px; }
.credit-fit-top small { font-size: 14px; opacity: 0.8; }
.credit-fit-task { margin: 4px 0 10px; font-size: 11px; color: rgba(255, 255, 255, 0.72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.credit-fit-line { display: flex; align-items: flex-start; gap: 6px; padding: 3px 0; font-size: 11px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.credit-fit-line .ico { flex: 0 0 auto; margin-top: 3px; color: #9BF3C4; }
.credit-fit-line.is-warn .ico { color: #FFD27A; }
.credit-head { display: flex; align-items: center; gap: 11px; }
.credit-head > div { flex: 1; min-width: 0; }
.credit-head strong { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 900; color: #1C2638; }
.credit-level { display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px; border-radius: 999px; background: linear-gradient(135deg, #FFC24B, var(--gold)); color: #4A3208; font-style: normal; font-size: 9.5px; font-weight: 900; }
.credit-head > div > span { display: block; margin-top: 3px; color: #8A94A6; font-size: 11px; }
.credit-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 13px; }
.credit-numbers > div { padding: 12px 4px; border-radius: 12px; background: #F5F7FB; text-align: center; }
.credit-numbers b { display: block; font-size: 22px; font-weight: 900; color: #1C2638; line-height: 1.15; }
.credit-numbers b.is-green { color: var(--green); }
.credit-numbers span { display: block; margin-top: 2px; color: #8A94A6; font-size: 10px; }
.credit-card { margin-top: 13px; padding: 13px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 4px 14px rgba(16, 27, 48, 0.04); }
.credit-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.credit-card-head strong { font-size: 13.5px; font-weight: 900; color: #1C2638; }
.credit-card-head span { font-size: 9.5px; color: #AAB2C0; }
.credit-levels { display: flex; gap: 4px; margin-top: 12px; }
.credit-levels > div { flex: 1; text-align: center; }
.credit-levels i { display: block; height: 6px; border-radius: 999px; background: #F0F3F9; }
.credit-levels span { display: block; margin-top: 3px; font-size: 8.5px; color: #AAB2C0; }
.credit-levels > div.is-on i { background: var(--brand-grad); }
.credit-levels > div.is-on span { color: #1C2638; font-weight: 700; }
.credit-growth-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.credit-growth-row b { color: var(--brand-deep); font-size: 11.5px; font-weight: 700; }
.credit-growth-row span { color: #8A94A6; font-size: 10.5px; }
.credit-track { height: 5px; margin-top: 6px; border-radius: 999px; background: #F0F3F9; overflow: hidden; }
.credit-track i { display: block; height: 100%; border-radius: 999px; background: var(--brand-grad); }
.credit-cap { display: flex; align-items: flex-start; gap: 5px; margin-top: 10px; font-size: 10.5px; line-height: 1.55; font-weight: 600; }
.credit-cap.is-ok { color: var(--green); }
.credit-cap.is-warn { color: var(--gold); }
.credit-cap .ico { flex: 0 0 auto; margin-top: 2px; }
.credit-note { margin: 10px 0 0; color: #AAB2C0; font-size: 10px; line-height: 1.7; }
.credit-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.credit-metrics > div { text-align: center; }
.credit-metrics b { display: block; font-size: 15px; font-weight: 900; color: #1C2638; line-height: 1.2; }
.credit-metrics .is-green b { color: var(--green); }
.credit-metrics .is-deep b { color: var(--brand-deep); }
.credit-metrics span { display: block; margin-top: 2px; color: #8A94A6; font-size: 8.5px; line-height: 1.35; }
.credit-logs-title { margin: 13px 0 7px; color: #8A94A6; font-size: 10.5px; font-weight: 600; }
.credit-logs { display: flex; flex-direction: column; gap: 7px; }
.credit-log { display: flex; align-items: flex-start; gap: 8px; padding: 9px; border-radius: 9px; background: #F5F7FB; }
.credit-log .ico { flex: 0 0 auto; margin-top: 2px; color: var(--green); }
.credit-log > div { flex: 1; min-width: 0; }
.credit-log strong { display: block; font-size: 11.5px; font-weight: 600; color: #1C2638; }
.credit-log span { display: block; margin-top: 1px; font-size: 10.5px; line-height: 1.5; color: #5A6578; }
.credit-log em { flex: 0 0 auto; font-style: normal; font-size: 9.5px; color: #AAB2C0; }
.credit-rating { margin-top: 11px; display: flex; flex-direction: column; gap: 8px; }
.credit-rating-row { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 10px; background: #F5F7FB; }
.credit-rating-row > div { flex: 1; min-width: 0; }
.credit-rating-row strong { display: block; font-size: 11.5px; font-weight: 600; color: #1C2638; }
.credit-rating-row span { display: block; margin-top: 1px; font-size: 9.5px; color: #AAB2C0; }
.credit-rating-row em { font-style: normal; color: var(--gold); font-size: 9px; letter-spacing: 0.5px; }
.credit-rating-row b { color: #1C2638; font-size: 12px; font-weight: 900; }
.credit-rule { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; }
.credit-rule b { flex: 0 0 84px; font-size: 10.5px; font-weight: 700; color: #1C2638; }
.credit-rule span { flex: 1; font-size: 10px; line-height: 1.65; color: #8A94A6; }
.credit-strike { display: flex; align-items: center; gap: 5px; margin-top: 9px; color: var(--red); font-size: 10px; }

/* ---------- AI 服务 ---------- */

.ai-model-card { padding: 14px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 4px 14px rgba(16, 27, 48, 0.04); }
.ai-model-head { display: flex; align-items: center; gap: 8px; }
.ai-model-head .ico { color: var(--brand-deep); }
.ai-model-head strong { flex: 1; font-size: 14px; font-weight: 900; color: #1C2638; }
.ai-model-note { margin: 7px 0 12px; color: #8A94A6; font-size: 10.5px; line-height: 1.65; }
.ai-status { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
.ai-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.ai-status i.is-ok { background: var(--green); }
.ai-status i.is-bad { background: var(--red); }
.ai-status i.is-testing { background: var(--brand); animation: liveBlink 0.9s ease-in-out infinite; }
@keyframes liveBlink { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.ai-status span { flex: 1; min-width: 0; color: #5A6578; font-size: 10.5px; line-height: 1.45; }
.ai-status button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 999px; background: #EEF4FF; color: var(--brand-deep); font-size: 11px; font-weight: 700; }
.ai-actions { display: flex; gap: 8px; margin-top: 14px; }
.ai-actions .sh-ghost, .ai-actions .sh-primary { flex: 1; margin: 0; height: 46px; }

/* ---------- 商机盲盒 ---------- */

.mystery-sheet { padding-top: 6px; }
.mystery-card { padding: 15px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(16, 27, 48, 0.07); }
.mystery-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mystery-card-head strong { font-size: 14.5px; font-weight: 900; color: #1C2638; }
.mystery-card-head span { display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 999px; background: rgba(217, 147, 13, 0.11); color: var(--gold); font-size: 10px; font-weight: 700; }
.mystery-box { position: relative; height: 150px; display: grid; place-items: center; margin-top: 4px; }
.mystery-glow { position: absolute; width: 148px; height: 148px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 147, 13, 0.34), transparent 68%); animation: mysteryGlow 2.2s ease-in-out infinite; }
@keyframes mysteryGlow { 0%, 100% { transform: scale(0.92); opacity: 0.75; } 50% { transform: scale(1.04); opacity: 1; } }
.mystery-chest { position: relative; color: var(--gold); filter: drop-shadow(0 10px 16px rgba(217, 147, 13, 0.4)); animation: mysteryFloat 2.6s ease-in-out infinite; }
@keyframes mysteryFloat { 0%, 100% { transform: translateY(3px) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
.mystery-spark { position: absolute; color: var(--gold); font-size: 13px; opacity: 0.6; }
.mystery-spark.s1 { left: 30%; top: 22%; }
.mystery-spark.s2 { right: 28%; top: 32%; font-size: 10px; }
.mystery-spark.s3 { left: 40%; bottom: 20%; font-size: 8px; }
.mystery-once { margin: 0; text-align: center; color: #AAB2C0; font-size: 10px; }
.mystery-card .sh-primary { margin-top: 10px; }

.mystery-overlay .full-panel {
  background: transparent;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  pointer-events: none;
}
.mystery-backdrop { position: absolute; inset: 0; background: rgba(8, 12, 26, 0.48); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: auto; }
.mystery-modal { position: relative; z-index: 2; width: 100%; max-width: 320px; pointer-events: auto; animation: mysteryPop 0.38s cubic-bezier(0.22, 0.9, 0.3, 1.15); }
@keyframes mysteryPop { from { opacity: 0; transform: scale(0.86); } }
.mystery-result {
  padding: 20px;
  border-radius: 26px;
  background: rgba(250, 251, 255, 0.95);
  border: 1.5px solid rgba(120, 140, 255, 0.4);
  box-shadow: 0 24px 60px rgba(8, 14, 34, 0.35);
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.mystery-result::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 147, 13, 0.22), transparent 62%);
  z-index: -1;
  pointer-events: none;
}
.mystery-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(217, 147, 13, 0.14);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 2px;
}
.mystery-prize-ic {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 16px auto 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 26px rgba(8, 14, 34, 0.24);
}
.mystery-result > strong { display: block; margin-top: 14px; font-size: 16px; font-weight: 900; line-height: 1.45; color: #1C2638; }
.mystery-result > p { margin: 7px 0 0; color: #5A6578; font-size: 11.5px; line-height: 1.7; }
.mystery-result .sh-primary { margin-top: 16px; }
.mystery-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 40px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(63, 142, 247, 0.08);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
}

.mystery-poster { overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(8, 14, 34, 0.38); }
.mystery-poster-top {
  position: relative;
  padding: 16px 16px 20px;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(150, 170, 255, 0.55), transparent 60%),
    linear-gradient(145deg, #4F8FF7, #5B5BE6 60%, #6E4BD6);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.mystery-poster-brand { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 700; opacity: 0.9; }
.mystery-poster-brand em { font-style: normal; opacity: 0.7; }
.mystery-poster-top > p { margin: 14px 0 0; font-size: 12.5px; opacity: 0.82; }
.mystery-poster-ic {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 12px auto 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}
.mystery-poster-top > strong { display: block; margin-top: 13px; font-size: 17px; font-weight: 900; line-height: 1.4; }
.mystery-poster-bottom { display: flex; align-items: center; gap: 12px; padding: 14px; }
.mystery-poster-copy { flex: 1; min-width: 0; }
.mystery-poster-copy strong { display: block; font-size: 13px; font-weight: 900; color: #1C2638; }
.mystery-poster-copy span { display: block; margin-top: 3px; color: #8A94A6; font-size: 9.5px; }
.mystery-qr {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 7px;
  border-radius: 8px;
  background: #F1F4F9;
}
.mystery-qr i { border-radius: 2px; background: #2B3446; }
.mystery-qr i:nth-child(2n) { background: #B8C2D2; }
.mystery-poster-note { margin: 12px 0 0; text-align: center; color: rgba(255, 255, 255, 0.72); font-size: 10.5px; }
.mystery-poster-actions { display: flex; gap: 8px; margin-top: 12px; }
.mystery-poster-actions button {
  flex: 1;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #5A6578;
  font-size: 13px;
  font-weight: 700;
}
.mystery-poster-actions button.is-gold {
  flex: 1.35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #FFC24B, #F2B427);
  color: #4A3208;
  box-shadow: 0 8px 20px rgba(217, 147, 13, 0.4);
}

/* ---------- 开关 ---------- */
.switch { position: relative; width: 40px; height: 24px; border-radius: 999px; background: #37C26E; flex: 0 0 auto; display: inline-block; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); }
.switch.is-off { background: #DDE3EC; }
.switch.is-off::after { right: auto; left: 2px; }

/* ---------- AI 对话兜底 ---------- */
.agent-chat-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #F7F8FB; }
.agent-chat-view { flex: 1; padding: 16px 14px 90px; overflow-y: auto; }
.agent-msg { max-width: 82%; padding: 11px 13px; margin-bottom: 11px; border-radius: 16px; font-size: 13px; line-height: 1.7; white-space: pre-wrap; }
.agent-msg.ai { background: #fff; border: 1px solid var(--border); color: #2A3448; border-bottom-left-radius: 5px; }
.agent-msg.me { margin-left: auto; background: var(--brand-grad); color: #fff; border-bottom-right-radius: 5px; box-shadow: 0 5px 14px rgba(80, 110, 230, 0.22); }

/* ---------- 登录 ---------- */
.auth-page { min-height: 100vh; min-height: 100dvh; padding: calc(10px + env(safe-area-inset-top)) 24px 30px; background: #fff; }
.auth-top { display: flex; justify-content: flex-end; }
.auth-brand { padding: 28px 0 30px; text-align: center; }
.auth-brand .brand-mark { width: 54px; height: 54px; border-radius: 17px; font-size: 30px; margin: 0 auto 12px; }
.auth-brand strong { display: block; font-size: 24px; font-weight: 900; letter-spacing: -0.6px; }
.auth-brand p { margin: 7px 0 0; font-size: 11.5px; color: var(--sub); }
.auth-actions { display: flex; flex-direction: column; gap: 10px; }
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.auth-btn.wechat { background: #07C160; }
.auth-btn.douyin { background: #161823; }
.auth-btn.apple { background: #111; }
.auth-btn:active { opacity: 0.9; transform: scale(0.99); }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0; color: var(--faint); font-size: 10px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--divider); }
.auth-phone { display: flex; gap: 8px; }
.phone-input { flex: 1; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: 13px; border: 1px solid var(--border); background: var(--field); }
.phone-input span { font-size: 12px; color: var(--sub); font-weight: 600; }
.phone-input input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 16px; }
.auth-send { flex: 0 0 auto; height: 46px; padding: 0 14px; font-size: 12.5px; }
.auth-terms { margin: 20px 4px 0; font-size: 9.5px; line-height: 1.65; color: var(--faint); text-align: center; }
