:root {
  --accent: #ff4d1c;
  --accent-2: #ff7a3d;
  --dark: #16181d;
  --text: #1c1d22;
  --muted: #8b8f99;
  --line: #eef0f3;
  --bg: #f6f7f9;
  --card: #ffffff;
  --radius: 16px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 76px;
}
#app { max-width: 520px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

/* 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px;
  background: rgba(246,247,249,.92);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: #fff; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.brand-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.pill {
  font-size: 11px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 4px 10px; border-radius: 999px;
}

/* 通用 */
.section { padding: 0 16px; margin-top: 14px; }
.section-title { font-size: 15px; font-weight: 700; margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; }
.section-title small { font-weight: 400; color: var(--muted); font-size: 12px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: 0 2px 14px rgba(16,20,30,.05); }

/* 首页 banner */
.banner {
  margin: 4px 16px 0; padding: 18px 18px 16px; border-radius: 20px; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, #2b2f3a 0%, #14161b 60%, #0d0f13 100%);
  position: relative; overflow: hidden;
}
.banner::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,77,28,.55), transparent 70%); filter: blur(6px);
}
.banner h2 { margin: 0 0 10px; font-size: 16px; line-height: 1.45; font-weight: 700; position: relative; z-index: 1; }
.banner ol { margin: 0; padding-left: 20px; font-size: 12.5px; line-height: 1.9; color: #d9dbe2; position: relative; z-index: 1; }
.banner .banner-foot { margin-top: 12px; font-size: 12.5px; color: #ffb28f; font-weight: 600; position: relative; z-index: 1; }

/* 分类入口 */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 13px; background: #fff; border-radius: 14px; }
.cat-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 22px; font-weight: 700; color: #4a4f5c; background: linear-gradient(135deg,#f4f6fa,#e8edf5);
  overflow: hidden;
}
.cat-ico img { width: 100%; height: 100%; border-radius: 16px; object-fit: cover; display: block; }
.cat-name { font-size: 12px; color: #3a3d45; }

/* 商品 */
.prod { display: flex; gap: 12px; padding: 12px; margin-bottom: 10px; align-items: center; }
.prod-img { width: 80px; height: 80px; border-radius: 12px; background: linear-gradient(135deg,#f4f6fa,#e8edf5); flex: 0 0 auto; overflow: hidden; position: relative; display: grid; place-items: center; }
.prod-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img .badge {
  position: absolute; left: 6px; top: 6px; font-size: 10px; color: #fff; background: rgba(0,0,0,.55);
  padding: 1px 6px; border-radius: 6px;
}
.prod-main { flex: 1; min-width: 0; }
.prod-title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.prod-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.tag { font-size: 10.5px; color: var(--accent); border: 1px solid rgba(255,77,28,.28); background: rgba(255,77,28,.06); padding: 1px 6px; border-radius: 6px; }
.prod-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.price { color: var(--accent); font-weight: 800; font-size: 16px; }
.price small { font-size: 11px; font-weight: 600; margin-right: 1px; }
.btn-order {
  background: linear-gradient(135deg, var(--accent), #ff7a1a); color: #fff; font-size: 13px;
  padding: 7px 16px; border-radius: 999px; font-weight: 600;
}

/* 分类页 */
.cat-layout { display: flex; padding: 0 0 0 0; align-items: flex-start; }
.cat-side { width: 96px; flex: 0 0 96px; background: #f1f2f5; min-height: calc(100vh - 80px); }
.cat-side button {
  display: block; width: 100%; padding: 16px 8px; font-size: 13px; color: #55596a; text-align: center;
  border-left: 3px solid transparent;
}
.cat-side button.active { background: #fff; color: var(--accent); font-weight: 700; border-left-color: var(--accent); }
.cat-body { flex: 1; padding: 12px; min-width: 0; }
.cat-head { font-size: 13px; color: var(--muted); margin: 2px 4px 10px; }

/* 选人 */
.staff-card { display: flex; gap: 12px; padding: 14px; margin-bottom: 10px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: #eceef2; overflow: hidden; flex: 0 0 auto; display: grid; place-items: center; color: #b6bac4; font-size: 20px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-name { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #35c759; }
.dot.off { background: #c7cbd4; }
.staff-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* 我的 */
.profile { margin: 8px 14px 0; padding: 0; background: none; color: inherit; }

/* 顶部：头像 + 名字 + 客服 */
.mine-head { display: flex; align-items: center; gap: 12px; padding: 6px 4px 14px; }
.mine-avatars { position: relative; width: 56px; height: 56px; flex: 0 0 auto; }
.mine-avatars img, .mine-avatars .ph {
  position: absolute; top: 0; width: 44px; height: 44px; border-radius: 14px;
  border: 2px solid #fff; box-shadow: 0 4px 10px rgba(30,40,70,.14); object-fit: cover;
  display: grid; place-items: center; background: #eef1f6; font-size: 18px;
}
.mine-avatars img:nth-child(1), .mine-avatars .ph:nth-child(1) { left: 0; z-index: 2; }
.mine-avatars img:nth-child(2), .mine-avatars .ph:nth-child(2) { left: 12px; top: 8px; z-index: 1; opacity: .95; }
.mine-name { font-size: 21px; font-weight: 800; letter-spacing: .5px; }
.mine-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* 钱包卡 */
.wallet-card {
  position: relative; border-radius: 24px; padding: 18px 18px 16px; color: #fff;
  background: linear-gradient(150deg, #2f3442 0%, #1b1e26 58%, #111318 100%);
  box-shadow: 0 16px 34px rgba(18,22,32,.28);
  overflow: hidden;
}
.wallet-card::after {
  content: ""; position: absolute; right: -60px; top: -70px; width: 190px; height: 190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 65%);
}
.wallet-row { display: flex; align-items: flex-start; justify-content: space-between; }
.wallet-eyes { display: flex; align-items: center; gap: 8px; }
.wallet-label { font-size: 13px; color: #cfd3dc; letter-spacing: .5px; }
.eye-btn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #cfd3dc; background: rgba(255,255,255,.08); }
.wallet-amount { font-size: 30px; font-weight: 800; margin-top: 10px; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.btn-recharge {
  border: 1px solid rgba(255,255,255,.32); color: #fff; padding: 8px 22px;
  border-radius: 999px; font-size: 13.5px; background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
}
.btn-recharge:active { background: rgba(255,255,255,.16); }
.logout-btn { margin-top: 8px; font-size: 11px; color: #9aa0ac; background: none; border: 0; padding: 0; }

/* 订单九宫格 */
.orders-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 16px 4px 14px; }
.orders-row .o { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #3d4149; background: none; border: 0; position: relative; }
.o-ico {
  width: 42px; height: 42px; border-radius: 50%; border: 1.6px solid #23262e;
  display: grid; place-items: center; font-size: 17px; background: #fff;
}
.orders-row .o .dot {
  position: absolute; top: 0; right: 8px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: #ff4d1c; color: #fff; font-size: 10px; line-height: 16px;
}

/* 功能服务 */
.grid-6 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 4px; padding: 16px 4px 18px; }
.grid-6 .g { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #3d4149; background: none; border: 0; }
.g-ico {
  width: 46px; height: 46px; border-radius: 50%; border: 1.6px solid #23262e;
  display: grid; place-items: center; font-size: 19px; background: #fff;
}
.grid-6 .g:active .g-ico, .orders-row .o:active .o-ico { background: #f1f3f7; }

/* 入驻入口 */
.entry-list { margin: 0 14px 18px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 14px rgba(30,40,70,.05); }
.row-link { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px; font-size: 14.5px; color: #2b2f37; background: none; border: 0; width: 100%; }
.row-link + .row-link { border-top: 1px solid var(--line); }
.row-link .lk { display: flex; align-items: center; gap: 10px; }
.row-link .arrow { color: #c3c7d0; }

.mine-footer { text-align: center; font-size: 11.5px; color: #b3b8c2; padding: 0 0 26px; }

/* 订单列表 */
.order-item { padding: 12px 14px; margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.order-title { font-size: 14px; font-weight: 600; }
.order-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.status { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #f1f2f5; color: #6b7080; white-space: nowrap; }
.status.服务中 { background: rgba(255,77,28,.1); color: var(--accent); }
.status.已完成 { background: rgba(53,199,89,.12); color: #22a34a; }
.status.退款单 { background: rgba(255,59,48,.1); color: #e03127; }

/* 底部导航 */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 30;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: #9aa0ad; padding: 2px 0; }
.tab .ti { font-size: 18px; filter: grayscale(1); opacity: .65; }
.tab.active { color: var(--accent); font-weight: 700; }
.tab.active .ti { filter: none; opacity: 1; }
.tab-center { position: relative; }
.tab-center .tc {
  display: grid; place-items: center; width: 56px; height: 56px; margin-top: -26px;
  border-radius: 50%; color: #1c2b00; font-weight: 800; font-size: 15px;
  background: radial-gradient(circle at 30% 20%, #d9ff5c, #b6f22b 60%, #8fd400 100%);
  box-shadow: 0 8px 20px rgba(150,220,20,.45); border: 3px solid #fff;
}

/* 弹层 */
.sheet-mask { position: fixed; inset: 0; background: rgba(10,12,16,.45); z-index: 40; }
.sheet {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 520px;
  background: #fff; border-radius: 20px 20px 0 0; z-index: 41; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  animation: up .18s ease;
}
@keyframes up { from { transform: translate(-50%, 30px); opacity: .6; } to { transform: translate(-50%, 0); opacity: 1; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sheet-head b { font-size: 16px; }
.x { color: #a7abb6; font-size: 16px; padding: 4px; }
.sheet-body { font-size: 14px; color: #3d414b; max-height: 58vh; overflow: auto; }
.sheet-foot { display: flex; gap: 10px; margin-top: 16px; }
.sheet-foot button { flex: 1; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.btn-ghost { background: #f2f3f6; color: #4a4e58; }
.btn-primary { background: linear-gradient(135deg, var(--accent), #ff7a1a); color: #fff; }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fafbfc; border-radius: 10px;
  padding: 10px 12px; font: inherit; color: var(--text); outline: none;
}
.field input:focus, .field textarea:focus { border-color: rgba(255,77,28,.5); background: #fff; }

.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%);
  background: rgba(22,24,29,.92); color: #fff; font-size: 13px; padding: 10px 18px;
  border-radius: 999px; z-index: 60; max-width: 80vw; text-align: center;
}
.empty { text-align: center; color: var(--muted); font-size: 13px; padding: 40px 0; }

/* 支付方式选择 */
.pay-list { display: flex; flex-direction: column; gap: 8px; }
.pay-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; cursor: pointer;
}
.pay-item input { accent-color: var(--accent); width: 16px; height: 16px; }
.pay-item:has(input:checked) { border-color: rgba(255,77,28,.55); background: rgba(255,77,28,.05); }
.pay-name { flex: 1; font-size: 14px; font-weight: 600; }
.pay-tag { font-size: 11px; color: var(--muted); background: #eef0f4; padding: 2px 8px; border-radius: 999px; }

/* 打手中心 */
.page-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 6px; font-size: 16px;
}
.page-head .back { font-size: 14px; color: #4a4f5c; padding: 4px 0; }
.page-head b { font-weight: 800; }

.gate-card { text-align: center; padding: 34px 20px 30px; }
.gate-ico { font-size: 44px; line-height: 1; margin-bottom: 10px; }
.gate-title { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.gate-sub { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.gate-btn { margin-top: 16px; padding: 9px 26px; }
.gate-badge {
  display: inline-block; margin-top: 16px; font-size: 12px; color: #b26a00;
  background: rgba(255,159,10,.12); border: 1px solid rgba(255,159,10,.35);
  padding: 5px 14px; border-radius: 999px;
}

.staff-hero { display: flex; align-items: center; gap: 12px; padding: 16px; }
.staff-stats { display: flex; gap: 14px; text-align: center; }
.staff-stats div { display: flex; flex-direction: column; }
.staff-stats b { font-size: 15px; color: var(--accent); }
.staff-stats span { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

.staff-order { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 10px; }
.staff-order .so-main { flex: 1; min-width: 0; }

/* 接单大厅 */
.hall-summary { display: flex; padding: 16px; margin-bottom: 10px; }
.hall-summary div { flex: 1; text-align: center; }
.hall-summary div + div { border-left: 1px solid var(--line); }
.hall-summary b { display: block; font-size: 20px; color: var(--accent); font-weight: 800; }
.hall-summary span { font-size: 11.5px; color: var(--muted); }
.hall-banner {
  font-size: 12.5px; color: #7a5a00; background: rgba(255,159,10,.1);
  border: 1px solid rgba(255,159,10,.28); border-radius: 12px; padding: 11px 14px; line-height: 1.6;
}
.hall-banner.ok { color: #1f7a42; background: rgba(53,199,89,.1); border-color: rgba(53,199,89,.3); }
.hall-banner .link { color: var(--accent); font-weight: 700; text-decoration: underline; padding: 0 2px; }

/* 订单详情 */
.detail-card { padding: 4px 0; }
.drow { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.drow:last-child { border-bottom: 0; }
.drow .dk { flex: 0 0 96px; font-size: 13px; color: var(--muted); }
.drow .dv { flex: 1; font-size: 13.5px; text-align: right; word-break: break-all; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.dv-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.muted { color: var(--muted); font-size: 12px; }
.ev-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ev-grid img { width: 78px; height: 78px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* 结单上传 */
#fEv { padding: 9px 10px; background: #fafbfc; }
#evStatus { color: var(--muted); }

/* 消息 / 会话 */
.mini-btn { font-size: 12px; color: var(--accent); border: 1px solid rgba(255,77,28,.35); padding: 3px 10px; border-radius: 999px; }
.chat-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; margin-bottom: 10px; position: relative; }
.chat-av { width: 46px; height: 46px; font-size: 17px; font-weight: 700; color: #6b7280; background: linear-gradient(135deg,#eef1f7,#e2e8f2); }
.chat-main { flex: 1; min-width: 0; }
.chat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chat-name { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.role-tag { font-style: normal; font-size: 10px; font-weight: 600; color: #c2410c; background: rgba(255,77,28,.12); padding: 1px 6px; border-radius: 5px; }
.role-tag.user { color: #1d4ed8; background: rgba(29,78,216,.1); }
.role-tag.self { color: #6b7280; background: #eef0f4; }

/* 订单支付弹层 */
.pay-amount { text-align: center; font-size: 30px; font-weight: 800; color: var(--accent); margin: 6px 0 4px; }
.pay-divider { text-align: center; font-size: 11.5px; color: var(--muted); margin: 16px 0 10px; position: relative; }
.pay-divider::before, .pay-divider::after {
  content: ''; position: absolute; top: 50%; width: 30%; height: 1px; background: var(--line);
}
.pay-divider::before { left: 0; }
.pay-divider::after { right: 0; }
.pay-chs { display: flex; flex-direction: column; gap: 8px; }
.pay-ch {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: #fafbfc; font-size: 14px; font-weight: 600;
}
.pay-ch i { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 400; }
button[disabled] { opacity: .45; }
.chat-time { font-size: 11px; color: var(--muted); flex: 0 0 auto; }
.chat-sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-last { font-size: 13px; color: #4b5563; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-badge {
  position: absolute; right: 12px; bottom: 12px; min-width: 18px; height: 18px; padding: 0 5px;
  background: #ff3b30; color: #fff; font-size: 11px; line-height: 18px; text-align: center; border-radius: 999px;
}
.chat-btn { display: block; width: calc(100% - 32px); margin: 16px auto 0; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 15px; }

/* 聊天窗口 */
.chat-bar { padding: 0 16px 90px; }
.chat-order {
  font-size: 11.5px; color: var(--muted); text-align: center; background: #f1f3f7;
  border-radius: 999px; padding: 6px 12px; margin: 4px auto 12px; display: inline-block;
}
.chat-body {
  display: flex; flex-direction: column; gap: 10px; padding-bottom: 10px;
  max-height: calc(100vh - 320px); overflow-y: auto;
}
.bubble-row { display: flex; align-items: flex-end; gap: 8px; }
.bubble-row.mine { justify-content: flex-end; }
.bubble-av { width: 30px; height: 30px; font-size: 12px; flex: 0 0 auto; }
.bubble-av.me { background: linear-gradient(135deg,#ffb08a,#ff7a3d); color: #fff; }
.bubble {
  max-width: 72%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5;
  background: #fff; box-shadow: 0 1px 6px rgba(16,20,30,.06); word-break: break-word; white-space: pre-wrap;
}
.bubble-row.mine .bubble { background: linear-gradient(135deg,#ff6a33,#ff8a3d); color: #fff; }
.chat-input {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 62px; width: 100%; max-width: 520px;
  display: flex; gap: 8px; padding: 10px 16px; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.chat-input input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; background: #fafbfc; }
.chat-input .btn-order { padding: 0 20px; border-radius: 999px; }

/* 底部消息红点 */
.tab { position: relative; }
.tab-badge {
  position: absolute; top: 0; left: 50%; margin-left: 10px; min-width: 16px; height: 16px; padding: 0 4px;
  background: #ff3b30; color: #fff; font-size: 10px; line-height: 16px; text-align: center; border-radius: 999px;
}

/* ============ 登录 / 注册 ============ */
.auth-wrap {
  min-height: 100vh;
  padding: 64px 26px 40px;
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(170deg, #f7f9fc 0%, #eef2f8 55%, #e9eef7 100%);
}
.auth-logo {
  width: 76px; height: 76px; border-radius: 24px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 40px; box-shadow: 0 12px 28px rgba(30, 60, 120, .12);
  margin-bottom: 20px;
}
.auth-title { font-size: 22px; font-weight: 800; margin: 0 0 8px; color: var(--text); }
.auth-sub { font-size: 12.5px; color: var(--muted); margin: 0 0 30px; text-align: center; line-height: 1.7; }
.auth-form { width: 100%; max-width: 340px; }
.auth-input {
  width: 100%; padding: 14px 16px; margin-bottom: 12px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff; font-size: 15px; outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-input:focus { border-color: rgba(255,77,28,.5); box-shadow: 0 0 0 3px rgba(255,77,28,.08); }
.auth-btn {
  width: 100%; padding: 14px; margin-top: 6px;
  border: 0; border-radius: 14px; color: #fff; font-size: 16px; font-weight: 700;
  background: linear-gradient(135deg, #ff6a33, #ff4d1c);
  box-shadow: 0 10px 24px rgba(255,77,28,.28);
}
.auth-btn:disabled { opacity: .6; }
.auth-switch { margin-top: 18px; text-align: center; font-size: 13px; color: #4a90e2; }
.auth-err { margin-top: 12px; text-align: center; font-size: 12.5px; color: #e03127; min-height: 18px; }
.logout-btn {
  margin-top: 8px; font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px;
}

/* 图形验证码 */
.auth-cap-row { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.auth-cap-img {
  width: 110px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  border: 1px solid var(--line); background: #f4f6fa; cursor: pointer;
  -webkit-user-select: none; user-select: none;
}
.auth-cap-img:active { opacity: .75; }

/* 登录页诊断信息 */
.auth-diag {
  margin-top: 26px; padding-top: 14px; border-top: 1px dashed #dfe4ee;
  font-size: 10.5px; line-height: 1.7; color: #98a0ae; text-align: center;
  word-break: break-all;
}

/* ============ 线性图标统一 ============ */
.tabbar .ti { display: flex; align-items: center; justify-content: center; height: 24px; }
.tabbar .ti svg { display: block; }
.tabbar .tab.active .ti { color: var(--accent); }
.o-ico svg, .g-ico svg { display: block; }
.o-ico, .g-ico { color: #23262e; }
.orders-row .o span:last-child, .grid-6 .g span:last-child {
  font-size: 12px; color: #3d4149; line-height: 1.2; text-align: center;
}
.eye-btn svg { display: block; }
.entry-list .lk { display: inline-flex; align-items: center; gap: 8px; }
.entry-list .lk svg { color: #23262e; }
.auth-logo svg { display: block; color: #2e7dff; }
.side-link svg, .side button svg { display: inline-block; vertical-align: -4px; margin-right: 8px; }

/* 钱包卡底部弧形（参考手绘风格） */
.wallet-card { border-bottom-left-radius: 34px; border-bottom-right-radius: 34px; }

/* 头像编辑角标 */
.mine-avatars { cursor: pointer; }
.av-edit {
  position: absolute; right: -2px; bottom: -2px; z-index: 3;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: #4a5060;
  box-shadow: 0 2px 6px rgba(20,30,60,.12);
}
.av-edit svg { width: 11px; height: 11px; }

/* 取消订单按钮 */
.btn-cancel {
  display: block; width: 100%; margin-top: 10px; padding: 13px;
  border-radius: 14px; border: 1px solid #e3e6ee; background: #fff;
  color: #6b7280; font-size: 14.5px;
}
.btn-cancel:disabled { opacity: .6; }

/* 已取消状态徽标 */
.status.已取消 { background: #f1f2f5; color: #8b8f99; }

/* 打手头像可编辑 */
.avatar-edit { position: relative; cursor: pointer; }
.staff-hero .avatar-edit .av-edit { right: -2px; bottom: -2px; }

/* 打手邮箱 */
.staff-mail { font-size: 11.5px; color: #7b8798; margin-top: 4px; }
.staff-mail.warn { color: #ff4d1c; }
.mail-gate { border: 1px solid #ffe1a8; background: #fffbea; }
.mail-gate-t { font-size: 14px; font-weight: 700; color: #8a6100; }
.mail-gate-sub { font-size: 11.5px; color: #a5832f; margin: 4px 0 12px; }
.mail-gate-row { display: flex; gap: 8px; }
.mail-gate-row input {
  flex: 1; border: 1px solid #e6d9b0; border-radius: 10px; padding: 10px 12px;
  font-size: 13px; background: #fff; outline: none;
}
.mail-gate-row input:focus { border-color: #ffb44d; }
.mail-gate-row .btn-order { padding: 0 18px; border-radius: 10px; white-space: nowrap; }

/* 表单里的警告提示 */
.hint-warn {
  margin-top: 6px; font-size: 11.5px; line-height: 1.7;
  color: #a5832f; background: #fffbea; border: 1px solid #ffe9b8;
  border-radius: 8px; padding: 8px 10px;
}
.hint-warn b { color: #8a6100; }

/* ============ 打手钱包 ============ */
.staff-wallet { padding: 16px; }
.sw-top { display: flex; align-items: center; justify-content: space-between; }
.sw-label { font-size: 12.5px; color: var(--muted); }
.sw-amount { font-size: 26px; font-weight: 800; margin-top: 4px; color: #1a1d24; font-variant-numeric: tabular-nums; }
.sw-btn {
  border: 0; border-radius: 999px; padding: 10px 24px; font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #ff6a33, #ff4d1c); box-shadow: 0 8px 18px rgba(255,77,28,.26);
}
.sw-btn:active { transform: translateY(1px); }
.sw-qr { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.sw-qr-box {
  width: 62px; height: 62px; border-radius: 12px; border: 1px dashed #d8deea; background: #fafbfd;
  display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; cursor: pointer;
}
.sw-qr-box img { width: 100%; height: 100%; object-fit: cover; }
.sw-qr-empty { font-size: 11px; color: #98a0ae; text-align: center; line-height: 1.3; }
.sw-qr-t { font-size: 13.5px; font-weight: 600; color: #2b2f37; }
.sw-qr-s { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.muted-line { font-size: 13px; color: #5a6478; }
