:root{
  --deep:#0B6B3A; --mid:#1E9B5C; --light:#57D68A;
  --ink:#3C4F46; --ink2:#7C8C83; --ink3:#A8B4AC;
  --line:rgba(11,107,58,.12);
  --glass:rgba(255,255,255,.62);
  --glass-b:rgba(255,255,255,.78);
  --shadow:0 8px 30px rgba(11,107,58,.10);
  --r:18px;
  --blue:#3B82F6; --green:#0E7A42; --orange:#F59E0B; --red:#DC2626; --grey:#9AA8A0;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang HK","Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(900px 500px at -10% -10%, rgba(87,214,138,.20), transparent 60%),
    radial-gradient(800px 480px at 110% 0%, rgba(11,107,58,.12), transparent 55%),
    #fff;
  min-height:100vh;-webkit-font-smoothing:antialiased;
}
.phone{
  max-width:480px;margin:0 auto;position:relative;min-height:100vh;
  padding-bottom:calc(74px + env(safe-area-inset-bottom));
  display:flex;flex-direction:column;
}
h1,h2,h3,p,ul,li,em,b,span{margin:0;font-style:normal;list-style:none}
button{font:inherit;color:inherit;border:0;background:none;cursor:pointer}
input,textarea,select{font:inherit;color:var(--ink);width:100%}
ul{padding:0}

/* ---------- 玻璃 ---------- */
.glass{
  background:var(--glass);
  -webkit-backdrop-filter:blur(18px) saturate(170%);
  backdrop-filter:blur(18px) saturate(170%);
  border:1px solid var(--glass-b);
  border-radius:var(--r);
  box-shadow:var(--shadow);
}
.pad{padding:14px}
.px12{padding-left:12px;padding-right:12px}
.px2{padding-left:2px;padding-right:2px}
.mt8{margin-top:8px}.mt12{margin-top:12px}.mb0{margin-bottom:0}
.pad-b{height:26px}.pad-xl{height:86px}

/* ---------- 頂欄 ---------- */
.topbar[hidden]{display:none}
.topbar{
  position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;
  padding:calc(10px + env(safe-area-inset-top)) 14px 10px;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.55));
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.tb-title{font-size:15.5px;font-weight:600;letter-spacing:.3px;color:var(--ink2)}
.tb-title.empty{visibility:hidden}
.tb-back{font-size:26px;line-height:1;width:32px;height:32px;border-radius:50%;color:var(--deep)}
.tb-back:active{background:rgba(11,107,58,.08)}
.tb-right{margin-left:auto;display:flex;gap:6px;align-items:center}
.icon-btn{
  position:relative;width:36px;height:36px;border-radius:50%;background:rgba(11,107,58,.08);
  color:var(--deep);display:grid;place-items:center;flex:0 0 auto;
}
.icon-btn svg{width:19px;height:19px}
.icon-btn.ghost{background:rgba(11,107,58,.06)}
.dot-badge{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:#EF4444;border:1.5px solid #fff}

/* ---------- 頁面 ---------- */
.stage{padding:12px 12px 0}
.phone.no-head .stage{padding-top:calc(14px + env(safe-area-inset-top))}
.page{display:none;animation:fade .28s ease}
.page.active{display:block}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---------- Hero ---------- */
.hero{
  padding:18px 18px 20px;margin-bottom:14px;color:#fff;border:0;min-height:190px;
  background:linear-gradient(135deg,rgba(11,107,58,.94),rgba(87,214,138,.88));
  display:flex;flex-direction:column;
}
.hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.hero-t{font-size:21px;font-weight:800;letter-spacing:1px}
.hero-s{font-size:12.5px;opacity:.92;margin-top:7px;line-height:1.6}
.hero-ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);flex:0 0 auto}
.hero-ic svg{width:28px;height:28px}
.hero-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:12px;font-size:11.5px;opacity:.92}
.hero-meta span{display:inline-flex;align-items:center;gap:5px}
.hero-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:auto;padding-top:16px}
.hero-quick button{
  display:flex;flex-direction:column;align-items:center;gap:5px;
  padding:9px 4px;border-radius:13px;font-size:11.5px;font-weight:600;color:#fff;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);
}
.hero-quick button svg{width:18px;height:18px;opacity:.95}
.hero-quick button:active{background:rgba(255,255,255,.28)}

/* ---------- 分段 / 標籤 ---------- */
.seg{display:flex;gap:4px;padding:4px;margin:12px 0}
.seg-i{flex:1;text-align:center;padding:9px 6px;border-radius:14px;font-size:13.5px;color:var(--ink2);font-weight:600;transition:.2s}
.seg-i.active{color:var(--deep);background:rgba(87,214,138,.14);border:1.5px solid var(--deep);font-weight:700;box-shadow:none}
.seg.mini{margin:8px 0 4px;background:rgba(11,107,58,.05);border-radius:14px}
.chips{display:flex;flex-wrap:wrap;gap:7px}
.chip{font-size:12.5px;padding:7px 12px;border-radius:999px;background:rgba(11,107,58,.06);color:var(--ink2);border:1px solid transparent;transition:.15s;white-space:nowrap}
.chip.active{background:rgba(87,214,138,.20);color:var(--deep);border-color:rgba(11,107,58,.28);font-weight:700}
.hscroll{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}
.tag-btn{font-size:12px;color:var(--deep);background:rgba(11,107,58,.07);padding:6px 10px;border-radius:999px;font-weight:600}
.pill-green{font-size:10.5px;padding:2px 7px;border-radius:999px;background:rgba(11,107,58,.10);color:var(--deep);font-weight:700}

/* ---------- 表單 ---------- */
.lbl{display:block;font-size:12.5px;color:var(--ink2);font-weight:600;margin-bottom:6px}
input,textarea,select{background:rgba(255,255,255,.85);border:1px solid var(--line);border-radius:13px;padding:11px 12px;font-size:14px;outline:none}
input:focus,textarea:focus,select:focus{border-color:var(--light);box-shadow:0 0 0 3px rgba(87,214,138,.18)}
textarea{resize:vertical;line-height:1.6}
select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink2) 50%),linear-gradient(135deg,var(--ink2) 50%,transparent 50%);background-position:calc(100% - 16px) 18px,calc(100% - 11px) 18px;background-size:5px 5px;background-repeat:no-repeat}
.input-grp{display:flex;align-items:center;background:rgba(255,255,255,.85);border:1px solid var(--line);border-radius:13px;overflow:hidden}
.input-grp .prefix{padding:0 11px;color:var(--deep);font-weight:700;font-size:13.5px;border-right:1px solid var(--line);align-self:stretch;display:flex;align-items:center}
.input-grp input{border:0;border-radius:0;background:transparent}
.grid3,.grid4{display:grid;gap:8px}
.grid3{grid-template-columns:repeat(3,1fr)}
.grid4{grid-template-columns:1fr 1fr;row-gap:8px}
.chk{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink2)}
.chk input{width:auto}
.row-between{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hint{font-size:11.5px;color:var(--ink3);line-height:1.6}
.notice{margin-top:10px;font-size:11.5px;line-height:1.7;color:#8a6d1f;background:rgba(245,158,11,.10);border:1px solid rgba(245,158,11,.25);padding:9px 11px;border-radius:12px}
.or-line{display:flex;align-items:center;gap:10px;margin:14px 0;color:var(--ink3);font-size:11.5px}
.or-line::before,.or-line::after{content:"";flex:1;height:1px;background:var(--line)}

/* ---------- 按鈕 ---------- */
.btn-primary{
  display:block;width:100%;padding:14px;border-radius:15px;color:#fff;font-weight:700;font-size:15px;
  background:linear-gradient(135deg,var(--deep),var(--light));box-shadow:0 10px 24px rgba(11,107,58,.28);margin-top:12px;transition:.15s;
}
#page-query .seg{margin-top:20px}
#page-query .glass.pad{margin-top:14px}
#btnQuery{display:block;margin:14px 14px 0 auto;width:55%;padding:11px 0;font-size:14px;font-weight:600;letter-spacing:2px;border-radius:14px;box-shadow:0 6px 16px rgba(11,107,58,.22)}
#page-query .row-between,#page-query #resultList{margin-top:14px}
/* 输入区一眼可见：容器深绿描边 + 输入框实底 */
#mode-no,#mode-id{border:1.5px solid rgba(11,107,58,.34);background:rgba(255,255,255,.86)}
#mode-no textarea,#mode-id input{background:#fff;border:1.5px solid rgba(11,107,58,.22)}
#mode-id .input-grp{border:1.5px solid rgba(11,107,58,.22);background:#fff}
input::placeholder,textarea::placeholder{color:#C3CDC6}
/* 客服：聊天区顶满（注意：必须限定 .active，否则会盖掉 .page{display:none}） */
#page-cs:not(.active){display:none}
#page-cs.active{display:flex;flex-direction:column;height:calc(100vh - 96px - env(safe-area-inset-bottom));padding-bottom:4px}
#page-cs .cs-bar{flex:0 0 auto;margin-bottom:8px}
#page-cs .chatbox{flex:1;height:auto;min-height:0;margin:0 0 8px}
#page-cs .chat-input{margin-top:0}
.chat-img{max-width:100%;border-radius:12px;display:block;margin-top:4px}
.msg .who{display:block;font-size:10.5px;color:var(--ink3);margin-bottom:3px}
.btn-primary:active{transform:scale(.985)}
.btn-primary.btn-sm{padding:11px;font-size:13.5px;margin-top:12px;box-shadow:0 6px 16px rgba(11,107,58,.22)}
.btn-ghost{padding:13px 20px;border-radius:15px;font-weight:700;font-size:14.5px;background:rgba(11,107,58,.07);color:var(--deep);border:1px solid var(--line)}
.btn-locate{
  display:flex;align-items:center;justify-content:center;gap:7px;width:100%;padding:12px;border-radius:14px;margin-bottom:12px;
  font-size:13.5px;font-weight:700;color:var(--deep);background:rgba(87,214,138,.14);border:1px dashed rgba(11,107,58,.35);
}

/* ---------- 投寄：四大容器 ---------- */
.cats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cat{padding:14px;display:flex;flex-direction:column;gap:12px;min-height:214px}
.cat-head{display:flex;align-items:center;gap:9px}
.cat-ic{
  width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto;
  background:linear-gradient(135deg,rgba(11,107,58,.12),rgba(87,214,138,.20));color:var(--deep);
}
.cat-ic svg{width:21px;height:21px}
.cat-ic.sm{width:34px;height:34px;border-radius:11px}
.cat-txt b{display:block;font-size:15.5px;font-weight:800;letter-spacing:.5px}
.cat-txt em{display:block;font-size:10.5px;color:var(--ink3);margin-top:3px}
.tagrow{display:flex;flex-wrap:wrap;gap:6px}
.tchip{
  display:inline-flex;align-items:center;gap:4px;font-size:10.5px;padding:4px 8px;border-radius:8px;
  background:rgba(11,107,58,.06);color:var(--ink2);border:1px solid rgba(11,107,58,.08);
}
.tchip svg{width:11px;height:11px;color:var(--deep)}
.cat .btn-sm{
  margin-top:auto;align-self:flex-end;width:auto;padding:8px 16px;font-size:12.5px;font-weight:500;
  border-radius:999px;box-shadow:0 4px 12px rgba(11,107,58,.18);letter-spacing:.5px;
}
/* 四大容器各自点缀色 */
.cat[data-cat="mainland"] .cat-ic{background:linear-gradient(135deg,rgba(59,130,246,.14),rgba(96,165,250,.24));color:#2563EB}
.cat[data-cat="mainland"] .tchip svg{color:#2563EB}
.cat[data-cat="intl"] .cat-ic{background:linear-gradient(135deg,rgba(124,58,237,.14),rgba(167,139,250,.24));color:#7C3AED}
.cat[data-cat="intl"] .tchip svg{color:#7C3AED}
.cat[data-cat="special"] .cat-ic{background:linear-gradient(135deg,rgba(234,88,12,.14),rgba(251,146,60,.24));color:#EA580C}
.cat[data-cat="special"] .tchip svg{color:#EA580C}
.qk:nth-child(1) svg{color:#0E7A42}
.qk:nth-child(2) svg{color:#2563EB}
.qk:nth-child(3) svg{color:#EA580C}
.qk:nth-child(4) svg{color:#7C3AED}

/* ---------- 查詢結果 ---------- */
.rc{padding:13px 14px;margin-bottom:10px}
.rc-top{display:flex;gap:11px;align-items:flex-start}
.rc-main{flex:1;min-width:0}
.rc-no{font-size:15px;font-weight:800;letter-spacing:.3px}
.rc-sub{font-size:11.5px;color:var(--ink3);margin-top:4px}
.rc-last{font-size:13px;color:var(--ink2);margin-top:8px;line-height:1.55}
.rc-acts{display:flex;gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid var(--line)}
.rc-acts button{
  flex:1;display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 4px;border-radius:12px;
  font-size:12.5px;font-weight:600;background:rgba(11,107,58,.06);color:var(--deep);
}
.rc-acts button.main{background:linear-gradient(135deg,var(--deep),var(--light));color:#fff;box-shadow:0 6px 14px rgba(11,107,58,.22)}
.rc-acts svg{width:14px;height:14px}
.tag{font-size:12.5px;padding:4px 10px;border-radius:999px;font-weight:700;white-space:nowrap}
.t-blue{background:rgba(59,130,246,.12);color:var(--blue)}
.t-green{background:rgba(14,122,66,.12);color:var(--green)}
.t-orange{background:rgba(245,158,11,.14);color:#B45309}
.t-red{background:rgba(220,38,38,.12);color:var(--red)}
.t-grey{background:rgba(154,168,160,.16);color:#5c6b63}
.ic{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:13px;background:rgba(11,107,58,.08);color:var(--deep);font-size:15px;font-weight:800;flex:0 0 auto;font-style:normal}
.ic.warn{background:rgba(220,38,38,.10);color:var(--red)}

/* ---------- 詳情 ---------- */
.status-card{
  border-radius:var(--r);padding:18px;color:#fff;margin-bottom:12px;
  background:linear-gradient(135deg,var(--deep),var(--light));box-shadow:0 14px 34px rgba(11,107,58,.30);
}
.sc-top{display:flex;justify-content:space-between;align-items:flex-start}
.sc-status{font-size:24px;font-weight:800;letter-spacing:1px}
.sc-eta{font-size:12.5px;opacity:.92;margin-top:6px}
.sc-ico svg{width:34px;height:34px;opacity:.9}
.sc-meta{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.25);display:grid;gap:7px}
.sc-meta div{display:flex;justify-content:space-between;font-size:12.5px}
.sc-meta span{opacity:.82}
.steps{display:flex;margin-top:16px}
.stp{flex:1;text-align:center}
.stp i{display:block;width:11px;height:11px;border-radius:50%;background:rgba(255,255,255,.35);margin:0 auto 6px}
.stp em{font-size:10.5px;opacity:.8}
.stp.done i{background:#fff}
.stp.cur i{background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.28)}
.stp.cur em{opacity:1;font-weight:700}
.mapwrap{position:relative;margin-top:10px;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.amapbox{position:absolute;inset:0;display:none;background:#eef6f0}
.mapwrap.amap-on .amapbox{display:block}
.mapwrap.amap-on .mapsvg{display:none}
.mapwrap.amap-on .map-tag{display:none}
.mapsvg{display:block;width:100%;height:170px}
.map-tag{position:absolute;font-size:10.5px;padding:3px 8px;border-radius:8px;background:rgba(255,255,255,.92);box-shadow:0 3px 10px rgba(0,0,0,.12);color:var(--ink2)}
.map-a{left:10px;bottom:10px}
.map-b{right:10px;top:10px;color:var(--deep);font-weight:700}
.courier{display:flex;align-items:center;gap:11px}
.cv-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--deep),var(--light))}
.cv-info{flex:1;min-width:0}
.cv-name{font-size:13.5px;font-weight:700}
.cv-sub{font-size:11.5px;color:var(--ink3);margin-top:3px}
.cv-acts{display:flex;gap:8px}
.timeline{margin-top:12px;position:relative;padding-left:22px}
.timeline li{position:relative;padding-bottom:18px}
.timeline li:last-child{padding-bottom:0}
.timeline li::before{content:"";position:absolute;left:-16px;top:4px;width:9px;height:9px;border-radius:50%;background:var(--light);box-shadow:0 0 0 4px rgba(87,214,138,.18)}
.timeline li.err::before{background:var(--red);box-shadow:0 0 0 4px rgba(220,38,38,.15)}
.timeline li:not(:last-child)::after{content:"";position:absolute;left:-12px;top:16px;bottom:-2px;width:1.5px;background:var(--line)}
.tl-row{display:flex;justify-content:space-between;gap:10px}
.tl-desc{font-size:13px;font-weight:600;line-height:1.5}
.tl-time{font-size:11px;color:var(--ink3);white-space:nowrap}
.tl-loc{font-size:11.5px;color:var(--ink3);margin-top:3px}
.tl-first .tl-desc{color:var(--deep)}
.kv{margin-top:10px;display:grid;gap:9px}
.kv li{display:flex;justify-content:space-between;gap:14px;font-size:13px}
.kv span{color:var(--ink3);white-space:nowrap}
.kv b{text-align:right;font-weight:500;line-height:1.5;color:#4A5D54}
.qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
.qa{display:flex;align-items:center;gap:8px;padding:12px;border-radius:14px;background:rgba(11,107,58,.06);font-size:13px;font-weight:600;color:var(--deep);text-align:left}
.qa svg{width:17px;height:17px;flex:0 0 auto}

/* ---------- 投寄表單 ---------- */
.type-banner{display:flex;align-items:center;gap:11px;margin-bottom:12px}
.type-banner b{display:block;font-size:15px;font-weight:800}
.type-banner em{display:block;font-size:11px;color:var(--ink3);margin-top:3px}
.stepper{display:flex;padding:12px 8px;margin-bottom:12px}
.sp{flex:1;text-align:center;position:relative}
.sp i{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:12px;font-weight:700;background:rgba(11,107,58,.10);color:var(--deep)}
.sp em{display:block;font-size:10.5px;color:var(--ink3);margin-top:5px}
.sp.active i{background:linear-gradient(135deg,var(--deep),var(--light));color:#fff}
.sp.active em{color:var(--deep);font-weight:700}
.sp:not(:last-child)::after{content:"";position:absolute;top:12px;left:calc(50% + 16px);right:calc(-50% + 16px);height:1.5px;background:var(--line)}
.loc-state{margin:-4px 0 12px;font-size:12px;color:var(--deep);background:rgba(87,214,138,.12);padding:9px 11px;border-radius:12px;line-height:1.6}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13.5px;position:relative}
.switch-row:last-of-type{border-bottom:0}
.switch-row span{font-weight:600}
.switch-row em{display:block;font-size:11px;color:var(--ink3);font-weight:400;margin-top:3px}
.sw{position:absolute;opacity:0;pointer-events:none}
.switch-row i{width:46px;height:27px;border-radius:999px;background:rgba(154,168,160,.35);position:relative;transition:.2s;flex:0 0 auto}
.switch-row i::after{content:"";position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.sw:checked ~ i{background:linear-gradient(135deg,var(--deep),var(--light))}
.sw:checked ~ i::after{transform:translateX(19px)}
.fee-preview{background:linear-gradient(135deg,rgba(11,107,58,.07),rgba(87,214,138,.10));border-radius:14px;padding:13px}
.fp-row{display:flex;justify-content:space-between;align-items:baseline;font-size:13.5px}
.fp-row b{font-size:19px;color:var(--deep);font-weight:800}
.fp-note{font-size:11px;color:var(--ink3);margin-top:5px}
.ship-nav{display:flex;gap:10px;margin-top:12px}
.ship-nav .btn-primary{margin-top:0;flex:1}

/* ---------- 客服 ---------- */
.chatbox{
  padding:14px;height:calc(100vh - 330px);min-height:260px;overflow-y:auto;
  display:flex;flex-direction:column;gap:10px;margin-top:4px;margin-bottom:10px;
}
.msg{max-width:80%;padding:10px 13px;border-radius:16px;font-size:13.5px;line-height:1.7}
.msg.bot{background:rgba(11,107,58,.07);border-bottom-left-radius:5px;align-self:flex-start}
.msg.me{background:linear-gradient(135deg,var(--deep),var(--light));color:#fff;border-bottom-right-radius:5px;align-self:flex-end}
.msg time{display:block;font-size:10px;opacity:.6;margin-top:5px}
.msg ol{margin:6px 0 0;padding-left:18px}
.msg ol li{list-style:decimal;font-size:13px;line-height:1.9}
.chat-input{display:flex;gap:8px;padding:8px 8px 8px 12px;align-items:flex-end;margin-top:10px}
.chat-input textarea{border:0;background:transparent;resize:none;min-height:52px;max-height:96px;padding:6px 0;line-height:1.5}
.send{width:42px;height:42px;border-radius:14px;color:#fff;background:linear-gradient(135deg,var(--deep),var(--light));display:grid;place-items:center;flex:0 0 auto;box-shadow:0 6px 16px rgba(11,107,58,.26)}
.send svg{width:20px;height:20px}

/* ---------- 我的 ---------- */
.quick-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.qk{display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 4px;font-size:11px;color:var(--ink2);font-weight:600}
.qk svg{width:22px;height:22px;color:var(--deep)}
.oc{padding:13px 0;border-bottom:1px solid var(--line)}
.oc:last-child{border-bottom:0}
.oc-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.oc-no{font-size:13.5px;font-weight:700}
.oc-mid{font-size:12.5px;color:var(--ink2);margin-top:6px;line-height:1.55}
.oc-bot{display:flex;justify-content:space-between;align-items:center;margin-top:9px}
.oc-amt{font-size:14px;font-weight:800;color:var(--deep)}
.stage-bar{display:flex;margin-top:14px}
.sb{flex:1;text-align:center;position:relative}
.sb i{display:block;width:10px;height:10px;border-radius:50%;background:rgba(11,107,58,.15);margin:0 auto 6px}
.sb em{font-size:10.5px;color:var(--ink3)}
.sb:not(:last-child)::after{content:"";position:absolute;top:5px;left:calc(50% + 9px);right:calc(-50% + 9px);height:1.5px;background:var(--line)}
.sb.done i{background:var(--light)}
.sb.cur i{background:var(--deep);box-shadow:0 0 0 4px rgba(11,107,58,.14)}
.sb.cur em{color:var(--deep);font-weight:700}
.as-card{margin-top:12px;padding:13px;border-radius:14px;background:linear-gradient(135deg,rgba(11,107,58,.06),rgba(87,214,138,.10))}
.as-card .row-between{font-size:13px;margin-bottom:8px}
.as-card b{font-weight:700}

/* ---------- 子頁 ---------- */
.list-card{padding:4px 6px;margin-top:12px}
.li{display:flex;align-items:center;gap:10px;width:100%;padding:14px 10px;border-bottom:1px solid var(--line);text-align:left}
.li:last-child{border-bottom:0}
.li span{font-size:14px;font-weight:600}
.li em{font-size:11.5px;color:var(--ink3);margin-left:auto;text-align:right}
.li i{color:var(--ink3);font-size:18px}
.store-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.si{padding:12px;border-radius:16px}
.si-img{height:88px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(11,107,58,.10),rgba(87,214,138,.16));margin-bottom:9px;color:var(--deep);font-weight:800;font-size:26px}
.si-name{font-size:13.5px;font-weight:700}
.si-sub{font-size:11px;color:var(--ink3);margin-top:4px}
.si-price{font-size:14px;font-weight:800;color:var(--deep);margin-top:7px}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item:last-child{border-bottom:0}
.faq-q{display:flex;justify-content:space-between;gap:10px;width:100%;padding:14px 2px;font-size:13.5px;font-weight:600;text-align:left}
.faq-q i{color:var(--ink3);transition:.2s;font-size:15px}
.faq-item.open .faq-q i{transform:rotate(180deg)}
.faq-a{display:none;font-size:12.5px;color:var(--ink2);line-height:1.8;padding:0 2px 14px}
.faq-item.open .faq-a{display:block}
.msg-item{display:flex;gap:11px;padding:13px 2px;border-bottom:1px solid var(--line)}
.msg-item:last-child{border-bottom:0}
.msg-dot{width:8px;height:8px;border-radius:50%;background:var(--light);margin-top:6px;flex:0 0 auto}
.msg-t{font-size:13.5px;font-weight:700}
.msg-b{font-size:12.5px;color:var(--ink2);margin-top:5px;line-height:1.65}
.msg-time{font-size:11px;color:var(--ink3);margin-top:6px}

/* ---------- 售後表單 ---------- */
.upload-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.upload{
  display:flex;align-items:center;justify-content:center;gap:7px;padding:14px;border-radius:14px;
  border:1px dashed rgba(11,107,58,.35);background:rgba(87,214,138,.10);color:var(--deep);font-size:13px;font-weight:700;
}
.upload svg{width:17px;height:17px}
.thumbs{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.thumbs img{width:66px;height:66px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.note-box{margin-top:12px;font-size:11.5px;line-height:1.85;color:var(--ink2);background:rgba(11,107,58,.06);border-radius:13px;padding:11px 12px}
.note-box b{color:var(--deep)}
.thanks{text-align:center;padding:22px 16px}
.thanks .ok{width:64px;height:64px;border-radius:50%;margin:0 auto;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--deep),var(--light));box-shadow:0 10px 26px rgba(11,107,58,.3)}
.thanks .ok svg{width:32px;height:32px}
.thanks h3{font-size:19px;font-weight:800;margin-top:14px}
.thanks p{font-size:12.5px;color:var(--ink2);margin-top:8px;line-height:1.7}
.ticket-no{
  margin:14px auto 0;padding:12px;border-radius:14px;background:rgba(11,107,58,.06);
  font-size:20px;font-weight:800;color:var(--deep);letter-spacing:1.5px;
}

/* ---------- 底部導航 ---------- */
.tabbar{
  position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:480px;z-index:40;
  display:flex;padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.78);
  -webkit-backdrop-filter:blur(20px) saturate(180%);backdrop-filter:blur(20px) saturate(180%);
  border-top:1px solid var(--line);
}
.tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;border-radius:14px;transition:.2s}
.tico{width:22px;height:22px;display:block;color:#9AA8A0;transition:.2s}
.tab em{font-size:10.5px;color:var(--ink3)}
.tab.active{background:linear-gradient(135deg,rgba(11,107,58,.10),rgba(87,214,138,.16))}
.tab.active .tico{color:var(--deep);transform:translateY(-1px)}
.tab.active em{color:var(--deep);font-weight:700}

/* ---------- 詳情操作條 ---------- */
.sticky-actions[hidden]{display:none}
.phone.no-tab{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
.sticky-actions{
  position:fixed;left:50%;transform:translateX(-50%);bottom:calc(74px + env(safe-area-inset-bottom));
  width:100%;max-width:480px;display:flex;gap:8px;padding:8px 12px;z-index:35;
}
.phone.no-tab .sticky-actions{bottom:calc(10px + env(safe-area-inset-bottom));padding:8px 12px 0}
.sa{
  flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 6px;border-radius:14px;
  font-size:13.5px;font-weight:700;background:rgba(255,255,255,.92);color:var(--deep);
  border:1px solid var(--line);box-shadow:0 6px 18px rgba(11,107,58,.12);
}
.sa svg{width:16px;height:16px}
.sa.primary{color:#fff;border:0;background:linear-gradient(135deg,var(--deep),var(--light))}

/* ---------- Toast / Sheet ---------- */
.toast{
  position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);z-index:99;
  background:rgba(15,46,31,.90);color:#fff;font-size:13.5px;padding:12px 18px;border-radius:14px;
  opacity:0;pointer-events:none;transition:.22s;max-width:76vw;text-align:center;line-height:1.6;
}
.toast.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
.sheet{position:fixed;inset:0;background:rgba(15,46,31,.35);z-index:90;display:none;align-items:flex-end;justify-content:center}
.sheet.on{display:flex}
.sheet-inner{width:100%;max-width:480px;border-radius:22px 22px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);max-height:86vh;overflow-y:auto}

body.no-anim .page{animation:none!important}

/* ---------- 客服（kefu 面板對接） ---------- */
.cs-bar{display:flex;align-items:center;gap:11px;padding:13px 14px;margin-bottom:10px;border:0;color:#fff;
  background:linear-gradient(135deg,var(--deep),var(--light));box-shadow:0 10px 26px rgba(11,107,58,.26)}
.cs-bar .cs-avatar{background:rgba(255,255,255,.22);color:#fff;border:1px solid rgba(255,255,255,.35)}
.cs-bar .cs-name{color:#fff}
.cs-bar .cs-state{color:rgba(255,255,255,.88)}
.cs-links{display:flex;gap:7px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:none}
.cs-links::-webkit-scrollbar{display:none}
.cs-frame{
  width:100%;height:calc(100vh - 210px - env(safe-area-inset-bottom));min-height:420px;
  border:0;border-radius:18px;background:#fff;box-shadow:var(--shadow);
}

/* ---------- 彩色点缀 ---------- */
.cico{display:inline-flex;align-items:center;margin-right:5px;flex:0 0 auto}
.cico svg{width:13px;height:13px}
#carrierChips .chip{display:inline-flex;align-items:center;padding-left:9px}
.svc-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:14px}
.svc{padding:12px 6px;border-radius:15px;text-align:center;background:var(--glass);border:1px solid var(--glass-b);box-shadow:var(--shadow)}
.svc i{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;margin:0 auto 7px}
.svc i svg{width:18px;height:18px}
.svc span{font-size:10.5px;color:var(--ink2);display:block;line-height:1.35}
.svc.b1 i{background:rgba(14,122,66,.14);color:#0E7A42}
.svc.b2 i{background:rgba(37,99,235,.14);color:#2563EB}
.svc.b3 i{background:rgba(234,88,12,.14);color:#EA580C}
.svc.b4 i{background:rgba(124,58,237,.14);color:#7C3AED}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
#meHero{margin-bottom:12px}
#meHero .hero-stats{margin-top:12px}
#meHero .hero-quick{margin-top:12px;padding-top:0}
#meHero .hero-stats div{cursor:pointer}
.hero-stats div{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.26);border-radius:13px;padding:9px 6px;text-align:center}
.hero-stats b{display:block;font-size:16px;font-weight:800;letter-spacing:.5px}
.hero-stats span{display:block;font-size:10.5px;opacity:.9;margin-top:3px}
.attach{width:38px;height:38px;border-radius:13px;background:rgba(11,107,58,.08);color:var(--deep);display:grid;place-items:center;flex:0 0 auto}
.attach svg{width:19px;height:19px}
.cs-bar .cs-avatar{width:38px;height:38px;font-size:11.5px}
.cs-bar .cs-info{flex:1;min-width:0}
.cs-bar .cs-name{font-size:14px;font-weight:700}
.cs-bar .cs-state{font-size:11px;color:var(--ink3);margin-top:3px;display:flex;align-items:center;gap:5px}

/* 我的页绿卡：无标题 + 副标题放大 */
#meHero .hero-s.big{font-size:15px;font-weight:600;letter-spacing:.3px;margin-top:0}
#meHero .hero-top{align-items:center}

.cs-bar .cs-avatar{display:grid;place-items:center;border-radius:50%}
.cs-bar .cs-avatar svg{width:21px;height:21px;color:#fff}
