/* ============================================================================
   接单大厅 · 样式（对照 yiyoutong.maihaobei.com 的抢单大厅还原）
   ----------------------------------------------------------------------------
   ★ 设计规范（从参考站实测提取，不是拍脑袋）：
     主色 #D53F44（红）· 价格 #E53935 · 押金/提示 #E65100 · 角标 #FF9800
     背景 #F3F4F6 · 卡片 #FFF · 分隔线 #ECEFF1 · 次要文字 #888/#999
     底部 tabbar：深色半透明 rgba(18,22,30,.94) + 毛玻璃，选中色 #FF9E9E
   ★ 只用 px（不用 rem）—— 参考站用 rem + 根字号缩放，但那依赖 JS 设 html 字号，
     少一处依赖就少一个"手机上字大小忽大忽小"的坑。
   ★ 类名统一 ogh- 前缀，不与管理后台的 .card/.tbl 冲突（两个页面共用 app.css）。
   ============================================================================ */

.ogh-page { background: #f3f4f6; min-height: 100vh; padding-bottom: 68px; }
.ogh-page.has-stat { padding-top: 86px; }        /* 给固定统计条让位 */

/* ---------------- 顶部统计条 ---------------- */
.ogh-stat-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99;
  margin: 8px; padding: 13px 16px; border-radius: 12px;
  background: linear-gradient(135deg, #d53f44 0%, #b3303a 100%);
  box-shadow: 0 4px 14px rgba(213, 63, 68, .28);
  display: flex; align-items: center; justify-content: space-between;
}
.ogh-stat-item { flex: 1; text-align: center; position: relative; }
.ogh-stat-item:first-child::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 34px; background: rgba(255, 255, 255, .35);
}
.ogh-stat-label { font-size: 11.5px; color: rgba(255, 255, 255, .8); line-height: 1.2; margin-bottom: 4px; }
.ogh-stat-value { font-size: 19px; font-weight: 700; color: #fff; line-height: 1.2; }
.ogh-stat-value .ogh-stat-sub { font-size: 11.5px; color: rgba(255, 255, 255, .72); font-weight: 400; }
.ogh-stat-link {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: 10px; border-radius: 10px;
  color: #fff; font-size: 10.5px; background: rgba(255, 255, 255, .16); cursor: pointer;
}
.ogh-stat-link:active { background: rgba(255, 255, 255, .3); }

/* ---------------- 筛选区 ---------------- */
.ogh-filter { background: #fff; padding: 10px 12px 6px; border-bottom: 1px solid #eceff1; }
.ogh-f-sec { margin-bottom: 9px; position: relative; }
.ogh-f-head { display: flex; align-items: center; margin-bottom: 6px; }
.ogh-f-title { font-size: 12.5px; color: #666; font-weight: 600; }
.ogh-f-toggle { margin-left: auto; font-size: 12px; color: #1565c0; background: none; border: none; cursor: pointer; }
.ogh-f-wrap { position: relative; }
.ogh-f-scroll {
  display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
  padding-bottom: 2px; scrollbar-width: none;
}
.ogh-f-scroll::-webkit-scrollbar { display: none; }
.ogh-chip {
  flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; border: 1px solid #e8eaed;
  background: #fff; color: #555; font-size: 13px; line-height: 20px; cursor: pointer; white-space: nowrap;
}
.ogh-chip.active { background: #D53F44; border-color: #D53F44; color: #fff; font-weight: 600; }
.ogh-f-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid #e8eaed;
  background: #fff; color: #888; font-size: 13px; line-height: 1; cursor: pointer;
  display: none; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.ogh-f-arrow.is-prev { left: -4px; }
.ogh-f-arrow.is-next { right: -4px; }
.ogh-f-wrap:hover .ogh-f-arrow { display: flex; }
.ogh-f-more {
  position: absolute; right: 0; top: 0; bottom: 2px; width: 30px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 70%);
  display: flex; align-items: center; justify-content: flex-end; color: #bbb; font-size: 13px;
}

/* ---------------- 搜索栏 ---------------- */
.ogh-search-bar {
  position: sticky; top: 0; z-index: 80;
  padding: 7px 8px; background: #f3f4f6; border-bottom: 1px solid #eceff1;
  display: flex; gap: 6px; align-items: center;
}
.ogh-refresh {
  flex-shrink: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #e8eaed; border-radius: 8px; color: #666; font-size: 17px; cursor: pointer; padding: 0;
}
.ogh-refresh:active { background: #f0f2f5; }
.ogh-search-box {
  display: flex; gap: 6px; align-items: center; padding: 5px 9px;
  background: #fff; border: 1px solid #e8eaed; border-radius: 8px; flex: 1; min-width: 0;
}
.ogh-search-box input {
  flex: 1; border: none; background: transparent; font-size: 13.5px; color: #333;
  outline: none; height: 26px; width: auto; padding: 0; border-radius: 0;
}
.ogh-search-clear { flex-shrink: 0; border: none; background: transparent; color: #bbb; font-size: 15px; cursor: pointer; display: none; padding: 0 2px; }

/* ---------------- 订单卡片 ---------------- */
.ogh-item { display: flex; align-items: stretch; padding: 11px 12px; background: #fff; border-bottom: 1px solid #eceff1; }
.ogh-item-clickable { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ogh-thumb { position: relative; flex-shrink: 0; margin-right: 10px; }
.ogh-thumb .goods { width: 58px; height: 58px; border-radius: 8px; }
.ogh-item-badge {
  position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 3px 0 6px 0;
  background: #ff9800; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 20px; text-align: center;
}
.ogh-item-body { flex: 1; min-width: 0; }
.ogh-item-title {
  font-size: 14.5px; font-weight: 600; color: #222; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ogh-item-sn { font-size: 11.5px; color: #888; line-height: 1.3; margin: 1px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ogh-item-zone { font-size: 11.5px; color: #888; line-height: 1.3; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ogh-item-meta { font-size: 11.5px; color: #999; line-height: 1.3; }
.ogh-item-price-row { margin-top: 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.ogh-item-price { color: #e53935; font-weight: 700; font-size: 17px; line-height: 1.15; }
.ogh-item-price small { font-size: 11.5px; color: #999; font-weight: 400; }
.ogh-item-tag { font-size: 10.5px; color: #e65100; border: 1px solid #ffcc80; background: #fff8e1; border-radius: 3px; padding: 0 5px; line-height: 16px; }
.ogh-item .btn-grab {
  flex-shrink: 0; align-self: flex-end; min-width: 58px; height: 28px; line-height: 26px;
  padding: 0 9px; margin-left: 8px; margin-bottom: 2px;
  text-align: center; border: 1px solid #D53F44; border-radius: 4px;
  background: #D53F44; color: #fff; font-size: 12.5px; font-weight: 500; cursor: pointer;
}
.ogh-item .btn-grab:active:not(:disabled) { background: #b83539; border-color: #b83539; }
.ogh-item .btn-grab:disabled { background: #d9dce1; border-color: #d9dce1; color: #fff; }
.ogh-empty { text-align: center; color: #9aa2b5; padding: 46px 0; font-size: 13.5px; }
.ogh-loading { text-align: center; color: #9aa2b5; padding: 40px 0; font-size: 13.5px; }

/* ---------------- 底部 tabbar ---------------- */
.ogh-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: flex; align-items: stretch;
  background: rgba(18, 22, 30, .94);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.ogh-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; padding: 6px 4px 7px; color: rgba(255, 255, 255, .5);
  font-size: 11px; background: none; border: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ogh-tab .ic { font-size: 17px; line-height: 1.25; }
.ogh-tab.active { color: #ff9e9e; }
.ogh-tab .dot {
  position: absolute; margin-top: -22px; margin-left: 16px;
  background: #f5222d; color: #fff; font-size: 9.5px; border-radius: 8px; padding: 0 4px; line-height: 14px;
}

/* ---------------- 个人中心 / 我的订单 ---------------- */
.ogh-blk { background: #fff; margin: 10px 0 0; border-top: 1px solid #eceff1; border-bottom: 1px solid #eceff1; }
.ogh-blk-h { display: flex; align-items: center; padding: 11px 14px 8px; font-size: 14px; font-weight: 700; color: #222; }
.ogh-blk-h .more { margin-left: auto; font-size: 12.5px; color: #1565c0; font-weight: 400; cursor: pointer; }
.ogh-kv { display: flex; flex-wrap: wrap; padding: 2px 14px 12px; }
.ogh-kv > div { width: 50%; font-size: 13px; color: #666; line-height: 2; }
.ogh-kv b { color: #222; }
.ogh-wallet-row { display: flex; padding: 8px 14px 16px; }
.ogh-wallet-row .col { flex: 1; text-align: center; }
.ogh-wallet-row .col .k { font-size: 11.5px; color: #8b93a7; }
.ogh-wallet-row .col .v { font-size: 18px; font-weight: 700; margin-top: 3px; color: #e53935; }
.ogh-wallet-row .col .v.gray { color: #444; }

@media (min-width: 820px) {
  .ogh-page { max-width: 900px; margin: 0 auto; }
  .ogh-stat-bar { max-width: 884px; left: 50%; transform: translateX(-50%); }
  .ogh-tabbar { max-width: 900px; left: 50%; transform: translateX(-50%); }
  .ogh-f-arrow { display: flex; }
}

/* ============================================================
   ★ 第 6 批：抢单后才可见的字段 + 一键复制（对照参考站）
   做单员要把「游戏编号 / 角色名称」粘到游戏里去加好友，所以每个字段都带复制按钮
   ============================================================ */
.cpf { display: flex; align-items: center; gap: 6px; font-size: 11.5px; line-height: 1.9; }
.cpf-l { color: #888; flex: 0 0 auto; }
.cpf-v { color: #333; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 44vw; }
.cpf-b {
  flex: 0 0 auto; font-size: 10.5px; line-height: 16px; padding: 0 7px; cursor: pointer;
  color: #1565c0; background: #e8f1fd; border: 1px solid #b9d6f5; border-radius: 4px;
}
.cpf-b:active { background: #d3e5fb; }
/* 角色名称 / 游戏编号是抢单后才拿到的关键信息，给点颜色让它显眼 */
.cpf.cpf-hi .cpf-v { color: #c62828; }
.cpf.cpf-hi .cpf-l { color: #c62828; opacity: .75; }
/* ★2026-09-18 第 13 批：订单里的「我的资料」块（做单员要复制给买家） */
.ogh-item-mine { margin-top: 6px; padding: 6px 8px; background: #f6faf7; border: 1px solid #cfe9d4; border-radius: 8px; }
.ogh-mine-hd { font-size: 11.5px; font-weight: 700; color: #237804; margin-bottom: 2px; }
.ogh-item-mine .cpf-v, .ogh-item-mine .cpf-l { color: #1f6b3a; }

.ogh-item-actions { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.ogh-item-actions .btn { font-size: 11.5px; line-height: 24px; height: 24px; padding: 0 10px; }
.btn-role-img {
  font-size: 11px; line-height: 18px; padding: 0 7px; cursor: pointer;
  color: #1565c0; background: #e8f1fd; border: 1px solid #b9d6f5; border-radius: 4px;
}

/* ★2026-09-19 第 19 批：做单员「我的订单」改成和后台一致的卡片（用户："抢到的订单页面显示太乱了"）*/
.mine-card{cursor:pointer}
.mine-price{margin-left:auto;font-size:16px;font-weight:700;color:#D53F44;white-space:nowrap}
.mine-buyer{margin-top:9px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;
  background:#F6FAF7;border:1px solid #CFE9D4;border-radius:10px;padding:7px 10px;font-size:12.5px;color:#1F6B3A}
.mine-buyer .ord-btn.sm{padding:3px 8px;min-height:26px;font-size:11.5px}
/* 我的资料块 / 状态块在卡片里的间距收一下 */
.mine-card .mine-box{margin-top:9px}
.mine-card .ord-st{margin-top:9px}
@media (max-width:640px){
  .mine-price{margin-left:0}
  .mine-buyer{font-size:12px}
}

/* ★★2026-09-19 第 20 批：做单员「我的信誉分」卡片 */
.cr-top{display:flex;gap:14px;align-items:center}
.cr-score{flex:0 0 auto;text-align:center;min-width:74px}
.cr-score b{font-size:30px;line-height:1.1}
.cr-score span{display:block;font-size:11.5px;color:#9aa2b1;margin-top:2px}
.cr-lv{flex:1 1 auto;min-width:0}
.cr-tip{font-size:12.5px;color:#41506b;margin-top:5px}
.cr-tip.gray{color:#8a94a6}
.cr-tip b{color:#cf1322}
.cr-ability{margin-top:10px;background:#F6F9FF;border:1px solid #D6E4FF;border-radius:10px;
  padding:8px 10px;font-size:12.5px;color:#1d39c4;line-height:1.7}
.cr-chip{display:inline-block;margin-left:8px;background:#fff1f0;border:1px solid #ffa39e;color:#cf1322;
  border-radius:8px;padding:1px 7px;font-size:11.5px}
.cr-logs{margin-top:10px;border-top:1px dashed #e6e9ef;padding-top:8px}
.cr-log{display:flex;gap:8px;align-items:baseline;font-size:12.5px;line-height:2}
.cr-log .cr-v{flex:0 0 34px;font-weight:700;text-align:right}
.cr-log .cr-r{flex:1 1 auto;min-width:0;color:#41506b;word-break:break-all}
.cr-log .cr-t{flex:0 0 auto;color:#9aa2b1;font-size:11.5px}

/* ★★2026-09-19 第 21 批：做单员端「售后客服」块 */
.sv-row{display:flex;gap:10px;align-items:center;font-size:13px;line-height:2.1}
.sv-k{flex:0 0 68px;color:#8a94a6}
.sv-v{flex:1 1 auto;color:#1f2d3d;font-weight:600;word-break:break-all}
.sv-tip{margin-top:7px;font-size:12.5px;color:#41506b;line-height:1.8;background:#F6F9FF;border:1px solid #D6E4FF;border-radius:9px;padding:7px 9px}
.sv-tip.gray{background:#FAFBFC;border-color:#eceff3;color:#8a94a6}

/* ★★2026-09-19 第 23 批：个人中心「我的消息 + 规则」入口（用户要求：别做成大卡片，要能点、要简洁）*/
.me-big{width:100%;min-height:44px;font-size:15px;font-weight:600}
.me-rules{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px}
.me-big2{width:100%;min-height:40px;font-size:13.5px}
.notice-plain{white-space:pre-wrap;font-size:13.5px;line-height:2;color:#1f2d3d;
  background:#F8FAFC;border:1px solid #e9eef5;border-radius:10px;padding:11px 13px;margin-bottom:10px}
