@charset "utf-8";
/* 游戏代练抢单大厅 - 样式表
   主色：青绿(木) #159f95   辅色：珊瑚橙(火) #ff6b4a */

:root {
    --green: #159f95;
    --green-d: #0f837a;
    --green-l: #e6f6f4;
    --coral: #ff6b4a;
    --coral-l: #fff1ec;
    --orange: #ff9f43;
    --text: #1f2d2b;
    --text-2: #5b6b68;
    --text-3: #93a3a0;
    --bg: #f2f7f6;
    --card: #ffffff;
    --line: #e6eeec;
    --radius: 14px;
    --shadow: 0 2px 12px rgba(21, 159, 149, .07);
    --shadow-s: 0 1px 4px rgba(31, 45, 43, .06);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--green-d); text-decoration: none; }
a:hover { color: var(--coral); }
img { max-width: 100%; vertical-align: middle; }
input, select, textarea { font-family: inherit; font-size: 15px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 8px; }

.txt-green { color: var(--green); }
.txt-coral { color: var(--coral); }
.txt-warn { color: var(--orange); }
.txt-go { color: var(--green); }
.txt-bad { color: #e74c3c; }
.txt-gray { color: var(--text-3); }
.req { color: #e74c3c; font-weight: 700; margin-left: 2px; }
.txt-2 { color: var(--text-2); }
.mono { font-variant-numeric: tabular-nums; }
.small { font-size: 13px; }
.big { font-size: 20px; font-weight: 700; }
.right { text-align: right; }
.center { text-align: center; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt4 { margin-top: 4px; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mb8 { margin-bottom: 8px; }
.row { display: flex; gap: 8px; align-items: center; }
.row-b { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wrap { flex-wrap: wrap; }

/* ============ 打手端布局 ============ */
.app { max-width: 720px; margin: 0 auto; min-height: 100vh; padding-bottom: 68px; position: relative; }

.app-head {
    position: sticky; top: 0; z-index: 50;
    background: linear-gradient(135deg, #159f95 0%, #12b5a3 55%, #ff8a5c 160%);
    color: #fff; padding: 12px 16px;
    box-shadow: 0 2px 10px rgba(21, 159, 149, .18);
}
.app-head .hh { display: flex; justify-content: space-between; align-items: center; }
.app-head .site { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.app-head .site small { display: block; font-size: 11px; font-weight: 400; opacity: .8; letter-spacing: 0; }
.app-head .bal { text-align: right; font-size: 12px; opacity: .95; }
.app-head .bal b { display: block; font-size: 18px; font-weight: 700; }

.app-body { padding: 12px; }

.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -2px 10px rgba(31, 45, 43, .05);
    max-width: 720px; margin: 0 auto;
}
.tabbar a {
    flex: 1; text-align: center; padding: 8px 0 6px; color: var(--text-3); font-size: 11px;
}
.tabbar a .ti { display: block; font-size: 21px; line-height: 1.2; }
.tabbar a.on { color: var(--green); }
.tabbar a.on .ti { transform: translateY(-1px); }

/* ============ 卡片 ============ */
.card {
    background: var(--card); border-radius: var(--radius); padding: 14px;
    box-shadow: var(--shadow); margin-bottom: 12px;
}
.card-t {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 15px; font-weight: 600; margin-bottom: 10px;
    padding-bottom: 8px; border-bottom: 1px dashed var(--line);
}
.card-t .more { font-size: 12px; font-weight: 400; color: var(--text-3); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.stat {
    background: #fff; border-radius: 12px; padding: 12px 8px; text-align: center;
    box-shadow: var(--shadow-s);
}
.stat b { display: block; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--text-3); }

/* ============ 订单卡片 ============ */
.order {
    background: #fff; border-radius: var(--radius); padding: 13px 14px;
    box-shadow: var(--shadow); margin-bottom: 11px; border-left: 4px solid var(--green);
}
.order.st-warn { border-left-color: var(--orange); }
.order.st-go { border-left-color: var(--green); }
.order.st-ok { border-left-color: #4caf8e; }
.order.st-bad { border-left-color: #e74c3c; }
.order.st-gray { border-left-color: #c3cecc; }
.order.st-info { border-left-color: #4aa3e0; }

.order .o-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.order .o-title { font-size: 15px; font-weight: 600; flex: 1; }
.order .o-price { color: var(--coral); font-weight: 700; font-size: 18px; white-space: nowrap; }
.order .o-price small { font-size: 11px; color: var(--text-3); font-weight: 400; display: block; text-align: right; }
.order .o-tags { margin: 7px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.order .o-meta { font-size: 12.5px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.order .o-meta i { font-style: normal; color: var(--text-3); }
.order .o-act { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
    display: inline-block; padding: 1px 8px; border-radius: 20px; font-size: 11.5px;
    background: var(--green-l); color: var(--green-d);
}
.tag.gray { background: #f0f4f3; color: var(--text-3); }
.tag.warn { background: #fff6e5; color: #d98014; }
.tag.coral { background: var(--coral-l); color: #d94a26; }
.tag.info { background: #e8f3fc; color: #2c7fc4; }

.badge {
    display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 600;
}
.badge.warn { background: #fff3e0; color: #e08b1a; }
.badge.info { background: #e8f3fc; color: #2c7fc4; }
.badge.go   { background: var(--green-l); color: var(--green-d); }
.badge.ok   { background: #e8f6ef; color: #2e9e6f; }
.badge.bad  { background: #fdeceb; color: #d9432f; }
.badge.gray { background: #f0f4f3; color: var(--text-3); }

/* ============ 按钮 ============ */
.btn {
    display: inline-block; padding: 8px 16px; border-radius: 22px; border: none;
    background: var(--green); color: #fff; font-size: 14px; cursor: pointer;
    transition: .15s; text-align: center; line-height: 1.4;
}
.btn:hover { background: var(--green-d); color: #fff; }
.btn:active { transform: scale(.97); }
.btn.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 16px; }
.btn.btn-block { display: block; width: 100%; padding: 11px; border-radius: 26px; font-size: 15px; }
.btn.btn-coral { background: linear-gradient(135deg, #ff7a52, #ff5c3a); }
.btn.btn-coral:hover { background: #f04a24; color: #fff; }
.btn.btn-line { background: #fff; color: var(--green-d); border: 1px solid var(--green); }
.btn.btn-line:hover { background: var(--green-l); color: var(--green-d); }
.btn.btn-gray { background: #eef3f2; color: var(--text-2); }
.btn.btn-gray:hover { background: #e3ebe9; color: var(--text-2); }
.btn.btn-green { background: linear-gradient(135deg, #18b09f, #11978a); color: #fff; }
.btn.btn-green:hover { background: #0f877a; color: #fff; }
.btn.btn-bad { background: #fdeceb; color: #d9432f; border: 1px solid #f3b6ad; }
.btn.btn-bad:hover { background: #f8d9d5; color: #c23a26; }
.btn.btn-danger { background: #fdeceb; color: #d9432f; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ============ 表单 ============ */
.form-item { margin-bottom: 14px; }
.form-item label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 5px; font-weight: 500; }
.inp, .sel, .txta {
    width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
    background: #fbfdfd; color: var(--text); outline: none; transition: .15s;
}
.inp:focus, .sel:focus, .txta:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(21,159,149,.08); }
.txta { min-height: 80px; resize: vertical; }

/* 单字段隐藏小勾：跟在输入框下方 */
.hideck {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
    font-size: 12px; color: var(--text-3); cursor: pointer; user-select: none;
}
.hideck input { width: auto; margin: 0; accent-color: var(--coral); }
.hideck:hover { color: var(--coral); }
/* 信息可见性多选（chips 里的 label 形态） */
.chips label.cat-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 20px; background: #f1f6f5;
    color: var(--text-2); font-size: 13px; white-space: nowrap; cursor: pointer;
}
.chips label.cat-chip input { width: auto; margin: 0; accent-color: var(--coral); }

/* ============ 筛选栏 ============ */
.filter {
    background: #fff; border-radius: var(--radius); padding: 10px 12px; margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.filter .f-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter .f-row + .f-row { margin-top: 8px; }
.filter .sel, .filter .inp { width: auto; flex: 1; min-width: 96px; padding: 7px 8px; font-size: 13.5px; }
/* 屏幕居中浮动提示条（3 秒自动消失） */
.dl-toast {
    position: fixed; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 16px));
    z-index: 9999; max-width: 92vw; padding: 12px 18px; border-radius: 12px;
    font-size: 14px; line-height: 1.5; color: #fff; background: #159f95;
    box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease; text-align: center;
}
.dl-toast.on { opacity: 1; transform: translate(-50%, -50%); }
.dl-toast.t-ok   { background: #159f95; }
.dl-toast.t-warn { background: #e08b1a; }
.dl-toast.t-bad  { background: #d9432f; }

/* 大号搜索框（订单搜索用）：整行、增高、带图标，移动端更好点 */
.search-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.search-bar .sb-wrap { position: relative; flex: 1; min-width: 0; }
.search-bar .sb-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: .45; pointer-events: none; }
.search-bar .sb-inp {
    width: 100%; box-sizing: border-box; height: 46px; padding: 0 14px 0 38px;
    border: 1px solid var(--line-soft); border-radius: 12px; background: #fff;
    font-size: 15px; color: var(--text); outline: none;
}
.search-bar .sb-inp:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(21,159,149,.10); }
.search-bar .sb-btn { flex: none; height: 46px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
.search-bar .sb-clr { flex: none; height: 46px; padding: 0 14px; border-radius: 12px; }
@media (max-width: 420px) {
    .search-bar .sb-btn { padding: 0 14px; font-size: 14px; }
}
.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chips a {
    flex: 0 0 auto; padding: 5px 13px; border-radius: 20px; background: #f1f6f5;
    color: var(--text-2); font-size: 13px; white-space: nowrap;
}
.chips a.on { background: var(--green); color: #fff; }

/* ============ 详情页 ============ */
.kv { display: flex; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv:last-child { border-bottom: none; }
.kv .k { width: 88px; flex: 0 0 88px; color: var(--text-3); }
.kv .v { flex: 1; word-break: break-all; }
/* 对外客服链接：不暴露原始 kfid 长链接，显示友好文字 */
.lnk { color: var(--green); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.lnk:hover { text-decoration: underline; }

.acc-box {
    background: var(--green-l); border: 1px dashed var(--green); border-radius: 10px;
    padding: 10px 12px; font-size: 14px;
}
.acc-box .v { font-weight: 600; letter-spacing: .5px; }

.shot { margin-top: 8px; }
.shot img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }

.steps { display: flex; margin: 4px 0 2px; }
.steps .sp { flex: 1; text-align: center; font-size: 11.5px; color: var(--text-3); position: relative; }
.steps .sp::before {
    content: ''; display: block; width: 12px; height: 12px; border-radius: 50%;
    background: #dfe8e6; margin: 0 auto 4px;
}
.steps .sp.on::before { background: var(--green); box-shadow: 0 0 0 3px var(--green-l); }
.steps .sp.on { color: var(--green-d); font-weight: 600; }

/* ============ 提示 ============ */
.flash {
    padding: 10px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 14px;
}
.flash-ok { background: #e8f6ef; color: #2e9e6f; }
.flash-bad { background: #fdeceb; color: #d9432f; }
.flash-warn { background: #fff6e5; color: #d98014; }

/* 异常反馈内容框（老板端订单页，打手反馈的异常原因） */
.abn-box {
    background: #fdeceb; border: 1px solid rgba(217, 67, 47, .18); border-radius: 10px;
    padding: 10px 12px; color: #b93a28; font-size: 14px; line-height: 1.6;
    white-space: pre-wrap; word-break: break-word;
}

.empty { text-align: center; padding: 48px 20px; color: var(--text-3); }
.empty .ei { font-size: 44px; opacity: .35; display: block; margin-bottom: 8px; }

.pager { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 20px; }
.pager .pg { padding: 6px 14px; background: #fff; border-radius: 18px; font-size: 13px; box-shadow: var(--shadow-s); color: var(--text-2); }
.pager .pg.dis { opacity: .4; pointer-events: none; }
.pager .pg-info { font-size: 12.5px; color: var(--text-3); }

.notice-bar {
    background: linear-gradient(90deg, #fff6e5, #fff1ec);
    color: #b8721a; padding: 8px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 12px;
    display: flex; gap: 6px; align-items: flex-start;
}

/* ============ 后台 ============ */
.admin { display: flex; min-height: 100vh; }
.side {
    width: 208px; flex: 0 0 208px; background: #123330; color: #cfe6e3;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.side .logo {
    padding: 18px 18px 14px; font-size: 16px; font-weight: 700; color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.side .logo small { display: block; font-size: 11px; font-weight: 400; color: #7fa9a4; margin-top: 2px; }
.side .nav { padding: 10px 0; }
.side .nav .gt { padding: 10px 18px 4px; font-size: 11px; color: #5f8b86; letter-spacing: 1px; }
.side .nav a {
    display: block; padding: 10px 18px; color: #cfe6e3; font-size: 14px;
    border-left: 3px solid transparent;
}
.side .nav a:hover { background: rgba(255,255,255,.05); color: #fff; }
.side .nav a.on { background: rgba(21,159,149,.18); color: #fff; border-left-color: var(--green); }

.main { flex: 1; min-width: 0; background: var(--bg); }
.main-head {
    background: #fff; padding: 14px 22px; border-bottom: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 20;
}
.main-head h2 { font-size: 17px; }
.main-body { padding: 18px 22px 40px; }

.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 13.5px; }
.tbl th { background: #f4f9f8; color: var(--text-2); font-weight: 600; padding: 10px 10px; text-align: left; white-space: nowrap; }
.tbl td { padding: 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: #fafdfc; }
.tbl .ops a { margin-right: 8px; font-size: 13px; }

.panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
.panel-t { font-size: 15px; font-weight: 600; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }

/* 平台配置面板：可折叠 accordion（仅 sec-* 面板，通过 JS 加/去 open 类） */
.panel-h { cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none; }
.panel-h:hover { background: #f6fafa; }
.panel-h .panel-t { margin-bottom: 0; border-bottom: none; flex: 1; }
.ph-arrow { display: inline-flex; align-items: center; color: var(--text-3); margin-left: 10px; flex: 0 0 auto; transition: transform .2s ease; }
.panel .ph-arrow { transform: rotate(90deg); }
.panel.open .ph-arrow { transform: rotate(-90deg); }
.panel.open .panel-h { border-bottom: 1px dashed var(--line); margin-bottom: 12px; padding-bottom: 6px; }
.panel-body { display: block; }
.panel:not(.open) .panel-body { display: none; }

.frow { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 12px; }
.frow .fi { flex: 1; min-width: 150px; }
.frow .fi label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 4px; }
.frow .fi .inp, .frow .fi .sel { padding: 8px 10px; font-size: 13.5px; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a { padding: 6px 14px; background: #fff; border-radius: 18px; font-size: 13px; color: var(--text-2); box-shadow: var(--shadow-s); }
.tabs a.on { background: var(--green); color: #fff; }

.mini-stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.mini-stat .ms { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.mini-stat .ms b { display: block; font-size: 22px; font-weight: 700; }
.mini-stat .ms span { font-size: 12.5px; color: var(--text-3); }
.mini-stat .ms.c1 b { color: var(--green); }
.mini-stat .ms.c2 b { color: var(--coral); }
.mini-stat .ms.c3 b { color: #4aa3e0; }
.mini-stat .ms.c4 b { color: #d98014; }

/* ============ 登录/注册 ============ */
.auth { max-width: 400px; margin: 6vh auto; padding: 0 16px; }
.auth .logo { text-align: center; margin-bottom: 20px; }
.auth .logo .lg {
    width: 62px; height: 62px; border-radius: 18px; margin: 0 auto 10px;
    background: linear-gradient(135deg, #159f95, #ff8a5c);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 28px; font-weight: 700; box-shadow: 0 6px 18px rgba(21,159,149,.25);
}
.auth .logo h1 { font-size: 20px; }
.auth .logo p { font-size: 13px; color: var(--text-3); margin: 4px 0 0; }

/* ============ 弹窗 ============ */
.mask {
    position: fixed; inset: 0; background: rgba(20,35,33,.45); z-index: 200;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.mask.on { display: flex; }
.modal { background: #fff; border-radius: 16px; padding: 20px; width: 100%; max-width: 360px; }
.modal h3 { margin-bottom: 12px; font-size: 16px; }
.modal .m-act { display: flex; gap: 10px; margin-top: 16px; }
.modal .m-act .btn { flex: 1; }

@media (max-width: 860px) {
    .admin { flex-direction: column; }
    .side { width: 100%; flex: none; height: auto; position: static; }
    .side .nav { display: flex; overflow-x: auto; padding: 6px; }
    .side .nav .gt { display: none; }
    .side .nav a { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; padding: 8px 14px; }
    .side .nav a.on { border-bottom-color: var(--green); }
    .side .logo { padding: 12px 16px; }
    .main-body { padding: 14px; }
    .main-head { padding: 12px 14px; }
    .tbl { font-size: 12.5px; }
    .tbl th, .tbl td { padding: 8px 6px; }
}

@media (max-width: 400px) {
    .grid4 { grid-template-columns: repeat(2, 1fr); }
    .app-head .site { font-size: 16px; }
}

/* =========================================================
   v1.4 视觉精修（增强段：仅追加，不改动既有规则）
   基调：柔和渐变、克制阴影，木火配色，不刺眼不夸张
   ========================================================= */

/* ---- 入场动效（轻微上浮，不干扰阅读） ---- */
@keyframes dlFadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.card, .order, .filter, .hero, .notice-bar, .panel, .mini-stat .ms {
    animation: dlFadeUp .28s ease both;
}
.order:nth-child(2) { animation-delay: .03s; }
.order:nth-child(3) { animation-delay: .06s; }
.order:nth-child(4) { animation-delay: .09s; }

/* ---- 首页 Hero 卡（柔和双色+低透明装饰圆） ---- */
.hero {
    background: linear-gradient(135deg, #ecfaf7 0%, #e6f6f4 42%, #fff4ee 100%);
    border: 1px solid rgba(21, 159, 149, .10);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: ''; position: absolute; border-radius: 50%;
    pointer-events: none;
}
.hero::before { width: 120px; height: 120px; right: -34px; top: -46px;
    background: radial-gradient(circle, rgba(21,159,149,.10), transparent 70%); }
.hero::after { width: 96px; height: 96px; right: 56px; bottom: -44px;
    background: radial-gradient(circle, rgba(255,107,74,.08), transparent 70%); }
.hero .grid3 { position: relative; }
.hero .stat { background: rgba(255,255,255,.72); backdrop-filter: blur(2px); border: 1px solid rgba(255,255,255,.9); }

/* ---- 订单卡片微交互 ---- */
.order { transition: box-shadow .18s ease, transform .18s ease; }
@media (min-width: 760px) {
    .order:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(21,159,149,.12); }
    .stat { transition: box-shadow .18s ease, transform .18s ease; }
    .stat:hover { transform: translateY(-1px); }
}

/* ---- 提示条（flash）美化与自动淡出 ---- */
.flash {
    position: relative;
    padding-left: 16px;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(31,45,43,.04);
    animation: dlFadeUp .25s ease both;
}
.flash.fadeout {
    opacity: 0; transform: translateY(-6px);
    transition: opacity .5s ease, transform .5s ease;
}
.flash .fx { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 12px 0 0 12px; }
.flash-ok .fx { background: #2e9e6f; }
.flash-bad .fx { background: #e74c3c; }
.flash-warn .fx { background: #e0a24a; }

/* ---- 图片预览（lightbox）---- */
#lb {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(14, 26, 24, .78);
    display: none; align-items: center; justify-content: center; padding: 24px;
}
#lb.on { display: flex; }
#lb img {
    max-width: 96vw; max-height: 92vh; border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.35);
    animation: dlFadeUp .2s ease both;
}
#lb .lb-x {
    position: absolute; top: 14px; right: 18px; color: #fff; font-size: 30px;
    width: 38px; height: 38px; line-height: 34px; text-align: center; cursor: pointer;
    background: rgba(255,255,255,.12); border-radius: 50%;
}
.shot img.zoom, .zoom { cursor: zoom-in; }

/* ---- 登录/注册页氛围（柔和渐变，避免刺眼） ---- */
.auth-page {
    background:
        radial-gradient(640px 300px at 8% -6%, rgba(21,159,149,.12), transparent 62%),
        radial-gradient(560px 320px at 104% 12%, rgba(255,107,74,.10), transparent 60%),
        linear-gradient(180deg, #f4faf8 0%, var(--bg) 100%);
    min-height: 100vh;
}
.auth .logo .lg {
    border-radius: 20px;
    background: linear-gradient(140deg, #159f95 0%, #10b7a4 62%, #ff8a5c 135%);
    box-shadow: 0 8px 20px rgba(21,159,149,.18);
}
.auth .card {
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(21,159,149,.08);
    border: 1px solid rgba(255,255,255,.7);
}
.auth .btn-block {
    background: linear-gradient(135deg, #159f95, #12ac9d);
    box-shadow: 0 6px 14px rgba(21,159,149,.18);
}
.auth .btn-block:hover { background: var(--green-d); }

/* ---- 细节小优化 ---- */
.tag, .badge { font-variant-numeric: tabular-nums; }
.stat b { letter-spacing: .2px; }
.tabbar a.on .ti { text-shadow: 0 1px 0 rgba(21,159,149,.10); }
.order .o-title { line-height: 1.45; }
.app-head { background: linear-gradient(120deg, #159f95 0%, #10b2a2 58%, #ff7e5c 150%); }
.main-head h2::before {
    content: ''; display: inline-block; width: 4px; height: 15px; border-radius: 2px;
    background: var(--green); margin-right: 8px; vertical-align: -2px;
}
.tbl th { letter-spacing: .3px; }

/* =========================================================================
   v1.9 视觉升级（移动端 C 端：打手端 + 老板端）
   目标：去掉廉价感——统一线性 SVG 图标、深色品牌头部、卡片分层、
        金额数字强调、列表组件化。后台（.admin）不受影响。
   ========================================================================= */

:root {
    --ink:        #0e3b36;      /* 墨绿：头部与强调卡底色 */
    --ink-2:      #0a2b27;
    --radius-lg:  18px;
    --line-soft:  rgba(21, 159, 149, .12);
    --shadow-md:  0 6px 20px rgba(14, 59, 54, .07);
    --shadow-lg:  0 10px 28px rgba(14, 59, 54, .10);
}

/* ---------- SVG 图标基础 ---------- */
.ic { display: inline-block; vertical-align: -5px; flex: 0 0 auto; }
.ic-sm  { width: 15px; height: 15px; vertical-align: -3px; }
.ic-lg  { width: 26px; height: 26px; vertical-align: -7px; }
.ic-green  { color: var(--green); }
.ic-coral  { color: var(--coral); }
.ic-gray   { color: var(--text-3); }
.ic-warn   { color: var(--orange); }
.ic-bad    { color: #e0553f; }

/* ---------- 页面底色：柔和双色渐晕，告别死板纯灰 ---------- */
body {
    background:
        radial-gradient(760px 320px at 4% -8%, rgba(21,159,149,.07), transparent 60%),
        radial-gradient(620px 300px at 102% 4%, rgba(255,107,74,.055), transparent 58%),
        var(--bg);
    background-attachment: fixed;
}

/* ---------- 品牌头部（深色墨绿，质感主线） ---------- */
.app-head {
    background:
        radial-gradient(240px 120px at 92% -40%, rgba(255,138,92,.28), transparent 70%),
        linear-gradient(128deg, var(--ink) 0%, #12655c 52%, #159f95 100%);
    padding: 14px 16px 15px;
    box-shadow: 0 6px 18px rgba(14, 59, 54, .16);
}
.app-head .hh { align-items: center; }
.app-head .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-head .brand .mark {
    width: 36px; height: 36px; flex: 0 0 36px; border-radius: 11px;
    background: linear-gradient(140deg, #17b3a6 0%, #159f95 55%, #ff8a5c 135%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255,255,255,.28);
}
.app-head .brand .mark svg { width: 19px; height: 19px; vertical-align: 0; }
.app-head .brand .btxt { min-width: 0; }
.app-head .brand .btxt .t {
    font-size: 16.5px; font-weight: 700; letter-spacing: .4px; line-height: 1.25;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app-head .brand .btxt .s {
    font-size: 11px; font-weight: 400; opacity: .72; letter-spacing: 0; margin-top: 1px;
}
.app-head .back-btn {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; margin-left: -4px; border-radius: 9px;
    color: #fff; background: rgba(255,255,255,.12);
}
.app-head .back-btn:active { background: rgba(255,255,255,.22); }

/* 右上角账户胶囊 */
.app-head .acct {
    display: flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px; padding: 4px 11px 4px 5px; color: #fff;
    max-width: 52%; backdrop-filter: blur(4px);
}
.app-head .acct .av {
    width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
    background: linear-gradient(135deg, #ff9a6f, #ff6b4a);
    color: #fff; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.app-head .acct .at { text-align: left; line-height: 1.2; min-width: 0; }
.app-head .acct .at b { display: block; font-size: 13px; font-weight: 600; }
.app-head .acct .at span {
    display: block; font-size: 10.5px; opacity: .78;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app-head .acct .at span.money { font-size: 11.5px; opacity: .95; font-variant-numeric: tabular-nums; }

/* ---------- 底部导航：线性图标 + 选中胶囊 ---------- */
.tabbar {
    border-top: 0;
    background: rgba(255,255,255,.94);
    backdrop-filter: saturate(160%) blur(10px);
    box-shadow: 0 -6px 20px rgba(14, 59, 54, .07);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.tabbar a {
    padding: 7px 0 8px; font-size: 11px; color: var(--text-3);
    position: relative; transition: color .18s;
}
.tabbar a .ti {
    display: flex; align-items: center; justify-content: center;
    height: 26px; margin-bottom: 2px; transition: transform .18s;
}
.tabbar a .ti .ic { width: 22px; height: 22px; vertical-align: 0; }
.tabbar a.on { color: var(--green-d); font-weight: 600; }
.tabbar a.on .ti .ic { color: var(--green); }
.tabbar a.on::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 26px; height: 3px; border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--green), #ff8a5c);
}
.tabbar a:active { opacity: .6; }

/* ---------- 卡片：细边框 + 分层阴影 ---------- */
.card {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 15px;
    box-shadow: var(--shadow);
}
.card-t {
    font-size: 14.5px; font-weight: 700; letter-spacing: .2px;
    margin-bottom: 12px; padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.card-t .more { color: var(--text-3); font-weight: 400; }
/* 区块标题带竖条（用于纯列表卡内部小标题） */
.sec-t {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    font-size: 14.5px; font-weight: 700; margin-bottom: 10px;
}
.sec-t::before {
    content: ''; width: 3px; height: 14px; border-radius: 2px; margin-right: 7px;
    background: linear-gradient(180deg, var(--green), #ff8a5c);
}
.sec-t .more { font-size: 12px; font-weight: 400; color: var(--text-3); margin-left: auto; }

/* ---------- 统计块 ---------- */
.stat {
    border-radius: 14px; padding: 13px 8px;
    border: 1px solid var(--line-soft);
    box-shadow: 0 1px 3px rgba(14,59,54,.05);
}
.stat b { font-size: 21px; letter-spacing: .3px; }
.stat span { font-size: 11.5px; }

/* ---------- 列表项组件（替代各处内联 dashed 分隔线） ---------- */
.li {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 0; border-bottom: 1px dashed var(--line);
}
.li:last-child { border-bottom: 0; padding-bottom: 0; }
.li:first-child { padding-top: 4px; }
.li .lt { min-width: 0; flex: 1; }
.li .lt .t1 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.li .lt .t2 { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.li .lr { flex: 0 0 auto; text-align: right; }

/* ---------- 快捷入口四宫格 ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.quick .qi {
    display: block; text-align: center; padding: 12px 4px 10px;
    background: #fff; border: 1px solid var(--line-soft); border-radius: 15px;
    box-shadow: var(--shadow); color: var(--text);
    transition: transform .16s, box-shadow .16s;
}
.quick .qi:active { transform: scale(.96); }
.quick .qi .qic {
    width: 38px; height: 38px; margin: 0 auto 7px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.quick .qi .qic .ic { width: 20px; height: 20px; vertical-align: 0; }
.quick .qi .qt { font-size: 12px; color: var(--text-2); display: block; }
.quick .qi .qn { font-size: 15px; font-weight: 700; display: block; line-height: 1.2; }
.qic.c-green { background: linear-gradient(140deg, #17b3a6, var(--green)); box-shadow: 0 4px 10px rgba(21,159,149,.22); }
.qic.c-coral { background: linear-gradient(140deg, #ff8f6b, #ff5f3c); box-shadow: 0 4px 10px rgba(255,107,74,.24); }
.qic.c-warn  { background: linear-gradient(140deg, #ffb457, #f59331); box-shadow: 0 4px 10px rgba(245,147,49,.22); }
.qic.c-ink   { background: linear-gradient(140deg, #1d6b61, var(--ink)); box-shadow: 0 4px 10px rgba(14,59,54,.20); }

/* ---------- 账户卡（首页顶部深色账户区） ---------- */
.acct-card {
    position: relative; overflow: hidden; color: #fff;
    border-radius: var(--radius-lg); padding: 16px;
    margin-bottom: 12px;
    background:
        radial-gradient(220px 130px at 88% -30%, rgba(255,138,92,.42), transparent 68%),
        radial-gradient(180px 120px at 6% 118%, rgba(23,179,166,.35), transparent 70%),
        linear-gradient(128deg, var(--ink) 0%, #12655c 55%, #159f95 100%);
    box-shadow: 0 10px 26px rgba(14, 59, 54, .20);
}
.acct-card::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(115deg, rgba(255,255,255,.045) 0 1px, transparent 1px 13px);
    opacity: .5;
}
.acct-card > * { position: relative; z-index: 1; }
.acct-card .ac-top { display: flex; align-items: center; gap: 11px; }
.acct-card .av {
    width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px;
    background: linear-gradient(140deg, #ff9a6f, #ff6b4a);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 800; color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.32);
}
.acct-card .an { font-size: 16px; font-weight: 700; line-height: 1.25; }
.acct-card .as { font-size: 11.5px; opacity: .82; margin-top: 3px; }
.acct-card .ac-money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.acct-card .am {
    background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.15);
    border-radius: 13px; padding: 9px 6px; text-align: center;
}
.acct-card .am b {
    display: block; font-size: 17px; font-weight: 700;
    font-variant-numeric: tabular-nums; letter-spacing: .3px;
}
.acct-card .am span { display: block; font-size: 11px; opacity: .78; margin-top: 1px; }
.acct-card .tag, .acct-card .badge {
    background: rgba(255,255,255,.18); color: #fff; border: 0;
}
.acct-card .tag.coral { background: rgba(255,138,92,.32); color: #ffe4d6; }
.acct-card .btn-line { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.acct-card .btn-line:hover { background: rgba(255,255,255,.24); color: #fff; }

/* ---------- 订单卡片 ---------- */
.order {
    border-radius: var(--radius-lg); padding: 14px 15px;
    border: 1px solid var(--line-soft); border-left: 0;
    box-shadow: var(--shadow); margin-bottom: 12px;
    position: relative; overflow: hidden;
}
.order::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--green);
}
.order.st-warn::before   { background: linear-gradient(180deg, #ffb457, #f59331); }
.order.st-go::before     { background: linear-gradient(180deg, #17b3a6, var(--green)); }
.order.st-ok::before     { background: linear-gradient(180deg, #4cc79c, #2e9e6f); }
.order.st-bad::before    { background: linear-gradient(180deg, #f0796a, #d9432f); }
.order.st-gray::before   { background: #cfdad7; }
.order.st-info::before   { background: linear-gradient(180deg, #63b6ea, #3d92d4); }

.order .o-top { align-items: flex-start; }
.order .o-title { font-size: 15.5px; font-weight: 700; line-height: 1.4; letter-spacing: .2px; }
.order .o-price {
    font-size: 21px; font-weight: 800; color: var(--coral);
    font-variant-numeric: tabular-nums; letter-spacing: .3px; line-height: 1.1;
}
.order .o-price small {
    font-size: 11px; color: var(--text-3); font-weight: 400;
    display: block; text-align: right; margin-top: 2px;
}
.order .o-tags { margin: 9px 0; gap: 5px; }
.order .o-meta { font-size: 12px; gap: 3px 12px; }
.order .o-act { margin-top: 11px; justify-content: flex-end; align-items: center; }
.order .o-act .btn { border-radius: 18px; padding: 6px 15px; font-weight: 600; }
.order .o-act .o-note { margin-right: auto; font-size: 12px; color: var(--text-3); align-self: center; }
.order .btn-coral { box-shadow: 0 4px 12px rgba(255,107,74,.24); }

/* ---------- 标签 / 徽章 ---------- */
.tag {
    padding: 2px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 500;
    background: var(--green-l); color: var(--green-d);
}
.tag.green { background: #e6f6f1; color: #14886a; }
.tag.coral { background: #fff0eb; color: #d9461f; }
.tag.warn  { background: #fff5e3; color: #c97612; }
.tag.info  { background: #e9f3fc; color: #2c7fc4; }
.tag.gray  { background: #f1f5f4; color: var(--text-2); }
.tag.outline { background: transparent; border: 1px solid var(--line); color: var(--text-2); }

.badge { border-radius: 7px; padding: 2px 9px; font-weight: 600; }

/* 带图标的标签 */
.tag-i { display: inline-flex; align-items: center; gap: 4px; }
.tag-i .ic { width: 13px; height: 13px; vertical-align: 0; }

/* ---------- 筛选栏 ---------- */
.filter { border-radius: var(--radius-lg); border: 1px solid var(--line-soft); padding: 12px; }
.chips a {
    border-radius: 9px; padding: 6px 13px; background: #f2f7f6;
    color: var(--text-2); font-size: 13px; border: 1px solid transparent;
}
.chips a.on {
    background: linear-gradient(135deg, var(--green), #12aca0); color: #fff;
    font-weight: 600; box-shadow: 0 3px 9px rgba(21,159,149,.22);
}
.filter .sel, .filter .inp { border-radius: 10px; }

/* ---------- 表单 ---------- */
.form-item label { font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; }
.inp, .sel, .txta {
    border-radius: 12px; padding: 11px 13px; border: 1px solid var(--line);
    background: #fbfdfd;
}
.inp:focus, .sel:focus, .txta:focus {
    border-color: var(--green); box-shadow: 0 0 0 3px rgba(21,159,149,.10);
}
.f-row { display: flex; gap: 10px; align-items: flex-end; }
.f-row .fi { flex: 1; min-width: 0; }
.f-row .fi label { display: block; font-size: 12.5px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; }

/* ---------- 按钮 ---------- */
.btn { font-weight: 600; letter-spacing: .2px; border-radius: 24px; }
.btn-block { border-radius: 26px; padding: 12px; font-size: 15.5px; }
.btn-coral { box-shadow: 0 6px 16px rgba(255,107,74,.24); }
.btn-coral:hover { box-shadow: 0 8px 20px rgba(255,107,74,.30); }
.btn-line { border-color: var(--green); }

/* ---------- 空状态 ---------- */
.empty { padding: 56px 20px; }
.empty .ei { font-size: 40px; opacity: .5; margin-bottom: 10px; color: var(--green); }
.empty .ei .ic { width: 44px; height: 44px; vertical-align: 0; opacity: .55; }

/* ---------- 提示条 ---------- */
.notice-bar {
    align-items: center; border-radius: 13px; padding: 10px 13px;
    background: linear-gradient(100deg, #fff7ea, #fff2ec);
    border: 1px solid rgba(255,159,67,.18);
}
.notice-bar .nb-i { flex: 0 0 auto; display: flex; color: var(--orange); }
.flash { border-radius: 13px; border: 1px solid transparent; }
.flash-ok   { background: #e9f7f0; border-color: rgba(46,158,111,.18); }
.flash-bad  { background: #fdeceb; border-color: rgba(217,67,47,.16); }
.flash-warn { background: #fff6e6; border-color: rgba(224,162,74,.2); }

/* ---------- 流程步骤（老板端下单引导） ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.flow .fs { text-align: center; position: relative; }
.flow .fs .fn {
    width: 26px; height: 26px; margin: 0 auto 6px; border-radius: 50%;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
    color: #fff; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.flow .fs .ft { font-size: 11px; opacity: .88; line-height: 1.35; }
.flow .fs:not(:last-child)::after {
    content: ''; position: absolute; top: 13px; left: 62%;
    width: 76%; height: 1px; background: rgba(255,255,255,.22);
}

/* ---------- 下单页顶部横幅 ---------- */
.cta-card {
    position: relative; overflow: hidden; color: #fff;
    border-radius: var(--radius-lg); padding: 17px; margin-bottom: 12px;
    background:
        radial-gradient(200px 120px at 92% -20%, rgba(255,255,255,.22), transparent 70%),
        linear-gradient(128deg, var(--ink) 0%, #12655c 52%, #159f95 100%);
    box-shadow: 0 10px 26px rgba(14, 59, 54, .18);
}
.cta-card .ct { font-size: 18px; font-weight: 800; letter-spacing: .4px; }
.cta-card .cs { font-size: 12.5px; opacity: .88; margin-top: 4px; }

/* ---------- 分节卡（带序号圆标） ---------- */
.card .card-t .sn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%; margin-right: 7px;
    background: linear-gradient(135deg, var(--green), #12aca0);
    color: #fff; font-size: 11.5px; font-weight: 700; vertical-align: -3px;
}

/* ---------- 详情页键值对 ---------- */
.kv { padding: 10px 0; }
.kv .k { width: 84px; flex: 0 0 84px; font-size: 13px; }

/* ---------- 移动端细节 ---------- */
@media (max-width: 360px) {
    .quick { gap: 7px; }
    .quick .qi .qic { width: 34px; height: 34px; }
    .acct-card .am b { font-size: 15.5px; }
    .order .o-price { font-size: 19px; }
}
@media (min-width: 760px) {
    .quick .qi:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
}

/* ---------- 分段标签（我的订单等） ---------- */
.tabs { gap: 6px; margin-bottom: 12px; }
.tabs a {
    border-radius: 9px; padding: 7px 15px; font-size: 13px;
    border: 1px solid var(--line-soft); background: #fff;
    color: var(--text-2); box-shadow: 0 1px 3px rgba(14,59,54,.04);
}
.tabs a.on {
    background: linear-gradient(135deg, var(--green), #12aca0);
    color: #fff; font-weight: 600; border-color: transparent;
    box-shadow: 0 3px 9px rgba(21,159,149,.2);
}

/* ---------- 订单进度条 ---------- */
.steps { position: relative; }
.steps .sp { position: relative; z-index: 1; }
.steps .sp::before { position: relative; z-index: 2; background: #e6eeec; }
.steps .sp:not(:last-child)::after {
    content: ''; position: absolute; top: 5px; left: 50%; width: 100%; height: 2px;
    background: #eaf1ef; z-index: 0;
}
.steps .sp.on::before { box-shadow: 0 0 0 3px var(--green-l), 0 0 0 1px #fff inset; }

.mt12 { margin-top: 12px; }

/* ============ 广告轮播 ============ */
.ad-card { padding: 0 !important; overflow: hidden; }
.ad-carousel { position: relative; width: 100%; aspect-ratio: 25 / 4; background: #eef3f2; }
/* 老浏览器不支持 aspect-ratio 时回退到固定高度，避免广告区塌陷 */
@supports not (aspect-ratio: 1 / 1) { .ad-carousel { height: 120px; } }
.ad-carousel .ad-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: block;
}
.ad-carousel .ad-slide.on { opacity: 1; z-index: 1; }
.ad-carousel .ad-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-dots { position: absolute; right: 10px; bottom: 8px; z-index: 2; display: flex; gap: 6px; }
.ad-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; transition: .2s; }
.ad-dot.on { background: #fff; width: 16px; border-radius: 4px; }
.ad-ph {
    aspect-ratio: 25 / 4; min-height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg,#159f95,#12b5a3); color: #fff; text-align: center; padding: 0 16px;
}
.ad-ph .ad-tag { background: rgba(255,255,255,.22); padding: 3px 10px; border-radius: 20px; font-size: 12px; }
.ad-ph-txt { font-size: 13px; }

/* ============ 认证打手展示 ============ */
.cert-wrap { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.cert-item {
    flex: 0 0 auto; width: 92px; text-align: center; background: #fff; border: 1px solid var(--line-soft);
    border-radius: 12px; padding: 10px 8px; box-shadow: var(--shadow-s);
}
.cert-av {
    width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 6px;
    background: linear-gradient(135deg,#159f95,#12b5a3); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
}
.cert-name { font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 4px; }
.cert-name .badge { padding: 1px 6px; font-size: 10px; }
.cert-meta { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ============ 升级说明（等级阶梯） ============ */
.lv-ladder { display: flex; align-items: flex-start; gap: 4px; overflow-x: auto; padding: 4px 0 6px; }
.lv-step { flex: 1 1 0; min-width: 56px; text-align: center; position: relative; }
.lv-step::before {
    content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px;
    background: var(--line-soft); z-index: 0;
}
.lv-step:last-child::before { display: none; }
.lv-dot {
    width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 5px; position: relative; z-index: 1;
    background: #eef3f2; color: var(--text-3); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; border: 2px solid #e3ebe9;
}
.lv-step.done .lv-dot { background: var(--green-l); color: var(--green-d); border-color: var(--green); }
.lv-step.on .lv-dot {
    background: linear-gradient(135deg,#159f95,#12b5a3); color: #fff; border-color: #0e8f86;
    box-shadow: 0 0 0 3px rgba(21,159,149,.18);
}
.lv-name { font-size: 12px; font-weight: 600; color: var(--text-2); }
.lv-step.on .lv-name { color: var(--green); }
.lv-need { font-size: 10px; color: var(--text-3); margin-top: 1px; }

/* ============ 后台广告管理 ============ */
.ad-list { display: flex; flex-direction: column; gap: 8px; }
.ad-row { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; }
.ad-thumb { width: 96px; height: 54px; flex: none; border-radius: 8px; overflow: hidden; background: #eef3f2; }
.ad-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-info { flex: 1; min-width: 0; }
.ad-title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ad-sub { margin-top: 2px; }
.ad-ops { display: flex; gap: 6px; flex: none; }


/* ===== 认证打手徽章（齿章造型 + 青绿渐变） ===== */
.vbadge {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle;
  padding: 2px 9px 2px 5px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(135deg, #eafaf6 0%, #d2f2eb 100%);
  border: 1px solid #a8e2d7;
  color: #0c7a70; font-size: 11px; font-weight: 700; line-height: 1.6; letter-spacing: .2px;
  box-shadow: 0 1px 3px rgba(21, 159, 149, .14), inset 0 1px 0 rgba(255, 255, 255, .75);
}
.vbadge .vb-ic { display: block; flex: none; filter: drop-shadow(0 1px 1.5px rgba(10, 122, 114, .38)); }
.vbadge .vb-t  { display: inline-block; }
.vbadge.vb-only { padding: 2px; border-radius: 50%; background: none; border: none; box-shadow: none; }
.vbadge.vb-only .vb-ic { width: 16px; height: 16px; }

/* ===== 道具分件接单 ===== */
.qty-hint { background: #fff8f2; border: 1px solid #ffd9c7; border-radius: 8px; padding: 8px 10px; font-size: 12px; color: #a4441f; }

/* ===== 老板端消息铃铛 ===== */
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; color: #fff; flex: none; text-decoration: none; }
.bell:active { background: rgba(255, 255, 255, .14); }
.bell-dot { position: absolute; top: 1px; right: 0; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--coral, #ff6b4a); color: #fff; font-size: 10px; line-height: 16px;
  text-align: center; font-weight: 600; box-shadow: 0 0 0 2px rgba(14, 59, 54, .9); }

/* ===== 消息中心列表 ===== */
.msg-item { background: var(--card, #fff); border: 1px solid var(--line, #eef2f1);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.msg-hd { display: flex; align-items: flex-start; gap: 9px; }
.msg-hd .mi { flex: none; width: 30px; height: 30px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; background: #f2f8f7; }
.msg-bd { margin-top: 7px; color: var(--txt-2, #5a6b68); line-height: 1.65; white-space: pre-wrap; }
.msg-dot { flex: none; background: var(--coral, #ff6b4a); color: #fff; font-size: 11px;
  padding: 1px 7px; border-radius: 20px; }

/* ===== 右下角在线客服浮窗 ===== */
.service-float {
  position: fixed; right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #ff6b4a, #ff8f6b);
  color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 107, 74, .35);
  border: none; cursor: pointer; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.service-float:active { transform: scale(.96); }
.service-float .ic { stroke: #fff; }
@media (min-width: 768px) {
  /* 桌面端：对齐到 720 内容栏右侧，并抬到固定底部导航(68px)上方，避免遮挡 tab 与内容 */
  .service-float { right: calc(50% - 348px); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 1100px) {
  /* 宽屏：停靠到视口右下角（720 栏外的留白区），完全不遮挡内容 */
  .service-float { right: 20px; bottom: 20px; }
}
.service-modal {
  position: fixed; inset: 0; z-index: 101;
  display: none; align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, .45);
  padding: 0 16px 90px;
}
.service-modal.on { display: flex; }
.service-modal-box {
  width: 100%; max-width: 360px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
  overflow: hidden;
}
.service-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #f0f0f0;
  font-size: 16px; color: #0e3b36;
}
.service-modal-close { font-size: 24px; color: #99a8a5; cursor: pointer; line-height: 1; }
.service-modal-body { padding: 14px 16px 18px; }
.service-modal-body .kv { margin-bottom: 10px; }
.service-modal-body .kv:last-child { margin-bottom: 0; }
.service-modal-body .kv .k { color: #5a6b68; min-width: 80px; }
.service-modal-body .kv .v { color: #0e3b36; font-weight: 500; }
.service-modal-body .kv .v a { color: #159f95; text-decoration: none; }
.service-modal-body .btn-coral { background: linear-gradient(135deg, #ff6b4a, #ff8f6b); border: none; }
.service-modal-body .mb12 { margin-bottom: 12px; }


/* ==================== 提现快审（手机端 admin/withdraw_m.php） ==================== */
.mwd-wrap { max-width: 620px; margin: 0 auto; }
.mwd-sum {
  background: linear-gradient(135deg, #159f95, #12b5a3); color: #fff;
  border-radius: 14px; padding: 12px 16px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.mwd-sum b { font-size: 22px; }
.mwd-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 14px 12px; margin-bottom: 12px; box-shadow: var(--shadow-s);
}
.mwd-card.mismatch { border-color: #f0a292; box-shadow: 0 2px 14px rgba(255, 107, 74, .16); }
.mwd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mwd-amt { font-size: 26px; font-weight: 800; color: var(--coral); line-height: 1.15; }
.mwd-amt small { font-size: 12px; font-weight: 500; color: var(--text-3); display: block; margin-top: 2px; }
.mwd-id { font-size: 12px; color: var(--text-3); text-align: right; line-height: 1.5; }
.mwd-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px;
}
.mwd-row:last-of-type { border-bottom: 0; }
.mwd-k { color: var(--text-3); flex: none; }
.mwd-v { text-align: right; font-weight: 600; color: var(--text); word-break: break-all; }
.mwd-ops { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mwd-ops .btn { width: 100%; text-align: center; justify-content: center; padding: 9px 6px; font-size: 13.5px; }
.mwd-ops .full { grid-column: 1 / -1; }
.mwd-note { font-size: 12px; margin: 8px 0 0; padding: 7px 10px; border-radius: 8px; }
.mwd-note.bad { background: #fdeceb; color: #c0392b; }
.mwd-note.gray { background: #f4f7f6; color: var(--text-2); }
.mwd-empty { background: #fff; border: 1px dashed var(--line); border-radius: 14px; padding: 34px 16px; text-align: center; color: var(--text-3); }
@media (min-width: 620px) { .mwd-ops { grid-template-columns: repeat(3, 1fr); } .mwd-ops .full { grid-column: auto; } .mwd-ops .across { grid-column: 1 / -1; } }

/* ===== v1.19.2 登录页身份入口 ===== */
.role-tab { display: flex; gap: 8px; margin-bottom: 18px; }
.role-tab .rt {
  flex: 1; text-align: center; padding: 10px 6px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  background: rgba(255, 255, 255, .82); color: var(--text-2);
  border: 1px solid var(--line); transition: all .18s;
}
.role-tab .rt:hover { color: var(--green); border-color: var(--green); }
.role-tab .rt.on {
  background: linear-gradient(135deg, #159f95, #12b5a3); color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(21, 159, 149, .28);
}
.boss-entry {
  margin-top: 18px; padding: 16px 16px 14px; border-radius: 16px; text-align: center;
  background: linear-gradient(135deg, rgba(255, 107, 74, .10), rgba(255, 155, 92, .06));
  border: 1px solid rgba(255, 107, 74, .34);
}
.boss-entry .be-t { font-size: 16px; font-weight: 800; color: #d94a26; }
.boss-entry .be-s { margin: 6px 0 12px; font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.boss-entry .be-btns { display: flex; gap: 10px; }
.boss-entry .be-btns .btn { flex: 1; justify-content: center; text-align: center; }
.boss-entry .be-links { margin-top: 10px; display: flex; justify-content: center; gap: 16px; font-size: 12.5px; }
.boss-entry .be-links a { color: var(--text-2); }
.be-btns { display: flex; gap: 10px; margin-top: 12px; }
.be-btns .btn { flex: 1; justify-content: center; text-align: center; }
@media (max-width: 360px) { .role-tab .rt { font-size: 12.5px; padding: 9px 4px; } }

/* ===== v1.19.2 后台实名认证资料明细 ===== */
.rn-doc-t { font-weight: 700; color: #0e3b36; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rn-doc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.rn-doc-l, .rn-doc-r { min-width: 0; }
.rn-doc-img {
  display: block; width: 100%; max-width: 260px; border-radius: 10px; cursor: zoom-in;
  border: 1px solid var(--line); background: #f6f8f7;
}
.rn-doc-noimg {
  padding: 18px 12px; text-align: center; font-size: 12.5px; color: var(--text-3);
  border: 1px dashed var(--line); border-radius: 10px; background: #fafbfa;
}
@media (min-width: 720px) { .rn-doc-grid { grid-template-columns: 1fr 300px; } }

/* ===================== 后台可视化（v1.20.0） ===================== */
.side-search { position: relative; padding: 10px 14px 12px; }
.side-search .ss-ico { position: absolute; left: 24px; top: 50%; transform: translateY(-60%); color: #6fa5a0; display: flex; }
.side-search .ss-inp {
  width: 100%; box-sizing: border-box; height: 34px; line-height: 34px; padding: 0 10px 0 30px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.07);
  color: #eaf5f3; font-size: 12.5px; outline: none;
}
.side-search .ss-inp::placeholder { color: #7fa9a4; }
.side-search .ss-inp:focus { border-color: var(--green); background: rgba(255,255,255,.12); }

.side .nav .ngroup { margin-bottom: 2px; }
.side .nav .gt {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  padding: 9px 18px 5px; font-size: 11px; color: #5f8b86; letter-spacing: 1px; user-select: none;
}
.side .nav .gt:hover { color: #9fc9c4; }
.side .nav .gt .gt-arrow { display: inline-flex; transform: rotate(90deg); transition: transform .18s; opacity: .7; }
.side .nav .ngroup.open .gt .gt-arrow { transform: rotate(-90deg); }
.side .nav .ngroup .gitems { display: none; }
.side .nav .ngroup.open .gitems { display: block; }
.side .nav a { display: flex !important; align-items: center; gap: 8px; }
.side .nav a .ni { display: inline-flex; opacity: .85; flex: none; }
.side .nav a .nl { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .nav a .nb {
  flex: none; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 9px;
  background: #ff6b4a; color: #fff; font-size: 11px; text-align: center; font-weight: 700;
}

/* 看板：KPI 卡 */
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi .k {
  background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; position: relative; overflow: hidden;
}
.kpi .k::after { content: ""; position: absolute; right: -18px; top: -18px; width: 74px; height: 74px; border-radius: 50%; background: rgba(21,159,149,.08); }
.kpi .k .kk { font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.kpi .k .kv { font-size: 25px; font-weight: 700; margin-top: 6px; line-height: 1.1; }
.kpi .k .kd { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.kpi .k .kd .up { color: #d94b2b; }     /* 涨=红（国内习惯） */
.kpi .k .kd .down { color: #1a9c6a; }
.kpi .k.c1 .kv { color: var(--green); }
.kpi .k.c2 .kv { color: var(--coral); }
.kpi .k.c3 .kv { color: #4aa3e0; }
.kpi .k.c4 .kv { color: #d98014; }
.kpi .k.c5 .kv { color: #7a5cd0; }

/* 看板：待办清单 */
.todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 10px; }
.todo a {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
  background: #f7fbfa; border: 1px solid var(--line); text-decoration: none; color: inherit;
}
.todo a:hover { border-color: var(--green); background: #f0faf8; }
.todo a .ti { display: inline-flex; width: 32px; height: 32px; border-radius: 8px; align-items: center; justify-content: center; background: #fff; flex: none; }
.todo a .tt { flex: 1; font-size: 13.5px; }
.todo a .tn { font-size: 19px; font-weight: 700; }
.todo a.warn .tn { color: var(--coral); }
.todo a.ok .tn { color: #1a9c6a; }

/* 看板：状态分布条 */
.dist { display: flex; height: 26px; border-radius: 8px; overflow: hidden; background: #eef4f3; }
.dist span { display: block; height: 100%; }
.dist-lg { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 10px; }
.dist-lg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; }

/* 看板：快捷入口宫格 */
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.quick a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 14px 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--text); font-size: 13px; transition: .15s;
}
.quick a:hover { border-color: var(--green); color: var(--green); box-shadow: var(--shadow); transform: translateY(-1px); }
.quick a .qi {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(21,159,149,.14), rgba(255,107,74,.12)); color: var(--green);
}

/* 系统体检 */
.health-item { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.health-item:last-child { border-bottom: none; }
.health-item .hi { flex: none; margin-top: 1px; }
.health-item .hb { flex: 1; }
.health-item .hb .ht { font-size: 14px; font-weight: 600; }
.health-item .hb .hd { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.health-item .hs { flex: none; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.pill.ok { background: #e7f7f0; color: #17875c; }
.pill.warn { background: #fff3e6; color: #c9701a; }
.pill.bad { background: #fdecec; color: #c0392b; }

/* 搜索结果分组 */
.res-g { margin-bottom: 16px; }
.res-g .rg-t { font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--green); }

/* 注册验证码 */
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-row .inp { flex: 1; min-width: 0; letter-spacing: 3px; text-transform: uppercase; }
.captcha-img {
  flex: none; height: 40px; border-radius: 8px; border: 1px solid var(--line, #e3eaea);
  cursor: pointer; background: #f4f8f7; display: block;
}
.captcha-img:active { transform: scale(.98); }


/* 平台配置：快速跳转导航（吸顶） */
.cfg-nav { position: sticky; top: 0; z-index: 20; background: #fff; border: 1px solid #e3e8ea; border-radius: 10px; padding: 8px 10px; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; box-shadow: 0 2px 8px rgba(20,40,60,.05); }
.cfg-nav .cn-t { font-size: 12px; color: var(--text-3); margin-right: 2px; }
.cfg-nav a { font-size: 12.5px; color: var(--text-2); text-decoration: none; padding: 4px 10px; border-radius: 20px; background: #f1f5f4; border: 1px solid transparent; }
.cfg-nav a:hover { background: #e3f1ef; color: var(--green); border-color: rgba(21,159,149,.3); }
.cfg-nav .btn { margin-left: auto; }

