/* 暖阳 · 家属端 H5 样式
 * 由 index.html 内联样式抽出，按区块顺序保留：变量 → 骨架 → 首页 → 下单 → 会员 → 求助
 */
:root{
  --brand:#2B4A6B; --brand-d:#1F3A57; --brand-l:#E8EEF4; --brand-glow:rgba(43,74,107,.16);
  --ink:#141A18; --ink-2:#1C2421; --txt:#1A201E; --sub:#5B645F; --mute:#8B948D;
  --bg:#F5F3EE; --card:#FFFFFF; --line:#E4DFD3; --line-2:#EFEBE1;
  --ok:#2B4A6B; --ok-bg:#E8EEF4; --warn:#94662A; --warn-bg:#F7F0E2; --bad:#8A3A33; --bad-bg:#F6EAE8;
  --live:#A8433A; --r:16px; --r-sm:12px; --r-xs:8px;
  --sh-1:0 1px 2px rgba(16,24,40,.05); --sh-2:0 6px 20px rgba(16,24,40,.08); --sh-3:0 14px 40px rgba(16,24,40,.14);
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro SC","PingFang SC","Segoe UI","Microsoft YaHei",sans-serif;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;background:var(--bg);color:var(--txt);font:15px/1.55 var(--sans);
  -webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums;overscroll-behavior-y:none}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
svg{display:block}
.app{max-width:520px;margin:0 auto;min-height:100vh;background:var(--bg);position:relative}

/* ---------- 通用 ---------- */
.px{padding-left:16px;padding-right:16px}
.card{background:var(--card);border-radius:var(--r);box-shadow:var(--sh-1)}
.sec{margin-top:18px}
.sec-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.sec-h h2{margin:0;font-size:17px;font-weight:600;letter-spacing:-.01em}
.sec-h a,.sec-h .more{font-size:13px;color:var(--sub);display:flex;align-items:center;gap:2px}
.pill{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 9px;border-radius:11px;
  font-size:11px;font-weight:500;letter-spacing:.01em}
.pill.ok{background:var(--ok-bg);color:var(--ok)}
.pill.warn{background:var(--warn-bg);color:var(--warn)}
.pill.bad{background:var(--bad-bg);color:var(--bad)}
.pill.gray{background:#F2F4F7;color:var(--sub)}
.pill.brand{background:var(--brand-l);color:var(--brand-d)}
.dot{width:6px;height:6px;border-radius:50%;background:currentColor}
.btn{display:flex;align-items:center;justify-content:center;gap:6px;height:48px;padding:0 20px;
  border-radius:14px;background:var(--ink);color:#fff;font-size:16px;font-weight:600;letter-spacing:.01em;
  transition:transform .12s ease,opacity .12s}
.btn:active{transform:scale(.985)}
.btn.brand{background:linear-gradient(135deg,#567E9E,#1F3A57)}
.btn.ghost{background:#fff;color:var(--txt);border:1px solid var(--line);font-weight:500}
.btn.sm{height:36px;padding:0 14px;font-size:13.5px;border-radius:10px;font-weight:500}
.btn.block{width:100%}
.btn[disabled]{opacity:.55}
.muted{color:var(--sub)}
.tiny{font-size:12px;color:var(--mute);line-height:1.6}
.empty{background:#fff;border-radius:var(--r);padding:34px 20px;text-align:center;box-shadow:var(--sh-1)}
.empty b{display:block;font-size:15px;margin-bottom:6px}
.empty span{font-size:13px;color:var(--mute)}
.hidden{display:none !important}

/* ---------- 顶部 ---------- */
.nav{position:sticky;top:0;z-index:20;background:rgba(245,246,248,.92);
  backdrop-filter:saturate(1.6) blur(18px);border-bottom:1px solid rgba(16,24,40,.06)}
.nav .in{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 9px}
.nav .brand{display:flex;align-items:center;gap:9px}
.nav .logo{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#567E9E,var(--brand-d));
  color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;letter-spacing:.02em;
  box-shadow:0 4px 10px rgba(43,74,107,.26)}
.nav .brand b{font-size:16.5px;font-weight:600;letter-spacing:.01em}
.nav .brand span{display:block;font-size:9.5px;color:var(--mute);letter-spacing:.18em}
.nav .rt{display:flex;align-items:center;gap:10px}
.icon-btn{width:34px;height:34px;border-radius:11px;background:#fff;box-shadow:var(--sh-1);
  display:flex;align-items:center;justify-content:center;color:var(--ink);position:relative}
.icon-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.icon-btn .dot-red{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:var(--live);
  box-shadow:0 0 0 2px #fff}

/* ---------- hero ---------- */
.hero{margin:12px 16px 0;border-radius:20px;overflow:hidden;position:relative;color:#fff;
  background:linear-gradient(135deg,#211B13 0%,#17130E 55%,#2A2216 100%);box-shadow:var(--sh-3)}
.hero:before{content:"";position:absolute;right:-40px;top:-60px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle,rgba(194,144,58,.38),transparent 66%)}
.hero:after{content:"";position:absolute;left:-30px;bottom:-70px;width:180px;height:180px;border-radius:50%;
  background:radial-gradient(circle,rgba(14,122,95,.24),transparent 70%)}
.hero .in{position:relative;z-index:1;padding:18px 18px 16px}
.hero .tag{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:11px;
  background:rgba(255,255,255,.12);font-size:11px;letter-spacing:.06em;color:#F4E6CB}
.hero h1{margin:12px 0 0;font-size:26px;line-height:1.35;font-weight:600;letter-spacing:-.01em}
.hero h1 em{font-style:normal;color:#E7BE7C}
.hero p{margin:8px 0 0;font-size:13px;color:rgba(255,255,255,.62);line-height:1.6}
.hero .stats{display:flex;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1)}
.hero .stats div{flex:1}
.hero .stats b{display:block;font-size:19px;font-weight:600}
.hero .stats span{font-size:10.5px;color:rgba(255,255,255,.5);letter-spacing:.04em}

/* ---------- 八宫格 ---------- */
.grid8{display:grid;grid-template-columns:repeat(4,1fr);gap:6px 4px;padding:14px 6px 8px}
.grid8 a{padding:8px 2px 10px;text-align:center;border-radius:12px}
.grid8 a:active{background:#F7F8FA}
.grid8 .ic{width:46px;height:46px;margin:0 auto 7px;border-radius:15px;display:flex;align-items:center;justify-content:center;
  background:var(--brand-l)}
.grid8 .ic svg{width:23px;height:23px;stroke:var(--brand-d);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.grid8 a:nth-child(2) .ic{background:#EAF3FF}.grid8 a:nth-child(2) .ic svg{stroke:#1D4ED8}
.grid8 a:nth-child(3) .ic{background:#FFF1E8}.grid8 a:nth-child(3) .ic svg{stroke:#C2410C}
.grid8 a:nth-child(4) .ic{background:#EAF7F0}.grid8 a:nth-child(4) .ic svg{stroke:#0E7A5F}
.grid8 a:nth-child(5) .ic{background:#F3EEFF}.grid8 a:nth-child(5) .ic svg{stroke:#6D28D9}
.grid8 a:nth-child(6) .ic{background:#FEF0F3}.grid8 a:nth-child(6) .ic svg{stroke:#BE123C}
.grid8 a:nth-child(7) .ic{background:#EFF6FF}.grid8 a:nth-child(7) .ic svg{stroke:#0369A1}
.grid8 a:nth-child(8) .ic{background:#F2F4F7}.grid8 a:nth-child(8) .ic svg{stroke:#475467}
.grid8 b{display:block;font-size:12px;font-weight:500;color:var(--txt)}

/* ---------- 服务卡（推荐位） ---------- */
.hscroll{display:flex;gap:12px;overflow-x:auto;padding:2px 16px 4px;scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}
.svc-card{flex:none;width:168px;background:#fff;border-radius:var(--r);box-shadow:var(--sh-1);overflow:hidden}
.svc-card .thumb{height:96px;position:relative;display:flex;align-items:flex-end;padding:10px;
  background:linear-gradient(135deg,#F4E7D2,#E4D3B7)}
.svc-card:nth-child(2) .thumb{background:linear-gradient(135deg,#DCEBE6,#C6DED7)}
.svc-card:nth-child(3) .thumb{background:linear-gradient(135deg,#E8E4F5,#D5CFEA)}
.svc-card .thumb span{font-size:19px;font-weight:600;color:#3A2E1C;letter-spacing:.02em}
.svc-card .bd{padding:10px 12px 12px}
.svc-card .nm{font-size:14px;font-weight:600;line-height:1.4}
.svc-card .ds{font-size:11.5px;color:var(--sub);margin-top:3px;height:32px;overflow:hidden}
.svc-card .ft{display:flex;align-items:baseline;justify-content:space-between;margin-top:8px}
.svc-card .pr{font-size:17px;font-weight:600;color:var(--brand-d)}
.svc-card .pr small{font-size:11px;font-weight:400;color:var(--mute);margin-left:2px}
.svc-card .go{font-size:11.5px;color:var(--sub)}

/* ---------- 进行中订单卡 ---------- */
.live-card{margin:0 16px;background:linear-gradient(135deg,#1B1710,#100E0A);border-radius:18px;color:#fff;
  padding:16px 16px 14px;box-shadow:var(--sh-2);position:relative;overflow:hidden}
.live-card:before{content:"";position:absolute;right:-30px;top:-40px;width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,rgba(194,144,58,.3),transparent 70%)}
.live-card .top-row{display:flex;align-items:center;justify-content:space-between;font-size:11.5px;
  color:rgba(255,255,255,.55);position:relative;z-index:1}
.live-card .lt{display:flex;align-items:center;gap:6px;color:#F0A99B;letter-spacing:.04em}
.live-card .lt i{width:6px;height:6px;border-radius:50%;background:var(--live);box-shadow:0 0 0 3px rgba(192,57,43,.2);font-style:normal}
.live-card .who{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin-top:12px}
.live-card .av{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:#F4E6CB}
.live-card .who b{display:block;font-size:16px;font-weight:600}
.live-card .who span{font-size:12px;color:rgba(255,255,255,.6)}
.live-card .acts{display:flex;gap:9px;margin-top:14px;position:relative;z-index:1}
.live-card .acts .btn{flex:1;height:40px;font-size:14px;border-radius:12px;background:rgba(255,255,255,.1);color:#fff;font-weight:500}
.live-card .acts .btn.solid{background:#F6F2E8;color:#14100A;font-weight:600}
.live-card .acts .btn.sos{background:rgba(192,57,43,.18);color:#F0A99B;border:1px solid rgba(192,57,43,.35)}

/* ---------- 信任条 ---------- */
.trust{display:flex;gap:8px;padding:0 16px}
.trust .t{flex:1;background:#fff;border-radius:14px;padding:12px 10px;box-shadow:var(--sh-1);text-align:center}
.trust .t svg{width:20px;height:20px;margin:0 auto 7px;stroke:var(--brand);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.trust .t b{display:block;font-size:12.5px;font-weight:600}
.trust .t span{display:block;font-size:10.5px;color:var(--mute);margin-top:2px;line-height:1.5}

/* ---------- 底部导航 ---------- */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.8) blur(20px);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
.tabbar .in{max-width:520px;margin:0 auto;display:flex}
.tabbar a{flex:1;padding:7px 0 6px;text-align:center;font-size:10.5px;color:var(--mute);letter-spacing:.02em}
.tabbar a svg{width:23px;height:23px;margin:0 auto 3px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.tabbar a.on{color:var(--brand-d);font-weight:600}
.tabbar a.on svg{stroke:var(--brand-d)}

/* ---------- 分段控件 ---------- */
.seg{display:flex;gap:4px;background:#EDEFF3;border-radius:12px;padding:3px;margin:12px 16px 0}
.seg button{flex:1;height:34px;border-radius:9px;font-size:13.5px;color:var(--sub);font-weight:500}
.seg button.on{background:#fff;color:var(--txt);box-shadow:var(--sh-1);font-weight:600}

/* ---------- 订单列表卡 ---------- */
.ord{background:#fff;border-radius:var(--r);box-shadow:var(--sh-1);padding:14px;margin-bottom:10px}
.ord .hd{display:flex;align-items:center;justify-content:space-between}
.ord .hd .who{display:flex;align-items:center;gap:10px;min-width:0}
.ord .av{width:36px;height:36px;border-radius:12px;background:var(--brand-l);color:var(--brand-d);
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex:none}
.ord .hd b{font-size:15px;font-weight:600}
.ord .hd .s{font-size:11.5px;color:var(--mute);margin-top:1px}
.ord .mid{display:flex;align-items:baseline;justify-content:space-between;margin-top:12px;
  padding-top:11px;border-top:1px solid var(--line-2)}
.ord .mid .sv{font-size:13.5px;color:var(--sub)}
.ord .mid .pr{font-size:16px;font-weight:600}
.ord .ft{display:flex;gap:8px;justify-content:flex-end;margin-top:11px}
.ord .ft .btn{height:34px;font-size:13px;padding:0 14px;border-radius:10px}

/* ---------- 表单 ---------- */
.form-row{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#fff;
  border-bottom:1px solid var(--line-2)}
.form-row:last-child{border-bottom:0}
.form-row label{font-size:14px;color:var(--txt)}
.form-row input,.form-row textarea{border:0;outline:0;background:transparent;font:15px/1.5 var(--sans);
  color:var(--txt);text-align:right;width:60%;padding:0}
.form-row input::placeholder,.form-row textarea::placeholder{color:var(--mute)}
.form-row.col{display:block;padding:14px 16px}
.form-row.col label{display:block;margin-bottom:8px;font-size:13px;color:var(--sub)}
.form-row.col textarea{width:100%;text-align:left;min-height:64px;resize:none}
.ipt{width:100%;height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;padding:0 14px;
  font:15px var(--sans);outline:0}
.ipt:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-glow)}

/* ---------- 选择卡（预约） ---------- */
.pick{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border-radius:14px;
  box-shadow:var(--sh-1);margin-bottom:9px;border:1.5px solid transparent}
.pick.on{border-color:var(--brand);background:#FBF9F4}
.pick .ic{width:40px;height:40px;border-radius:12px;background:var(--brand-l);display:flex;align-items:center;
  justify-content:center;font-size:15px;font-weight:600;color:var(--brand-d);flex:none}
.pick .bd{flex:1;min-width:0}
.pick .bd b{display:block;font-size:14.5px;font-weight:600}
.pick .bd span{display:block;font-size:12px;color:var(--sub);margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pick .rt{text-align:right;flex:none}
.pick .rt b{font-size:16px;font-weight:600;color:var(--brand-d)}
.pick .rt span{display:block;font-size:11px;color:var(--mute)}
.pick .radio{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--line);flex:none;position:relative}
.pick.on .radio{border-color:var(--brand);background:var(--brand)}
.pick.on .radio:after{content:"";position:absolute;left:6px;top:6px;width:8px;height:8px;border-radius:50%;background:#fff}

/* ---------- 日期 / 时间 ---------- */
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chips button{flex:none;min-width:58px;height:62px;border-radius:14px;background:#fff;box-shadow:var(--sh-1);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.chips button b{font-size:17px;font-weight:600}
.chips button span{font-size:10.5px;color:var(--mute)}
.chips button.on{background:var(--ink)}
.chips button.on b,.chips button.on span{color:#fff}
.grid-time{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.grid-time button{height:42px;border-radius:12px;background:#fff;box-shadow:var(--sh-1);font-size:14px;font-weight:500}
.grid-time button.on{background:var(--ink);color:#fff}

/* ---------- 我的 ---------- */
.me-hd{margin:12px 16px 0;border-radius:20px;padding:18px;color:#fff;position:relative;overflow:hidden;
  background:linear-gradient(135deg,#211B13,#17130E);box-shadow:var(--sh-2)}
.me-hd:before{content:"";position:absolute;right:-30px;top:-50px;width:170px;height:170px;border-radius:50%;
  background:radial-gradient(circle,rgba(194,144,58,.32),transparent 70%)}
.me-hd .row{display:flex;align-items:center;gap:13px;position:relative;z-index:1}
.me-hd .av{width:52px;height:52px;border-radius:18px;background:rgba(255,255,255,.13);display:flex;
  align-items:center;justify-content:center;font-size:19px;font-weight:600;color:#F4E6CB}
.me-hd b{font-size:18px;font-weight:600;display:block}
.me-hd span{font-size:12px;color:rgba(255,255,255,.6)}
.me-hd .stats{display:flex;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1);position:relative;z-index:1}
.me-hd .stats div{flex:1;text-align:center}
.me-hd .stats b{font-size:18px}
.me-hd .stats span{font-size:10.5px;color:rgba(255,255,255,.5)}
.menu{background:#fff;border-radius:var(--r);box-shadow:var(--sh-1);overflow:hidden;margin-top:12px}
.menu a{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line-2)}
.menu a:last-child{border-bottom:0}
.menu a svg{width:20px;height:20px;stroke:var(--sub);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.menu a span{flex:1;font-size:14.5px}
.menu a em{font-style:normal;font-size:12.5px;color:var(--mute)}
.menu a i{font-style:normal;color:var(--mute);font-size:16px}

/* ---------- 详情 ---------- */
.detail-hd{padding:16px 16px 18px;color:#fff;background:linear-gradient(160deg,#17130E,#221B12)}
.detail-hd .st{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;color:rgba(255,255,255,.65);letter-spacing:.04em}
.detail-hd h1{margin:8px 0 0;font-size:24px;font-weight:600}
.detail-hd p{margin:6px 0 0;font-size:12.5px;color:rgba(255,255,255,.55)}
.tl{position:relative;padding-left:22px}
.tl:before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:1.5px;background:var(--line)}
.tl .ti{position:relative;padding:8px 0}
.tl .ti:before{content:"";position:absolute;left:-22px;top:14px;width:10px;height:10px;border-radius:50%;
  background:#fff;border:1.5px solid var(--mute)}
.tl .ti.on:before{border-color:var(--brand);background:var(--brand)}
.tl .ti b{font-size:13.5px;font-weight:500}
.tl .ti span{display:block;font-size:11px;color:var(--mute);margin-top:1px}
.player{width:100%;aspect-ratio:16/10;background:#0B0A08;border-radius:14px;overflow:hidden;display:flex;
  align-items:center;justify-content:center;color:rgba(255,255,255,.35);font-size:12.5px}
.player video{width:100%;height:100%;object-fit:cover}

/* ---------- 底部操作条 ---------- */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:31;background:rgba(255,255,255,.96);
  backdrop-filter:blur(18px);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.bar .in{max-width:520px;margin:0 auto;display:flex;align-items:center;gap:12px}
.bar .sum{flex:1}
.bar .sum span{display:block;font-size:10.5px;color:var(--mute);letter-spacing:.06em}
.bar .sum b{font-size:22px;font-weight:600;letter-spacing:-.01em}
.bar .btn{min-width:158px;height:46px}

/* ---------- 登录 ---------- */
.auth{display:none !important;min-height:100vh;background:#0E1512;color:#fff;display:flex;flex-direction:column;justify-content:space-between;
  padding:0 0 28px;position:relative;overflow:hidden}
.auth .bg{position:absolute;inset:0;
  background:radial-gradient(120% 60% at 82% -10%,rgba(88,120,152,.30),transparent 62%),
             radial-gradient(90% 50% at 8% 108%,rgba(183,154,114,.14),transparent 64%),
             linear-gradient(160deg,#17211D,#0D1311 62%)}
.auth .bg:after{content:"";position:absolute;inset:0;opacity:.16;
  background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);
  background-size:52px 52px;mask-image:linear-gradient(to bottom,transparent,#000 34%,#000 74%,transparent)}
.auth .top2{position:relative;z-index:1;padding:26px 22px 0;display:flex;align-items:center;gap:11px}
.auth .top2 .logo{width:38px;height:38px;border-radius:13px;background:linear-gradient(135deg,#567E9E,var(--brand-d));
  display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:700}
.auth .top2 b{font-size:18px;font-weight:600;letter-spacing:.01em}
.auth .top2 span{display:block;font-size:9.5px;color:rgba(255,255,255,.45);letter-spacing:.3em;margin-top:2px}
.auth .body{position:relative;z-index:1;padding:0 22px;flex:1;display:flex;flex-direction:column;justify-content:center}
.auth h1{font-size:32px;line-height:1.32;font-weight:600;margin:0 0 10px;letter-spacing:-.01em}
.auth h1 em{font-style:normal;color:#E7BE7C}
.auth .sub{font-size:13px;color:rgba(255,255,255,.6);line-height:1.75}
.auth .field{margin-top:22px}
.auth .field label{display:block;font-size:11px;letter-spacing:.14em;color:rgba(255,255,255,.42);margin-bottom:7px}
.auth .field input{width:100%;height:50px;border-radius:14px;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.13);color:#fff;padding:0 16px;font:16px var(--sans);outline:0}
.auth .field input::placeholder{color:rgba(255,255,255,.3)}
.auth .field input:focus{border-color:rgba(122,150,180,.72);background:rgba(255,255,255,.09)}
.auth .btn{margin-top:18px;height:52px;border-radius:15px;font-size:16.5px;
  background:linear-gradient(135deg,#3E6288,#1F3A57);color:#F2F7F4;font-weight:700;letter-spacing:.03em;
  box-shadow:0 10px 24px rgba(20,40,34,.35)}
.auth .err{min-height:18px;font-size:12.5px;color:#E0A99F;margin-top:10px}
.auth .foot{position:relative;z-index:1;padding:0 22px;display:flex;justify-content:space-between;
  font-size:11px;color:rgba(255,255,255,.36);letter-spacing:.06em}

/* 提示 */
.toast{position:fixed;left:50%;top:52%;transform:translate(-50%,-50%) scale(.96);background:rgba(16,20,24,.93);
  color:#fff;font-size:13.5px;padding:12px 18px;border-radius:12px;max-width:78%;text-align:center;
  opacity:0;transition:.2s;pointer-events:none;z-index:60;box-shadow:var(--sh-3)}
.toast.on{opacity:1;transform:translate(-50%,-50%) scale(1)}
.seg2{display:flex;gap:6px;padding:0 16px;margin-top:14px}
.seg2 button{height:34px;padding:0 14px;border-radius:17px;background:#fff;box-shadow:var(--sh-1);
  font-size:13.5px;color:var(--sub);font-weight:500}
.seg2 button.on{background:var(--ink);color:#fff}

/* ---------- 首页（样板结构） ---------- */
.citybar{display:flex;align-items:center;gap:10px;padding:10px 16px 6px}
.city{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:600;white-space:nowrap}
.city svg{width:15px;height:15px;stroke:var(--brand-d);fill:none;stroke-width:1.7}
.searchbar{flex:1;display:flex;align-items:center;gap:8px;height:36px;border-radius:18px;background:#fff;
  box-shadow:var(--sh-1);padding:0 14px;color:var(--mute);font-size:13px}
.searchbar svg{width:16px;height:16px;stroke:var(--mute);fill:none;stroke-width:1.7}
.banners{display:flex;gap:0;overflow-x:auto;padding:8px 0 0;scroll-snap-type:x mandatory;scrollbar-width:none}
.banners::-webkit-scrollbar{display:none}
.banner{flex:0 0 calc(100% - 32px);width:calc(100% - 32px);margin:0 16px;scroll-snap-align:center;height:168px;border-radius:18px;position:relative;overflow:hidden;
  scroll-snap-align:center;scroll-margin:0 16px;box-shadow:var(--sh-2);color:#fff}
.banner.b1{background:linear-gradient(120deg,#1B150F,#2A1F13 62%,#3A2A17)}
.banner.b2{background:linear-gradient(120deg,#14201B,#1B2E26 62%,#22483A)}
.banner.b3{background:linear-gradient(120deg,#1A1620,#241E2E 62%,#37293F)}
.banner .bb{position:relative;z-index:2;padding:18px 18px}
.banner .kick{display:inline-flex;height:22px;align-items:center;padding:0 9px;border-radius:11px;
  background:rgba(255,255,255,.14);font-size:10.5px;letter-spacing:.08em;color:#F4E6CB}
.banner b{display:block;font-size:23px;line-height:1.32;font-weight:600;margin-top:9px}
.banner .sub{display:block;font-size:11.5px;color:rgba(255,255,255,.6);margin-top:7px}
.banner .cta{display:inline-block;margin-top:12px;font-size:12px;color:#E7BE7C;font-weight:600}
.banner .art{position:absolute;right:-20px;bottom:-30px;width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,rgba(194,144,58,.5),transparent 68%)}
.banner.b2 .art{background:radial-gradient(circle,rgba(47,211,160,.42),transparent 68%)}
.banner.b3 .art{background:radial-gradient(circle,rgba(168,132,60,.42),transparent 68%)}
.bdots{display:flex;gap:5px;justify-content:center;padding:9px 0 0}
.bdots i,.gdots i{width:5px;height:5px;border-radius:3px;background:#DCDFE5;transition:.2s}
.bdots i.on,.gdots i.on{width:14px;background:var(--brand)}
.notify{display:flex;align-items:center;gap:8px;margin:12px 16px 0;padding:9px 12px;border-radius:12px;
  background:#FFF8EC;color:#7A5C24;font-size:11.5px;line-height:1.5}
.notify em{font-style:normal;color:#B42318;font-weight:600}
.grid10{display:grid;grid-template-columns:repeat(5,1fr);gap:12px 4px;padding:16px 8px 8px}
.grid10 a{display:block;text-align:center}
.grid10 b{display:block;font-size:12px;font-weight:500;color:#2A2A2A;line-height:1.35}
.grid10 .gl{width:44px;height:44px;margin:0 auto 6px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:#FBF6EC}
.grid10 .gl svg{width:22px;height:22px;stroke:#1F3A57;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.grid10 a:nth-child(2) .gl{background:#EAF3FF}.grid10 a:nth-child(2) .gl svg{stroke:#1D4ED8}
.grid10 a:nth-child(3) .gl{background:#FFF1E8}.grid10 a:nth-child(3) .gl svg{stroke:#C2410C}
.grid10 a:nth-child(4) .gl{background:#EAF7F0}.grid10 a:nth-child(4) .gl svg{stroke:#0E7A5F}
.grid10 a:nth-child(5) .gl{background:#F3EEFF}.grid10 a:nth-child(5) .gl svg{stroke:#6D28D9}
.grid10 a:nth-child(6) .gl{background:#FEF0F3}.grid10 a:nth-child(6) .gl svg{stroke:#BE123C}
.grid10 a:nth-child(7) .gl{background:#EFF6FF}.grid10 a:nth-child(7) .gl svg{stroke:#0369A1}
.grid10 a:nth-child(8) .gl{background:#F5F0E6}.grid10 a:nth-child(8) .gl svg{stroke:var(--brand-d)}
.grid10 a:nth-child(9) .gl{background:#F0F2F5}.grid10 a:nth-child(9) .gl svg{stroke:#475467}
.grid10 a:nth-child(10) .gl{background:#F2F4F7}.grid10 a:nth-child(10) .gl svg{stroke:#667085}
.grid10 b{display:block;font-size:11.5px;font-weight:500;color:var(--txt)}
.gdots{display:flex;gap:5px;justify-content:center;padding-bottom:4px}
.statline{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 16px 0;
  padding:9px 12px;border-radius:12px;background:#fff;box-shadow:var(--sh-1);font-size:11.5px;color:var(--sub)}
.statline b{color:var(--txt);font-weight:600}
.statline .sep{width:1px;height:12px;background:var(--line)}
.catgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.catgrid a{background:#fff;border-radius:15px;padding:14px;box-shadow:var(--sh-1)}
.catgrid .gl{width:38px;height:38px;border-radius:12px;background:#FBF6EC;display:flex;align-items:center;justify-content:center;margin-bottom:9px}
.catgrid .gl svg{width:20px;height:20px;stroke:#1F3A57;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.catgrid b{display:block;font-size:14px;font-weight:600}
.catgrid span{display:block;font-size:11.5px;color:var(--mute);margin-top:3px;line-height:1.5}
.fabs{position:fixed;right:14px;bottom:104px;z-index:29;display:flex;flex-direction:column;gap:10px}
.fabs button{width:46px;height:46px;border-radius:23px;background:rgba(255,255,255,.96);box-shadow:var(--sh-2);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:var(--brand-d)}
.fabs svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fabs span{font-size:9px;color:var(--sub)}

/* 幻灯片：一张一屏，4 秒自动切 */
.banners{scroll-snap-type:x mandatory;scroll-behavior:smooth}
.banner{position:relative;overflow:hidden;min-height:172px}
.banner .ph{position:absolute;inset:0;background-size:cover;background-position:center 42%;transform:scale(1.02)}
.banner .ph::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,14,8,.86) 0%,rgba(20,14,8,.62) 46%,rgba(20,14,8,.18) 100%)}
.banner .bb{position:relative;z-index:2}
.banner .art{display:none}

/* 分类图标 */
.g3d{width:54px;height:54px;margin:0 auto 8px;border-radius:17px;display:flex;align-items:center;justify-content:center;position:relative;
  background:linear-gradient(160deg,#FFFFFF,#F6F7F9);
  border:1px solid rgba(24,28,36,.055);
  box-shadow:0 2px 6px rgba(24,28,36,.05),0 8px 18px rgba(24,28,36,.045),inset 0 1px 0 rgba(255,255,255,.95)}
.g3d svg{width:27px;height:27px;display:block}

/* 子页返回条 */
.ph-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;height:52px;padding:0 6px;
  background:rgba(245,246,248,.94);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid rgba(16,20,24,.05)}
.ph-bar .bk{display:flex;align-items:center;gap:2px;height:38px;padding:0 8px 0 2px;border:0;background:transparent;
  font-size:15px;color:#1D2126;font-weight:600;letter-spacing:.01em}
.ph-bar .bk svg{width:22px;height:22px;stroke:#1D2126;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ph-bar .tt{font-size:15px;font-weight:600;color:#1D2126}
.ph-bar .tt small{display:block;font-size:11px;color:#8A8577;font-weight:400}

.sheet-mask{position:fixed;inset:0;background:rgba(16,20,24,.42);z-index:60;display:none;align-items:flex-end;justify-content:center;backdrop-filter:blur(2px)}
.sheet-mask.on{display:flex}
.sheet{width:100%;max-width:520px;background:#fff;border-radius:20px 20px 0 0;padding:8px 18px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(16,20,24,.16);animation:sheetUp .22s ease}
@keyframes sheetUp{from{transform:translateY(18px);opacity:.6}to{transform:none;opacity:1}}
.sheet .hd{display:flex;align-items:center;justify-content:space-between;padding:10px 0 4px}
.sheet .hd b{font-size:16px}
.sheet .hd .x{border:0;background:transparent;font-size:20px;color:#98A2B3;padding:0 4px}
.sheet .fd{margin-top:12px}
.sheet .fd label{display:block;font-size:12.5px;color:#6B6A63;margin-bottom:6px}
.sheet .fd input,.sheet .fd select{width:100%;height:46px;border:1px solid #E7EBF0;border-radius:12px;padding:0 14px;font-size:15px;background:#FBFAF7;outline:none}
.sheet .fd input:focus,.sheet .fd select:focus{border-color:var(--brand);background:#fff;box-shadow:0 0 0 3px rgba(43,74,107,.12)}
.sheet .hint{font-size:11.5px;color:#8A8577;line-height:1.6;margin-top:8px}
.sheet .err{font-size:12.5px;color:#B42318;line-height:1.6;margin-top:8px;display:none}
.sheet .err.on{display:block}
.sheet .go{width:100%;height:48px;margin-top:16px;border:0;border-radius:14px;background:linear-gradient(180deg,#567E9E,#A9762A);color:#fff;font-size:16px;font-weight:600}


/* ---------- 优秀服务者推荐 ---------- */
.feat-wrap{margin-top:22px}
.feat-h{display:flex;align-items:baseline;justify-content:space-between;padding:0 16px;gap:10px}
.feat-h>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;min-width:0}
.feat-h h2{font-size:17px;font-weight:600;letter-spacing:.01em}
.feat-h h2 em{font-style:normal;color:var(--brand-d)}
.feat-h .sub{font-size:11.5px;color:#98917F;font-weight:400}
.feat-h a{font-size:12.5px;color:#8A8577;display:flex;align-items:center;gap:2px}
.feats{display:flex;gap:12px;overflow-x:auto;padding:12px 16px 4px;scrollbar-width:none;scroll-snap-type:x proximity}
.feats::-webkit-scrollbar{display:none}
.fcard{flex:0 0 216px;scroll-snap-align:start;background:#fff;border-radius:18px;padding:14px;box-shadow:0 2px 10px rgba(16,20,24,.05),0 12px 28px rgba(16,20,24,.06);
  border:1px solid rgba(20,16,10,.05);position:relative;overflow:hidden}
.fcard::after{content:'';position:absolute;right:-30px;top:-34px;width:92px;height:92px;border-radius:50%;background:radial-gradient(circle,rgba(43,74,107,.12),transparent 70%)}
.fcard .top{display:flex;align-items:center;gap:10px}
.fcard .ava img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.ava{width:46px;height:46px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:600;color:#fff;
  background:linear-gradient(140deg,#567E9E,var(--brand-d));box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 4px 12px rgba(34,66,57,.26);flex:none}
.fcard .ava.g2{background:linear-gradient(140deg,#3E8E82,#256B61)}
.fcard .ava.g3{background:linear-gradient(140deg,#7A6BA8,#54487C)}
.fcard .ava.g4{background:linear-gradient(140deg,#B9772F,#8C4F1F)}
.fcard .nm{font-size:15px;font-weight:600;color:#1D2126;display:flex;align-items:center;gap:6px}
.fcard .bdg{font-size:10px;line-height:16px;padding:0 6px;border-radius:5px;background:linear-gradient(180deg,#F6E7C6,#EFD9A8);color:#7A5514;font-weight:600}
.fcard .mt{font-size:11.5px;color:#8A8577;margin-top:3px;display:flex;align-items:center;gap:5px}
.fcard .mt b{color:var(--brand);font-weight:600}
.fcard .sk{display:flex;gap:6px;margin-top:11px;flex-wrap:wrap}
.fcard .sk i{font-style:normal;font-size:11px;padding:3px 8px;border-radius:8px;background:#F6F4EE;color:#6B6558}
.fcard .tl{font-size:12px;color:#5C574C;line-height:1.55;margin-top:10px;height:37px;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.fcard .ft{display:flex;align-items:flex-end;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px dashed #EDE9DF}
.fcard .pr{font-size:17px;font-weight:700;color:#1D2126;font-variant-numeric:tabular-nums}
.fcard .pr small{font-size:11px;color:#8A8577;font-weight:400}
.fcard .go{height:30px;padding:0 12px;border:0;border-radius:9px;background:#1D2126;color:#fff;font-size:12.5px;font-weight:600}

/* 服务卡缩略图 */
.svc-card .thumb.hasimg{background-size:cover;background-position:center 40%}
.svc-card .thumb.hasimg::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,14,8,.05) 30%,rgba(20,14,8,.72) 100%)}
.svc-card .thumb.hasimg span{position:relative;z-index:2;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.45)}
/* 优秀服务者列表页 */
.frow{display:flex;gap:12px;align-items:flex-start;background:#fff;border-radius:16px;padding:14px;margin-bottom:12px;box-shadow:0 2px 10px rgba(16,20,24,.05);border:1px solid rgba(20,16,10,.05)}
.frow .ava img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.fcard .ava,.frow .ava{overflow:hidden}
.frow .ava{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:600;color:#fff;flex:none;
  background:linear-gradient(140deg,#567E9E,var(--brand-d));box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
.frow .ava.g2{background:linear-gradient(140deg,#3E8E82,#256B61)}
.frow .ava.g3{background:linear-gradient(140deg,#7A6BA8,#54487C)}
.frow .ava.g4{background:linear-gradient(140deg,#B9772F,#8C4F1F)}
/* 启动中：只显示品牌遮罩，避免登录页/空首页闪一下（浅色底，和 App 一致） */
#bootMask{position:fixed;inset:0;z-index:60;display:none;flex-direction:column;align-items:center;justify-content:center;
  background:radial-gradient(120% 90% at 50% 0%,#FFFFFF 0%,#FAF7F0 45%,#F2EEE4 100%);color:#1C1914}
body.home-pending #bootMask{display:flex}
#bootMask .bm-logo{width:64px;height:64px;border-radius:20px;background:linear-gradient(150deg,#D6AE63,#A8843C);
  display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:600;color:#1A1208;
  box-shadow:0 10px 26px rgba(168,132,60,.28),inset 0 1px 0 rgba(255,255,255,.5)}
#bootMask .bm-name{margin-top:14px;font-size:17px;letter-spacing:.28em;color:#1C1914;font-weight:600}
#bootMask .bm-sub{margin-top:6px;font-size:10.5px;letter-spacing:.34em;color:#A2947A}
#bootMask .bm-dots{display:flex;gap:6px;margin-top:26px}
#bootMask .bm-dots i{width:6px;height:6px;border-radius:50%;background:#C2903A;opacity:.3;animation:bmPulse 1.1s ease-in-out infinite}
#bootMask .bm-dots i:nth-child(2){animation-delay:.16s}
#bootMask .bm-dots i:nth-child(3){animation-delay:.32s}
@keyframes bmPulse{0%,100%{opacity:.22;transform:translateY(0)}50%{opacity:.95;transform:translateY(-3px)}}

/* 常驻「一键求助」：无订单也能按（老人在家唯一能做的动作） */
.fabs{flex-direction:column!important}
.fabs button.sos{background:#B42318;color:#fff;border-color:#B42318;box-shadow:0 8px 20px rgba(180,35,24,.28)}
.fabs button.sos svg{stroke:#fff}
.fabs button.sos.holding{transform:scale(1.06);box-shadow:0 0 0 6px rgba(180,35,24,.16),0 8px 20px rgba(180,35,24,.34)}
.fabs button.sos.done{background:#1E9E7A;border-color:#1E9E7A}

/* 家里有在办求助：顶部醒目条 */
.rbar{display:flex;align-items:center;gap:9px;margin:10px 14px 0;padding:12px 14px;border-radius:14px;
  background:#FDECEA;border:1px solid #F6C9C4}
.rbar i{width:9px;height:9px;border-radius:50%;background:#B42318;animation:rbarp 1.3s infinite}
@keyframes rbarp{0%,100%{opacity:1}50%{opacity:.2}}
.rbar b{font-size:13.5px;color:#8E1F16}
.rbar span{font-size:11.5px;color:#A4483E;margin-left:auto}

/* 档案页：卡片内 kv 行左内边距，别让文字压到卡片边线 */
#v-elder .card{padding:14px 16px}
#v-elder .kv{padding-left:0}
#v-elder .kv .k{padding-right:10px}


/* ---------- 我的：订单状态入口 ---------- */
.statbar{display:flex}
.statbar .st b{display:block;font-size:17px;font-weight:600;color:var(--txt)}
.statbar .st span{display:block;font-size:11px;color:var(--mute);margin-top:3px}
.statbar .st:active{opacity:.7}

.ord .sk{display:flex;gap:6px;flex-wrap:wrap}
.ord .sk i{font-style:normal;font-size:10.5px;color:var(--brand-d);background:var(--brand-l);border-radius:5px;padding:2px 7px}

/* ---------- 服务师：招募卡（与小程序一致） ---------- */
.joincard{position:relative;overflow:hidden;border-radius:16px;padding:16px 14px;display:flex;align-items:center;gap:12px;
  color:#fff;background:linear-gradient(135deg,#1F3A57 0%,#2B4A6B 52%,#16324B 100%);
  box-shadow:0 12px 30px rgba(31,58,87,.26);cursor:pointer}
.joincard .glow{position:absolute;right:-30px;top:-36px;width:140px;height:140px;border-radius:50%;
  background:radial-gradient(circle,rgba(217,178,106,.45),transparent 68%)}
.joincard .ic{width:40px;height:40px;border-radius:13px;flex:none;display:flex;align-items:center;justify-content:center;
  font-size:20px;background:rgba(255,255,255,.16);position:relative;z-index:1}
.joincard .bd{flex:1;min-width:0;position:relative;z-index:1}
.joincard .bd b{font-size:15.5px;font-weight:600;letter-spacing:.2px}
.joincard .bd span{display:block;font-size:11.5px;color:rgba(255,255,255,.66);margin-top:3px}
.joincard .tags{display:flex;gap:5px;margin-top:7px}
.joincard .tags i{font-style:normal;font-size:9.5px;color:#F4E6CB;background:rgba(255,255,255,.12);border-radius:4px;padding:2px 6px}
.joincard .go{flex:none;position:relative;z-index:1;font-size:12px;font-weight:600;color:#1F3A57;
  background:#F4E6CB;border-radius:999px;padding:6px 11px;display:flex;align-items:center;gap:2px}
.joincard .go em{font-style:normal;font-size:13px}

/* 入驻状态头 / 上传框 */
.joinstat{margin-top:6px;border-radius:18px;padding:20px 16px;text-align:center;color:#fff;
  background:linear-gradient(135deg,#1F3A57,#2B4A6B 60%,#16324B);box-shadow:0 12px 30px rgba(31,58,87,.24)}
.joinstat .ic{width:40px;height:40px;margin:0 auto 9px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  font-size:19px;background:rgba(255,255,255,.18)}
.joinstat b{display:block;font-size:17px;font-weight:600}
.joinstat span{display:block;font-size:11.5px;color:rgba(255,255,255,.65);margin-top:5px;line-height:1.6}

.joinform-hd{margin-top:6px;border-radius:18px;padding:14px;background:linear-gradient(135deg,#E8F2EE,#F3F8F6);
  border:1px solid #D7E8DE;display:flex;align-items:center;gap:10px}
.joinform-hd .ic{width:36px;height:36px;border-radius:12px;background:#2F6B4F;color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:16px}
.joinform-hd b{font-size:15px;color:#123A2E}
.joinform-hd span{display:block;font-size:11.5px;color:#4A6B5F;margin-top:2px}

.jfchips{display:flex;gap:7px}
.jfchip{font-style:normal;height:30px;line-height:30px;padding:0 15px;border-radius:15px;font-size:13px;
  background:#F2F4F7;color:var(--sub);border:1px solid transparent;cursor:pointer}
.jfchip.on{background:var(--brand-l);color:var(--brand-d);border-color:#BBD0E4;font-weight:600}

.jfup{position:relative;border:1.5px dashed #D8DFE8;border-radius:12px;background:#FAFBFC center/cover no-repeat;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;height:74px;
  color:var(--mute);cursor:pointer;overflow:hidden}
.jfup.tall{width:100px;height:158px;flex:none}
.jfup span{font-size:19px;line-height:1}
.jfup i{font-style:normal;font-size:11px}
.jfup em{font-style:normal;font-size:9.5px;color:#A9B0B8}
.jfup.has{background-color:#fff}

/* ---------- 返回条 ---------- */
.pgback{display:flex;align-items:center;gap:4px;padding:4px 0 8px;font-size:13px;color:var(--sub);cursor:pointer}
.pgback i{font-style:normal;font-size:19px;line-height:1;color:var(--txt)}

/* ---------- 证件照片：清单式上传 ---------- */
.jfrow{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid var(--line-2);cursor:pointer}
.jfrow:last-child{border-bottom:0}
.jfthumb{width:50px;height:66px;border-radius:9px;flex:none;border:1.5px dashed #D8DFE8;background:#FAFBFC center/cover no-repeat;
  display:flex;align-items:center;justify-content:center;overflow:hidden}
.jfthumb.wide{width:66px;height:45px}
.jfthumb span{font-size:19px;color:#B7C0CB;line-height:1}
.jfthumb.has{border-style:solid;border-color:#CFE0D8;background-color:#fff}
.jfthumb.has span{display:none}
.jfinfo{flex:1;min-width:0}
.jfinfo b{font-size:14.5px;font-weight:600}
.jfinfo span{display:block;font-size:11.5px;color:var(--mute);margin-top:3px;line-height:1.5}
.jfact{flex:none;font-size:12px;font-weight:600;color:var(--brand-d);background:#F7F0E1;border-radius:999px;padding:5px 11px}
.jfact.done{color:#1D7A4B;background:#EAF6EF}

/* ---------- 优秀服务者卡片（重做） ---------- */
.feats{padding:12px 16px 6px;gap:12px}
.fcard{flex:0 0 208px;border-radius:18px;padding:0;background:#fff;overflow:hidden;
  border:1px solid rgba(20,16,10,.06);box-shadow:0 2px 6px rgba(16,24,40,.04),0 10px 24px rgba(16,24,40,.06)}
.fcard::after{display:none}
.fcard .fctop{display:flex;align-items:center;gap:10px;padding:14px 14px 0}
.fcard .ava{width:46px;height:46px;border-radius:15px;font-size:18px}
.fcard .fcid{flex:1;min-width:0}
.fcard .fcnm{display:flex;align-items:center;gap:6px}
.fcard .fcnm b{font-size:15.5px;font-weight:600;color:#1C1914;letter-spacing:.2px}
.fcard .bdg{font-size:9.5px;font-weight:600;color:#7A5514;background:linear-gradient(180deg,#F6E7C6,#EFD9A8);
  border-radius:5px;padding:2px 6px;letter-spacing:.2px}
.fcard .fcmeta{font-size:11px;color:#8B948D;margin-top:3px}
.fcard .fcmeta em{font-style:normal;color:#C2903A;font-weight:600}
.fcard .fcquote{margin:10px 14px 0;padding-left:9px;border-left:2px solid #E7DFCF;
  font-size:11.5px;color:#6B6558;line-height:1.6;height:36px;overflow:hidden}
.fcard .fcsk{display:flex;gap:5px;flex-wrap:wrap;padding:9px 14px 0}
.fcard .fcsk i{font-style:normal;font-size:10px;color:#5B645F;background:#F6F4EE;border-radius:6px;padding:2px 7px}
.fcard .fcft{display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin:11px 14px 0;padding:10px 0 13px;border-top:1px dashed #EDE6D8}
.fcard .fcpr b{font-size:18px;font-weight:700;color:#1C1914}
.fcard .fcpr span{font-size:10.5px;color:#8B948D;margin-left:2px}
.fcard .fcbtn{height:32px;padding:0 15px;border-radius:10px;border:0;background:#141A18;color:#fff;
  font-size:12.5px;font-weight:600;letter-spacing:.3px}

/* 全部服务师页（满宽行） */
.frow{display:flex;align-items:flex-start;gap:12px;background:#fff;border-radius:16px;padding:14px;
  margin-bottom:10px;border:1px solid rgba(20,16,10,.06);box-shadow:0 2px 6px rgba(16,24,40,.04)}
.frow .ava{width:52px;height:52px;border-radius:16px;font-size:19px}
.frow .fd{flex:1;min-width:0}
.frow .fnm{display:flex;align-items:center;gap:6px}
.frow .fnm b{font-size:15px;font-weight:600}
.frow .fmeta{font-size:11.5px;color:#8B948D;margin-top:3px}
.frow .fquote{margin-top:8px;padding-left:9px;border-left:2px solid #E7DFCF;font-size:11.5px;color:#6B6558;line-height:1.6}
.frow .fsk{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
.frow .fsk i{font-style:normal;font-size:10px;color:#5B645F;background:#F6F4EE;border-radius:6px;padding:2px 7px}
.frow .frt{flex:none;text-align:right}
.frow .fpr b{font-size:17px;font-weight:700}
.frow .fpr span{display:block;font-size:10.5px;color:#8B948D;margin:2px 0 9px}

/* ---------- 订单卡（重做） ---------- */
.ocard{background:#fff;border-radius:16px;padding:14px;margin-bottom:10px;
  border:1px solid rgba(20,16,10,.06);box-shadow:0 2px 6px rgba(16,24,40,.04),0 10px 22px rgba(16,24,40,.05);
  cursor:pointer;transition:transform .12s ease}
.ocard:active{transform:scale(.995)}
.ocard .ohead{display:flex;align-items:center;gap:10px}
.ocard .oic{width:40px;height:40px;border-radius:13px;flex:none;display:flex;align-items:center;justify-content:center;
  font-size:19px;background:linear-gradient(150deg,#F6F1E6,#EDE4D2)}
.ocard .otid{flex:1;min-width:0}
.ocard .osvc{font-size:15px;font-weight:600;color:#1C1914;display:flex;align-items:baseline;gap:5px}
.ocard .osvc em{font-style:normal;font-size:11.5px;font-weight:500;color:#8B948D}
.ocard .ono{font-size:11px;color:#A0A8A2;margin-top:3px;letter-spacing:.2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ocard .ometa{margin-top:11px;padding-top:11px;border-top:1px dashed #EFEBE1;display:flex;flex-direction:column;gap:5px}
.ocard .orow1{display:flex;align-items:center;gap:6px;font-size:12px;color:#5B645F}
.ocard .orow1 .oi{font-size:12px;opacity:.75}
.ocard .oaddr{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ocard .oft{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.ocard .oprice{font-size:19px;font-weight:700;color:#1C1914;letter-spacing:-.01em}
.ocard .oacts{display:flex;gap:7px;flex:none}
.ocard .oacts .btn{height:32px;font-size:12.5px;padding:0 12px;border-radius:9px}
.ocard .oacts .btn.brand{background:linear-gradient(135deg,#567E9E,#1F3A57);color:#fff;border:0}


/* ---------- 进行中的二级筛选 ---------- */
.subseg{display:flex;gap:7px;overflow-x:auto;padding:10px 16px 0;scrollbar-width:none}
.subseg::-webkit-scrollbar{display:none}
.subseg button{flex:none;height:29px;padding:0 12px;border-radius:15px;border:1px solid var(--line);
  background:#fff;color:var(--sub);font-size:12px;font-weight:500;white-space:nowrap}
.subseg button.on{background:var(--brand-l);color:var(--brand-d);border-color:#BBD0E4;font-weight:600}
/* ---------- 服务市场 ---------- */
.mkt-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px 6px;margin-top:12px}
.mkt-g{border:1px solid var(--line);background:#fff;padding:8px 3px 9px;border-radius:14px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:5px;
  box-shadow:0 1px 2px rgba(16,24,40,.04);transition:box-shadow .15s ease,border-color .15s ease,transform .1s ease}
.mkt-g:active{transform:scale(.97)}
.mkt-g .ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  box-shadow:inset 0 0 0 1px rgba(20,16,10,.06)}
.mkt-g .ic svg{width:22px;height:22px}
.mkt-g b{font-size:11.5px;font-weight:500;color:var(--txt);line-height:1.2;text-align:center}
.mkt-g em{font-style:normal;font-size:9.5px;color:var(--mute)}
.mkt-g.on{border-color:#9EC0E4;background:#fff;box-shadow:0 6px 18px rgba(31,58,87,.14)}
.mkt-g.on b{font-weight:600;color:var(--brand-d)}
.mkt-g.on::after{content:'';position:absolute}

.mkt-head{display:flex;align-items:baseline;justify-content:space-between;margin:20px 0 10px}
.mkt-head b{font-size:17px;font-weight:600}

/* 服务卡：图标 + 名称/说明 + 价格，底部标签与按钮 */
.mkt-svc{background:#fff;border-radius:16px;padding:14px;margin-bottom:10px;
  border:1px solid rgba(20,16,10,.06);box-shadow:0 2px 6px rgba(16,24,40,.04)}
.mkt-svc .top{display:flex;align-items:flex-start;gap:11px}
.mkt-svc .ic{width:46px;height:46px;border-radius:14px;flex:none;display:flex;align-items:center;justify-content:center;
  box-shadow:inset 0 0 0 1px rgba(20,16,10,.06)}
.mkt-svc .ic svg{width:23px;height:23px}
.mkt-svc .tt{flex:1;min-width:0}
.mkt-svc .tt b{display:block;font-size:15px;font-weight:600;color:#1C1914;line-height:1.35}
.mkt-svc .tt span{display:block;font-size:11.5px;color:var(--mute);margin-top:4px;line-height:1.55;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mkt-svc .pr{flex:none;text-align:right;padding-left:6px}
.mkt-svc .pr b{font-size:19px;font-weight:700;color:#1C1914;letter-spacing:-.01em}
.mkt-svc .pr em{font-style:normal;display:block;font-size:10px;color:var(--mute);margin-top:1px}
.mkt-svc .ft{display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-top:12px;padding-top:10px;border-top:1px dashed #EFEBE1}
.mkt-svc .tags{display:flex;gap:6px;flex-wrap:wrap;min-width:0}
.mkt-svc .tags i{font-style:normal;font-size:10.5px;color:#5B645F;background:#F6F4EE;border-radius:6px;padding:2px 8px;white-space:nowrap}
.mkt-svc .btn{flex:none;height:34px;font-size:13px;padding:0 16px;border-radius:10px;background:#141A18;color:#fff;border:0}
/* ---------- 预约：服务人员安排（并排两个选项） ---------- */
.dmode{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.dmode .dm{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;
  background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:12px 12px 13px;cursor:pointer;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.dmode .dm .ic{width:26px;height:26px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  font-size:13px;background:#F4F1E9;color:#A08A5E;margin-bottom:2px}
.dmode .dm b{font-size:14px;font-weight:600;color:#1C1914;letter-spacing:-.01em}
.dmode .dm em{display:block;font-style:normal;font-size:10.5px;color:var(--mute);line-height:1.45}
.dmode .dm.on{border-color:#7FB3A8;background:#F6FBFA;box-shadow:0 4px 14px rgba(31,90,78,.1)}
.dmode .dm.on .ic{background:#E3F1EC;color:#2F6B4F}
.dmode .dm.on b{color:#1F4B3F}

.dmhint{margin-top:9px;font-size:11.5px;color:#7C877F;background:#F5F3EC;border-radius:10px;padding:9px 11px;line-height:1.55}

.pickedtag{font-size:11.5px;font-weight:600;color:#1D7A4B;background:#EAF6EF;border-radius:999px;padding:5px 12px}

/* ---------- 首页：预约服务宫格 ---------- */
.svcgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px 2px;padding:16px 4px 14px}
.svcgrid .sg{display:flex;flex-direction:column;align-items:center;gap:7px;padding:2px 0;border-radius:12px}
.svcgrid .sg:active{background:#F8F7F3}
.svcgrid .sgic{width:46px;height:46px;border-radius:15px;display:flex;align-items:center;justify-content:center;
  box-shadow:inset 0 0 0 1px rgba(20,16,10,.05)}
.svcgrid .sgic svg{width:23px;height:23px}
.svcgrid b{font-size:11px;font-weight:500;color:var(--txt);line-height:1.2;text-align:center}

/* ---------- 首页：推荐陪伴者 ---------- */
.pcards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pcard{display:flex;align-items:center;gap:10px;background:#fff;border-radius:14px;padding:11px 12px;
  border:1px solid rgba(20,16,10,.06);box-shadow:0 2px 6px rgba(16,24,40,.04);cursor:pointer}
.pcard:active{transform:scale(.99)}
.pcard .pav{width:44px;height:44px;border-radius:14px;flex:none;object-fit:cover;display:flex;align-items:center;
  justify-content:center;font-size:17px;font-weight:600;color:#fff;background:linear-gradient(140deg,#567E9E,#1F3A57)}
.pcard .pav1{background:linear-gradient(140deg,#3E8E82,#256B61)}
.pcard .pav2{background:linear-gradient(140deg,#7A6BA8,#54487C)}
.pcard .pav3{background:linear-gradient(140deg,#B9772F,#8C4F1F)}
.pcard .pinfo{min-width:0}
.pcard .pnm{font-size:14px;font-weight:600;color:#1C1914;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pcard .pnm i{font-style:normal;color:var(--brand-d);font-size:11px}
.pcard .prate{font-size:10.5px;color:var(--mute);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ---------- 首页：银龄优选商品卡 ---------- */
.gcards{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gcard{background:#fff;border-radius:14px;overflow:hidden;border:1px solid rgba(20,16,10,.06);
  box-shadow:0 2px 6px rgba(16,24,40,.04);cursor:pointer}
.gcard:active{transform:scale(.995)}
.gcard .gf{position:relative;height:112px;background:linear-gradient(135deg,#F4E7D2,#E4D3B7)}
.gcard .gf img{width:100%;height:100%;object-fit:cover;display:block}
.gcard .gph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:30px;color:#8A6C3A}
.gcard .gtag{position:absolute;left:8px;top:8px;font-size:9.5px;font-weight:600;color:#fff;
  background:rgba(28,25,20,.72);border-radius:5px;padding:2px 7px;backdrop-filter:blur(4px)}
.gcard .gb{padding:9px 11px 12px}
.gcard .gn{font-size:13px;font-weight:600;color:#1C1914;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}
.gcard .gd{font-size:10.5px;color:var(--mute);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gcard .gf2{display:flex;align-items:baseline;justify-content:space-between;margin-top:7px}
.gcard .gf2 b{font-size:16px;font-weight:700;color:#B42318;letter-spacing:-.01em}
.gcard .gf2 span{font-size:9.5px;color:var(--mute)}

/* 区块小标题 */
.sec-h .sec-sub{font-size:10.5px;color:var(--mute);margin-left:6px;font-weight:400}

/* ---------- 首页：正在服务（浅色卡） ---------- */
.lcard{background:#fff;border-radius:16px;padding:14px;border:1px solid rgba(20,16,10,.06);
  box-shadow:0 2px 6px rgba(16,24,40,.04);border-left:3px solid #2B4A6B}
.lcard .lhead{display:flex;align-items:center;gap:11px}
.lcard .lav{width:42px;height:42px;border-radius:14px;flex:none;display:flex;align-items:center;justify-content:center;
  font-size:16px;font-weight:600;color:#fff;background:linear-gradient(140deg,#567E9E,#1F3A57)}
.lcard .lwho{flex:1;min-width:0}
.lcard .lnm{display:flex;align-items:center;gap:7px;font-size:14.5px;font-weight:600;color:#1C1914}
.lcard .lnm .pill{height:19px;font-size:10px;padding:0 7px;gap:4px}
.lcard .lnm .pill.brand{background:var(--brand-l);color:var(--brand-d)}
.lcard .ldot{width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block}
.lcard .lsub{font-size:11.5px;color:var(--mute);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lcard .lno{font-size:10px;color:#B3BAB4;flex:none;font-family:Menlo,monospace}
.lcard .lfoot{display:flex;gap:9px;margin-top:13px;padding-top:12px;border-top:1px dashed #EFEBE1}
.lcard .lfoot .btn{flex:1;height:40px;font-size:14px;border-radius:11px}
.lcard .lfoot .btn.solid{background:#141A18;color:#fff;border:0;font-weight:600}
.lcard .lfoot .btn.sos{background:#FDF0ED;color:#B42318;border:1px solid #F3D3CC;font-weight:600}

/* ---------- 预约：已指定服务者 ---------- */
.chosen{display:flex;align-items:center;gap:11px;background:#F8FBF9;border:1px solid #D8E8DF;border-radius:14px;padding:12px 13px}
.chosen img,.chosen .cav{width:42px;height:42px;border-radius:13px;flex:none;object-fit:cover;display:flex;
  align-items:center;justify-content:center;font-size:16px;font-weight:600;color:#fff;background:linear-gradient(140deg,#3E8E82,#256B61)}
.chosen .cinfo{flex:1;min-width:0}
.chosen .cinfo b{display:block;font-size:14.5px;font-weight:600;color:#1C1914}
.chosen .cinfo span{display:block;font-size:11px;color:var(--mute);margin-top:3px}
.chosen .btn{flex:none;height:30px;font-size:12px;padding:0 12px;border-radius:9px}

/* ---------- 商城：购买按钮 / 商品详情 / 订单状态 ---------- */
.gcard .gb{position:relative}
.gbuy{margin-top:9px;width:100%;height:32px;border-radius:9px;border:0;background:#141A18;color:#fff;
  font-size:12.5px;font-weight:600;letter-spacing:.02em}
.gbuy:active{opacity:.9}

.gdetail{display:flex;gap:13px;background:#fff;border-radius:16px;padding:13px;border:1px solid rgba(20,16,10,.06);
  box-shadow:0 2px 8px rgba(16,24,40,.05)}
.gdetail .gf{width:118px;height:118px;border-radius:14px;flex:none;background:#F4E7D2 center/cover no-repeat}
.gdetail .gi{flex:1;min-width:0}
.gdetail .gk{display:inline-block;font-size:10px;font-weight:600;color:#8A6C3A;background:#F8F1E2;border-radius:5px;padding:2px 7px}
.gdetail h1{font-size:17px;font-weight:600;margin:7px 0 4px;line-height:1.35}
.gdetail .gp{display:flex;align-items:baseline;gap:7px;margin-top:8px}
.gdetail .gp b{font-size:21px;font-weight:700;color:#B42318}
.gdetail .gp span{font-size:11.5px;color:var(--mute);text-decoration:line-through}

.qty{display:flex;align-items:center;gap:0;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.qty button{width:30px;height:28px;border:0;background:#fff;color:var(--txt);font-size:15px}
.qty b{width:38px;text-align:center;font-size:13.5px;border-left:1px solid var(--line);border-right:1px solid var(--line);
  line-height:28px}

.ostatus{margin-top:6px;border-radius:18px;padding:22px 16px;text-align:center;color:#fff;
  background:linear-gradient(135deg,#1F3A57,#2B4A6B 60%,#16324B);box-shadow:0 12px 30px rgba(31,58,87,.22)}
.ostatus .ic{width:40px;height:40px;margin:0 auto 9px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  font-size:19px;background:rgba(255,255,255,.18)}
.ostatus b{display:block;font-size:17px;font-weight:600}
.ostatus span{display:block;font-size:11.5px;color:rgba(255,255,255,.65);margin-top:5px;line-height:1.6}

.gord{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-radius:14px;
  padding:12px 13px;margin-bottom:8px;border:1px solid rgba(20,16,10,.06);box-shadow:0 2px 6px rgba(16,24,40,.04);cursor:pointer}
.gord .who{display:flex;align-items:center;gap:10px;min-width:0}
.gord .av{width:36px;height:36px;border-radius:12px;flex:none;display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:600;color:#8A6C3A;background:#F8F1E2}
.gord .who b{font-size:14px;font-weight:600}
.gord .who .s{font-size:11px;color:var(--mute);margin-top:2px}
.gord .rt{flex:none;text-align:right}
.gord .rt b{display:block;font-size:15px;font-weight:700;margin-bottom:4px}
.gord .rt .pill{height:19px;font-size:10px;padding:0 7px}

/* ---------- 个人中心菜单：危险项 ---------- */
.menu a.danger span{color:#B42318}
.menu a.danger svg{stroke:#B42318}

/* ---------- 投诉页 ---------- */
.chip{height:32px;padding:0 14px;border-radius:9px;border:1px solid var(--line);background:#fff;
  font-size:13px;color:var(--sub)}
.chip.on{background:#FAFCFF;border-color:#9EC0E4;color:var(--brand-d);font-weight:600}

/* ---------- 老人版：整体放大、对比增强 ---------- */
body.elder-mode{background:#FBF9F4}
body.elder-mode .app{font-size:18px}
body.elder-mode .nav .brand b{font-size:18px}
body.elder-mode .sec-h h2{font-size:19px}
body.elder-mode .tiny{font-size:13px;color:#5B645F}
body.elder-mode .svcgrid b,body.elder-mode .mkt-g b{font-size:13.5px}
body.elder-mode .svcgrid .sgic{width:54px;height:54px;border-radius:17px}
body.elder-mode .svcgrid .sgic svg{width:27px;height:27px}
body.elder-mode .menu a{min-height:56px;padding:15px 16px}
body.elder-mode .menu a span{font-size:17px}
body.elder-mode .menu a em,body.elder-mode .menu a i{font-size:13px}
body.elder-mode .btn{height:48px;font-size:17px}
body.elder-mode .pick .bd b,body.elder-mode .mkt-svc .tt b,body.elder-mode .gcard .gn{font-size:16px}
body.elder-mode .mkt-svc .pr b,body.elder-mode .gcard .gf2 b{font-size:21px}
body.elder-mode .me-hd .stats b{font-size:22px}
body.elder-mode .me-hd .stats span{font-size:12px}
body.elder-mode .nav .rt .icon-btn{width:40px;height:40px}

/* ---------- 长辈端设置 ---------- */
.es-status{background:linear-gradient(150deg,#FFFFFF,#F6FBF8);border:1px solid #DCEDE3;border-radius:16px;padding:8px 16px}
.es-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #F4EFE5;flex-wrap:wrap}
.es-row:last-child{border-bottom:0}
.es-row > span{font-size:14px;color:var(--txt);flex:1;min-width:0}
.es-row b{font-size:14px;flex:none}
.es-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.es-photos img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;display:block}

/* ---------- 家属端：长辈呼叫横幅 ---------- */
.fam-call{position:fixed;left:12px;right:12px;top:calc(env(safe-area-inset-top, 0px) + 66px);z-index:90;display:flex;align-items:center;gap:10px;
  background:linear-gradient(150deg,#264A6B,#16293D);color:#fff;border-radius:16px;padding:13px 14px;
  box-shadow:0 16px 40px rgba(20,40,60,.32);animation:fcIn .24s ease both}
@keyframes fcIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.fam-call .fc-in{flex:1;min-width:0}
.fam-call b{display:block;font-size:14.5px;font-weight:600}
.fam-call span{display:block;font-size:11.5px;color:rgba(255,255,255,.72);margin-top:3px}
.fam-call .fc-call{flex:none;background:#fff;color:#16293D;font-weight:700;border-radius:11px;padding:9px 15px;font-size:14px}
.fam-call .fc-x{flex:none;color:rgba(255,255,255,.6);font-size:12.5px;padding:8px 4px}

/* ===== 液态玻璃 A 版（暖象牙）：全局背景 + 玻璃组件 ===== */
:root{
  --glass-bg:linear-gradient(140deg,rgba(255,255,255,.64),rgba(255,255,255,.32));
  --glass-bd:rgba(255,255,255,.66);
  --glass-sh:0 8px 26px rgba(40,32,18,.10),inset 0 1px 0 rgba(255,255,255,.96);
  --glass-blur:blur(22px) saturate(180%);
}
/* 背景：四层色团 + 顶部自然光 + 细噪点（纯 CSS，无额外节点） */
html{background:#F4ECDD}
body{
  background:
    radial-gradient(60% 34% at 50% -6%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
    radial-gradient(42% 30% at 6% 4%, rgba(255,206,150,.95), rgba(255,214,168,0) 62%),
    radial-gradient(40% 30% at 97% 9%, rgba(150,202,176,.90), rgba(168,211,190,0) 64%),
    radial-gradient(48% 34% at 2% 94%, rgba(164,182,212,.82), rgba(178,192,216,0) 64%),
    radial-gradient(36% 28% at 94% 90%, rgba(246,192,150,.86), rgba(246,201,164,0) 64%),
    linear-gradient(180deg,#FEFBF5 0%,#F8F1E5 38%,#F1E9DA 72%,#ECE2D0 100%);
  background-attachment:fixed;
}
body::after{
  content:'';position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.26;
  background-image:radial-gradient(rgba(255,255,255,.55) 1px, transparent 1px);
  background-size:3px 3px;
}
.app,.view,main{position:relative;z-index:1}

/* 玻璃卡片：替换原来的实心白卡 */
.card{
  background:var(--glass-bg);
  -webkit-backdrop-filter:var(--glass-blur);
  backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-bd);
  box-shadow:var(--glass-sh);
}
.menu{
  background:var(--glass-bg);
  -webkit-backdrop-filter:var(--glass-blur);
  backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-bd);
  box-shadow:var(--glass-sh);
}
.svcgrid{
  background:var(--glass-bg);
  -webkit-backdrop-filter:var(--glass-blur);
  backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-bd);
  border-radius:22px;
  box-shadow:var(--glass-sh);
  padding:18px 8px 16px;
}
.svcgrid .sgic{
  background-image:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.42));
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 6px 16px rgba(40,32,18,.10),inset 0 1px 0 rgba(255,255,255,.98);
}
.pcard,.gcard,.lcard,.gord,.gsvc{
  background:var(--glass-bg);
  -webkit-backdrop-filter:var(--glass-blur);
  backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-bd);
  box-shadow:var(--glass-sh);
}
/* 顶栏：毛玻璃 */
.nav{
  background:linear-gradient(140deg,rgba(255,253,247,.86),rgba(255,253,247,.62)) !important;
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  backdrop-filter:blur(20px) saturate(180%);
  border-bottom:1px solid rgba(255,255,255,.5);
}
.nav .icon-btn{
  background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.5));
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 5px 14px rgba(40,32,18,.09),inset 0 1px 0 rgba(255,255,255,.95);
}
/* 底部菜单：悬浮玻璃胶囊 */
.tabbar{
  left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));
  border-radius:24px;
  background:linear-gradient(140deg,rgba(255,255,255,.70),rgba(255,255,255,.34)) !important;
  -webkit-backdrop-filter:blur(26px) saturate(190%);
  backdrop-filter:blur(26px) saturate(190%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:0 14px 38px rgba(40,32,18,.16),inset 0 1px 0 rgba(255,255,255,.98);
  padding:6px 6px;
}
.tabbar a{border-radius:16px;padding:6px 0 5px}
.tabbar a.on{background:rgba(255,255,255,.8);box-shadow:0 4px 14px rgba(40,32,18,.1),inset 0 1px 0 rgba(255,255,255,.95)}
/* 主体底部留白，避免被悬浮菜单盖住 */
.app{padding-bottom:124px !important}

/* 主视觉文案区：玻璃上加深色字更稳 */
.ph-bar,.px{position:relative;z-index:1}

/* 低端机降级：不支持毛玻璃就用半透明白 */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .card,.menu,.svcgrid,.pcard,.gcard,.lcard,.tabbar,.nav{
    background:rgba(255,255,255,.9) !important;
  }
}

/* ===== 液态玻璃 A 版 · 正式版 ===== */
:root{
  --glass-bg:linear-gradient(140deg,rgba(255,255,255,.58),rgba(255,255,255,.26));
  --glass-bg-2:linear-gradient(140deg,rgba(255,255,255,.72),rgba(255,255,255,.44));
  --glass-bd:rgba(255,255,255,.72);
  --glass-sh:0 10px 30px rgba(40,32,18,.12),inset 0 1px 0 rgba(255,255,255,.97);
  --glass-blur:blur(26px) saturate(190%);
}
/* 背景层：五团真实模糊色 + 顶光 + 噪点 */
#glassBg{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;
  background:
    radial-gradient(120% 60% at 50% -14%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 58%),
    linear-gradient(180deg,#FEFBF5 0%,#F8F1E5 40%,#F1E9DA 74%,#ECE2D0 100%)}
#glassBg .gb{position:absolute;border-radius:50%;filter:blur(64px);opacity:.85}
#glassBg .b1{width:96vw;height:96vw;left:-26vw;top:-30vw;
  background:radial-gradient(circle at 38% 38%,#FFD8A6,#F3B373 55%,#E39A55)}
#glassBg .b2{width:88vw;height:88vw;right:-30vw;top:-6vw;
  background:radial-gradient(circle at 42% 42%,#C4E6D5,#84C4A5 56%,#5FAA88)}
#glassBg .b3{width:104vw;height:104vw;left:-30vw;bottom:-40vw;
  background:radial-gradient(circle at 50% 50%,#CFD8EC,#9FB0CE 56%,#8497BC)}
#glassBg .b4{width:82vw;height:82vw;right:-26vw;bottom:6vh;
  background:radial-gradient(circle at 40% 40%,#FFDCC2,#F2BD93 58%,#E09B66)}
#glassBg .b5{width:74vw;height:74vw;left:22vw;top:26vh;opacity:.55;
  background:radial-gradient(circle at 50% 50%,#FFF1CE,#F8DEAE 58%,rgba(248,222,174,0))}
#glassBg .gb-sun{position:absolute;left:-10vw;top:-12vh;width:120vw;height:46vh;
  background:radial-gradient(60% 60% at 30% 20%,rgba(255,255,255,.72),rgba(255,255,255,0) 72%)}
#glassBg .gb-grain{position:absolute;inset:0;opacity:.14;
  background-image:radial-gradient(rgba(255,255,255,.55) 1px, transparent 1px);background-size:3px 3px}
body{background:#F4ECDD}
.app,.view,main{position:relative;z-index:1}
.nav{z-index:20}
.tabbar{z-index:30}

/* 玻璃卡（全部覆盖） */
.card,.menu,.svcgrid,.pcard,.gcard,.lcard,.gord,.gsvc,.ord,.ostatus,.chosen,.dmode .dm,.statbar,.statbar .st{
  background:var(--glass-bg) !important;
  -webkit-backdrop-filter:var(--glass-blur);
  backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-bd) !important;
  box-shadow:var(--glass-sh) !important;
}
.card,.menu{border-radius:24px}
/* 顶栏 */
.nav{
  background:linear-gradient(140deg,rgba(255,253,247,.78),rgba(255,253,247,.52)) !important;
  -webkit-backdrop-filter:blur(22px) saturate(180%);
  backdrop-filter:blur(22px) saturate(180%);
  border-bottom:1px solid rgba(255,255,255,.55) !important;
}
.nav .icon-btn,.ibtn{
  background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(255,255,255,.52)) !important;
  border:1px solid rgba(255,255,255,.9) !important;
  box-shadow:0 6px 16px rgba(40,32,18,.10),inset 0 1px 0 rgba(255,255,255,.98);
}
/* 悬浮玻璃导航 */
.tabbar{
  left:12px !important;right:12px !important;bottom:calc(10px + env(safe-area-inset-bottom)) !important;
  border-radius:24px !important;padding:6px !important;
  background:linear-gradient(140deg,rgba(255,255,255,.68),rgba(255,255,255,.34)) !important;
  -webkit-backdrop-filter:blur(28px) saturate(190%);
  backdrop-filter:blur(28px) saturate(190%);
  border:1px solid rgba(255,255,255,.75) !important;
  box-shadow:0 16px 42px rgba(40,32,18,.18),inset 0 1px 0 rgba(255,255,255,.98) !important;
}
.tabbar a{border-radius:16px;padding:6px 0 5px}
.tabbar a.on{background:rgba(255,255,255,.82);box-shadow:0 4px 14px rgba(40,32,18,.1),inset 0 1px 0 rgba(255,255,255,.96)}

/* 按钮：全部玻璃化 */
.btn,.btn.brand,.btn.solid,.btn.gold,.btn.ghost,.btn.sm,.chip,.dm,.pick,.hbtn,.qty,.qty button,
.sheet .btn,.modal .btn,.gbuy,.gbtn,.seg button,.subseg button{
  background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(255,255,255,.46)) !important;
  -webkit-backdrop-filter:blur(16px) saturate(170%);
  backdrop-filter:blur(16px) saturate(170%);
  border:1px solid rgba(255,255,255,.86) !important;
  box-shadow:0 6px 18px rgba(40,32,18,.10),inset 0 1px 0 rgba(255,255,255,.98) !important;
  color:var(--txt) !important;
}
/* 主按钮保留深色，但做成"深色玻璃" */
.btn.brand,.btn.solid,#bkSubmit,.btn.primary,.gbuy{
  background:linear-gradient(145deg,rgba(28,36,44,.92),rgba(18,24,30,.86)) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 10px 26px rgba(20,26,32,.28),inset 0 1px 0 rgba(255,255,255,.22) !important;
  -webkit-backdrop-filter:blur(8px) saturate(160%);
  backdrop-filter:blur(8px) saturate(160%);
}
/* 危险/求援按钮 */
.btn.sos,.sos-fab,.fab.sos{
  background:linear-gradient(150deg,rgba(214,75,62,.92),rgba(160,40,30,.88)) !important;
  color:#fff !important;border:1px solid rgba(255,255,255,.2) !important;
  box-shadow:0 12px 30px rgba(176,47,37,.32),inset 0 1px 0 rgba(255,255,255,.25) !important;
}
/* 选中态 */
.chip.on,.dm.on,.pick.on,.seg button.on,.subseg button.on{
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,255,255,.7)) !important;
  border-color:rgba(120,150,140,.5) !important;
  box-shadow:0 6px 18px rgba(40,32,18,.12),inset 0 1px 0 rgba(255,255,255,.98) !important;
}
/* 输入框 / 文本域：磨砂 */
.form-row input,.form-row textarea,.ipt,input[type=text],input[type=tel],input[type=number],textarea,select{
  background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.42)) !important;
  -webkit-backdrop-filter:blur(14px) saturate(170%);
  backdrop-filter:blur(14px) saturate(170%);
  border:1px solid rgba(255,255,255,.8) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
}
/* 菜单行 / 列表行：透明分割 */
.menu a{background:transparent !important;border-bottom:1px solid rgba(23,20,16,.06) !important}
.menu a:last-child{border-bottom:0 !important}
/* 弹层 / 底部抽屉 */
.sheet,.pay-sheet .box,.modal .mbox{
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(255,255,255,.7)) !important;
  -webkit-backdrop-filter:blur(30px) saturate(190%);
  backdrop-filter:blur(30px) saturate(190%);
  border:1px solid rgba(255,255,255,.85) !important;
  box-shadow:0 -12px 40px rgba(40,32,18,.2),inset 0 1px 0 rgba(255,255,255,.98) !important;
}
/* 空状态 / 徽标 / 标签 */
.empty{background:transparent !important;box-shadow:none !important}
.pill,.tag,.gtag,.mkt-svc .tags i,.lcard .lnm .pill,.status-pill{
  background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(255,255,255,.5)) !important;
  border:1px solid rgba(255,255,255,.85) !important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
/* 图片卡片内的封面保持不透明，避免糊 */
.gcard .gf img,.album img,.gdetail .gf{backdrop-filter:none}

@media (prefers-reduced-transparency: reduce){
  .card,.menu,.btn,.tabbar,.nav{background:#fff !important;backdrop-filter:none !important}
}

/* 关键：App 容器原来有不透明底色，会把玻璃背景挡住 */
.app,.view{background:transparent !important}
body.home-pending .app{background:transparent !important}

/* 子页面（有自己的底部操作条）隐藏悬浮导航 */
body.no-tabbar .tabbar{display:none !important}
body.no-tabbar .app{padding-bottom:24px !important}

/* 日期 / 时段按钮：玻璃片 */
#bkDates button,#bkTimes button{
  background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(255,255,255,.44)) !important;
  -webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%);
  border:1px solid rgba(255,255,255,.88) !important;
  box-shadow:0 6px 18px rgba(40,32,18,.09),inset 0 1px 0 rgba(255,255,255,.98) !important;
  color:var(--txt) !important;
}
#bkDates button.on,#bkTimes button.on{
  background:linear-gradient(145deg,rgba(30,38,46,.94),rgba(18,24,30,.9)) !important;
  color:#fff !important;border:1px solid rgba(255,255,255,.2) !important;
  box-shadow:0 10px 24px rgba(20,26,32,.28),inset 0 1px 0 rgba(255,255,255,.2) !important;
}

/* 底部操作条（合计/确认）也玻璃化 */
.bar{
  background:linear-gradient(140deg,rgba(255,255,255,.74),rgba(255,255,255,.44)) !important;
  -webkit-backdrop-filter:blur(26px) saturate(190%);
  backdrop-filter:blur(26px) saturate(190%);
  border-top:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 -12px 34px rgba(40,32,18,.14) !important;
}
.bar .in{background:transparent !important}

/* 订单状态：五个玻璃小块（替换原来挤在一起的分栏） */
.statbar{display:grid !important;grid-template-columns:repeat(5,1fr);gap:7px;padding:2px 14px 14px}
.statbar .st{
  background:linear-gradient(145deg,rgba(255,255,255,.74),rgba(255,255,255,.40)) !important;
  -webkit-backdrop-filter:blur(14px) saturate(170%);backdrop-filter:blur(14px) saturate(170%);
  border:1px solid rgba(255,255,255,.78) !important;
  border-radius:14px !important;padding:11px 2px 10px !important;text-align:center;cursor:pointer;
  box-shadow:0 4px 14px rgba(40,32,18,.07),inset 0 1px 0 rgba(255,255,255,.96) !important;
  transition:transform .1s ease;
}
.statbar .st b{display:block;font-size:18px;font-weight:700;letter-spacing:-.02em;line-height:1.15;color:var(--txt)}
.statbar .st span{display:block;font-size:10px;color:var(--mute);margin-top:4px;white-space:nowrap;letter-spacing:.01em}
.statbar .st:active{transform:scale(.96);opacity:1}

/* ===== 表单：与玻璃卡协调的输入样式 ===== */
/* 1) 行内表单：去掉白底和粗分割线，只留一条极淡的分隔 */
.form-row,.form-row.col{
  background:transparent !important;
  border-bottom:1px solid rgba(23,20,16,.07) !important;
}
.form-row:last-child,.form-row.col:last-child{border-bottom:0 !important}
.form-row label{color:var(--ink-2,#5B645F) !important}
/* 行内输入：不画框，直接贴在同一层玻璃上 */
.form-row input,.form-row textarea{
  background:transparent !important;border:0 !important;box-shadow:none !important;
  color:var(--txt) !important;caret-color:var(--brand-d,#1F3A57);
}
.form-row input::placeholder,.form-row textarea::placeholder{color:#B3A895 !important}
/* 行内多行文本：给一块柔和的浅玻璃底，跟卡片同色系 */
.form-row.col textarea{
  background:linear-gradient(145deg,rgba(255,255,255,.6),rgba(255,255,255,.34)) !important;
  border:1px solid rgba(196,181,152,.34) !important;
  border-radius:14px !important;padding:12px 14px !important;
  box-shadow:inset 0 1px 2px rgba(40,32,18,.05) !important;
}
/* 2) 独立输入框（地址、电话、验证码等）：暖灰细边 + 半透明白，不用纯白 */
.ipt,input[type=text],input[type=tel],input[type=number],input[type=search],input[type=email],input:not([type]),textarea{
  background:linear-gradient(145deg,rgba(255,255,255,.66),rgba(255,255,255,.4)) !important;
  border:1px solid rgba(196,181,152,.36) !important;
  border-radius:12px !important;
  color:var(--txt) !important;
  box-shadow:inset 0 1px 2px rgba(40,32,18,.05) !important;
  -webkit-backdrop-filter:blur(12px) saturate(160%);
  backdrop-filter:blur(12px) saturate(160%);
}
.ipt:focus,input:focus,textarea:focus{
  border-color:rgba(28,107,76,.45) !important;
  box-shadow:0 0 0 3px rgba(28,107,76,.12),inset 0 1px 2px rgba(40,32,18,.04) !important;
  outline:0 !important;
}
input::placeholder,textarea::placeholder{color:#B3A895 !important}
/* 3) 搜索框、绑定码这类大输入：保持同一套边色 */
.search input,.bind input{background:rgba(255,255,255,.6) !important;border-color:rgba(196,181,152,.3) !important}
/* 4) 卡片里的分隔线统一色，不要抢视线 */
.card .form-row{border-bottom-color:rgba(23,20,16,.06) !important}
/* 5) 下拉选择 */
.form-row select,select{
  background:transparent !important;border:0 !important;color:var(--txt) !important;
  font:15px/1.5 var(--sans);text-align:right;outline:0;
}

/* 悬浮按钮：收起成一个球，点开再展开 */
.fabs{position:fixed;right:14px;bottom:calc(96px + env(safe-area-inset-bottom));z-index:60;
  display:flex;flex-direction:column;align-items:flex-end;gap:9px}
.fabs > button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  border-radius:50%;border:1px solid rgba(255,255,255,.8);
  box-shadow:0 10px 26px rgba(40,32,18,.16),inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);
  transition:transform .16s ease,opacity .16s ease;overflow:hidden}
.fabs svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fabs span{font-size:9px;letter-spacing:.02em}
/* 收起的三个 */
.fabs #fabSos,.fabs #fabCall,.fabs #fabKf{
  width:52px;height:52px;background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(255,255,255,.6));
  color:#3A3428;opacity:0;pointer-events:none;transform:translateY(10px) scale(.86)}
.fabs #fabSos{background:linear-gradient(150deg,rgba(214,75,62,.95),rgba(160,40,30,.92));color:#fff;border-color:rgba(255,255,255,.3)}
.fabs.open #fabSos,.fabs.open #fabCall,.fabs.open #fabKf{opacity:1;pointer-events:auto;transform:none}
/* 主球 */
.fabs .fab-main{width:56px;height:56px;border-radius:50%;
  background:linear-gradient(145deg,rgba(28,36,44,.94),rgba(18,24,30,.9));color:#fff;
  box-shadow:0 14px 32px rgba(20,26,32,.3),inset 0 1px 0 rgba(255,255,255,.25)}
.fabs .fab-main svg{width:22px;height:22px;transition:transform .18s ease}
.fabs.open .fab-main svg{transform:rotate(45deg)}
body.no-tabbar .fabs{bottom:calc(86px + env(safe-area-inset-bottom))}

/* ===== 统一：玻璃卡上的小块不再用死白，改成"同色系半透" ===== */
/* 订单状态：去掉方块，回归干净的 5 栏文字 */
.statbar{
  display:grid !important;grid-template-columns:repeat(5,1fr);
  gap:0 !important;padding:4px 6px 14px !important;
  background:transparent !important;border:0 !important;box-shadow:none !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
}
.statbar .st{
  background:transparent !important;border:0 !important;box-shadow:none !important;
  border-radius:12px !important;padding:10px 2px 9px !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
  transition:background .16s ease,transform .1s ease;
}
.statbar .st b{font-size:19px !important;font-weight:700;letter-spacing:-.02em;color:var(--txt) !important}
.statbar .st span{font-size:10.5px !important;color:#8B8172 !important;margin-top:5px !important}
.statbar .st:active{background:rgba(255,255,255,.35) !important;transform:scale(.97)}

/* 卡片上的小按钮（开通/续费/更换等）：深色玻璃，不用死白 */
.btn.ghost,.btn.sm,.btn.gold.sm,#memBtn,#bkReselect,.chosen .btn{
  background:linear-gradient(145deg,rgba(32,40,48,.9),rgba(20,26,32,.84)) !important;
  color:#fff !important;border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 8px 20px rgba(20,26,32,.22),inset 0 1px 0 rgba(255,255,255,.2) !important;
}
/* 徽标 / 标签：暖白半透，不要纯白 */
.pill,.tag,.gtag,.status-pill,.mkt-svc .tags i,.lcard .lnm .pill{
  background:rgba(255,255,255,.42) !important;
  border:1px solid rgba(255,255,255,.5) !important;
  box-shadow:none !important;
}
/* 头像/色块保持实色，避免糊 */
.pcard .pav,.gord .av,.ord .av,.lcard .lav,.gpc .av,.chosen img,.chosen .cav{
  background-clip:padding-box;
}

/* 收起时三个按钮不占位，主球才贴着底 */
.fabs:not(.open) #fabSos,.fabs:not(.open) #fabCall,.fabs:not(.open) #fabKf{display:none !important}
.fabs.open #fabSos,.fabs.open #fabCall,.fabs.open #fabKf{display:flex !important}

/* ===== 统一：面板与输入框的暖玻璃（不再用白块） ===== */
:root{
  --panel:linear-gradient(150deg,rgba(255,252,246,.52),rgba(255,250,240,.26));
  --panel-bd:rgba(255,255,255,.5);
  --field:linear-gradient(150deg,rgba(255,252,246,.62),rgba(255,249,238,.38));
  --field-bd:rgba(196,176,142,.22);
}
/* 所有卡片 / 面板统一成暖色玻璃，别再用纯白 */
.card,.menu,.svcgrid,.pcard,.gcard,.lcard,.gord,.ord,.gord,.chosen,.dmode .dm,.gdetail{
  background:var(--panel) !important;
  border:1px solid var(--panel-bd) !important;
  box-shadow:0 10px 28px rgba(70,52,26,.08),inset 0 1px 0 rgba(255,255,255,.85) !important;
}
/* 输入框 / 文本域：暖底 + 极淡描边，聚焦才亮 */
.ipt,input[type=text],input[type=tel],input[type=number],input[type=search],input[type=email],input:not([type]),textarea{
  background:var(--field) !important;
  border:1px solid var(--field-bd) !important;
  border-radius:14px !important;
  box-shadow:inset 0 1px 3px rgba(70,52,26,.05) !important;
  color:var(--ink,#171410) !important;
}
.ipt:focus,input:focus,textarea:focus{
  border-color:rgba(28,107,76,.38) !important;
  background:linear-gradient(150deg,rgba(255,253,248,.78),rgba(255,250,240,.55)) !important;
  box-shadow:0 0 0 3px rgba(28,107,76,.1),inset 0 1px 3px rgba(70,52,26,.04) !important;
}
/* 行内表单的行：透明，只留极淡分割 */
.form-row,.form-row.col{background:transparent !important;border-bottom:1px solid rgba(23,20,16,.06) !important}
.form-row:last-child,.form-row.col:last-child{border-bottom:0 !important}
.form-row input,.form-row textarea{background:transparent !important;border:0 !important;box-shadow:none !important}
/* 行内多行文本：跟输入框同色系 */
.form-row.col textarea{
  background:var(--field) !important;border:1px solid var(--field-bd) !important;
  border-radius:14px !important;padding:12px 14px !important;
}
/* 芯片（投诉/建议、筛选项）：暖玻璃；选中=墨绿玻璃 */
.chips .chip,.chip,.seg button,.subseg button{
  background:linear-gradient(150deg,rgba(255,252,246,.58),rgba(255,249,238,.34)) !important;
  border:1px solid rgba(255,255,255,.62) !important;
  box-shadow:0 6px 16px rgba(70,52,26,.08),inset 0 1px 0 rgba(255,255,255,.9) !important;
  color:var(--ink,#171410) !important;
}
.chip.on,.chips .chip.on,.seg button.on,.subseg button.on{
  background:linear-gradient(150deg,rgba(28,107,76,.92),rgba(20,80,58,.88)) !important;
  border-color:rgba(28,107,76,.5) !important;
  color:#fff !important;
  box-shadow:0 8px 20px rgba(20,80,58,.24),inset 0 1px 0 rgba(255,255,255,.2) !important;
}
/* 主提交按钮：深玻璃（保持） */
.btn.brand,.btn.solid{box-shadow:0 12px 28px rgba(20,26,32,.26),inset 0 1px 0 rgba(255,255,255,.2) !important}

/* 数量步进器：跟输入框同一套 */
.qty{background:var(--field) !important;border:1px solid var(--field-bd) !important;
  border-radius:12px !important;overflow:hidden;box-shadow:inset 0 1px 3px rgba(70,52,26,.05) !important}
.qty button{background:transparent !important;border:0 !important;color:var(--ink,#171410) !important;
  width:34px;height:34px;font-size:17px}
.qty b,.qty .qn{border-left:1px solid rgba(23,20,16,.08) !important;border-right:1px solid rgba(23,20,16,.08) !important}

/* ===== 输入框统一：无边框暖白软底（按样板） ===== */
:root{
  --field-soft:linear-gradient(160deg,rgba(255,255,255,.66),rgba(255,252,245,.46));
  --field-soft-focus:linear-gradient(160deg,rgba(255,255,255,.86),rgba(255,253,247,.7));
}
/* 所有输入框、文本域、下拉：去掉可见描边，只留一层柔光边 */
.ipt,
input[type=text],input[type=tel],input[type=number],input[type=search],input[type=email],input:not([type]),
textarea,
.form-row input,.form-row textarea,.form-row.col textarea{
  background:var(--field-soft) !important;
  border:1px solid rgba(255,255,255,.62) !important;
  border-radius:16px !important;
  box-shadow:inset 0 1px 2px rgba(70,52,26,.035),0 1px 0 rgba(255,255,255,.55) !important;
  color:#221C12 !important;
  padding:13px 15px !important;
  line-height:1.6 !important;
  -webkit-backdrop-filter:blur(10px) saturate(150%) !important;
  backdrop-filter:blur(10px) saturate(150%) !important;
}
textarea{min-height:78px !important}
.ipt{height:auto !important;min-height:46px}
.ipt:focus,
input:focus,textarea:focus,
.form-row input:focus,.form-row textarea:focus{
  background:var(--field-soft-focus) !important;
  border-color:rgba(255,255,255,.9) !important;
  box-shadow:0 0 0 3px rgba(28,107,76,.09),inset 0 1px 2px rgba(70,52,26,.03) !important;
  outline:0 !important;
}
input::placeholder,textarea::placeholder{color:#A99C86 !important;font-weight:400}
/* 行内的单行输入：同一套软底，但更紧凑 */
.form-row input{
  background:var(--field-soft) !important;
  padding:11px 13px !important;
  max-width:62%;
  text-align:right;
}
/* 多行：跟样板一致的内边距 */
.form-row.col textarea{padding:14px 16px !important;min-height:92px !important}
/* 数量步进器也同一套 */
.qty{background:var(--field-soft) !important;border:1px solid rgba(255,255,255,.62) !important;
  border-radius:14px !important;box-shadow:inset 0 1px 2px rgba(70,52,26,.035) !important}
.qty button{background:transparent !important;border:0 !important}
.qty b,.qty .qn{border-left:1px solid rgba(255,255,255,.7) !important;border-right:1px solid rgba(255,255,255,.7) !important}
/* 搜索框同样处理 */
.search input{background:var(--field-soft) !important;border-color:rgba(255,255,255,.6) !important}

/* ===== 选项卡（平台分配/指定陪伴师）：不要被背景色染成色块 ===== */
.dmode .dm{
  background:linear-gradient(150deg,rgba(255,255,255,.78),rgba(255,252,245,.58)) !important;
  border:1px solid rgba(255,255,255,.72) !important;
  box-shadow:0 8px 22px rgba(70,52,26,.08),inset 0 1px 0 rgba(255,255,255,.95) !important;
}
.dmode .dm.on{
  background:linear-gradient(150deg,rgba(255,255,255,.92),rgba(255,253,248,.78)) !important;
  border-color:rgba(28,107,76,.42) !important;
  box-shadow:0 10px 26px rgba(28,107,76,.14),inset 0 1px 0 rgba(255,255,255,.98) !important;
}
/* 有底部操作条的页面，不显示悬浮球，避免压住输入框 */
body.no-tabbar .fabs{display:none !important}
/* 背景色团稍微收一点，别把浅色卡片染成色块 */
#glassBg .gb{opacity:.72}
#glassBg .b1{opacity:.66}
#glassBg .b2{opacity:.6}

/* hidden 属性必须真正隐藏（.fam-call 等设了 display:flex 会把它顶掉） */
[hidden]{display:none !important}
.fam-call[hidden],.toast[hidden],.fabs[hidden]{display:none !important}

/* ===== 订单状态卡：恢复深色玻璃，白色文字才看得清 ===== */
.ostatus{
  background:linear-gradient(150deg,rgba(31,58,87,.95),rgba(20,44,66,.9)) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 18px 40px rgba(20,44,66,.3),inset 0 1px 0 rgba(255,255,255,.22) !important;
  -webkit-backdrop-filter:blur(18px) saturate(160%) !important;
  backdrop-filter:blur(18px) saturate(160%) !important;
}
.ostatus b,.ostatus .t{color:#fff !important}
.ostatus span,.ostatus .s{color:rgba(255,255,255,.8) !important}
.ostatus .ic{background:rgba(255,255,255,.2) !important;color:#fff !important}

/* 返回条：不再用实色白条，改成透明 + 玻璃小按钮 */
.ph-bar{
  background:transparent !important;border:0 !important;box-shadow:none !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
  padding:10px 14px 2px !important;margin:0 !important;
}
.ph-bar .bk{
  display:inline-flex;align-items:center;gap:6px;
  background:linear-gradient(150deg,rgba(255,255,255,.72),rgba(255,252,245,.5)) !important;
  border:1px solid rgba(255,255,255,.72) !important;
  border-radius:12px !important;padding:8px 13px 8px 10px !important;
  color:#221C12 !important;font-size:13.5px !important;font-weight:600;
  box-shadow:0 6px 16px rgba(70,52,26,.09),inset 0 1px 0 rgba(255,255,255,.95) !important;
  -webkit-backdrop-filter:blur(14px) saturate(170%) !important;
  backdrop-filter:blur(14px) saturate(170%) !important;
}
.ph-bar .bk svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* 商品订单页的两颗按钮：确认收货=浅玻璃，回商城=深玻璃 */
#goReceive{background:linear-gradient(150deg,rgba(255,255,255,.8),rgba(255,252,245,.6)) !important;
  color:#1B2733 !important;border:1px solid rgba(255,255,255,.8) !important;
  box-shadow:0 8px 20px rgba(70,52,26,.08),inset 0 1px 0 rgba(255,255,255,.98) !important}
#goBack{background:linear-gradient(150deg,rgba(28,36,44,.94),rgba(18,24,30,.9)) !important;
  color:#fff !important;border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 12px 28px rgba(20,26,32,.26),inset 0 1px 0 rgba(255,255,255,.2) !important}

/* ===== 我的页头部：暖玻璃卡（和整页协调） ===== */
.me-hd{
  background:
    radial-gradient(70% 60% at 12% -10%, rgba(255,255,255,.95), rgba(255,255,255,0) 62%),
    linear-gradient(150deg,rgba(255,252,246,.88),rgba(250,238,220,.72) 60%,rgba(243,229,206,.6)) !important;
  -webkit-backdrop-filter:blur(26px) saturate(185%);backdrop-filter:blur(26px) saturate(185%);
  border:1px solid rgba(255,255,255,.95) !important;
  box-shadow:0 18px 44px rgba(70,52,26,.14),inset 0 1px 0 rgba(255,255,255,1) !important;
  color:#171410 !important;
}
.me-hd:before{
  background:radial-gradient(circle,rgba(192,138,62,.28),transparent 70%) !important;
  right:-40px;top:-60px;width:200px;height:200px;
}
.me-hd .av{
  background:linear-gradient(150deg,#FBF1DE,#F0DFC2) !important;
  color:#8A5E1F !important;
  border:1px solid rgba(255,255,255,.95) !important;
  box-shadow:0 8px 20px rgba(70,52,26,.12),inset 0 1px 0 rgba(255,255,255,1) !important;
}
.me-hd b{color:#171410 !important}
.me-hd span{color:#7C6E5A !important}
.me-hd .stats{border-top:1px solid rgba(70,52,26,.1) !important}
.me-hd .stats b{color:#171410 !important;font-size:19px !important;font-weight:700 !important}
.me-hd .stats span{color:#8A7A63 !important;font-size:10.5px !important}
.me-hd .stats .sep{background:rgba(70,52,26,.1) !important}

/* 待确认需求 / 防骗预审 */
.vs-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.vs-head b{font-size:15px;font-weight:700}
.vs-said{margin-top:8px;font-size:16px;line-height:1.6;color:#1C1914;
  background:rgba(255,255,255,.55);border-radius:12px;padding:10px 12px}
.vs-meta{display:flex;gap:14px;margin-top:9px;font-size:11.5px;color:var(--mute);flex-wrap:wrap}
.vs-acts{display:flex;gap:8px;margin-top:12px;align-items:center}
.vs-acts .btn{height:40px;border-radius:11px;font-size:13.5px}

/* 提醒卡片 */
.notice.unread{border-left:3px solid #C08A2E}
.nt-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.nt-h b{font-size:14.5px;font-weight:700}
.nt-b{font-size:12.5px;color:var(--sub);line-height:1.6;margin-top:4px}
/* 菜单红点 */
.dot-badge{display:inline-block;min-width:8px;height:8px;border-radius:50%;background:#D2493C;margin-left:6px;vertical-align:middle}
/* 菜单行里的数字角标：不能被 .menu a span{flex:1} 拉长，[hidden] 也要真的隐藏 */
.menu a .dot-badge{flex:0 0 auto;min-width:18px;height:18px;padding:0 5px;border-radius:9px;
  background:#D2493C;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;
  margin-left:8px;vertical-align:middle}
.menu a .dot-badge[hidden]{display:none}

/* 家人的故事 */
.st-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.st-h b{font-size:15px;font-weight:700}
.st-txt{margin-top:8px;font-size:14px;line-height:1.6;color:#3E382E;background:rgba(255,255,255,.55);
  border-radius:12px;padding:9px 12px}
.st-replies{margin-top:8px;display:flex;flex-direction:column;gap:6px}
.st-r{font-size:12.5px;color:#155C41;background:rgba(28,107,76,.09);border-radius:10px;padding:7px 10px}
.st-r b{margin-right:6px}
.st-act{display:flex;gap:8px;margin-top:10px}
.st-act .ipt{flex:1;height:38px;border-radius:10px;border:1px solid rgba(23,20,16,.1);padding:0 12px;font-size:13px;background:rgba(255,255,255,.7)}
.st-act .btn{height:38px;border-radius:10px;padding:0 14px;font-size:13px}

/* 商品分类角标：贴到卡片而不是图片容器（图片容器高度为 0 会被裁切） */
.gcard{position:relative}
.gcard .gf{position:static !important}
.gcard .gtag{position:absolute !important;left:10px;top:10px;z-index:2}

/* 通话横幅：改到底部弹出，避免遮挡页面标题和卡片 */
.fam-call{
  top:auto !important;
  bottom:calc(98px + env(safe-area-inset-bottom)) !important;
  animation:fcUp .28s cubic-bezier(.2,.9,.3,1);
}
@keyframes fcUp{from{transform:translateY(22px);opacity:0}to{transform:none;opacity:1}}

/* 预审：有新录音时的提示（不打断当前播放） */
.new-chunk{margin-top:8px;padding:8px 10px;border-radius:10px;font-size:12px;color:#8A5E1F;
  background:rgba(250,240,220,.92);border:1px solid rgba(169,118,30,.25);cursor:pointer}
.new-chunk b{text-decoration:underline}

/* 全局提醒横幅（任意主页面弹出） */
.fam-alert{
  position:fixed;left:12px;right:12px;bottom:calc(98px + env(safe-area-inset-bottom));
  z-index:95;display:flex;align-items:center;gap:10px;
  padding:13px 14px;border-radius:18px;
  background:linear-gradient(150deg,rgba(255,252,245,.98),rgba(250,238,218,.96));
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 18px 44px rgba(70,52,26,.18),inset 0 1px 0 rgba(255,255,255,1);
  animation:faUp .28s cubic-bezier(.2,.9,.3,1);
}
@keyframes faUp{from{transform:translateY(20px);opacity:0}to{transform:none;opacity:1}}
.fam-alert[hidden]{display:none !important}
.fam-alert .fa-in{flex:1;min-width:0}
.fam-alert b{display:block;font-size:14.5px;font-weight:700;color:#1C1914}
.fam-alert span{display:block;font-size:11.5px;color:#6A6156;margin-top:3px}
.fam-alert .fa-go{flex:none;background:linear-gradient(150deg,#1E7A57,#155C41);color:#fff;font-weight:700;
  border-radius:12px;padding:10px 14px;font-size:13.5px}
.fam-alert .fa-x{flex:none;color:#8A7A63;font-size:12.5px;padding:8px 4px}
/* 待确认页切换条 */
#vaSeg{
  margin:12px 16px 14px !important;
  padding:4px !important;
  border-radius:18px !important;
  gap:5px !important;
}
#vaSeg button{height:38px !important;border-radius:14px !important;font-size:13.5px !important}
#vaSeg button span{
  margin-left:5px;font-size:10.5px;font-weight:800;border-radius:999px;padding:1px 6px;
  background:rgba(255,255,255,.7);color:#155C41;
}
#vaSeg button.on span{background:rgba(255,255,255,.25);color:#fff}

/* 预审音频：大播放按钮 */
.pc-play{min-height:40px;padding:0 14px;border-radius:11px;font-size:13.5px;font-weight:700;
  color:#155C41;background:rgba(232,246,238,.95);border:1px solid rgba(28,107,76,.22)}
.pc-state{color:#8A7A63}

/* 待确认页：切换条与下方内容统一 16px 栅格，圆角与卡片一致 */
#v-voiceapprove .px{padding-left:16px;padding-right:16px}
#v-voiceapprove .sec{margin-top:6px}
#v-voiceapprove .sec-h{margin-bottom:10px}

/* 同时有呼叫横幅和家里提醒时，往上错开，避免重叠 */
body.has-alert .fam-call{bottom:calc(186px + env(safe-area-inset-bottom)) !important}

/* 回忆录（家属端） */
.mm-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.2);color:#fff;font-size:26px}
.mm-viewer{position:fixed;inset:0;z-index:120;background:rgba(12,10,8,.94);
  display:flex;align-items:center;justify-content:center;padding:20px}
.mm-vbox{width:100%;max-width:560px;text-align:center}
.mm-vbox video{width:100%;max-height:70vh;border-radius:14px}
.mm-vt{color:#E9E2D5;font-size:14px;margin-top:10px}
.mm-vx{margin-top:12px;padding:10px 22px;border-radius:12px;background:rgba(255,255,255,.16);color:#fff;font-size:14px}

/* 订单服务录像（家属端） */
.rec-block{margin-top:10px}
.rec-block:empty{display:none}
.rec-hd{display:flex;align-items:center;justify-content:space-between;font-size:13.5px;font-weight:700;
  color:#2E3A34;margin:6px 2px 8px}
.rec-hd span{font-size:11.5px;font-weight:500;color:#7C8A83}
.rec-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:14px;margin-bottom:8px;
  background:linear-gradient(150deg,rgba(255,255,255,.94),rgba(250,246,238,.86));
  border:1px solid rgba(255,255,255,.9);box-shadow:0 6px 16px rgba(70,52,26,.07)}
.rec-item:active{transform:scale(.995)}
.rec-ico{width:38px;height:38px;flex:none;border-radius:11px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(150deg,#1E7A57,#155C41);color:#fff;font-size:13px}
.rec-bd{flex:1;min-width:0}
.rec-bd b{display:block;font-size:13.5px;color:#20261F}
.rec-bd span{display:block;font-size:11.5px;color:#7C8A83;margin-top:3px}
.rec-go{flex:none;font-size:12px;color:#155C41;font-weight:600}

/* 预审卡片：已结束的弱化显示 */
.dim-card{opacity:.82}
.dim-card .vs-head .pill{background:rgba(120,132,128,.16);color:#6E7C77}
#vaPre audio{width:100%;margin-top:6px}

/* 我的投诉：官方回复气泡 */
.cp-reply{margin-top:9px;padding:9px 11px;border-radius:12px;background:rgba(28,107,76,.08);
  border-left:3px solid #1C6B4C;display:flex;flex-direction:column;gap:3px}
.cp-reply b{font-size:11.5px;color:#157A54}
.cp-reply span{font-size:13px;line-height:1.6;color:#25443A}

/* ===== 城市选择（H5） ===== */
.nav .brand .city-chip{display:inline-flex;align-items:center;gap:4px;margin-left:8px;
  padding:3px 8px;border-radius:999px;border:1px solid rgba(28,107,76,.28);
  background:rgba(28,107,76,.08);color:#155C41;font-size:12px;font-weight:600;cursor:pointer}
.nav .brand .city-chip i{font-style:normal;font-size:10px;opacity:.7}
.nav .brand .city-chip.empty{color:#8A7C68;border-color:rgba(140,120,90,.3);background:rgba(140,120,90,.08)}
.city-sheet{position:fixed;inset:0;z-index:9998}
.city-sheet .cs-mask{position:absolute;inset:0;background:rgba(20,16,12,.45)}
.city-sheet .cs-panel{position:absolute;left:0;right:0;bottom:0;max-height:76vh;display:flex;flex-direction:column;
  background:#FFFDF8;border-radius:20px 20px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.18);overflow:hidden}
.city-sheet .cs-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px;font-size:16px}
.city-sheet .cs-close{border:0;background:none;font-size:22px;line-height:1;color:#8A7C68;cursor:pointer}
.city-sheet .cs-search{display:flex;gap:8px;padding:0 18px 12px}
.city-sheet .cs-search input{flex:1;height:40px;border:1px solid #E6DFD2;border-radius:10px;padding:0 12px;font-size:14px;background:#fff}
.city-sheet .cs-search button{height:40px;padding:0 16px;border-radius:10px;border:0;background:#1C6B4C;color:#fff;font-size:13px;font-weight:600}
.city-sheet .cs-body{flex:1;overflow-y:auto;padding:0 12px 18px}
.city-sheet .cs-hint{padding:26px;text-align:center;color:#9A8C78;font-size:13px}
.city-sheet .cs-sec{padding:10px 8px 8px;font-size:12px;color:#8A7C68;display:flex;align-items:center;gap:8px}
.city-sheet .cs-back{border:0;background:none;color:#1C6B4C;font-size:12px;font-weight:600;cursor:pointer;padding:0}
.city-sheet .cs-prov,.city-sheet .cs-city{display:flex;align-items:center;gap:8px;width:100%;padding:13px 12px;border:0;
  background:none;border-bottom:1px solid #F1EBDF;font-size:15px;text-align:left;cursor:pointer}
.city-sheet .cs-prov em,.city-sheet .cs-city em{font-style:normal;font-size:11px;color:#9A8C78;margin-left:auto}
.city-sheet .cs-prov em.on,.city-sheet .cs-city em.on{color:#1C6B4C;font-weight:700}
.city-sheet .cs-prov i,.city-sheet .cs-city i{font-style:normal;color:#C9C0B0;margin-left:6px}
.city-sheet .cs-item{display:flex;align-items:center;gap:10px;width:100%;padding:13px 12px;border:0;background:none;
  border-bottom:1px solid #F1EBDF;text-align:left;cursor:pointer}
.city-sheet .cs-item b{font-size:15px;font-weight:600;color:#231F19}
.city-sheet .cs-item em{font-style:normal;font-size:11.5px;color:#9A8C78;margin-left:auto}
.city-sheet .cs-item em.on{color:#1C6B4C;font-weight:700}
.city-sheet .cs-empty{padding:20px 12px;display:flex;flex-direction:column;gap:10px;align-items:center;text-align:center}
.city-sheet .cs-empty b{font-size:16px}
.city-sheet .cs-empty span{font-size:12.5px;color:#8A7C68;line-height:1.6}
.city-sheet .cs-empty input{width:100%;height:44px;border:1px solid #E6DFD2;border-radius:10px;padding:0 12px;font-size:15px}
.city-sheet .cs-primary{width:100%;height:46px;border:0;border-radius:12px;background:#1C6B4C;color:#fff;font-size:15px;font-weight:700}
.city-sheet .cs-ghost{width:100%;height:42px;border:1px solid #E6DFD2;border-radius:12px;background:#fff;color:#6A6156;font-size:14px}
.city-sheet .cs-toast{position:fixed;left:50%;bottom:22%;transform:translateX(-50%);z-index:9999;
  background:rgba(30,24,18,.92);color:#fff;font-size:13px;padding:9px 16px;border-radius:10px}

/* 老人档案：服务区县 */
.area-btn{width:100%;height:44px;border:1px solid #E6DFD2;border-radius:10px;background:#fff;color:#3A342C;
  font-size:14px;text-align:left;padding:0 12px}
.area-state{margin-top:8px;font-size:12px;line-height:1.6;color:#8A7C68}
.area-state.ok{color:#1C6B4C}
.area-state.warn{color:#B36B1A}
.area-state .ok{font-weight:700}
.area-state .warn{font-weight:700}
