/* ===================================================================
   shots.css —— 产品截图：纯 CSS 复刻真实 UI 的设备模型
   手机端 = client-app (uni.scss)   后台端 = admin-web (index.css + AdminLayout.vue)
   =================================================================== */

/* ---------- 手机框 ---------- */
.mp {
  width: 300px; height: 620px; flex: none;
  background: #0e1116; border-radius: 40px; padding: 9px;
  box-shadow: 0 26px 60px rgba(15,25,40,.26), 0 0 0 1px rgba(255,255,255,.07) inset;
  position: relative;
}
.mp.sm { width: 264px; height: 546px; }
.mp-screen {
  width: 100%; height: 100%; background: #f6f7f9; border-radius: 32px;
  overflow: hidden; position: relative; display: flex; flex-direction: column;
}
.mp-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: #0e1116; border-radius: 0 0 14px 14px; z-index: 20;
}
.mp-scroll { flex: 1; overflow: hidden; position: relative; }

/* 状态栏 */
.mp-status {
  height: 30px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px; font-size: 10px; font-weight: 700; color: #1a1a1a; flex: none;
}
.mp-status.on-dark { color: #fff; }
.mp-status .sg { display: flex; gap: 2px; align-items: flex-end; }
.mp-status .sg i { width: 2.5px; background: currentColor; border-radius: 1px; display: block; }
.mp-status .sg i:nth-child(1) { height: 4px; } .mp-status .sg i:nth-child(2) { height: 6px; }
.mp-status .sg i:nth-child(3) { height: 8px; } .mp-status .sg i:nth-child(4) { height: 10px; }
.mp-status .bt { width: 16px; height: 8px; border: 1.4px solid currentColor; border-radius: 2.5px; position: relative; }
.mp-status .bt::before { content: ""; position: absolute; inset: 1.4px; right: 4px; background: currentColor; border-radius: 1px; }

/* 胶囊 */
.mp-caps {
  position: absolute; top: 36px; right: 12px; z-index: 15;
  width: 62px; height: 24px; border-radius: 999px;
  background: rgba(255,255,255,.92); border: .5px solid rgba(0,0,0,.09);
  display: flex; align-items: center; justify-content: space-evenly;
}
.mp-caps i { width: 11px; height: 1.6px; background: #1a1a1a; border-radius: 1px; display: block; }
.mp-caps b { width: 11px; height: 11px; border: 1.6px solid #1a1a1a; border-radius: 50%; display: block; position: relative; }
.mp-caps b::before { content: ""; position: absolute; inset: 2.6px; background: #1a1a1a; border-radius: 50%; }
.mp-caps .vl { width: .5px; height: 13px; background: rgba(0,0,0,.13); }

/* 地址栏 + 搜索 */
.mp-addr { padding: 4px 14px 9px; display: flex; align-items: center; gap: 6px; }
.mp-addr .loc { font-size: 10px; }
.mp-addr b { font-size: 12.5px; font-weight: 700; color: #1a1a1a; max-width: 118px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mp-addr .sw { font-size: 9px; color: #999; margin-left: auto; padding-right: 66px; }
.mp-search {
  margin: 0 14px 10px; height: 32px; background: #fff; border-radius: 999px;
  display: flex; align-items: center; gap: 7px; padding: 0 5px 0 13px; border: 1px solid #f0f0f0;
}
.mp-search .ic { font-size: 11px; color: #bbb; }
.mp-search span { font-size: 11px; color: #999; flex: 1; }
.mp-search em {
  font-style: normal; background: #6fcf2f; color: #fff; font-size: 10.5px;
  font-weight: 600; padding: 5px 14px; border-radius: 999px;
}

/* Banner */
.mp-banner {
  margin: 0 14px 12px; height: 78px; border-radius: 12px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #ff8f4d 0%, #ff7a1a 55%, #ffb347 100%);
  padding: 15px 16px; color: #fff;
}
.mp-banner b { display: block; font-size: 15px; font-weight: 800; letter-spacing: .3px; }
.mp-banner span { display: block; font-size: 10px; opacity: .92; margin-top: 5px; }
.mp-banner em {
  font-style: normal; display: inline-block; margin-top: 9px; background: #fff; color: #ff7a1a;
  font-size: 9.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.mp-banner .pic { position: absolute; right: 10px; bottom: 6px; font-size: 40px; opacity: .95; }

/* 分类九宫格 */
.mp-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px 0; padding: 0 8px 12px; }
.mp-cat { text-align: center; }
.mp-cat .cic {
  width: 40px; height: 40px; margin: 0 auto 5px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.mp-cat span { font-size: 10px; color: #333; display: block; }
.cc1 { background: #e9f9e0; } .cc2 { background: #ffecec; } .cc3 { background: #fff4e0; }
.cc4 { background: #e8f4ff; } .cc5 { background: #fff0f5; } .cc6 { background: #f3edff; }
.cc7 { background: #e0f7f4; } .cc8 { background: #fdf3e3; } .cc9 { background: #eef0ff; }
.cc10 { background: #ffeef2; }

/* 快捷入口 */
.mp-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 14px 12px; }
.mp-quick div {
  background: #fff; border-radius: 10px; padding: 9px 4px; text-align: center;
  font-size: 9.5px; color: #555; line-height: 1.3;
}
.mp-quick div b { display: block; font-size: 15px; margin-bottom: 3px; }

/* 区块标题 */
.mp-sec { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px 9px; }
.mp-sec b { font-size: 13.5px; font-weight: 800; color: #1a1a1a; }
.mp-sec b i { font-style: normal; font-size: 9.5px; font-weight: 500; color: #999; margin-left: 5px; }
.mp-sec span { font-size: 10px; color: #999; }

/* 商品双列 */
.mp-goods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
.mp-g { background: #fff; border-radius: 11px; overflow: hidden; }
.mp-g .gi { height: 88px; display: flex; align-items: center; justify-content: center; font-size: 38px; position: relative; }
.mp-g .tg {
  position: absolute; top: 0; left: 0; font-size: 8.5px; font-weight: 700; color: #fff;
  padding: 2px 7px; border-radius: 11px 0 8px 0;
}
.mp-g .tg.hot { background: #ff7a1a; } .mp-g .tg.new { background: #6fcf2f; }
.mp-g .gn { padding: 8px 9px 0; }
.mp-g .gn p { font-size: 11px; color: #1a1a1a; line-height: 1.4; font-weight: 500; height: 30px; overflow: hidden; }
.mp-g .gn small { display: block; font-size: 9px; color: #999; margin-top: 2px; }
.mp-g .gp { display: flex; align-items: flex-end; justify-content: space-between; padding: 5px 9px 9px; }
.mp-g .gp b { font-size: 14px; font-weight: 800; color: #ff7a1a; }
.mp-g .gp b s { font-size: 9px; font-weight: 400; color: #bbb; margin-left: 3px; text-decoration: line-through; }
.mp-g .gp i { font-style: normal; width: 19px; height: 19px; border-radius: 50%; background: #6fcf2f; color: #fff; font-size: 13px; font-weight: 600; line-height: 19px; text-align: center; }

/* Tabbar */
.mp-tab {
  flex: none; height: 52px; background: #fff; border-top: .5px solid #eee;
  display: flex; align-items: center; padding-bottom: 4px;
}
.mp-tab div { flex: 1; text-align: center; font-size: 9.5px; color: #999; }
.mp-tab div b { display: block; font-size: 17px; margin-bottom: 2px; filter: grayscale(1); opacity: .55; }
.mp-tab div.on { color: #6fcf2f; font-weight: 700; }
.mp-tab div.on b { filter: none; opacity: 1; }

/* 结算栏 */
.mp-settle {
  flex: none; height: 52px; background: #fff; border-top: .5px solid #eee;
  display: flex; align-items: center; gap: 10px; padding: 0 12px 4px;
}
.mp-settle .tot { flex: 1; }
.mp-settle .tot b { font-size: 15px; font-weight: 800; color: #ff7a1a; }
.mp-settle .tot b s { font-size: 9px; color: #bbb; text-decoration: line-through; margin-left: 4px; font-weight: 400; }
.mp-settle .tot span { display: block; font-size: 9px; color: #999; margin-top: 1px; }
.mp-settle em {
  font-style: normal; background: linear-gradient(90deg, #ff8f4d, #ff7a1a); color: #fff;
  font-size: 12px; font-weight: 700; padding: 9px 22px; border-radius: 999px;
}

/* 列表行（订单/地址/优惠券） */
.mp-list { padding: 0 14px 14px; display: grid; gap: 8px; }
.mp-row {
  background: #fff; border-radius: 11px; padding: 11px 12px;
  display: flex; align-items: center; gap: 10px;
}
.mp-row .ric { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.mp-row .rtx { flex: 1; min-width: 0; }
.mp-row .rtx b { display: block; font-size: 11.5px; font-weight: 600; color: #1a1a1a; }
.mp-row .rtx span { display: block; font-size: 9.5px; color: #999; margin-top: 2px; }
.mp-row .rar { font-size: 11px; color: #ccc; flex: none; }
.mp-row .rbadge { font-size: 9px; font-weight: 700; padding: 2.5px 8px; border-radius: 999px; flex: none; }
.b-g { background: #f0fae6; color: #4a9c17; } .b-o { background: #fff2ec; color: #ff7a1a; }
.b-r { background: #feecea; color: #f04438; } .b-b { background: #eaf3ff; color: #2f7fd4; }
.b-gray { background: #f2f3f5; color: #999; }

/* 优惠券条 */
.mp-cp {
  margin: 0 14px 12px; height: 54px; border-radius: 11px; overflow: hidden; display: flex;
  background: linear-gradient(100deg, #fff3ea, #ffe6d6);
}
.mp-cp .l { padding: 9px 12px; flex: 1; }
.mp-cp .l b { font-size: 15px; font-weight: 800; color: #ff5a00; }
.mp-cp .l b i { font-style: normal; font-size: 10px; }
.mp-cp .l span { display: block; font-size: 9px; color: #b4531a; margin-top: 2px; }
.mp-cp .r { display: flex; align-items: center; padding: 0 12px; border-left: 1px dashed #ffcfae; }
.mp-cp .r em { font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: #ff7a1a; padding: 5px 11px; border-radius: 999px; }

/* 步进器 */
.mp-step { display: flex; align-items: center; gap: 8px; }
.mp-step i {
  font-style: normal; width: 18px; height: 18px; border-radius: 50%; text-align: center;
  line-height: 17px; font-size: 12px;
}
.mp-step .minus { border: 1px solid #ddd; color: #999; background: #fff; }
.mp-step .plus { background: #6fcf2f; color: #fff; }
.mp-step b { font-size: 11.5px; font-weight: 700; color: #1a1a1a; min-width: 12px; text-align: center; }

/* 地图 */
.mp-map {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(255,255,255,.5) 1px, transparent 1px) 0 0/100% 26px,
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px) 0 0/26px 100%,
    linear-gradient(140deg, #eaf3e2 0%, #e3eee8 45%, #eef2e6 100%);
}
.mp-road { position: absolute; background: rgba(255,255,255,.92); }
.mp-road.h1 { top: 32%; left: 0; right: 0; height: 13px; }
.mp-road.h2 { top: 68%; left: 0; right: 0; height: 9px; }
.mp-road.v1 { left: 24%; top: 0; bottom: 0; width: 11px; }
.mp-road.v2 { left: 70%; top: 0; bottom: 0; width: 8px; }
.mp-route { position: absolute; inset: 0; }
.mp-pin { position: absolute; transform: translate(-50%, -100%); font-size: 20px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.mp-rider-pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.mp-rider-pin::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(111,207,47,.5); }

/* 卡片浮层 */
.mp-sheet {
  position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff;
  border-radius: 14px; padding: 13px; box-shadow: 0 8px 26px rgba(0,0,0,.16);
}
.mp-sheet .sh-h { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.mp-sheet .sh-h .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #33800f, #6fcf2f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex: none; }
.mp-sheet .sh-h b { display: block; font-size: 12px; font-weight: 700; color: #1a1a1a; }
.mp-sheet .sh-h span { display: block; font-size: 9.5px; color: #999; margin-top: 2px; }
.mp-sheet .sh-h .call { margin-left: auto; display: flex; gap: 6px; }
.mp-sheet .sh-h .call i { font-style: normal; width: 27px; height: 27px; border-radius: 50%; background: #f0fae6; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.mp-eta { display: flex; align-items: center; gap: 8px; padding: 9px 11px; background: #f0fae6; border-radius: 10px; margin-bottom: 11px; }
.mp-eta b { font-size: 12px; font-weight: 800; color: #33800f; }
.mp-eta span { font-size: 9.5px; color: #5a8a3a; }
.mp-tl { display: grid; gap: 0; }
.mp-tl li { position: relative; padding: 0 0 12px 18px; font-size: 10px; color: #999; line-height: 1.5; }
.mp-tl li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #ddd; }
.mp-tl li::after { content: ""; position: absolute; left: 5.5px; top: 12px; bottom: 0; width: 1px; background: #eee; }
.mp-tl li:last-child { padding-bottom: 0; } .mp-tl li:last-child::after { display: none; }
.mp-tl li.done { color: #1a1a1a; font-weight: 600; }
.mp-tl li.done::before { background: #6fcf2f; }

/* ===================================================================
   后台笔记本框 —— 复刻 admin-web AdminLayout.vue
   =================================================================== */
.lap {
  width: 100%; max-width: 780px; border-radius: 12px 12px 4px 4px; overflow: hidden;
  background: #f4f6f8; box-shadow: 0 30px 70px rgba(15,25,40,.24), 0 0 0 1px rgba(0,0,0,.06);
  position: relative;
}
.lap::after {
  content: ""; display: block; height: 15px;
  background: linear-gradient(180deg, #d8dde5, #c3c9d3);
  border-radius: 0 0 12px 12px; margin: 0 -22px; position: relative;
  box-shadow: 0 3px 10px rgba(0,0,0,.1);
}
.lap-bar { height: 26px; background: #e9ecf1; display: flex; align-items: center; padding: 0 11px; gap: 6px; border-bottom: 1px solid #dfe3ea; }
.lap-bar i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.lap-bar i:nth-child(1) { background: #ff5f57; } .lap-bar i:nth-child(2) { background: #febc2e; } .lap-bar i:nth-child(3) { background: #28c840; }
.lap-bar .url {
  margin-left: 10px; flex: 1; height: 15px; background: #fff; border-radius: 4px;
  font-size: 8.5px; color: #9aa2af; display: flex; align-items: center; padding: 0 8px;
}
.lap-screen { height: 470px; overflow: hidden; display: flex; flex-direction: column; font-size: 11px; }

/* 顶栏 */
.ad-head {
  flex: none; height: 42px; background: linear-gradient(90deg, #33800f, #5cb823);
  display: flex; align-items: center; padding: 0 14px; gap: 14px;
  box-shadow: 0 2px 8px rgba(51,128,15,.18);
}
.ad-brand { display: flex; align-items: center; gap: 8px; flex: none; }
.ad-mark { width: 21px; height: 21px; background: #fff; color: #3f9c17; border-radius: 4px; font-weight: 800; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.ad-brand strong { color: #fff; font-size: 12px; font-weight: 700; display: block; line-height: 1.15; }
.ad-brand small { color: rgba(255,255,255,.72); font-size: 8.5px; display: block; line-height: 1.15; }
.ad-nav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow: hidden; }
.ad-nav span {
  padding: 5px 10px; border-radius: 5px; font-size: 10.5px; color: rgba(255,255,255,.85);
  white-space: nowrap; cursor: default;
}
.ad-nav span.on { background: rgba(255,255,255,.22); color: #fff; font-weight: 600; }
.ad-tools { display: flex; align-items: center; gap: 9px; flex: none; }
.ad-store { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.18); padding: 4px 9px; border-radius: 5px; color: #fff; font-size: 9.5px; }
.ad-ava { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.92); color: #33800f; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* 主体 */
.ad-body { flex: 1; display: flex; min-height: 0; }
.ad-side { width: 132px; flex: none; background: #fff; border-right: 1px solid #e7eaf0; padding: 10px 8px; overflow: hidden; }
.ad-side .st { font-size: 8.5px; color: #9aa2af; font-weight: 700; letter-spacing: .8px; padding: 0 7px 7px; }
.ad-side .si { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 5px; font-size: 10.5px; color: #5a6473; margin-bottom: 1px; }
.ad-side .si i { font-style: normal; font-size: 11px; opacity: .8; }
.ad-side .si.on { background: #f0f9eb; color: #33800f; font-weight: 650; }
.ad-side .si.on i { opacity: 1; }
.ad-side .sg { height: 1px; background: #f0f2f5; margin: 8px 4px; }

.ad-work { flex: 1; min-width: 0; padding: 12px 14px; overflow: hidden; }
.ad-ph { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 11px; }
.ad-ph h4 { font-size: 14px; font-weight: 700; color: #202936; }
.ad-ph .bc { font-size: 9px; color: #9aa2af; margin-bottom: 3px; }
.ad-ph .acts { display: flex; gap: 6px; }
.ad-btn { font-size: 9.5px; padding: 4px 10px; border-radius: 4px; border: 1px solid #dfe4eb; background: #fff; color: #5a6473; white-space: nowrap; }
.ad-btn.p { background: #3f9c17; border-color: #3f9c17; color: #fff; font-weight: 600; }

/* 面板 */
.ad-panel { background: #fff; border-radius: 3px; box-shadow: 0 1px 3px rgba(30,45,65,.05); }
.ad-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 11px; }
.ad-card { background: #fff; border-radius: 3px; padding: 11px 12px; box-shadow: 0 1px 3px rgba(30,45,65,.05); }
.ad-card span { display: block; font-size: 9px; color: #7f8998; }
.ad-card b { display: block; font-size: 17px; font-weight: 800; color: #202936; margin-top: 5px; letter-spacing: -.4px; }
.ad-card b i { font-style: normal; font-size: 10px; font-weight: 600; margin-right: 1px; }
.ad-card em { font-style: normal; display: block; font-size: 8.5px; margin-top: 4px; font-weight: 600; }
.ad-card em.up { color: #3f9c17; } .ad-card em.dn { color: #f04438; }

/* 图表 */
.ad-chart { padding: 12px; margin-bottom: 11px; }
.ad-chart .ch-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ad-chart .ch-h b { font-size: 11px; font-weight: 700; color: #202936; }
.ad-chart .lg { display: flex; gap: 10px; font-size: 8.5px; color: #7f8998; }
.ad-chart .lg i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 3px; }
.ad-bars { display: flex; align-items: flex-end; gap: 7px; height: 88px; padding-top: 4px; }
.ad-bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; position: relative; }
.ad-bars .b1 { background: linear-gradient(180deg, #6fcf2f, #4aa81a); border-radius: 2px 2px 0 0; }
.ad-bars .b2 { background: #ffd9b8; border-radius: 2px 2px 0 0; }
.ad-bars small { position: absolute; bottom: -13px; left: 0; right: 0; text-align: center; font-size: 8px; color: #9aa2af; }
.ad-bars-wrap { padding-bottom: 16px; }

.ad-donut-wrap { display: flex; align-items: center; gap: 16px; padding: 12px; }
.ad-donut {
  width: 78px; height: 78px; border-radius: 50%; flex: none; position: relative;
  background: conic-gradient(#6fcf2f 0 46%, #ff7a1a 46% 74%, #4a90d9 74% 90%, #e7eaf0 90% 100%);
}
.ad-donut::after { content: ""; position: absolute; inset: 17px; background: #fff; border-radius: 50%; }
.ad-donut b { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; }
.ad-donut b i { font-style: normal; font-size: 14px; font-weight: 800; color: #202936; }
.ad-donut b small { font-size: 7.5px; color: #7f8998; }
.ad-lg { flex: 1; display: grid; gap: 6px; }
.ad-lg div { display: flex; align-items: center; gap: 6px; font-size: 9.5px; color: #5a6473; }
.ad-lg i { width: 7px; height: 7px; border-radius: 2px; display: block; flex: none; }
.ad-lg b { margin-left: auto; font-weight: 700; color: #202936; }

/* 表格 */
.ad-tbl { width: 100%; border-collapse: collapse; }
.ad-tbl th {
  text-align: left; font-size: 9px; font-weight: 600; color: #7f8998;
  padding: 8px 9px; background: #fafbfc; border-bottom: 1px solid #e7eaf0; white-space: nowrap;
}
.ad-tbl td { font-size: 10px; color: #38414f; padding: 8px 9px; border-bottom: 1px solid #f2f4f7; white-space: nowrap; }
.ad-tbl tr:last-child td { border-bottom: 0; }
.ad-tbl .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9.5px; color: #5a6473; }
.ad-tbl .link { color: #3f9c17; font-weight: 600; }
.ad-tag { display: inline-block; font-size: 8.5px; font-weight: 600; padding: 2px 7px; border-radius: 3px; }
.at-g { background: #f0f9eb; color: #3f9c17; } .at-o { background: #fff4e8; color: #d97706; }
.at-b { background: #eaf3ff; color: #2f7fd4; } .at-r { background: #feecea; color: #f04438; }
.at-gray { background: #f2f3f5; color: #7f8998; } .at-p { background: #f3edff; color: #7c4dd6; }

.ad-filter { display: flex; gap: 6px; align-items: center; padding: 9px 11px; border-bottom: 1px solid #f0f2f5; flex-wrap: wrap; }
.ad-filter .fi { height: 22px; border: 1px solid #dfe4eb; border-radius: 4px; font-size: 9px; color: #9aa2af; display: flex; align-items: center; padding: 0 8px; gap: 6px; background: #fff; }
.ad-filter .fi b { color: #38414f; font-weight: 500; }
.ad-filter .fi i { font-style: normal; font-size: 7px; color: #c3c9d3; }
.ad-pager { display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding: 9px 11px; font-size: 9px; color: #7f8998; }
.ad-pager i { font-style: normal; width: 18px; height: 18px; border: 1px solid #dfe4eb; border-radius: 3px; display: flex; align-items: center; justify-content: center; background: #fff; }
.ad-pager i.on { background: #3f9c17; border-color: #3f9c17; color: #fff; font-weight: 600; }

/* 拣货工作台 */
.ad-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ad-pick-card { border: 1px solid #e7eaf0; border-radius: 4px; overflow: hidden; }
.ad-pick-h { display: flex; align-items: center; gap: 7px; padding: 8px 10px; background: #fafbfc; border-bottom: 1px solid #e7eaf0; }
.ad-pick-h b { font-size: 10px; font-weight: 700; color: #202936; }
.ad-pick-h .mono { font-size: 8.5px; color: #9aa2af; font-family: ui-monospace, Menlo, monospace; }
.ad-pick-b { padding: 9px 10px; display: grid; gap: 7px; }
.ad-pick-row { display: flex; align-items: center; gap: 8px; font-size: 9.5px; }
.ad-pick-row .pic { width: 26px; height: 26px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.ad-pick-row .nm { flex: 1; min-width: 0; }
.ad-pick-row .nm b { display: block; font-size: 10px; color: #202936; font-weight: 600; }
.ad-pick-row .nm span { display: block; font-size: 8.5px; color: #9aa2af; margin-top: 1px; }
.ad-pick-row .qt { font-weight: 700; color: #33800f; font-size: 10px; flex: none; }
.ad-pick-row .ck { width: 15px; height: 15px; border-radius: 3px; border: 1.5px solid #dfe4eb; flex: none; }
.ad-pick-row .ck.on { background: #3f9c17; border-color: #3f9c17; position: relative; }
.ad-pick-row .ck.on::after { content: ""; position: absolute; left: 4px; top: 1.5px; width: 4px; height: 7px; border-right: 1.8px solid #fff; border-bottom: 1.8px solid #fff; transform: rotate(42deg); }
.ad-pick-f { display: flex; gap: 6px; padding: 8px 10px; border-top: 1px solid #f0f2f5; }

/* 权限树 */
.ad-tree { padding: 12px 14px; display: grid; gap: 11px; }
.ad-tg2 { border: 1px solid #e7eaf0; border-radius: 4px; overflow: hidden; }
.ad-tg2 > .th { display: flex; align-items: center; gap: 7px; padding: 8px 10px; background: #fafbfc; font-size: 10px; font-weight: 700; color: #202936; border-bottom: 1px solid #f0f2f5; }
.ad-tg2 > .th .cb { width: 13px; height: 13px; border-radius: 3px; border: 1.5px solid #dfe4eb; flex: none; }
.ad-tg2 > .th .cb.all { background: #3f9c17; border-color: #3f9c17; position: relative; }
.ad-tg2 > .th .cb.all::after { content: ""; position: absolute; left: 3.4px; top: 1.2px; width: 3.6px; height: 6.4px; border-right: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(42deg); }
.ad-tg2 > .th .cb.half { background: #3f9c17; border-color: #3f9c17; position: relative; }
.ad-tg2 > .th .cb.half::after { content: ""; position: absolute; left: 2px; top: 5px; right: 2px; height: 1.8px; background: #fff; border-radius: 1px; }
.ad-tg2 .tb { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 9px 10px; }
.ad-perm { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: #5a6473; }
.ad-perm .cb { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid #dfe4eb; flex: none; }
.ad-perm.on .cb { background: #3f9c17; border-color: #3f9c17; position: relative; }
.ad-perm.on .cb::after { content: ""; position: absolute; left: 3px; top: 1px; width: 3.4px; height: 6px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(42deg); }
.ad-perm.on { color: #202936; font-weight: 600; }
.ad-perm .code { font-family: ui-monospace, Menlo, monospace; font-size: 8px; color: #b0b7c3; }

/* 设备标签 */
.shot-cap { text-align: center; margin-top: 20px; }
.shot-cap b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.shot-cap span { display: block; font-size: 13px; color: var(--text-3); margin-top: 5px; }

/* 手机群 */
.mp-row3 { display: flex; gap: 18px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.mp-row3 .mp:nth-child(2) { transform: translateY(-16px); }

/* 响应式 */
@media (max-width: 1080px) {
  .lap-screen { height: 420px; }
  .ad-side { width: 110px; }
}
@media (max-width: 860px) {
  .mp { width: 262px; height: 542px; }
  .lap-screen { height: 380px; }
  .ad-nav { display: none; }
  .ad-cards { grid-template-columns: repeat(2, 1fr); }
  .ad-pick { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mp { width: 100%; max-width: 300px; height: 600px; }
  .lap-screen { height: 340px; }
  .ad-side { display: none; }
  .ad-chart, .ad-donut-wrap { display: none; }
}

/* ===================================================================
   真实截图 / 演示视频占位
   约定：把文件放到元素 data-src 指定的路径，刷新页面即自动替换占位。
     图片探测成功 → .shot-ph 加 .has（注入 <img> 并隐藏占位文案）
     封面探测成功 → .vid 加 .has-poster
     视频探测成功 → .vid 加 .ready（点击进 Lightbox 播放）
   =================================================================== */

/* ---------- 画廊网格 ---------- */
.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 20px; align-items: start; }
.gal.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gal.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vid + .gal, .gal + .gal, .gal + .vid { margin-top: 20px; }
.gal-note {
  margin-top: 22px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--green-softer); border: 1px dashed #cfe9b6;
  font-size: 12.5px; color: #5a7a3f; line-height: 1.85; text-align: center;
}
.gal-note code {
  font-family: ui-monospace, Menlo, monospace; font-size: 12px;
  background: #fff; border: 1px solid #dceccb; padding: 1.5px 7px; border-radius: 5px; color: var(--green-deep);
}

/* ---------- 画廊分组标题 ---------- */
.gal-t {
  display: flex; align-items: center; gap: 9px;
  margin: 38px 0 16px; font-size: 17px; font-weight: 700; color: var(--ink);
}
.gal-t::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--green); }
.gal-t small { font-size: 12.5px; font-weight: 400; color: var(--text-3); }
.sec-head + .gal-t, .gal-t:first-child { margin-top: 0; }

/* ---------- 截图占位卡 ---------- */
.shot-ph {
  position: relative; margin: 0; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.shot-ph:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #d9f0c2; }

.shot-ph .ph-media {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 7px; overflow: hidden;
  background: linear-gradient(135deg, var(--green-softer) 0%, #fff 46%, var(--green-soft) 100%);
  border-bottom: 1px solid var(--line-2);
}
.shot-ph.r-mobile .ph-media { aspect-ratio: 9 / 15; }
.shot-ph.r-desktop .ph-media { aspect-ratio: 16 / 10; }
/* 网格底纹，强化「待放置」语义 */
.shot-ph .ph-media::before {
  content: ""; position: absolute; inset: 0; opacity: .55;
  background-image:
    linear-gradient(rgba(111, 207, 47, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 207, 47, .14) 1px, transparent 1px);
  background-size: 22px 22px;
}
.shot-ph .ph-ic {
  position: relative; width: 46px; height: 46px; border-radius: 13px;
  background: #fff; border: 1px solid #dceccb; box-shadow: var(--sh-1);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.shot-ph .ph-t { position: relative; font-size: 13px; font-weight: 650; color: var(--ink); }
.shot-ph .ph-path {
  position: relative; padding: 0 16px; text-align: center; word-break: break-all;
  font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; line-height: 1.65; color: #8a94a3;
}
.shot-ph .ph-size { position: relative; font-size: 11px; color: var(--text-3); }

/* 真实截图：探测成功后由 JS 注入，覆盖占位 */
.shot-ph .ph-media img {
  position: absolute; inset: 0; z-index: 1; display: block;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.shot-ph.has .ph-ic, .shot-ph.has .ph-t,
.shot-ph.has .ph-path, .shot-ph.has .ph-size { display: none; }
.shot-ph.has .ph-media::before { display: none; }

/* 模块角标 */
.shot-ph .ph-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4.5px 11px; border-radius: 999px;
  background: rgba(32, 41, 54, .82); color: #fff; backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.shot-ph figcaption { padding: 15px 18px 17px; }
.shot-ph figcaption b { display: block; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.shot-ph figcaption span { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.65; color: var(--text-3); }

/* ---------- 演示视频占位 ---------- */
.vid {
  position: relative; display: block; width: 100%; padding: 0; text-align: left;
  font: inherit; color: inherit; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--panel); box-shadow: var(--sh-2);
  transition: transform .28s ease, box-shadow .28s ease;
}
.vid:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.vid:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.vid-stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 100% at 18% 12%, rgba(111, 207, 47, .30) 0%, transparent 58%),
    radial-gradient(90% 90% at 84% 88%, rgba(255, 122, 26, .20) 0%, transparent 60%),
    linear-gradient(155deg, #22301a 0%, #131a24 62%);
}
.vid-stage::after {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 34px 34px;
}
.vid-poster { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.vid:not(.has-poster) .vid-poster { display: none; }

.vid-play {
  position: relative; z-index: 2; width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .16); border: 2px solid rgba(255, 255, 255, .72);
  backdrop-filter: blur(4px);
  transition: transform .26s ease, background .26s ease;
}
.vid-play::before {
  content: ""; margin-left: 5px; width: 0; height: 0;
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.vid-play::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .42); animation: vidPulse 2.4s ease-out infinite;
}
.vid:hover .vid-play { transform: scale(1.08); background: var(--green-dark); border-color: #fff; }
@keyframes vidPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}

.vid-dur {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .6);
  color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.vid-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 5px 12px; border-radius: 999px; background: rgba(255, 122, 26, .94);
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
}
.vid.ready .vid-badge { background: var(--green-dark); }
.vid-cap { display: block; padding: 17px 20px 19px; border-top: 1px solid var(--line-2); }
.vid-cap b { display: block; font-size: 15.5px; font-weight: 650; color: var(--ink); }
.vid-cap span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--text-2); }
.vid-cap .vid-src {
  display: block; margin-top: 9px; word-break: break-all;
  font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--text-3);
}
.vid.ready .vid-cap .vid-src { display: none; }
.vid.sm .vid-play { width: 58px; height: 58px; }
.vid.sm .vid-play::before { margin-left: 4px; border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }

/* ---------- Lightbox ---------- */
.vbox {
  position: fixed; inset: 0; z-index: 300; display: none; padding: 28px;
  align-items: center; justify-content: center;
  background: rgba(9, 13, 19, .88); backdrop-filter: blur(6px);
}
.vbox.open { display: flex; animation: vboxIn .24s ease; }
@keyframes vboxIn { from { opacity: 0; } to { opacity: 1; } }
.vbox-in { width: 100%; max-width: 1000px; }
.vbox-body {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: #000; border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.vbox-body video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vbox-ph {
  position: absolute; inset: 0; padding: 30px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(155deg, #22301a 0%, #131a24 62%); color: #d7dee8;
}
.vbox-ph .vic { font-size: 40px; }
.vbox-ph b { font-size: 18px; font-weight: 700; color: #fff; }
.vbox-ph p { max-width: 520px; font-size: 13.5px; line-height: 1.9; color: rgba(215, 222, 232, .72); }
.vbox-ph code {
  padding: 3px 9px; border-radius: 6px; word-break: break-all;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: #a9d885;
}
.vbox-x {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .5); color: #fff; font-size: 21px; line-height: 1;
  transition: background .2s ease;
}
.vbox-x:hover { background: var(--red); }
.vbox-cap { margin-top: 15px; text-align: center; color: #fff; font-size: 14.5px; font-weight: 600; }
.vbox-cap span { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 400; color: rgba(255, 255, 255, .55); }
body.vbox-lock { overflow: hidden; }

@media (max-width: 1080px) {
  .gal.c4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .gal.c2 { grid-template-columns: 1fr; }
  .gal.c3, .gal.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vid.sm .vid-play, .vid-play { width: 62px; height: 62px; }
}
@media (max-width: 640px) {
  .gal { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
  .gal.c3, .gal.c4 { gap: 14px; }
  .vid + .gal, .gal + .gal, .gal + .vid { margin-top: 14px; }
  .shot-ph figcaption { padding: 12px 13px 14px; }
  .shot-ph figcaption b { font-size: 13px; }
  .shot-ph figcaption span { font-size: 11.5px; margin-top: 3px; }
  .shot-ph .ph-media::before { background-size: 18px 18px; }
  .vid-play { width: 60px; height: 60px; }
  .vid-play::before { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
  .vid-cap { padding: 14px 15px 16px; }
  .vbox { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .vid-play::after { animation: none; }
  .vbox.open { animation: none; }
  .shot-ph:hover, .vid:hover { transform: none; }
}

