/* 暖阳 · 家属端 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)}
/* 启动中：只显示品牌遮罩，避免登录页/空首页闪一下 */
#bootMask{position:fixed;inset:0;z-index:60;display:none;flex-direction:column;align-items:center;justify-content:center;
  background:radial-gradient(120% 80% at 50% 0%,#1B150E 0%,#12100C 60%,#0E0C09 100%);color:#EFE6D6}
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 30px rgba(168,132,60,.35),inset 0 1px 0 rgba(255,255,255,.4)}
#bootMask .bm-name{margin-top:14px;font-size:17px;letter-spacing:.28em;color:#E8DCC4}
#bootMask .bm-sub{margin-top:6px;font-size:10.5px;letter-spacing:.34em;color:#8C7F68}
#bootMask .bm-dots{display:flex;gap:6px;margin-top:26px}
#bootMask .bm-dots i{width:6px;height:6px;border-radius:50%;background:#A8843C;opacity:.35;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:.25;transform:translateY(0)}50%{opacity:1;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}
