/* ==========================================================================
   页面级样式：我要出物资 / 我要收物资 / 登记单详情
   ========================================================================== */

/* ---- 页面头部 ---- */
.page-head {
  padding: 44px 0 30px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 260px at 88% 0%, rgba(232, 147, 12, .09), transparent 70%),
    var(--bg-soft);
}

.crumb { font-size: 12px; color: var(--text-3); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }

.crumb a:hover { color: var(--brand); }

.crumb span { color: #3A4652; }

.page-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.4px; margin-bottom: 10px; }

.page-head p { font-size: 14px; color: var(--text-2); max-width: 640px; line-height: 1.7; }

/* ---- 双栏布局 ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  padding: 40px 0 64px;
}

.formcard__step {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-dim);
  border: 1px solid rgba(232, 147, 12, .35);
  color: var(--brand-2);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

/* ---- 提交成功 ---- */
.result {
  padding: 64px 0 80px;
  display: none;
}

.result__rows { display: grid; gap: 0; margin-bottom: 22px; }

.result__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.result__row:last-child { border-bottom: 0; }

.result__row span { color: var(--text-3); }

.result__row b { font-weight: 600; }

/* ---- 登记单详情 ---- */
.detail { padding: 40px 0 70px; }

.detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.detail__main {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.detail__head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.detail__head-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }

.detail__no { font-family: var(--mono); font-size: 12px; color: var(--text-3); letter-spacing: .5px; }

.detail h1 { font-size: 24px; font-weight: 800; letter-spacing: -.3px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }

.detail h1 em { font-style: normal; font-family: var(--mono); color: var(--brand); font-size: 18px; }

.detail__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 8px 24px 20px; }

/* 重点数据卡：费用总价大字（买家实付口径）+ 抽成/数量/单价 */
.detail__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr 1fr 1.35fr;
  gap: 10px;
  margin: 8px 0 14px;
}

.dstat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.dstat > span { font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.dstat > b { font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.25; word-break: break-all; }
.dstat > b span { font-size: 11px; color: var(--text-3); font-weight: 500; }
.dstat > small { font-size: 10.5px; color: var(--text-3); }

/* 主卡：费用总价 —— 品牌强调（买家实付 = 货款 + 抽成） */
.dstat--main {
  background: #FFF6EA;
  border-color: #F0D9B8;
}

.dstat--main > b { font-size: 27px; color: var(--brand); letter-spacing: -0.3px; }

.dstat__badge {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  letter-spacing: .5px;
}

@media (max-width: 900px) {
  .detail__stats { grid-template-columns: 1fr 1fr; }
  .dstat--main { grid-column: 1 / -1; }
  .dstat--main > b { font-size: 23px; }
}

.detail__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.detail__row span { color: var(--text-3); }

.detail__row b { font-weight: 600; }

.detail__remark {
  margin: 0 24px 22px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
}

.detail__remark span { display: block; font-size: 11px; color: var(--text-3); margin-bottom: 6px; letter-spacing: .5px; }

/* 沟通小组件 */
.joincard {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 88px;
}

.joincard__head {
  padding: 13px 16px;
  border-bottom: 2px solid var(--ink-line);
  background: var(--acc-dim);
}

.joincard__head b { display: block; font-size: 14px; margin-bottom: 3px; }

.joincard__head p { font-size: 12px; color: var(--text-3); }

/* v103：卡片内边距收紧（原 20px 视觉上框大留白多） */
.joincard__body { padding: 14px; }

.joincard__qr {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  overflow: hidden;
  padding: 10px;
}

.joincard__qr img { width: 100%; height: 100%; object-fit: contain; }

/* 图片型群二维码：自然比例居中展示（不强制拉伸全宽），卡片随图收紧 */
.joincard__qr--pic { aspect-ratio: auto; padding: 6px; background: #fff; }
.joincard__qr--pic img { display: block; width: auto; max-width: 100%; max-height: 420px; height: auto; margin: 0 auto; }

.joincard__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.7;
}

.joincard__state svg { color: var(--text-3); }

.joincard__state b { color: var(--text); font-size: 13px; }

.joincard__foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
}

/* 进度条 */
.progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.progress__bar { flex: 1; height: 3px; background: var(--line-2); border-radius: 2px; overflow: hidden; }

.progress__bar i { display: block; height: 100%; background: var(--brand); border-radius: 2px; transition: width .4s; }

.progress__label { font-size: 11px; color: var(--text-3); font-family: var(--mono); }

/* ==========================================================================
   一页式结构补充：区块 / 企业客服入口 / 收物资筛选 / 登记详情弹窗
   ========================================================================== */

/* 区块纵向间距（表单区、收物资区） */
.block { margin-top: 64px; }

@keyframes kfPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .32; }
}

/* 登记详情弹窗 */
.odetail__title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.odetail__title h4 { font-size: 18px; font-weight: 700; line-height: 1.35; }

.odetail__title h4 em { font-style: normal; font-family: var(--mono); font-size: 14px; color: var(--brand); }

.odetail__note {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  border-radius: 8px;
  background: var(--panel-2);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text-2);
}

.odetail__note b { color: var(--brand-2); font-family: var(--mono); }
@media (max-width: 640px) {
  .block { margin-top: 44px; }
}
@media (max-width: 1000px) {
  .split, .detail__grid { grid-template-columns: minmax(0, 1fr); }

  .joincard { position: static; }
}
@media (max-width: 640px) {
  .page-head { padding: 28px 0 22px; }

  .page-head h1 { font-size: 22px; }

  .detail__rows { grid-template-columns: 1fr; padding: 8px 16px 16px; }

  .detail__head { padding: 18px 16px; }

  .detail h1 { font-size: 20px; }

  .split { padding: 24px 0 40px; }
}

/* ==========================================================================
   v3 新增：纯图片轮播 / 费用估算 / 收货向导 / 匹配列表 / 群码
   ========================================================================== */

/* ---- 纯图片轮播：按图片比例自适应 ---- */
.hero { height: min(470px, 33vw); background: var(--bg-soft); }

.hero__slide--img { display: block; }

.hero__slide--img img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }

.hero__loading { position: absolute; inset: 0; display: grid; place-items: center; }

.hero__loading .spin { width: 26px; height: 26px; border: 3px solid rgba(232, 147, 12, .25); border-top-color: var(--brand); border-radius: 50%; animation: sk 1s linear infinite; }

/* ---- 收物资：搜索式匹配条（单行，工业风硬投影） ---- */
.searchbar {
  display: flex;
  align-items: stretch;
  gap: 10px;
  background: var(--panel);
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.searchbar__field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--panel-2);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--text-3);
  transition: border-color .15s var(--ease-out-quart);
}

.searchbar__field:focus-within { border-color: var(--ink-line); color: var(--brand-2); }

.searchbar__field input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
}

.searchbar__field input::placeholder { color: var(--text-3); }

.searchbar .btn--lg { flex: none; height: 48px; padding: 0 22px; }

@media (max-width: 720px) {
  .searchbar { flex-wrap: wrap; }

  .searchbar__field { flex: 1 1 100%; }

  .searchbar .btn--lg { flex: 1 1 100%; }
}

/* ================= v51c：买方内容模块（急接订单 / 保障·流程横幅带 / FAQ） ================= */

/* 区块统一节奏 */
.hsec { margin-top: 46px; }

/* ---- 墨色横幅带：保障 + 流程（打破全页留白的单调） ---- */
.band {
  margin-top: 46px;
  padding: 44px 0 50px;
  background: var(--ink);
  border-top: 2px solid var(--ink-line);
  border-bottom: 2px solid var(--ink-line);
}

.band .sec-head { margin-bottom: 18px; }

.band .sec-head h2 { color: #E9E7E1; }

.band .sec-head h2 small { color: rgba(233, 231, 225, .55); }

.band .sec-head__kicker { color: var(--brand); }


.band .step:last-child { border-right: none; }

.band .step b { color: #E9E7E1; }

.band .step p { color: rgba(233, 231, 225, .58); }

.band .step .s-no { box-shadow: 3px 3px 0 rgba(0, 0, 0, .45); }

.band .step .s-arrow { background: transparent; border-color: rgba(233, 231, 225, .45); }

.band .step { border-right-color: rgba(233, 231, 225, .14); }

/* 四步流程：横向四栏（.step 子元素规则见下方兜底段） */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }

/* ---- 接单保障（非横幅带场景的兜底样式，保持一致） ---- */



.step { padding: 22px 20px; border-right: 1.5px solid var(--line-2); position: relative; }

.step:last-child { border-right: none; }

.step .s-no { width: 30px; height: 30px; background: var(--brand); color: #17150F; display: grid; place-items: center; font-weight: 800; font-size: 14px; box-shadow: 3px 3px 0 rgba(23, 21, 15, .85); margin-bottom: 12px; }

.step b { display: block; font-size: 14.5px; margin-bottom: 6px; }

.step p { font-size: 12px; color: var(--text-2); line-height: 1.65; }

.step .s-arrow { position: absolute; right: -9px; top: 34px; width: 16px; height: 16px; background: var(--panel); border-top: 2px solid var(--ink-line); border-right: 2px solid var(--ink-line); transform: rotate(45deg); z-index: 2; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }

  .step { border-bottom: 1.5px solid var(--line-2); }

  .step:nth-child(2n) { border-right: none; }

  .step:nth-child(n+3) { border-bottom: none; }

  .step .s-arrow { display: none; }

  .band .step { border-bottom: 1.5px solid rgba(233, 231, 225, .14); }

  .band .step:nth-child(2n) { border-right: none; }

  .band .step:nth-child(n+3) { border-bottom: none; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }

  .step { border-right: none; border-bottom: 1.5px solid var(--line-2); }

  .step:last-child { border-bottom: none; }

  .band .step { border-right: none; border-bottom: 1.5px solid rgba(233, 231, 225, .14); }

  .band .step:last-child { border-bottom: none; }
}

/* ==========================================================================
   v4：跳蚤市场数据表格（紧凑多列，参考后台列表样式）
   ========================================================================== */
.grid-orders--list { display: block; }

.ordtable-wrap {
  background: var(--panel);
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
}

.ordtable { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 1080px; }

.ordtable thead th {
  background: var(--ink);
  color: #E9E7E1;
  font-weight: 600;
  font-size: 11.5px;
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.ordtable tbody td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: middle;
  white-space: nowrap;
}

.ordtable tbody tr { cursor: pointer; transition: background .14s var(--ease-out-quart); }

.ordtable tbody tr:hover { background: var(--brand-dim); }

.ordtable tbody tr:last-child td { border-bottom: none; }

.otd-no { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }

.otd-goods b { font-size: 13px; font-weight: 700; }

.otd-goods span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--brand-2); }

.otd-price b {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(232, 147, 12, .09);
  color: var(--brand-2);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12.5px;
}

.otd-price small { display: block; margin-top: 3px; font-size: 10.5px; color: var(--text-3); }

.otd-time { color: var(--text-3); font-size: 11.5px; }
.otd-online { color: var(--text-2); font-size: 12px; white-space: nowrap; }

.otd-act button {
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 147, 12, .4);
  background: #fff;
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.otd-act button:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.chip small { font-weight: 400; opacity: .75; font-size: 11px; margin-left: 2px; }

/* ================= v21：侧栏应用式下的轮播 = 工作台信息条 ================= */
/* v85：轮播宽度与 .container 内容区对齐（1360 容器 - 48 内边距），
   左右随窗口居中，不再出现「轮播通栏、下方内容窄一截」的错位感 */
.hero {
  height: min(410px, 30vw);
  width: calc(100% - 48px);
  max-width: calc(var(--container) - 48px);
  margin: 18px auto 0;
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero:has(.hero__slide--img.is-active) { height: min(410px, 30vw); }

/* ≤640px：容器内边距收窄为 16px，轮播同步收窄 */
@media (max-width: 640px) {
  .hero { width: calc(100% - 32px); margin-top: 10px; }
}

/* v51f：原 `.market{padding:26px 0 20px}` 简写把 container 左右 padding 覆盖为 0，
   导致跳蚤市场区块内容比其他区块凸出 24px（与急接订单卡片不对齐）。垂直间距交给 .hsec。 */

/* ================= v18 电商卡片风强化 ================= */
/* 页头（大厅）与首页 hero 统一为圆角大卡 */
.page-head {
  margin: 14px 24px 0;
  padding: 34px 0 28px;
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* 首页筛选组合卡圆角加大 */
.market .filterbar { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.market .filterpanel { border-left: 2px solid var(--ink-line); border-right: 2px solid var(--ink-line); }

.market .resultbar { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* 详情页主卡轻悬浮（墨色同调阴影） */
.detail__main, .joincard { border: 2px solid var(--ink-line); box-shadow: var(--shadow-sm); border-radius: var(--radius-lg); }
@media (max-width: 640px) {
  .page-head { margin: 10px 12px 0; padding: 26px 0 22px; }
}

/* ================= v20 极简编辑风 ================= */
/* 页头：通栏纸白 + 发丝线，大字号标题 */
.page-head {
  margin: 0;
  padding: 46px 0 34px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}

.page-head h1 { font-size: 34px; font-weight: 700; letter-spacing: -.6px; }

/* 区块标题加大，层级对比拉满 */
.sec-head h2 { font-size: 28px; font-weight: 900; letter-spacing: -.5px; }

/* 工业风：详情卡硬投影由前文规则提供 */

.market .filterbar { border-radius: var(--radius) var(--radius) 0 0; }

.market .resultbar { border-radius: 0 0 var(--radius) var(--radius); }

.resultbar { background: var(--bg-soft); }
@media (max-width: 640px) {
  .page-head { padding: 34px 0 26px; }

  .page-head h1 { font-size: 27px; }

  .sec-head h2 { font-size: 22px; }
}

/* ================= v22 AWM 子弹出售专页 ================= */
.awm-page { padding-bottom: 70px; }

.awm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.awm-head__t { display: flex; align-items: center; gap: 12px; }

.awm-head__ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  color: var(--ink);
}

.awm-head h1 { font-size: 26px; font-weight: 700; letter-spacing: -.4px; }

/* 物资类型 Tab（五分类切换 · 编辑风下划线式） */
.awm-cats {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin: 18px 0 22px;
  border-bottom: 1px solid var(--line);
}
.awm-cats button {
  padding: 0 2px 12px; margin-bottom: -1px;
  border: none; border-bottom: 2px solid transparent;
  background: none; border-radius: 0;
  font-size: 15px; color: var(--text-3); cursor: pointer;
  transition: color .15s, border-color .15s;
}
.awm-cats button:hover:not(.is-active) { color: var(--text); }
.awm-cats button.is-active {
  color: var(--text); font-weight: 600;
  border-bottom-color: var(--ink);
}
.awm-cats button[data-soon] { color: var(--text-3); }

/* 暂未开放占位版面 */
.awm-closed {
  margin: 26px 0 70px; padding: 86px 20px;
  border: 1px dashed var(--line); border-radius: 8px;
  text-align: center; color: var(--text-3);
}
.awm-closed svg { display: block; margin: 0 auto 18px; }
.awm-closed p { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.awm-closed span { display: block; margin-top: 8px; font-size: 13px; color: var(--text-3); letter-spacing: 2px; }

/* 分类内多物资时的选择 chips */
.awm-itemchips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.awm-itemchips button {
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft);
  font-size: 12.5px; color: var(--text-2); cursor: pointer;
  transition: color .15s, border-color .15s;
}
.awm-itemchips button:hover:not(.is-active) { color: var(--text); border-color: var(--text-3); }
.awm-itemchips button.is-active {
  border-color: var(--brand-2); color: var(--brand-2);
  font-weight: 600; background: var(--panel);
}

/* 分类下物资过多时的下拉选择 */
.awm-itemselect { max-width: 340px; margin-bottom: 16px; height: 38px; }

/* 价格表：当前选中物资高亮 */
.awm-price tr.is-cur td { background: var(--bg-soft); }
.awm-price tr.is-cur td:first-child { font-weight: 600; color: var(--text); box-shadow: inset 2px 0 0 var(--brand-2); }

.awm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 22px;
  align-items: start;
}

.awm-card { background: var(--panel); border: 2px solid var(--ink-line); border-radius: var(--radius-lg); margin-bottom: 22px; box-shadow: var(--shadow-soft); }

.awm-card:last-child { margin-bottom: 0; }

.awm-card__h {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}

.awm-card__h b { font-size: 14.5px; font-weight: 600; }

.awm-date { font-size: 11.5px; color: var(--text-3); }

.awm-date i { font-style: normal; color: var(--text-2); font-family: var(--mono); }

/* 左栏须知 */
.awm-aside .awm-card { position: sticky; top: 64px; }

.awm-sec { padding: 20px; border-bottom: 1px solid var(--line); }

.awm-sec--last { border-bottom: 0; }

.awm-sec__h { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }

.awm-sec__h i {
  font-style: normal;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--ink); color: #FFFFFF;
  border-radius: 8px;
  font-size: 11.5px; font-weight: 600;
  font-family: var(--mono);
}

.awm-price { width: 100%; border-collapse: collapse; font-size: 13px; border: 1px solid var(--line); }

.awm-price th {
  text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .8px;
  color: var(--text-3); background: var(--bg-soft);
  padding: 8px 14px; border-bottom: 1px solid var(--line);
}

.awm-price td { padding: 10px 14px; }

.awm-price__v { color: var(--brand-2); font-weight: 700; font-family: var(--mono); }

.awm-minrow {
  margin-top: 10px; padding: 8px 12px;
  background: var(--bg-soft); border-radius: 8px;
  font-size: 12.5px; color: var(--text-2);
}

.awm-minrow b { color: var(--text); }

.awm-warn {
  margin-top: 10px; padding: 9px 12px;
  background: rgba(232, 147, 12, .06);
  border: 1px solid rgba(232, 147, 12, .18);
  border-radius: 8px;
  font-size: 12.5px; color: var(--brand-2); line-height: 1.6;
}

.awm-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.awm-steps li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }

.awm-steps li i {
  font-style: normal;
  width: 18px; height: 18px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  font-size: 10.5px; color: var(--text-2);
  font-family: var(--mono);
}

.awm-notes { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.awm-notes li { display: flex; gap: 9px; font-size: 12.5px; color: var(--text-2); line-height: 1.6; }

.awm-notes li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }

/* 右栏：提交记录表 */
.awm-tablewrap { overflow-x: auto; }

.awm-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.awm-table th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .8px;
  color: #E9E7E1; background: var(--ink);
  padding: 9px 20px; border-bottom: 2px solid var(--ink-line); white-space: nowrap;
}

.awm-table td { padding: 11px 20px; border-bottom: 1px solid var(--line); }

.awm-table tr:last-child td { border-bottom: 0; }

.awm-mono { font-family: var(--mono); font-size: 12px; }

.awm-link { color: var(--brand-2); font-size: 12.5px; border-bottom: 1px solid rgba(232, 147, 12, .35); padding-bottom: 1px; }

.awm-link:hover { color: var(--ink); border-color: var(--ink); }

.awm-empty { padding: 44px 20px; text-align: center; color: var(--text-3); font-size: 13px; }

/* 表单 */
#awmForm { padding: 20px; display: flex; flex-direction: column; gap: 18px; }

.awm-field { display: flex; flex-direction: column; gap: 7px; }

.awm-field > label { font-size: 13px; font-weight: 600; color: var(--text); }

/* 在线时间段（对齐租号平台模块）：双整点下拉 + 实时汇总 + 快捷按钮 */
.sel-time { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sel-time select { width: 118px; flex: 0 0 118px; height: 42px; }
.sel-time__x { font-size: 12.5px; color: var(--text-3); }
.sel-time__sum { font-size: 12.5px; color: var(--text-3); }
.sel-time__sum.on { color: var(--brand-2); font-weight: 700; }
.sel-time__sum.warn { color: var(--danger, #c23b2e); font-weight: 700; }
.sel-time__quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.sel-time__quick button {
  height: 28px; padding: 0 12px; font-size: 12px; color: var(--text-2);
  border: 1px solid var(--line-2); border-radius: 3px; background: var(--panel);
  transition: background .15s, border-color .15s, color .15s;
}
.sel-time__quick button:hover { border-color: var(--brand-2); color: var(--brand-2); background: #FFF6EA; }

.awm-field .req { color: var(--brand-2); font-style: normal; }

.awm-stepper { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; height: 46px; }

.awm-stepper button {
  width: 48px; flex: none; font-size: 20px; color: var(--text-2);
  background: var(--bg-soft); transition: background .15s;
}

.awm-stepper button:hover { background: var(--panel-3); color: var(--text); }

.awm-qty {
  flex: 1; text-align: center; border: none; outline: none;
  font-size: 16px; font-weight: 600; font-family: var(--mono);
  color: var(--text); background: #FFFFFF;
  -moz-appearance: textfield;
}

.awm-qty::-webkit-outer-spin-button, .awm-qty::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---- 已选物资数量行（多选） ---- */
.qty-list { display: flex; flex-direction: column; gap: 10px; }

.qty-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px;
  border: 1px solid var(--line-2); border-radius: 8px;
  padding: 10px 12px; background: #FFFFFF;
}

.qty-row.is-error { border-color: var(--red); }

.qty-row__info { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 2px; }

.qty-row__info b { font-size: 13.5px; font-weight: 600; color: var(--text); }

.qty-row__info small { font-size: 11.5px; color: var(--text-3); }

.qty-row__step { width: 190px; height: 40px; flex: none; }

.qty-row__step .awm-qty { font-size: 14px; }

.qty-row__sub {
  width: 76px; text-align: right; flex: none;
  font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--brand-2);
}

.qty-row__del {
  flex: none; width: 28px; height: 28px; border-radius: 6px;
  font-size: 13px; color: var(--text-3); background: transparent;
  transition: background .15s, color .15s;
}

.qty-row__del:hover { color: var(--red); background: var(--bg-soft); }

/* ---- 价格表折叠（条目多时收起） ---- */
.price-collapse { position: relative; }

.price-collapse.is-folded { max-height: 380px; overflow: hidden; }

.price-collapse__fade {
  display: none;
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: linear-gradient(rgba(255,255,255,0), #FFFFFF);
  pointer-events: none;
}

.price-collapse.is-folded .price-collapse__fade { display: block; }

.price-toggle {
  display: block; margin: 10px auto 0; padding: 6px 18px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--bg-soft); color: var(--text-2);
  font-size: 12.5px; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.price-toggle:hover { color: var(--text); border-color: var(--text-3); }

/* ---- 多图截图：横排一行（缩略图 + 添加框），超出自动换行 ---- */
.awm-shots { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }

.awm-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }

.awm-thumbs:empty { display: none; }

.awm-duo { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; }

.awm-est {
  background: var(--bg-soft); border-radius: 8px;
  padding: 16px; display: flex; flex-direction: column; gap: 4px;
}

.awm-est span { font-size: 12px; color: var(--text-3); }

.awm-est b { font-size: 26px; font-weight: 700; color: var(--brand-2); font-family: var(--mono); letter-spacing: -.5px; }

.awm-est small { font-size: 11.5px; color: var(--text-3); font-family: var(--mono); }

.awm-upload {
  width: 84px; height: 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 1px dashed var(--line-2); border-radius: 8px;
  color: var(--text-3); cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}

.awm-upload em { font-style: normal; font-size: 11px; line-height: 1; }

.awm-upload:hover { border-color: var(--brand); color: var(--brand-2); background: var(--bg-soft); }

.awm-thumb { position: relative; width: 84px; height: 84px; }

.awm-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

.awm-thumb button {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink); color: #FFFFFF;
  font-size: 11px; display: grid; place-items: center;
}

.awm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.awm-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px;
  background: var(--ink); color: #FFFFFF;
  border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: var(--shadow-soft);
}

.awm-submit:hover { background: #000; transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(232, 147, 12, .95); }

.awm-submit:hover { background: #000000; }

.awm-submit[disabled] { opacity: .5; pointer-events: none; }

.awm-submit__tip { text-align: center; font-size: 12px; color: var(--text-3); }

/* ---- 提交成功：表单区域替换为企业微信进群二维码（自动拉群） ---- */
.awm-done { display: flex; flex-direction: column; gap: 18px; padding: 26px 0 6px; }

.awm-done__head { display: flex; align-items: center; gap: 12px; }

.awm-done__ok {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--brand); color: #FFFFFF;
}

.awm-done__head b { display: block; font-size: 16px; font-weight: 700; color: var(--text); }

.awm-done__head small { font-size: 12px; color: var(--text-3); }

.awm-done__head em { font-style: normal; font-family: var(--mono); color: var(--text-2); }

.awm-done__body {
  display: flex; flex-direction: column; align-items: stretch; gap: 16px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.awm-done__pair { display: flex; align-items: center; gap: 22px; }

/* v130：一键进群（微信内跳加群页 / 其他浏览器复制链接） */
.awm-done__join { display: flex; flex-direction: column; gap: 8px; }

.awm-done__joinbtn {
  width: 100%; height: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: #FFFFFF;
  font-family: inherit; font-size: 14.5px; font-weight: 700; letter-spacing: .2px;
  cursor: pointer; box-shadow: var(--shadow-soft);
  transition: transform .15s, box-shadow .15s, background .15s;
}

.awm-done__joinbtn:hover { background: #000000; transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(232, 147, 12, .95); }

.awm-done__joinbtn:active { transform: translate(0, 0); box-shadow: var(--shadow-soft); }

.awm-done__joinbtn svg { flex: none; }

.awm-done__joinhint { font-size: 12px; line-height: 1.7; color: var(--text-3); }

.awm-done__qr {
  width: 176px; height: 176px; flex: none;
  display: grid; place-items: center;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden;
}

.awm-done__qr img { width: 100%; height: 100%; object-fit: contain; }

.awm-done__ph { display: grid; place-items: center; gap: 6px; color: var(--text-3); }

.awm-done__txt b { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 6px; }

.awm-done__txt p { font-size: 12.5px; line-height: 1.75; color: var(--text-2); }

.awm-done__txt .awm-done__warn { color: var(--text-3); font-size: 12px; }

/* 成功态底部：分隔线 + 居中按钮 + 说明，不再孤零零挂左下角 */
.awm-done__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  text-align: center;
}

.awm-done__foot p { font-size: 12px; color: var(--text-3); line-height: 1.6; }

.awm-done__again {
  height: 42px; padding: 0 34px;
  border: 1px solid var(--ink-line); border-radius: var(--radius);
  background: #FFFFFF; color: var(--text);
  font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: border-color .15s, color .15s;
}

.awm-done__again:hover { border-color: var(--brand); color: var(--brand-2); }

@media (max-width: 640px) {
  .awm-done__pair { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .awm-grid { grid-template-columns: 1fr; }

  .awm-aside .awm-card { position: static; }

  .awm-duo { grid-template-columns: 1fr; }

  .awm-grid2 { grid-template-columns: 1fr; }
}

/* ================= v23 账号体系：登录 / 个人中心 ================= */
.auth-page { display: grid; place-items: center; min-height: calc(100vh - 200px); padding: 40px 0 70px; }

.auth-box {
  width: 100%; max-width: 400px;
  background: var(--panel);
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-form .field__err { color: var(--red); font-size: 12.5px; display: none; }

.account-page { max-width: 1680px; padding-bottom: 70px; }

.account-head {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.account-avatar {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  background: var(--ink); color: #FFFFFF;
  border-radius: 50%;
  font-size: 20px; font-weight: 700;
}

.account-head__t h1 { font-size: 22px; font-weight: 700; letter-spacing: -.3px; }

.account-head__t p { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }

.awm-empty__t { font-size: 15px; color: var(--text-2); margin-bottom: 6px; }

.awm-empty p { font-size: 12.5px; color: var(--text-3); margin-bottom: 12px; }

/* ==========================================================================
   v24：跳蚤市场列表字段重构
   编号/种类/详细物资(悬浮完整内容)/上号方式/单价/抽成金额/发布时间/操作
   ========================================================================== */
.otd-goods { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }

.otd-goods .goods-tip { cursor: help; border-bottom: 1px dashed var(--line-strong, #D5D2CA); }

.otd-goods b { font-size: 13px; font-weight: 700; }

.otd-goods span { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--brand-2); }

/* 抽成金额列：弱化于单价列 */
.otd-fee b { font-family: var(--mono); font-weight: 700; font-size: 12.5px; color: var(--text-2); }

.otd-fee small { display: block; margin-top: 3px; font-size: 10.5px; color: var(--text-3); }

/* 操作列：查看详情（墨色实心）+ 我要出（橙色文字链接） */
.otd-act { white-space: nowrap; }

.otd-act .act-view {
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--ink, #17150F);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}

.otd-act .act-view:hover { opacity: .82; }

.otd-act .act-out {
  display: inline-flex;
  align-items: center;
  height: 28px;
  margin-left: 8px;
  padding: 0 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s;
}

.otd-act .act-out:hover { background: #C97F0A; color: #FFFFFF; }

/* 全局悬浮提示（body 级，绕过横向滚动容器裁剪） */
.goods-floattip {
  position: fixed;
  z-index: 999;
  max-width: 380px;
  padding: 8px 12px;
  background: var(--ink, #17150F);
  color: #FAF9F6;
  font-size: 12px;
  line-height: 1.65;
  border-radius: var(--radius-sm, 3px);
  box-shadow: 0 8px 24px rgba(23, 21, 15, .18);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .12s, transform .12s;
}

.goods-floattip.is-on { opacity: 1; transform: translateY(0); }

.goods-floattip::before {
  content: '';
  position: absolute;
  left: var(--ax, 18px);
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: inherit;
  transform: rotate(45deg);
}

/* ==========================================================================
   v39 列表加载防闪烁：保留旧内容 + 降透明度
   ========================================================================== */
.grid-orders { transition: opacity .12s ease; }
.grid-orders.is-loading { opacity: .55; pointer-events: none; }

/* ==========================================================================
   v52g 移动端：跳蚤市场表格转卡片列表（≤720px，桌面端不受影响）
   ========================================================================== */
@media (max-width: 720px) {
  .ordtable-wrap {
    overflow-x: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .ordtable { min-width: 0; display: block; }
  .ordtable thead { display: none; }
  .ordtable tbody { display: block; }
  /* v85：一单一卡改两列网格排布，压缩卡片高度（原先逐行铺满太高） */
  .ordtable tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 14px;
    align-items: baseline;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 12px 6px;
    margin-bottom: 10px;
  }
  .ordtable tbody tr:hover { background: var(--panel); }
  .ordtable tbody td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 5px 0;
    border-bottom: 1px dashed var(--line-2);
    text-align: right;
    white-space: normal;
    font-size: 12.5px;
  }
  .ordtable tbody td::before {
    content: attr(data-label);
    flex: none;
    font-size: 11px;
    color: var(--text-3);
    text-align: left;
  }
  /* 详细物资占整行：与其他行统一「标签左 · 值右」节奏，名称+数量同行靠右 */
  .ordtable tbody td.otd-goods { grid-column: 1 / -1; padding: 6px 0 4px; }
  .ordtable tbody td.otd-goods .goods-tip { margin-left: auto; }
  .ordtable tbody td.otd-goods b { font-size: 13px; line-height: 1.5; }
  .ordtable tbody td.otd-goods span { margin-left: 0; }
  .ordtable tbody td.otd-price b { font-size: 14.5px; }
  /* 发布时间整行小字，不带虚线 */
  .ordtable tbody td.otd-time { grid-column: 1 / -1; border-bottom: 0; padding: 4px 0 0; font-size: 11.5px; color: var(--text-3); }
  /* 操作整行：按钮收窄靠右，不再通栏 */
  .ordtable tbody td.otd-act { grid-column: 1 / -1; justify-content: flex-end; border-bottom: 0; padding: 7px 0 2px; }
  .ordtable tbody td.otd-act::before { content: none; }
  .ordtable tbody td.otd-act button { width: auto; height: 30px; padding: 0 16px; font-size: 12px; }
}

/* ==========================================================================
   v53 物资价格表页（prices.html）
   ========================================================================== */
.pr-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pr-tab {
  padding: 7px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--panel); color: var(--text-2); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .13s;
}
.pr-tab:hover { border-color: var(--brand); color: var(--brand); }
.pr-tab.is-active { border-color: var(--ink-line); background: var(--ink); color: #E9E7E1; }
.pr-table td { vertical-align: top; }
.pr-table .cell-main { font-weight: 600; font-size: 13.5px; }
.pr-unit { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.pr-price { text-align: right; font-family: var(--mono); font-weight: 700; color: var(--brand-2); font-size: 13.5px; white-space: nowrap; }
.pr-hot {
  display: inline-block; margin-left: 6px; padding: 1px 7px;
  background: var(--brand); color: #17150F; font-size: 10.5px; font-weight: 700;
  border-radius: 999px; vertical-align: 1px;
}
.pr-loading { padding: 46px 0; text-align: center; color: var(--text-3); font-size: 13px; }
.awm-tablewrap + .pr-note { margin-top: 10px; }
@media (max-width: 640px) {
  .pr-price { font-size: 12.5px; }
  .pr-tab { padding: 6px 12px; font-size: 12px; }
}

/* ==========================================================================
   v53 个人中心：邀请好友
   ========================================================================== */
.inv-linkrow { display: flex; gap: 10px; align-items: stretch; }
.inv-linkrow .input { flex: 1; font-family: var(--mono); font-size: 12.5px; min-width: 0; }
.inv-stats {
  display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap;
}
.inv-stat {
  flex: 1; min-width: 110px; padding: 12px 14px;
  border: 1px dashed var(--line); border-radius: 8px; background: var(--bg-soft);
}
.inv-stat b { display: block; font-size: 19px; font-family: var(--mono); }
.inv-stat span { font-size: 11.5px; color: var(--text-3); }
#invListWrap { margin-top: 14px; }
@media (max-width: 560px) {
  .inv-linkrow { flex-direction: column; }
  .inv-linkrow .btn { width: 100%; }
}

/* ==========================================================================
   v53c 跳蚤市场表格字段调整：物品单价 / 物品总价 / 抽成金额 / 费用总价
   ========================================================================== */
.otd-unit b { font-family: var(--mono); font-weight: 600; color: var(--text-2); font-size: 12px; }
.otd-feetotal b { font-family: var(--mono); font-weight: 700; color: var(--text); font-size: 12.5px; }

/* ==========================================================================
   v53g 价格表紧凑化 + 抽成金额列
   ========================================================================== */
.pr-table th { padding: 9px 20px; }
.pr-table td { padding: 7px 20px; vertical-align: middle; }
.pr-table .cell-main { font-size: 13px; }
.pr-fee { text-align: right; font-family: var(--mono); font-size: 12px; color: var(--text-2); white-space: nowrap; }

/* v53h：页签与页头之间留出呼吸空间 */
.pr-tabs { margin-top: 24px; margin-bottom: 20px; }

/* v70b：价格表瀑布流 —— 分类卡片贪心分列，缩短页面总高 */
.pr-masonry { display: flex; gap: 16px; align-items: flex-start; }
.pr-col { flex: 1 1 0; min-width: 0; }
.pr-col .awm-card { margin-bottom: 16px; }
.pr-col .awm-card:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .pr-masonry { flex-direction: column; }
}
/* 瀑布流半宽卡片下的表格紧凑化：去掉单位列后 3 列排布 */
.pr-masonry .pr-table th { padding: 8px 14px; font-size: 12px; }
.pr-masonry .pr-table td { padding: 7px 14px; }
.pr-masonry .pr-table .cell-main { font-size: 12.5px; }
.pr-masonry .pr-price { font-size: 13px; }
.pr-masonry .pr-fee { font-size: 11.5px; }

/* ==========================================================================
   v53l 订单详情页：头部复制按钮 / 接取确认弹窗 / 二维码浮现
   ========================================================================== */

/* 标题与操作按钮同行：左侧标题吃满宽度，右侧按钮成组贴右 */
.detail__head-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  flex-wrap: wrap;
}
.detail__head-main h1 { flex: 1 1 240px; min-width: 0; }

.detail__acts { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.d-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s var(--ease-out-quart), border-color .18s var(--ease-out-quart),
              background .18s var(--ease-out-quart), box-shadow .18s var(--ease-out-quart);
}
.d-act svg { flex-shrink: 0; }
.d-act:hover {
  color: var(--ink);
  border-color: var(--ink-line);
  background: var(--panel-2);
  box-shadow: 2px 2px 0 rgba(23, 21, 15, .14);
}
.d-act:active { transform: translateY(1px); box-shadow: none; }

/* 复制成功：按钮原地变绿勾「已复制」 */
.d-act.is-done {
  color: var(--ok);
  border-color: rgba(31, 122, 92, .5);
  background: rgba(31, 122, 92, .08);
  box-shadow: none;
}

/* 接取确认弹窗 */
.claim__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.claim__item em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--brand);
}
.claim__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 12px 0;
  font-size: 12px;
  color: var(--text-3);
}
.claim__meta span { display: inline-flex; align-items: baseline; gap: 6px; }
.claim__meta b {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  letter-spacing: .2px;
}
.claim__tips {
  margin: 0;
  padding: 14px 14px 14px 30px;
  background: var(--bg-soft);
  border-left: 2px solid var(--brand);
  border-radius: var(--radius);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-2);
}
.claim__tips li + li { margin-top: 2px; }
.claim__tips b { color: var(--text); }

/* v105 承接确认弹窗：明细账单（逐项小计 + 货款/抽成/应付合计） */
.claim__bill {
  margin: 2px 0 14px;
  padding: 12px 14px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.claim__bill .bill__t {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.claim__bill .bill__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  line-height: 2;
  color: var(--text-2);
}
.claim__bill .bill__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.claim__bill .bill__name i { font-style: normal; color: var(--text-3); font-size: 11.5px; margin-left: 6px; }
.claim__bill .bill__num { flex-shrink: 0; color: var(--text); }
.claim__bill .bill__row--div { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.claim__bill .bill__grand { font-size: 13px; color: var(--text); }
.claim__bill .bill__grand .bill__name { font-weight: 600; }
.claim__bill .bill__grand .bill__num b { color: var(--brand); }

/* 手动复制兜底弹窗里的文本域 */
.claim__copyta {
  display: block;
  width: 100%;
  height: 84px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  background: var(--panel-2);
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius);
  resize: none;
  outline: none;
}
.claim__copyta:focus { border-color: var(--brand); }

/* 接取成功：二维码描边闪一圈琥珀光，强调「刚刚浮现」 */
.joincard__qr.is-reveal {
  animation: qrReveal 1.2s var(--ease-out-quart);
}
@keyframes qrReveal {
  0%   { box-shadow: 0 0 0 0 rgba(232, 147, 12, .55); border-color: var(--brand); }
  60%  { box-shadow: 0 0 0 6px rgba(232, 147, 12, .16); border-color: var(--brand); }
  100% { box-shadow: 0 0 0 0 rgba(232, 147, 12, 0); border-color: var(--line); }
}

@media (max-width: 560px) {
  .detail__acts { width: 100%; }
  .d-act { flex: 1; height: 38px; padding: 0 10px; }
  .detail__head-main h1 { flex: 1 1 100%; }
}


/* ==========================================================================
   v54 注册审核：邀请码提示 / 提交成功待审卡片
   ========================================================================== */
.reg-hint {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-3);
  margin-top: 6px;
}

.reg-done { text-align: center; padding: 8px 0 4px; }
.reg-done__ico {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  color: var(--ok);
  background: rgba(31, 122, 92, .08);
  border: 2px solid rgba(31, 122, 92, .35);
  border-radius: 50%;
}
.reg-done h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.2px;
  margin: 0 0 10px;
  color: var(--text);
}
.reg-done p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
  margin: 0 0 8px;
}
.reg-done p b { color: var(--text); }
.reg-done__sub {
  font-size: 12px !important;
  color: var(--text-3) !important;
  margin-top: 4px !important;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.reg-done__acts {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.reg-done__acts .btn { flex: 1; }

/* v54：邀请卡拆成「链接 / 邀请码」两行 */
.inv-way { margin-bottom: 10px; }
.inv-way:last-of-type { margin-bottom: 0; }
.inv-way__k {
  display: block;
  font-size: 11.5px;
  color: var(--text-3);
  margin-bottom: 6px;
  letter-spacing: .2px;
}

/* ==========================================================================
   v57 邀请奖励（对齐 4AM：固定金额 + 首单成交计奖 + 客服发放）
   ========================================================================== */
.inv-intro {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; margin-bottom: 14px;
  border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, #FFFBF2, #fff);
  color: var(--text-2); font-size: 12.5px; line-height: 1.85;
}
.inv-intro svg { flex: none; margin-top: 3px; color: var(--brand); }
.inv-intro p { margin: 0; }
.inv-intro b { color: var(--text); }
.inv-intro .inv-amt { color: var(--brand); font-family: var(--mono); font-size: 14px; }
.inv-empty {
  margin-top: 14px; padding: 22px 16px; text-align: center;
  border: 1px dashed var(--line); border-radius: 8px; background: var(--bg-soft);
}
.inv-empty__t { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.inv-empty p { margin: 0; font-size: 12px; color: var(--text-3); line-height: 1.8; }
.inv-foot { margin-top: 12px; font-size: 11.5px; color: var(--text-3); line-height: 1.8; }
.inv-foot b { color: var(--text-2); }

/* ==========================================================================
   v77：个人中心改造 —— 横幅 + 左侧菜单 + 右侧内容（工业风）
   ========================================================================== */

/* --- 顶部个人横幅（墨色 + 硬投影签名） --- */
.ac-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--ink);
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: #FFFFFF;
}

.ac-hero__avatar {
  width: 60px; height: 60px; flex: none;
  display: grid; place-items: center;
  background: #FFFFFF; color: var(--ink);
  border-radius: var(--radius);
  font-size: 24px; font-weight: 700;
}

.ac-hero__info { min-width: 0; }

.ac-hero__info h1 {
  font-size: 20px; font-weight: 700; letter-spacing: -.3px;
  color: #FFFFFF; line-height: 1.25;
}

.ac-hero__info p {
  font-size: 12px; color: rgba(255, 255, 255, .62); margin-top: 3px;
}

.ac-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.ac-badges > span {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; line-height: 1.4; white-space: nowrap;
}

/* --- 横幅统计 --- */
.ac-hero__stats {
  margin-left: auto;
  display: flex;
  flex: none;
}

.ac-stat {
  padding: 2px 18px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.ac-stat:first-child { border-left: 0; }

.ac-stat b {
  display: block;
  font-family: var(--mono);
  font-size: 20px; font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
}

.ac-stat span { font-size: 11px; color: rgba(255, 255, 255, .55); }

.ac-hero__out {
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 13px;
  background: transparent; color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  font-size: 12px; cursor: pointer;
  transition: all .15s;
}

.ac-hero__out:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .6); }

/* --- 主体两栏 --- */
.ac-layout {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

/* --- 左侧菜单 --- */
.ac-side {
  background: var(--panel);
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ac-side__nav { padding: 8px; display: flex; flex-direction: column; gap: 2px; }

.ac-nav {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 11px 12px;
  background: transparent;
  border: 0; border-radius: var(--radius);
  color: var(--text-2);
  font-size: 13px; font-weight: 500;
  text-align: left; cursor: pointer;
  transition: background .15s, color .15s;
}

.ac-nav svg { flex: none; opacity: .75; }

.ac-nav span { flex: 1; }

.ac-nav i {
  font-style: normal;
  min-width: 20px; height: 18px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--text-2);
  border-radius: 999px;
  font-size: 11px; font-weight: 600;
}

.ac-nav:hover { background: var(--bg-soft); color: var(--text); }

.ac-nav.is-active {
  background: var(--ink); color: #FFFFFF; font-weight: 600;
}

.ac-nav.is-active svg { opacity: 1; color: var(--brand); }

.ac-nav.is-active i { background: rgba(255, 255, 255, .16); color: #FFFFFF; }

.ac-side__tip {
  padding: 13px 14px 15px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.ac-side__tip b { font-size: 12px; color: var(--text-2); }

.ac-side__tip p { margin-top: 5px; font-size: 11.5px; line-height: 1.7; color: var(--text-3); }

/* --- 右侧面板 --- */
.ac-panel { margin: 0; }

.ac-panel[hidden] { display: none; }

/* --- 账号资料（只读行） --- */
.ac-profile { padding: 6px 0; }

.ac-profile__row {
  display: flex; align-items: baseline;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.ac-profile__row:last-child { border-bottom: 0; }

.ac-profile__row > span { width: 110px; flex: none; color: var(--text-3); font-size: 12.5px; }

.ac-profile__row > b { font-weight: 600; color: var(--text); word-break: break-all; }

/* --- 方格上传框（对齐后台 admin.css upgrid） --- */
.upgrid { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }

.upthumb { position: relative; width: 84px; height: 84px; }

.upthumb img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line); cursor: zoom-in; display: block;
}

.upthumb__del {
  position: absolute; top: -8px; right: -8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 11px;
  display: grid; place-items: center; cursor: pointer; border: none;
}

.upadd {
  width: 84px; height: 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  color: var(--text-3); cursor: pointer; background: transparent;
  transition: border-color .15s, color .15s, background .15s;
}

.upadd b { font-size: 20px; font-weight: 400; line-height: 1; }

.upadd em { font-style: normal; font-size: 11px; line-height: 1; }

.upadd:hover { border-color: var(--brand); color: var(--brand-2); background: var(--brand-dim); }

.upadd:disabled { cursor: wait; opacity: .55; }

/* --- 响应式 --- */
@media (max-width: 920px) {
  .ac-hero { flex-wrap: wrap; }
  .ac-hero__stats { margin-left: 0; width: 100%; justify-content: flex-start; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
  .ac-stat { padding: 2px 16px 0 0; border-left: 0; }
  .ac-layout { grid-template-columns: 1fr; }
}

/* v88b：接单表格操作列按钮紧凑化 */
.awm-table .btn--sm { height: 26px; padding: 0 10px; font-size: 12px; }

/* ==========================================================================
   v83：跳蚤市场表格细腻化 —— 斑马纹 / 柔和 hover + 左侧橙条 / 细分隔线
   ========================================================================== */
.ordtable thead th {
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: .5px;
  color: #D9D6CD;
}

.ordtable tbody td {
  padding: 12px;
  border-bottom-color: #EDEBE5;
}

/* 首尾列加内边距，与卡片边缘留呼吸 */
.ordtable thead th:first-child, .ordtable tbody td:first-child { padding-left: 18px; }
.ordtable thead th:last-child, .ordtable tbody td:last-child { padding-right: 18px; }

/* 偶数行斑马纹（极浅暖白） */
.ordtable tbody tr:nth-child(even) { background: #FAF9F5; }

/* hover：浅橙高亮 + 左侧橙色指示条；行尾按钮同步点亮 */
.ordtable tbody tr:hover {
  background: rgba(232, 147, 12, .07);
  box-shadow: inset 3px 0 0 var(--brand);
}

.ordtable tbody tr:hover .act-view { background: var(--brand); color: #FFFFFF; }
.ordtable tbody tr:hover .otd-no { color: var(--text-2); }

/* 键盘可达：Tab 选中行有焦点环 */
.ordtable tbody tr:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

/* ==========================================================================
   v84：跳蚤市场整卡化（搜索/统计/页签/表格 一张卡）+ 移动端修复
   ========================================================================== */
.market-panel {
  background: var(--panel);
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.market-panel__search { padding: 16px 18px 14px; border-bottom: 1px solid var(--line); }

.searchbar--flat {
  border: 0; box-shadow: none; background: transparent;
  border-radius: 0; padding: 0; margin: 0;
}

.market-panel__search .field__hint { margin: 8px 2px 0; }

.market-panel__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  min-height: 46px; padding: 6px 18px;
  background: #FBFAF7;
  border-bottom: 1px solid var(--line);
}

.market-panel__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-left: auto;
  font-size: 12.5px; color: var(--text-3); font-weight: 600;
}

.market-panel__count b { color: var(--text); font-family: var(--mono); font-weight: 600; }

/* 表格贴入面板：去掉自带卡片壳 */
.market-panel .ordtable-wrap { border: 0; border-radius: 0; box-shadow: none; }

/* ---------- 顶栏滚动公告（品牌右侧空白区，后台「顶部公告」维护） ---------- */
/* 复用 base.css 的 .notice-viewport / .notice-roll 无缝滚动组件 */
.topbar__notice {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 18px;
  overflow: hidden;
}

.topbar__notice-tag {
  flex: none;
  padding: 2px 8px;
  border: 1.5px solid rgba(232, 147, 12, .38);
  border-radius: var(--radius);
  background: var(--brand-dim);
  color: var(--brand-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.topbar__notice .notice-viewport {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}

/* v106 公告改上下轮播，横向留白不再需要 */

@media (max-width: 960px) {
  .topbar__notice { margin: 0 12px; }
}

/* ---------- 移动端：顶栏两行化（第二行导航横滚） ---------- */
@media (max-width: 640px) {
  .topbar {
    flex-wrap: wrap; height: auto;
    padding: 0 14px;
  }
  .topbar__brand { flex: 1; min-width: 0; padding: 10px 0 8px; }
  .topbar__right { gap: 8px; }
  .top-kf, .top-acc { height: 30px; padding: 0 10px; font-size: 11.5px; }
  .topbar__nav {
    order: 4;
    flex-basis: 100%;
    display: flex; gap: 20px;
    margin: 0 -14px;
    padding: 0 14px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .topbar__nav::-webkit-scrollbar { display: none; }
  .top-link { height: 40px; align-items: center; white-space: nowrap; font-size: 12.5px; }

  /* 公告在品牌行下方独占一行（导航之上），标签隐藏省空间 */
  .topbar__notice {
    order: 3;
    flex-basis: 100%;
    margin: 0;
    padding: 5px 0;
    border-top: 1px dashed var(--line);
  }
  .topbar__notice-tag { display: none; }
  .topbar__notice .notice-viewport { font-size: 11.5px; }

  /* 公告条紧贴加高后的顶栏 */
  .shell-top { top: 86px; }

  /* 市场面板：统计/页签上下堆叠，页签横滚 */
  .market-panel__bar { flex-direction: column; align-items: stretch; padding: 8px 12px; }
  .market-panel__meta { margin-left: 0; justify-content: space-between; }
  .market-panel__bar .chips { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
  .market-panel__bar .chips::-webkit-scrollbar { display: none; }
  .market-panel__search { padding: 12px; }
}

/* ==========================================================================
   v97：个人中心收款码卡 / 图片放大层 / 对接群弹窗 / 详情页收藏
   ========================================================================== */

/* 抽成收款码独立列：缩略图点击放大（渠道码随单走） */
.paythumb { width: 52px; height: 52px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px; cursor: zoom-in; transition: border-color .15s; }
.paythumb:hover { border-color: var(--brand); }

/* 图片放大层：全屏遮罩，图片 contain 完整显示 */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(10, 13, 17, .84); display: flex; align-items: center; justify-content: center; padding: 36px; cursor: zoom-out; animation: lbIn .16s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #fff; box-shadow: 0 16px 56px rgba(0, 0, 0, .4); }

/* 对接群弹窗：二维码完整显示（不锁比例，contain 不裁切） */
.joinmodal__qr { display: flex; justify-content: center; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; cursor: zoom-in; }
.joinmodal__qr img { max-width: 100%; max-height: 56vh; object-fit: contain; display: block; }
.joinmodal__link { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 0 6px; color: var(--text-2); font-size: 12.5px; text-align: center; }
.joinmodal__link b { font-size: 15px; color: var(--text); }

/* 详情页收藏按钮：收藏后星形点亮 */
.d-act.is-fav { color: var(--brand); border-color: var(--brand); }
.d-act.is-fav svg { fill: var(--brand); stroke: var(--brand); }
.d-act:disabled { opacity: .6; cursor: default; }

/* ==========================================================================
   v104 订单详情：物资明细表格化（单价/数量/抽成/小计 + 合计），拉开与上方间距
   ========================================================================== */
.detail__items {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 14px 16px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail__items-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.detail__items-head b { font-size: 12px; font-weight: 600; color: var(--text-2); letter-spacing: .5px; }

.detail__items-head span { font-size: 11px; color: var(--text-3); }

.detail__table { width: 100%; border-collapse: collapse; font-size: 12.5px; }

.detail__table th {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  text-align: right;
  letter-spacing: .5px;
  white-space: nowrap;
}

.detail__table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: right;
  color: var(--text-2);
  white-space: nowrap;
}

.detail__table th.ta-l, .detail__table td.ta-l { text-align: left; }
.detail__table td.ta-l { color: var(--text); }
.detail__table td b { font-weight: 600; color: var(--text); }

.detail__table tbody tr:last-child td { border-bottom: none; }

.detail__table tfoot td {
  padding: 10px 0 2px;
  border-top: 1px solid var(--line);
  border-bottom: none;
  font-size: 12px;
  color: var(--text-3);
}

.detail__table tfoot td:first-child { color: var(--text-2); font-weight: 500; }

@media (max-width: 640px) {
  .detail__items { padding: 12px; }
  .detail__table { font-size: 11.5px; }
  .detail__table th { font-size: 10px; }
}

/* ==========================================================================
   入驻交流群：触发按钮 + 群码浮层（登录页 / 注册页共用）
   与站内工业风一致：1.5px 墨框按钮、2px 墨框浮层 + 硬投影、微位移动效
   ========================================================================== */
.join-qr {
  position: relative;
  display: inline-flex;
  margin-top: 18px;
}

.join-qr__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--panel);
  border: 1.5px solid var(--ink-line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--text);
  cursor: pointer;
  transition: background 160ms var(--ease-out-quart),
              box-shadow 160ms var(--ease-out-quart),
              transform 160ms var(--ease-out-quart);
}

.join-qr__btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--brand-2);
}

.join-qr__btn small {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-2);
}

.join-qr__btn:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
  box-shadow: 2px 2px 0 rgba(23, 21, 15, .85);
}

.join-qr.is-open .join-qr__btn {
  background: var(--bg-soft);
  box-shadow: 2px 2px 0 rgba(23, 21, 15, .85);
}

.join-qr__pop {
  position: absolute;
  left: 0;
  bottom: calc(100% + 13px);
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 10px;
  background: var(--panel);
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(23, 21, 15, .16);
  text-align: center;
  z-index: 60;
  opacity: 0;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 160ms var(--ease-out-quart), transform 160ms var(--ease-out-quart);
}

/* 透明桥接区：填平按钮与浮层之间的缝，避免指针穿过时浮层被关掉 */
.join-qr__pop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -16px;
  height: 16px;
}

.join-qr.is-open .join-qr__pop {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.join-qr__img {
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 4px;
}

/* 图片按原始比例完整展示；超高时等比缩放，不裁切 */
.join-qr__img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(560px, 64vh);
  object-fit: contain;
}

/* 占位态（待配置）保持正方形观感 */
.join-qr__img.is-empty {
  aspect-ratio: 1;
}

.join-qr__img.is-empty {
  background: var(--bg-soft);
  border-style: dashed;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  padding: 10px;
}

/* 居中变体（注册页 / 注册成功卡） */
.join-qr--center {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

@media (max-width: 860px) {
  /* 窄屏卡片贴边时浮层右移，避免超出视口 */
  .join-qr__pop { left: 50%; transform: translate(-50%, 5px); width: 268px; }
  .join-qr.is-open .join-qr__pop { transform: translateX(-50%); }
}

/* 居中变体：浮层随按钮居中（箭头居中） */
.join-qr--center .join-qr__pop {
  left: 50%;
  transform: translate(-50%, 5px);
}
.join-qr--center.is-open .join-qr__pop { transform: translateX(-50%); }

/* 注册页「已有账号？直接登录」提示：加大加清晰（区别于通用 awm-submit__tip） */
.reg-login-tip {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
}

.reg-login-tip__q { color: var(--text-2); }

.reg-login-tip a {
  font-weight: 700;
  color: var(--brand-2);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
  transition: opacity 160ms var(--ease-out-quart);
}

.reg-login-tip a:hover { opacity: .75; }

/* 登录页：按钮放进底部 meta 行——保留原按钮样式（墨框实心按钮），仅调整对齐与浮层方向 */
.join-qr--meta {
  margin-top: 0;
}

.join-qr--meta .join-qr__pop {
  left: auto;
  right: 0;
}

/* meta 行内按钮与左侧 NAISI STORE 文字垂直居中对齐 */
.login-meta {
  align-items: center;
}

/* 登录/注册页 kf-fab 容器：隐藏按钮后容器仍拦截指针，会挡住卡片右下角（meta 行交流群按钮） */
.kf-fab.is-bare { pointer-events: none; }

.kf-fab.is-bare .kf-panel.is-open { pointer-events: auto; }

/* 接单流程：序号与标题同行（.s-hd 行），描述随其下 */
.step .s-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.step .s-hd .s-no { margin-bottom: 0; flex: 0 0 auto; }

.step .s-hd b { margin-bottom: 0; }

.step .s-arrow { top: 30px; }
