/* ================= 基础 ================= */
[hidden] { display: none !important; }

:root {
  --blue: #0a7fd7;
  --blue-d: #0649b8;
  --blue-l: #eaf4fd;
  --red: #e03131;
  --red-l: #fdecec;
  --ink: #17212b;
  --ink-2: #3d4d5c;
  --muted: #7b8a99;
  --line: #e4e9f0;
  --bg: #f4f6f9;
  --white: #fff;
  --green: #0f9960;
  --green-l: #e8f7ef;
  --amber: #b7791f;
  --amber-l: #fdf3e2;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(23, 33, 43, .04), 0 8px 24px rgba(23, 33, 43, .06);
}

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

html, body {
  margin: 0; padding: 0;
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }

/* 手机外壳：桌面浏览器里居中一条，手机上铺满 */
.phone {
  max-width: 480px; margin: 0 auto; min-height: 100vh;
  background: var(--white); padding-bottom: 76px; position: relative;
}
.phone.nobar { padding-bottom: 0; }

/* ================= 顶栏 ================= */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; min-height: 52px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .brand { font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.topbar .brand span { color: var(--blue); }
.topbar .grow { flex: 1; }
.topbar .who { font-size: 13px; color: var(--muted); }
.topbar .out {
  border: 0; background: transparent; color: var(--muted);
  font-size: 13px; padding: 4px 0; cursor: pointer;
}

/* ================= 蓝色主视觉 ================= */
.hero {
  padding: 30px 22px 26px;
  background: linear-gradient(160deg, #0a7fd7 0%, #0649b8 62%, #042f6f 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 70%);
}
.hero .kicker { font-size: 12.5px; letter-spacing: .18em; opacity: .8; margin-bottom: 12px; }
.hero h1 { font-size: 27px; line-height: 1.34; font-weight: 700; position: relative; }
.hero h1 em { font-style: normal; color: #ffd66b; }
.hero .sub {
  margin-top: 14px; font-size: 14px; line-height: 1.72;
  color: rgba(255,255,255,.86); position: relative;
}
.hero .cta { margin-top: 20px; position: relative; }
.hero .src {
  margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.66); position: relative;
}

/* ================= 区块 ================= */
.sec { padding: 22px 18px; }
.sec.tight { padding: 14px 18px; }
.sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.sec-head h2 { font-size: 17px; }
.sec-head .more { margin-left: auto; font-size: 13px; color: var(--muted); }
.sec-head .more a { color: var(--muted); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.card + .card { margin-top: 12px; }
.card.flat { box-shadow: none; }
.card h3 { font-size: 15px; margin-bottom: 6px; }
.card .note { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* 奖励/价格双卡 */
.pick {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; box-shadow: var(--shadow);
}
.pick + .pick { margin-top: 10px; }
.pick-top { display: flex; align-items: baseline; gap: 8px; }
.pick-name { font-weight: 700; font-size: 16px; }
.pick-val {
  margin-left: auto; font-size: 21px; font-weight: 800; color: var(--red);
  font-variant-numeric: tabular-nums; letter-spacing: -.3px;
}
.pick-tag { font-size: 11px; color: #98a5b3; margin-right: 2px; }
.pick-spec { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.pick-who { font-size: 13.5px; margin-top: 7px; }
.pick-who b { color: var(--blue); font-weight: 600; margin-right: 4px; }
.pick-why { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.65; }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 10px; padding: 12px 20px;
  background: var(--blue); color: #fff;
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: opacity .16s, transform .06s;
}
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.block { display: flex; width: 100%; }
.btn.ghost { background: #fff; color: var(--blue); border: 1px solid #cfe2f5; }
.btn.ghost.dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn.danger { background: var(--red); }
.btn.gray { background: #eef1f5; color: var(--ink-2); }
.btn.sm { padding: 8px 13px; font-size: 13.5px; border-radius: 8px; }
.btn.xs { padding: 5px 10px; font-size: 12.5px; border-radius: 7px; }
.btn-row { display: flex; gap: 10px; }
.btn-row > .btn { flex: 1; }

/* ================= 表单 ================= */
.field { margin-bottom: 13px; }
.field > label {
  display: block; font-size: 13px; color: var(--ink-2);
  margin-bottom: 6px; font-weight: 500;
}
.field > label .req { color: var(--red); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 9px;
  background: #fff; color: var(--ink);
  font-size: 15px; font-family: inherit; line-height: 1.5;
  transition: border-color .16s, box-shadow .16s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: 0; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 127, 215, .12);
}
.input::placeholder, .textarea::placeholder { color: #aeb8c3; }
.textarea { resize: vertical; min-height: 76px; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%237b8a99' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 13px center;
  padding-right: 34px;
}
.hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.6; }
.err { font-size: 12.5px; color: var(--red); margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* 输入框 + 「获取验证码」并列。按钮宽度固定，输入框吃掉剩余空间，
   手机窄屏也不会把按钮挤成两行。 */
.coderow { display: flex; gap: 8px; align-items: stretch; }
.coderow > .input { flex: 1; min-width: 0; }
.coderow > .btn {
  flex: none; width: 108px; padding: 0 8px;
  font-size: 14px; font-variant-numeric: tabular-nums;
}

/* 营业执照上传框：空态是虚线框 + 加号，选完图原地变成缩略图，
   不弹窗、不跳步——注册表单本来就长，别再开一层 */
.upbox {
  border: 1px dashed #c3d5e8; border-radius: 10px; background: #fafcff;
  padding: 16px 14px; cursor: pointer; text-align: center;
  transition: border-color .16s, background .16s;
}
.upbox:active { background: #f2f8ff; border-color: var(--blue); }
.upbox.busy { opacity: .55; pointer-events: none; }
.up-txt { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.upbox b { font-size: 21px; font-weight: 400; color: var(--blue); line-height: 1; }
.upbox .up-txt span { font-size: 12.5px; color: var(--muted); }
.up-prev { display: block; width: 100%; max-height: 180px; object-fit: contain; }
.up-prev[hidden] { display: none; }
.upbox.has { padding: 8px; border-style: solid; border-color: var(--line); background: #fff; }
.upbox.has .up-txt { margin-top: 7px; }
.upbox.has b:empty { display: none; }

/* ================= 标签 ================= */
.tag {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.tag.blue { background: var(--blue-l); color: var(--blue-d); }
.tag.green { background: var(--green-l); color: var(--green); }
.tag.amber { background: var(--amber-l); color: var(--amber); }
.tag.red { background: var(--red-l); color: var(--red); }
.tag.gray { background: #eef1f5; color: var(--muted); }

/* ================= 列表行 ================= */
.row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row .main { flex: 1; min-width: 0; }
.row .t1 { font-size: 14.5px; font-weight: 600; }
.row .t2 { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.row .side { text-align: right; flex: none; }
.row .amount { font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }

.empty {
  text-align: center; padding: 44px 20px; color: var(--muted); font-size: 13.5px;
}
.empty b { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }

/* ================= 订单卡 ================= */
.order {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 15px; box-shadow: var(--shadow);
}
.order + .order { margin-top: 10px; }
.order-top { display: flex; align-items: center; gap: 8px; }
.order-no { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.order-no i { font-style: normal; margin-right: 3px; }
.order-no i::after { content: "："; }
.order-no b { font-weight: 600; color: var(--ink-2); }
.order-top .tag { margin-left: auto; }
/* 实施单位 / 应用单位：标签不定宽，同字数自然对齐；值统一加粗，一眼看出主体是谁 */
.order-kv { margin: 9px 0 0; font-size: 13.5px; }
.order-kv div { display: flex; gap: 8px; padding: 2px 0; }
.order-kv .k { flex: none; color: var(--muted); }
.order-kv .k::after { content: "："; }
.order-kv .v { flex: 1; min-width: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
/* 成果名称：产品名不该和单位一样重，量词靠右对齐成一列 */
.order-kv .item { margin-top: 7px; }
.order-kv .item .v { font-weight: 500; color: var(--ink-2); }
.order-kv .item .q { flex: none; color: var(--muted); font-variant-numeric: tabular-nums; }
.order-kv .k.ghost { visibility: hidden; }
.order-items { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); }
.order-items div { display: flex; gap: 8px; padding: 3px 0; }
.order-items .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-items .q { color: var(--muted); flex: none; }
.order-foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.order-foot .total { font-weight: 700; color: var(--ink); }
.order-foot .total i { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 400; margin-right: 3px; }
.order-foot .when { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.order-foot .when i { font-style: normal; margin-right: 3px; }
.order-foot .when i::after { content: "："; }
.order-foot .acts { margin-left: auto; display: flex; gap: 8px; }

/* ================= 底部固定操作条 =================
   落地页「注册账号查看更多」和知识分享页「分享此页面」共用；
   .above-tabs 用于带底部导航的页面，JS 会再量一次导航高度覆盖 bottom */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  max-width: 480px; margin: 0 auto;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.bottombar.above-tabs { bottom: 59px; padding-bottom: 10px; }

/* ================= 底部导航 ================= */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; max-width: 480px; margin: 0 auto;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1; padding: 9px 0 8px; text-align: center;
  font-size: 11.5px; color: var(--muted); position: relative;
}
.tabbar a.on { color: var(--blue); font-weight: 600; }
.tabbar a svg { display: block; width: 22px; height: 22px; margin: 0 auto 2px; }
.tabbar a .dot {
  position: absolute; top: 6px; right: 50%; margin-right: -18px;
  width: 7px; height: 8px; border-radius: 50%; background: var(--red);
}

/* ================= 数字统计 ================= */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 15px;
}
.stat .k { font-size: 12.5px; color: var(--muted); }
.stat .v {
  font-size: 22px; font-weight: 800; margin-top: 3px;
  font-variant-numeric: tabular-nums; letter-spacing: -.4px;
}
.stat .v.small { font-size: 17px; }
.stat .v .unit { font-size: 13px; font-weight: 600; letter-spacing: 0; }
.stat.hl { background: linear-gradient(150deg, #0a7fd7, #0649b8); border: 0; color: #fff; }
.stat.hl .k { color: rgba(255,255,255,.78); }

/* ================= 提示条 ================= */
.banner {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; border-radius: 10px; font-size: 13px; line-height: 1.6;
}
.banner.amber { background: var(--amber-l); color: #8a5b00; border: 1px solid #f0dcaa; }
.banner.blue { background: var(--blue-l); color: var(--blue-d); border: 1px solid #cfe6fa; }
.banner.red { background: var(--red-l); color: #a32323; border: 1px solid #f7cccc; }
.banner .btn { margin-left: auto; flex: none; }

/* ================= 欢迎/登录 ================= */
.gate {
  padding: 34px 22px 28px; text-align: center;
  background: linear-gradient(160deg, #0a7fd7 0%, #0649b8 70%, #042f6f 100%);
  color: #fff;
}
.gate h1 { font-size: 23px; margin-bottom: 10px; }
.gate p { font-size: 13.5px; color: rgba(255,255,255,.8); margin: 0 auto; max-width: 300px; line-height: 1.7; }
.formwrap { padding: 22px 20px 30px; }
.formwrap h2 { font-size: 18px; margin-bottom: 4px; }
.formwrap .lead { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 18px; }
.switch a { font-weight: 600; }

/* 登录/注册页底部的「收藏本页」：跟上面的表单用一条细线隔开，别让它看着像主操作 */
.favbox { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.favbox .hint { max-width: 280px; margin: 9px auto 0; line-height: 1.7; }

/* 收藏引导层里的三步，序号做成小圆点 */
.favsteps { display: grid; gap: 11px; margin: 0 0 18px; }
.favsteps .it { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.favsteps .it i {
  flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--blue-l); color: var(--blue-d); font-style: normal;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.favsteps .it b { color: var(--ink); font-weight: 600; }

/* ================= 弹层 ================= */
.mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 24, 35, .48);
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
  width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 18px 18px 0 0;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom));
  animation: up .22s ease;
}
@keyframes up { from { transform: translateY(24px); opacity: .6; } }
.sheet h3 { font-size: 17px; margin-bottom: 16px; }
.sheet .close {
  position: absolute; top: 16px; right: 16px;
  border: 0; background: #f1f4f8; width: 30px; height: 30px; border-radius: 50%;
  font-size: 17px; color: var(--muted); cursor: pointer; line-height: 1;
}

/* ================= toast ================= */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px);
  z-index: 90; max-width: 84vw;
  padding: 11px 18px; border-radius: 10px;
  background: rgba(23, 33, 43, .93); color: #fff;
  font-size: 13.5px; line-height: 1.5; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= 视频 ================= */
/* 落地页的视频区按三种形态摆：置顶大卡（产品介绍）、两列网格（实拍短片）、
   底部窄条（完整演示）。列表顺序不影响排版，各回各的桶。 */

.vlabel {
  font-size: 11.5px; color: var(--muted); margin: 16px 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.vlabel::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* 置顶大卡：竖版封面在左，文案在右。
   竖屏片子横过来放会把画面切掉一半，所以不硬拉成 16:9。 */
.vfeat {
  display: flex; align-items: stretch; gap: 13px; width: 100%;
  padding: 9px; margin-bottom: 2px; text-align: left; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); font-family: inherit; color: var(--ink);
}
.vfeat-thumb {
  position: relative; flex: 0 0 124px; aspect-ratio: 9 / 16;
  border-radius: 9px; overflow: hidden; background: #10202e;
}
.vfeat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vfeat-thumb .vplay { width: 38px; height: 38px; }
.vfeat-thumb .vplay svg { width: 17px; height: 17px; }
/* 竖屏片子底部自带字幕，时长角标挪到右上，别压在上面 */
.vfeat-thumb .vdur { top: 5px; bottom: auto; right: 5px; }
.vfeat-cap {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0; padding: 4px 2px 4px 0;
}
.vfeat-cap .ftag {
  align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--blue-d); background: var(--blue-l);
  padding: 2px 7px; border-radius: 5px; margin-bottom: 7px;
}
.vfeat-cap .ft {
  font-size: 14px; font-weight: 600; line-height: 1.42;
  display: block; text-wrap: balance;
}
.vfeat-cap .fd {
  font-size: 11.5px; color: var(--muted); line-height: 1.55;
  margin-top: 6px; display: block;
}
.vfeat-cap .fplay {
  display: inline-flex; align-items: center; gap: 4px; align-self: flex-start;
  margin-top: 10px; font-size: 11.5px; font-weight: 600; color: var(--blue);
}
.vfeat-cap .fplay svg { width: 11px; height: 11px; fill: currentColor; }

/* 底部窄版：给时长较长的完整演示，形状上跟上面区分开 */
.vfeat.sm { gap: 11px; padding: 8px; margin: 0; box-shadow: none; }
.vfeat.sm .vfeat-thumb { flex: 0 0 96px; border-radius: 8px; }
.vfeat.sm .vfeat-thumb .vplay { width: 32px; height: 32px; }
.vfeat.sm .vfeat-thumb .vplay svg { width: 14px; height: 14px; }
.vfeat.sm .vfeat-cap .ftag { font-size: 10px; padding: 1px 6px; margin-bottom: 5px; }
.vfeat.sm .vfeat-cap .ft { font-size: 12.8px; line-height: 1.4; }
.vfeat.sm .vfeat-cap .fd { font-size: 11px; margin-top: 4px; }
.vfeat.sm .vfeat-cap .fplay { margin-top: 7px; font-size: 11px; }

.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vcard {
  display: block; width: 100%; padding: 0; text-align: left; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; font-family: inherit; color: var(--ink);
}
.vthumb { position: relative; display: block; aspect-ratio: 9 / 16; background: #10202e; overflow: hidden; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vplay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}
.vplay svg { width: 19px; height: 19px; fill: #0a3a6b; margin-left: 2px; }
.vdur {
  position: absolute; right: 6px; bottom: 6px;
  background: rgba(0, 0, 0, .52); color: #fff; font-size: 10.5px;
  padding: 1px 5px; border-radius: 4px; font-variant-numeric: tabular-nums;
}
.vtag {
  position: absolute; left: 6px; top: 6px;
  background: rgba(10, 127, 215, .88); color: #fff; font-size: 10.5px;
  padding: 2px 6px; border-radius: 5px;
}
.vcap { display: block; padding: 9px 10px 11px; }
.vcap .t { display: block; font-size: 12px; font-weight: 600; line-height: 1.45; text-wrap: balance; }
.vcap .d { display: block; font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.vhint { text-align: center; font-size: 11.5px; color: #9aa8b6; margin-top: 10px; }

/* 全屏播放器：竖屏片子按屏宽铺满，关掉时清 src 停止下载 */
.vplayer { position: fixed; inset: 0; z-index: 200; background: #000; display: none; align-items: center; justify-content: center; }
.vplayer.show { display: flex; }
.vplayer video { width: 100%; height: 100%; max-width: 480px; object-fit: contain; background: #000; }
.vclose {
  position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px;
  width: 34px; height: 34px; border-radius: 50%; border: 0; z-index: 2;
  background: rgba(255, 255, 255, .18); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.vclose svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ================= 工程商发给客户的方案页 /s/ ================= */

/* 问题清单 / 效果清单：左侧一个小圆标，扫一眼就知道是「痛点」还是「结果」 */
.plist { display: grid; gap: 13px; }
.plist .it { display: flex; gap: 10px; font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.plist .it i {
  flex: none; width: 19px; height: 19px; margin-top: 2px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700;
}
.plist.bad .it i { background: #fdeaea; color: #d34a4a; }
.plist.good .it i { background: #e7f3ff; color: var(--blue); }
.plist .it b { color: var(--ink); font-weight: 600; }

/* 底栏：客户不用回头找联系方式，点一下就拨 */
.contactbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  max-width: 480px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.contactbar .cf { flex: 1; min-width: 0; }
.contactbar .cf .t1 {
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.contactbar .cf .t2 {
  font-size: 12.5px; color: var(--muted); margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.contactbar .btn { flex: none; padding: 0 20px; }

/* 工程商端「发客户」tab 里，同一块联系方式改成正文末尾的卡片：
   那一栏底部已经有「将此页面分享给客户」固定条和导航，三条一起吸底会打架 */
.contactbar.inline {
  position: static; margin: 0 18px 6px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 12px 15px;
}

/* ================= 产品卡（工程商端） ================= */
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.prod + .prod { margin-top: 12px; }
/* 产品图是 1:1 的方形海报，上下带产品名和卖点，裁成 16:9 会把字切掉 */
.prod-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  background: linear-gradient(150deg, #eaf4fd, #d8e8f7);
}
.prod-img.ph { display: flex; align-items: center; justify-content: center; color: #b6c8da; font-size: 13px; }
.prod-body { padding: 14px 15px 16px; }
.prod-body h3 { font-size: 16px; }
.prod-body .sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.prod-body .sum { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.65; }
/* 按钮压到底：价格是两行（媒体价 + 渠道价），居中会让按钮浮在两行之间，
   跟哪一行都不齐。底对齐后按钮落在渠道价那一行的下沿，读起来是一排。 */
/* 价格区照详情页（.pd-market / .pd-price / .pd-tag）的写法：
   媒体价一行，渠道价一行，字号按卡片缩小一档，结构不变。 */
.prod-buy { margin-top: 12px; }
.prod-market {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 12.5px; color: var(--red); letter-spacing: .01em;
}
.prod-market b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prod-market span { font-size: 11.5px; color: var(--muted); letter-spacing: 0; }
.prod-price {
  display: flex; align-items: baseline; gap: 2px; margin-top: 6px;
  font-size: 20px; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums; letter-spacing: -.3px;
}
.prod-price i { font-style: normal; font-size: 13px; font-weight: 500; margin-right: 1px; }
.prod-tag {
  position: relative; top: -3px; margin-left: 5px;
  font-size: 11px; font-weight: 500; letter-spacing: 0;
  color: var(--blue); background: var(--blue-l);
  border-radius: 999px; padding: 1.5px 7px;
}
/* 库存推到行末，和详情页一样贴右边 */
.prod-price .stock { margin-left: auto; font-size: 12.5px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
/* 操作条：查看详情在左、订货在右，同一行 */
.prod-acts {
  display: flex; align-items: center; gap: 10px;
  margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line);
}
.prod-acts .btn { margin-left: auto; }

/* 数量步进 */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.qty button {
  width: 38px; height: 38px; border: 0; background: #f6f8fb;
  font-size: 18px; color: var(--ink-2); cursor: pointer; line-height: 1;
}
.qty input {
  width: 52px; height: 38px; border: 0; text-align: center;
  font-size: 15px; font-weight: 600; font-family: inherit; color: var(--ink);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ================= 表格（后台） ================= */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.tbl th { font-size: 12.5px; color: var(--muted); font-weight: 600; background: #fafbfd; white-space: nowrap; }
.tbl td.num { font-variant-numeric: tabular-nums; text-align: right; }
.tbl tr:hover td { background: #fafcfe; }
.tbl .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ================= 后台布局 ================= */
.admin { max-width: 1180px; margin: 0 auto; padding: 0 20px 60px; }
.admin-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0; margin-bottom: 18px;
  background: rgba(244, 246, 249, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.admin-head h1 { font-size: 17px; }
.admin-head .who { font-size: 13px; color: var(--muted); }
.admin-head .grow { flex: 1; }
.tabs { display: flex; gap: 4px; margin-bottom: 18px; overflow-x: auto; }
.tabs button {
  border: 0; background: transparent; padding: 9px 15px; border-radius: 9px;
  font-size: 14px; font-family: inherit; color: var(--ink-2);
  cursor: pointer; white-space: nowrap;
}
.tabs button.on { background: #fff; color: var(--blue); font-weight: 600; box-shadow: var(--shadow); }
.panel { display: none; }
.panel.on { display: block; }
.box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.box h2 { font-size: 15px; margin-bottom: 14px; }
.kv { display: grid; grid-template-columns: 92px 1fr; gap: 8px 14px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* ================= 杂项 ================= */
.center { text-align: center; }
.mono { font-variant-numeric: tabular-nums; }
.dim { color: var(--muted); }
.sm { font-size: 13px; }
.xs { font-size: 12px; }
.mt6 { margin-top: 6px; } .mt10 { margin-top: 10px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.mb8 { margin-bottom: 8px; } .mb14 { margin-bottom: 14px; }
.hr { height: 1px; background: var(--line); margin: 14px 0; border: 0; }
.link-copy { word-break: break-all; font-size: 12.5px; color: var(--blue); }

/* 复制失败时摊开的整段文案，供长按手动复制 */
.copy-block {
  background: #f6f8fb; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; font-size: 13.5px; line-height: 1.8; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word; user-select: text;
}

/* 订单进度条 */
.steps { display: flex; margin: 16px 0 6px; }
.steps > div { flex: 1; text-align: center; position: relative; }
.steps > div::before {
  content: ''; position: absolute; top: 4px; left: -50%; width: 100%; height: 1.5px; background: #e3e9f0;
}
.steps > div:first-child::before { display: none; }
.steps > div.done::before { background: var(--blue); }
.steps i {
  position: relative; display: block; width: 9px; height: 9px; border-radius: 50%;
  margin: 0 auto; background: #dfe5ec;
}
.steps > div.done i { background: var(--blue); }
.steps b {
  display: block; margin-top: 5px; font-size: 10.5px; font-weight: 400;
  color: #a5b1bd; white-space: nowrap;
}
.steps > div.done b { color: var(--blue); }

/* ================= 预览模式返回键 =================
   只在 ?preview=1 时由 U.preview() 挂出来，正常访问分享页看不到。 */
.pv-back {
  position: fixed; top: 12px; left: 12px; z-index: 60;
  display: inline-flex; align-items: center; gap: 2px;
  height: 32px; padding: 0 13px 0 8px; border-radius: 16px;
  background: rgba(255, 255, 255, .94); color: #17324a;
  font-size: 13px; font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 12px rgba(10, 38, 63, .22);
}
.pv-back i { font-style: normal; font-size: 18px; line-height: 1; margin-top: -2px; }
.pv-on .hero { padding-top: 60px; }   /* 别让按钮压住头卡第一行字 */

@media (min-width: 520px) {
  .pv-back { left: max(12px, calc(50% - 228px)); }
}

@media (max-width: 720px) {
  .grid2 { grid-template-columns: 1fr; }
  .admin { padding: 0 14px 40px; }
  .tbl th, .tbl td { padding: 9px 10px; white-space: nowrap; }
}

/* ================= 产品详情页（选货 → 点产品） ================= */
.prod { cursor: pointer; }
/* 虚线分隔和上边距挪到 .prod-acts 上，这里只管文字本身 */
.prod-more {
  display: flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--blue);
}
.prod-more span { font-size: 15px; line-height: 1; margin-top: -1px; }

.pd { background: #fff; padding-bottom: 4px; }
/* 详情页很长，返回键要一路跟着：sticky 吸在顶栏下方，不脱离文档流，
   所以首屏位置和以前一样，不会因为改定位而让图集突然上移 */
.pd-back {
  position: sticky; top: 60px; z-index: 15;
  display: inline-flex; align-items: center; gap: 2px;
  margin: 10px 0 0 14px; padding: 5px 12px 5px 9px;
  font-size: 13px; color: var(--ink-2); text-decoration: none;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border: 1px solid rgba(0, 0, 0, .07); border-radius: 999px;
  box-shadow: 0 2px 10px rgba(15, 40, 70, .10);
}
.pd-back:active { background: #fff; }
.pd-gallery {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: 8px; background: var(--blue-l);
  -webkit-overflow-scrolling: touch;
}
.pd-gallery::-webkit-scrollbar { display: none; }
.pd-gallery img {
  flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; display: block; scroll-snap-align: start;
}

.pd-head { padding: 14px 16px 0; }
.pd-head h1 { font-size: 19px; line-height: 1.42; letter-spacing: -.2px; }
.pd-sub { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.pd-price {
  display: flex; align-items: baseline; gap: 2px; margin-top: 10px;
  font-size: 27px; font-weight: 800; letter-spacing: -.6px;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.pd-price .cur { font-size: 15px; font-weight: 600; margin-right: 1px; }
/* 媒体价：只在工程商端出现。给「京东在售价」一个明确出处，
   工程商拿去跟客户谈的时候，两个数字能对上话。 */
.pd-market {
  display: flex; align-items: baseline; gap: 6px; margin-top: 9px;
  font-size: 12.5px; color: var(--red); letter-spacing: .01em;
}
.pd-market b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pd-market span { font-size: 11.5px; color: var(--muted); letter-spacing: 0; }
.pd-tag {
  position: relative; top: -4px; margin-left: 5px;
  font-size: 11px; font-weight: 500; letter-spacing: 0;
  color: var(--blue); background: var(--blue-l);
  border-radius: 999px; padding: 1.5px 7px;
}
.pd-stock {
  margin-left: auto; font-size: 12.5px; font-weight: 400;
  color: var(--muted); letter-spacing: 0;
}
.pd-sum {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.7;
  margin-top: 8px; padding-bottom: 14px;
}

/* 每个板块用一条 8px 的底色隔开，长页面才有段落感 */
.pd-sec { padding: 16px 16px 18px; border-top: 8px solid var(--bg); }
.pd-sec h2 { font-size: 15px; margin-bottom: 12px; }

.pd-hl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-hl-cell {
  background: var(--blue-l); border-radius: 10px; padding: 11px 12px;
}
.pd-hl-cell b { display: block; font-size: 14px; font-weight: 700; color: var(--blue-d); }
.pd-hl-cell span { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.55; }

.pd-spec { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pd-spec-row { display: flex; border-bottom: 1px solid var(--line); }
.pd-spec-row:last-child { border-bottom: 0; }
.pd-spec-row dt {
  flex: 0 0 38%; padding: 10px 12px; background: #fafcfe;
  font-size: 13px; color: var(--muted);
  border-right: 1px solid var(--line);
}
.pd-spec-row dd { flex: 1; margin: 0; padding: 10px 12px; font-size: 13px; color: var(--ink); }

.pd-pack { list-style: none; margin: 0; padding: 0; }
.pd-pack li {
  position: relative; padding-left: 20px; font-size: 13.5px;
  color: var(--ink-2); line-height: 1.85;
}
.pd-pack li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 5px; height: 9px; border: solid var(--blue);
  border-width: 0 2px 2px 0; transform: rotate(42deg);
}

.pd-intro p { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.pd-intro p:last-child { margin-bottom: 0; }

/* 详情长图：宽度铺满、高度按原图走，不能裁 */
.pd-shots { border-top: 8px solid var(--bg); font-size: 0; }
.pd-shots img { width: 100%; display: block; }

.pd-bar-in { display: flex; align-items: center; gap: 12px; }
.pd-bar-price {
  flex: 1; min-width: 0; font-size: 22px; font-weight: 800;
  letter-spacing: -.4px; font-variant-numeric: tabular-nums;
}
.pd-bar-price i { font-style: normal; font-size: 13px; font-weight: 600; margin-right: 1px; }
.pd-bar-price span { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.pd-bar-in .btn { flex: none; padding: 11px 26px; }

/* 后台图片列表（图集 / 详情长图） */
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.thumb {
  position: relative; width: 86px; height: 86px;
  border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; background: #f4f7fa;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-x {
  position: absolute; top: 3px; right: 3px;
  width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(10, 20, 30, .58); color: #fff;
  font-size: 14px; line-height: 20px; cursor: pointer;
}
.thumb-mv { position: absolute; left: 0; right: 0; bottom: 0; display: flex; }
.thumb-mv button {
  flex: 1; border: 0; padding: 2px 0; cursor: pointer;
  background: rgba(10, 20, 30, .5); color: #fff; font-size: 13px; line-height: 1.4;
}

/* 落地页产品卡上的卖点小标签（详情页四宫格的浓缩版） */
.hl-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hl-mini span {
  font-size: 12px; line-height: 1.6; color: var(--blue-d);
  background: var(--blue-l); padding: 2px 9px; border-radius: 999px;
}

/* ================= 落地页产品块：产品信息 + 该产品的片子 =================
   两个产品各占一块，片子按 media.json 的 productId 分到对应块里 */
.pblock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 13px 14px 14px;
}
.pblock + .pblock { margin-top: 14px; }
.pb-top { display: flex; align-items: center; gap: 11px; }
/* 封面是 1:1 信息海报，缩到 72px 只剩个"是这套东西"的印象，别指望看清字；
   裁切偏上一点，留住产品主体，切掉底部那行"包邮/可开发票" */
.pb-thumb {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 14px;
  object-fit: cover; object-position: 50% 42%;
  display: block; background: linear-gradient(150deg, #eaf4fd, #d8e8f7);
}
.pb-thumb.ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; line-height: 1.3; color: #b6c8da; text-align: center; padding: 4px;
}
.pb-meta { min-width: 0; }
.pb-meta h3 { font-size: 16px; line-height: 1.35; }
.pb-meta .sub { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
/* 13px 时那句「烟感、空开、主机一次配齐，语音告警+微信通知+电话通知」正好差一个字折行，
   末行只剩「通知」两个字很难看；12.5px 在 375～430px 宽度下都能排成一行 */
.pb-sum { font-size: 12px; color: var(--ink-2); line-height: 1.62; margin-top: 10px; }
.pb-vid { margin-top: 13px; }
/* 卡里再套卡会像两层盒子，压掉阴影只留描边，靠留白分层 */
.pb-vid .vfeat { box-shadow: none; background: #fbfdff; }
.pb-vid .vcard { box-shadow: none; }
.pb-vid .vfeat.sm { background: #fff; }

/* 平台卡：两个白卡产品块之后的一次"提气"，深蓝底跟 hero 呼应。
   不塞进产品块的标签排——那排只有 4 个位置，且套装那 4 个是配置清单。 */
.pcard {
  background: linear-gradient(150deg, #0f5fb8 0%, #073a86 62%, #052c66 100%);
  border-radius: var(--radius); padding: 17px 16px 16px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 6px 20px rgba(6, 45, 110, .18);
}
.pc-badge {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em;
  color: #ffd66b; border: 1px solid rgba(255, 214, 107, .46);
  border-radius: 5px; padding: 1px 7px; margin-bottom: 9px;
}
.pcard h3 { font-size: 17.5px; letter-spacing: -.01em; }
.pc-key { margin: 8px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.pc-key em { font-style: normal; color: #ffd66b; }
.pc-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.62; color: rgba(255, 255, 255, .78); }
/* 平台截图：都是 16:9 横图，两列会糊成马赛克，一律单列铺满。
   截图本身是深色界面，压在深蓝卡上容易糊成一块，靠亮一点的描边 + 外阴影把它"端"起来 */
.pc-shots { display: grid; gap: 10px; margin-top: 13px; }
.pc-shots figure { margin: 0; }
.pc-shots img {
  width: 100%; display: block; border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .34); background: #061a33;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .3);
}
.pc-shots figcaption {
  margin-top: 5px; font-size: 11px; line-height: 1.4;
  color: rgba(255, 255, 255, .58); text-align: center;
}
