:root {
  --primary: #47D0C9;
  --primary-deep: #2BB4AD;
  --primary-dark: #1A8F89;
  --primary-bright: #5FDCD6;
  --primary-light: #E5F9FE;
  --primary-bg: #D9F6F4;
  --gold: #f5a623;
  --text: #1f2937;
  --text-sub: #6b7280;
  --line: #eef2f1;
  --bg: #f5fafa;
  --radius: 14px;
}

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

html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
}

body {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(900px 500px at 15% 0%, #dcf6f4 0%, rgba(220,246,244,0) 60%),
    radial-gradient(700px 500px at 100% 100%, #e3f8f6 0%, rgba(227,248,246,0) 60%),
    #f0f7f6;
}

.stage { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px 12px; }

/* ---------- 图标 ---------- */
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.12em; }

/* ---------- 手机外壳 ---------- */
.phone {
  position: relative;
  width: 390px; height: 812px;
  background: var(--bg);
  border-radius: 42px;
  box-shadow: 0 30px 80px rgba(26,143,137,.22), 0 6px 20px rgba(17,24,39,.08), 0 0 0 10px #0f172a, 0 0 0 12px #1e293b;
  overflow: hidden;
  display: flex; flex-direction: column;
}

.statusbar {
  height: 44px; flex: 0 0 44px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px; font-size: 13px; font-weight: 700; color: #134e4a;
  background: #fff;
}
.sb-right { display: flex; align-items: center; gap: 5px; }
.sb-signal, .sb-wifi, .sb-battery { display: block; background: #134e4a; }
.sb-signal { width: 16px; height: 10px; clip-path: polygon(0 100%, 33% 100%, 33% 40%, 0 40%, 0 100%, 33% 100%, 33% 60%, 66% 60%, 66% 20%, 33% 20%, 66% 100%, 100% 100%, 100% 0, 66% 0); }
.sb-wifi { width: 14px; height: 10px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.sb-battery { width: 22px; height: 11px; border-radius: 3px; }

.navbar {
  flex: 0 0 44px; height: 44px;
  background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  position: relative; font-size: 16px; font-weight: 700;
  border-bottom: 1px solid rgba(15,23,42,.04);
}
.capsule {
  position: absolute; right: 14px; top: 8px; height: 28px; padding: 0 10px;
  border-radius: 14px; background: #f3f6f5;
  border: 1px solid #e5eae8;
  display: flex; align-items: center; gap: 8px; font-size: 12px; color: #374151;
}
.capsule .divider { width: 1px; height: 12px; background: #d6ddda; }

.screen { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 14px 14px 110px; -webkit-overflow-scrolling: touch; }
.screen::-webkit-scrollbar { width: 0; }
.screen[data-view="home"] { background: linear-gradient(180deg, var(--primary-bg) 0%, rgba(217,246,244,0) 320px), var(--bg); }

.view { display: none; animation: fade .28s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.card { background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: 0 2px 10px rgba(17,24,39,.04); }

/* ---------- 顶部 ---------- */
.top-row { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 12px; }
.locate { border: 0; background: transparent; font-size: 17px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 5px; cursor: pointer; padding: 0; }
.caret { font-size: 12px; color: var(--text-sub); }

/* ---------- Banner（仿参考：左文右图） ---------- */
.banner {
  position: relative; overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(105deg, #C9F2EF 0%, #E5F9FE 68%, #F0FDFE 100%);
  min-height: 176px;
  box-shadow: 0 10px 26px rgba(43,180,173,.18);
}
.banner-img {
  position: absolute; right: -6px; bottom: -6px; height: 96%;
  width: 56%; object-fit: contain; object-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.banner-text { position: relative; z-index: 2; padding: 20px 16px; width: 62%; }
.banner-text h1 { margin: 0; font-size: 20px; line-height: 1.3; color: var(--primary-dark); letter-spacing: .5px; }
.banner-price { margin-top: 6px; color: var(--primary-dark); font-size: 15px; font-weight: 800; }
.banner-price b { font-size: 32px; letter-spacing: 0; }
.banner-tags { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.tag-solid { background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep)); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.banner-date { font-size: 10.5px; color: #5b7a77; }
.banner .btn-cta { margin-top: 12px; padding: 8px 22px; font-size: 13px; }

.btn-cta {
  border: 0; background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  color: #fff; font-size: 13px; font-weight: 600;
  padding: 9px 20px; border-radius: 20px;
  box-shadow: 0 6px 14px rgba(43,180,173,.34);
  cursor: pointer; transition: transform .15s ease;
}
.btn-cta:active { transform: scale(.96); }
.btn-sm { padding: 6px 16px; font-size: 12px; border-radius: 16px; }

/* ---------- 三大服务（左大卡 + 右双卡） ---------- */
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.svc-big {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
  border: 0; cursor: pointer; text-align: left;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--primary-bright) 0%, var(--primary-deep) 100%);
  min-height: 208px; padding: 16px;
  box-shadow: 0 10px 24px rgba(43,180,173,.30);
  transition: transform .15s ease;
}
.svc-big:active { transform: scale(.98); }
.svc-big img {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 132px;
  object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  z-index: 0;
}
.svc-big-text { position: relative; z-index: 2; }
.svc-big-text b { display: block; font-size: 19px; color: #fff; letter-spacing: 1px; }
.svc-big-text small { display: block; margin-top: 5px; font-size: 11px; color: rgba(255,255,255,.92); }
.svc-side { display: flex; flex-direction: column; gap: 10px; }
.svc-mini {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
  flex: 1; border: 0; cursor: pointer; text-align: left;
  background: #fff; border-radius: var(--radius);
  padding: 14px; min-height: 99px;
  box-shadow: 0 2px 10px rgba(17,24,39,.05);
  transition: transform .15s ease;
}
.svc-mini:active { transform: scale(.98); }
.svc-mini img {
  position: absolute; right: -4px; bottom: -4px; height: 74px; width: 74px;
  object-fit: cover; object-position: 50% 30%; border-radius: 12px;
  -webkit-mask-image: radial-gradient(120% 120% at 100% 100%, #000 55%, transparent 98%);
  mask-image: radial-gradient(120% 120% at 100% 100%, #000 55%, transparent 98%);
}
.svc-mini-text { position: relative; z-index: 2; }
.svc-mini-text b { display: block; font-size: 14.5px; color: var(--text); }
.svc-mini-text small { display: block; margin-top: 5px; font-size: 10.5px; color: var(--text-sub); }

/* ---------- 客户好评 ---------- */
.review-card { margin-top: 14px; overflow: hidden; }
.review-head { display: flex; align-items: baseline; gap: 8px; }
.review-head strong { font-size: 16px; }
.review-head span { color: var(--primary-deep); font-size: 12.5px; font-weight: 700; }
.review-wrap { display: flex; align-items: stretch; gap: 10px; margin-top: 10px; }
.review-bubble {
  flex: 1; min-width: 0;
  background: var(--primary-light);
  border-radius: 12px; padding: 11px 12px;
  font-size: 12px; color: #375a57; line-height: 1.6;
  transition: opacity .35s ease;
}
.review-bubble.out { opacity: 0; }
.review-bubble b { color: var(--primary-dark); }
.review-stars { color: var(--gold); font-size: 10px; letter-spacing: 1px; display: block; margin-top: 4px; }
.review-img { flex: 0 0 84px; width: 84px; height: 84px; object-fit: cover; object-position: 50% 18%; border-radius: 12px; }

/* ---------- 通用节标题 ---------- */
.sec-head { display: flex; align-items: baseline; gap: 8px; margin: 18px 4px 10px; }
.sec-head h3 { font-size: 17px; margin: 0; font-weight: 800; }
.sec-sub { font-size: 11px; color: var(--text-sub); }
.sec-more { margin-left: auto; border: 0; background: transparent; color: var(--primary-deep); font-size: 11.5px; display: flex; align-items: center; gap: 1px; cursor: pointer; }

/* ---------- 套餐横滑 ---------- */
.h-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -14px; padding-left: 14px; scroll-snap-type: x mandatory; }
.h-scroll::-webkit-scrollbar { width: 0; }
.pkg {
  flex: 0 0 148px; scroll-snap-align: start;
  background: #fff; border-radius: var(--radius); padding: 13px;
  position: relative; overflow: hidden; cursor: pointer;
  box-shadow: 0 2px 10px rgba(17,24,39,.04);
}
.pkg::after { content: attr(data-tag); position: absolute; top: 0; right: 0; background: var(--primary-deep); color: #fff; font-size: 9.5px; padding: 3px 9px; border-radius: 0 var(--radius) 0 10px; }
.pkg-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-light); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.pkg h4 { margin: 8px 0 0; font-size: 12.5px; }
.pkg p { margin: 3px 0 0; font-size: 10.5px; color: var(--text-sub); }
.pkg b { font-size: 15px; color: var(--primary-deep); }
.pkg s { font-size: 9.5px; color: #9ca3af; margin-left: 4px; }

/* ---------- 首页陪诊产品（分类标签） ---------- */
.home-chips { padding: 0 2px 10px; margin: 0 -14px; padding-left: 14px; }
.home-chips .chip { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.chip-num { font-style: normal; font-size: 9.5px; background: #eef5f4; color: #8b9a97; border-radius: 8px; padding: 0 5px; line-height: 15px; }
.home-chips .chip.active .chip-num { background: rgba(255,255,255,.26); color: #fff; }
.home-prod { flex: 0 0 156px; display: flex; flex-direction: column; }
.home-prod::after { display: none; }
.home-prod[data-tag]:not([data-tag=""])::after { display: block; }
.home-prod p { min-height: 30px; line-height: 1.45; }
.pkg-price { margin-top: 6px; display: flex; align-items: baseline; }
.pkg-sold { margin-top: 2px; font-size: 9.5px; color: #a7b3b0; }
.home-prod .pkg-ic { flex: 0 0 34px; }

/* ---------- 医院列表 ---------- */
.hospital-list { display: flex; flex-direction: column; gap: 10px; }
.hp {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius); padding: 13px 14px;
  box-shadow: 0 2px 10px rgba(17,24,39,.04);
  cursor: pointer; transition: transform .15s ease;
}
.hp:active { transform: scale(.985); }
.hp-logo {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 52px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 19px; font-weight: 800;
  box-shadow: inset 0 0 0 2.5px rgba(255,255,255,.55), 0 3px 10px rgba(17,24,39,.10);
}
.hp-info { flex: 1; min-width: 0; }
.hp-info b { display: block; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-addr { margin: 4px 0 0; font-size: 10px; color: #9aa5a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-tags { display: flex; gap: 6px; margin-top: 6px; }
.hp-tags span { background: #f3f6f5; color: #6b7280; font-size: 10px; padding: 2.5px 8px; border-radius: 4px; }
.hp .btn-book { flex: 0 0 auto; margin-top: 0; padding: 6px 14px; font-size: 11px; border-radius: 14px; }

/* ---------- 陪诊产品列表 ---------- */
.prod-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.prod {
  display: flex; gap: 11px; align-items: flex-start;
  background: #fff; border-radius: var(--radius); padding: 13px;
  box-shadow: 0 2px 10px rgba(17,24,39,.04);
}
.prod-ic {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px;
  background: linear-gradient(140deg, var(--primary-bright), var(--primary-deep));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px;
  box-shadow: 0 4px 10px rgba(43,180,173,.26);
}
.prod-main { flex: 1; min-width: 0; }
.prod-top { display: flex; align-items: center; gap: 6px; }
.prod-top b { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-tag { flex: 0 0 auto; background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep)); color: #fff; font-size: 9px; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.prod-main > p { margin: 5px 0 0; font-size: 10.5px; color: var(--text-sub); line-height: 1.5; }
.prod-foot { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.prod-price { color: var(--primary-deep); font-size: 16px; font-weight: 800; }
.prod-price small { font-size: 9.5px; font-weight: 400; color: #9ca3af; margin-left: 1px; }
.prod-foot s { font-size: 9.5px; color: #b6bdbd; }
.prod-sold { font-size: 9.5px; color: #9aa5a3; }
.prod-foot .btn-book { margin-left: auto; margin-top: 0; padding: 5px 13px; font-size: 10.5px; }

/* ---------- 页内 tab（推荐医院/热门陪诊师） ---------- */
.page-tabs { display: flex; align-items: center; gap: 14px; padding: 4px 4px 12px; }
.pt-tab { border: 0; background: transparent; font-size: 15px; color: #9aa5a3; font-weight: 700; cursor: pointer; padding: 0 0 6px; position: relative; white-space: nowrap; }
.pt-tab.active { color: var(--text); }
.pt-tab.active::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 0; height: 3.5px; border-radius: 2px; background: linear-gradient(90deg, var(--primary-bright), var(--primary-deep)); }
.pt-more { margin-left: auto; font-size: 10.5px; color: #9aa5a3; white-space: nowrap; }

/* ---------- 护理模块 ---------- */
.nurse-hero {
  position: relative; overflow: hidden;
  border-radius: 18px; padding: 20px 18px;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  color: #fff; box-shadow: 0 8px 22px rgba(43,180,173,.26);
}
.nurse-hero h2 { margin: 0; font-size: 20px; letter-spacing: .5px; }
.nurse-hero p { margin: 6px 0 0; font-size: 11.5px; opacity: .92; }
.nh-stats { display: flex; gap: 18px; margin-top: 14px; }
.nh-stats span { font-size: 9.5px; opacity: .85; display: flex; flex-direction: column; gap: 1px; }
.nh-stats b { font-size: 15px; opacity: 1; font-variant-numeric: tabular-nums; }
.nh-icon { position: absolute; right: -14px; bottom: -18px; width: 110px; height: 110px; color: rgba(255,255,255,.22); fill: none; stroke: currentColor; stroke-width: 1.2; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; margin: 0 -14px; padding-left: 14px; }
.chips::-webkit-scrollbar { width: 0; }
.chip {
  flex: 0 0 auto; border: 1px solid #dfeae8; background: #fff;
  border-radius: 16px; padding: 6px 14px; font-size: 11.5px; color: #4b5563; cursor: pointer;
}
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc { background: #fff; border-radius: var(--radius); padding: 13px; cursor: pointer; box-shadow: 0 2px 10px rgba(17,24,39,.04); }
.svc:active { transform: scale(.985); }
.svc-top { display: flex; align-items: center; gap: 7px; }
.svc-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--primary-light); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-size: 15px; flex: 0 0 30px; }
.svc h4 { margin: 0; font-size: 12.5px; }
.svc p { margin: 7px 0 0; font-size: 10.5px; color: var(--text-sub); line-height: 1.5; min-height: 31px; }
.svc-foot { display: flex; align-items: baseline; margin-top: 8px; }
.svc-foot b { color: var(--primary-deep); font-size: 16px; }
.svc-foot em { font-style: normal; color: #9ca3af; font-size: 10px; }
.svc-foot .btn-book { margin-left: auto; }

.nurse-list { display: flex; flex-direction: column; gap: 10px; }
.nurse { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: var(--radius); padding: 12px; box-shadow: 0 2px 10px rgba(17,24,39,.04); }
.nurse-avatar { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 52px; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--primary-light); }
.nurse-info { flex: 1; min-width: 0; }
.nurse-name { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
.badge { background: var(--primary-light); color: var(--primary-deep); font-size: 9px; padding: 1.5px 7px; border-radius: 4px; font-weight: 600; }
.badge.gold { background: #fdf3e3; color: #c07c10; }
.nurse-info p { margin: 4px 0 0; font-size: 10.5px; color: var(--text-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nurse-info .rating { color: var(--primary-deep); }
.nurse-right { text-align: right; flex: 0 0 auto; }
.nurse-right b { color: var(--primary-deep); font-size: 14px; }
.nurse-right small { color: #9ca3af; font-size: 10px; display: block; }
.btn-book {
  display: inline-block; margin-top: 5px; border: 0;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  color: #fff; font-size: 11px; padding: 5px 15px; border-radius: 13px; cursor: pointer;
}
.gaurant { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.gaurant-item { display: flex; align-items: center; gap: 10px; }
.gaurant-item .ic { font-size: 20px; color: var(--primary-deep); flex: 0 0 20px; }
.gaurant-item b { font-size: 12.5px; display: block; }
.gaurant-item span { font-size: 10.5px; color: var(--text-sub); }

/* ---------- 订单 ---------- */
.seg-tabs { display: flex; background: #fff; border-radius: var(--radius); padding: 4px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(17,24,39,.04); }
.seg-tabs button { flex: 1; border: 0; background: transparent; font-size: 12px; color: var(--text-sub); padding: 8px 0; border-radius: 10px; cursor: pointer; }
.seg-tabs button.active { background: var(--primary-light); color: var(--primary-deep); font-weight: 700; }

.order { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(17,24,39,.04); }
.order-top { display: flex; justify-content: space-between; align-items: center; }
.order-top strong { font-size: 14px; }
.status-chip { font-size: 10.5px; padding: 2.5px 9px; border-radius: 10px; background: var(--primary-light); color: var(--primary-deep); }
.status-chip.done { background: #eef1f0; color: #6b7280; }
.status-chip.serving { background: #e8f1fb; color: #2f6fb7; }
.order p { margin: 7px 0 0; font-size: 11.5px; color: var(--text-sub); display: flex; align-items: center; gap: 4px; }
.order p .ic { font-size: 12px; color: #9ca3af; }
.order-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--line); }
.order-foot b { color: var(--primary-deep); font-size: 15px; }
.order-foot small { color: #9ca3af; font-size: 10px; }
.order-actions { display: flex; gap: 8px; }
.btn-ghost { border: 1px solid #dfe5e2; background: #fff; color: #4b5563; font-size: 11px; padding: 5px 14px; border-radius: 14px; cursor: pointer; }
.btn-ghost.warn { color: #d03050; border-color: #f2c9d1; }

.timeline { display: flex; margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--line); }
.tl-step { flex: 1; text-align: center; position: relative; }
.tl-step::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: #e3ebe9; }
.tl-step:first-child::before { display: none; }
.tl-dot { width: 13px; height: 13px; margin: 0 auto; border-radius: 50%; background: #e3ebe9; border: 2.5px solid #f5fafa; box-sizing: border-box; }
.tl-step.on::before { background: var(--primary); }
.tl-step.on .tl-dot { background: var(--primary); }
.tl-step p { margin: 5px 0 0; font-size: 9px; color: #9ca3af; }
.tl-step.on p { color: var(--primary-deep); font-weight: 600; }

.empty { text-align: center; padding: 70px 0 0; }
.empty-icon { font-size: 40px; color: #c6d4d1; }
.empty-icon .ic { font-size: 40px; }
.empty p { color: var(--text-sub); font-size: 12.5px; margin: 12px 0 0; }

/* ---------- 消息 ---------- */
.msg { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); padding: 13px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(17,24,39,.04); position: relative; }
.msg-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--primary-light); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 38px; }
.msg-icon.blue { background: #e8f1fb; color: #2f6fb7; }
.msg-icon.orange { background: #fdf3e3; color: #c07c10; }
.msg strong { font-size: 13px; display: flex; align-items: center; gap: 6px; }
.msg strong .unread { width: 7px; height: 7px; border-radius: 50%; background: #f04438; }
.msg p { margin: 4px 0 0; font-size: 11.5px; color: var(--text-sub); line-height: 1.5; }
.msg em { font-style: normal; font-size: 10px; color: #b6c0bc; }

/* ---------- 我的：未登录头部 ---------- */
.me-card { display: flex; align-items: center; gap: 14px; padding: 10px 4px 16px; cursor: pointer; }
.me-avatar {
  width: 62px; height: 62px; border-radius: 50%; flex: 0 0 62px;
  background: #eef1f0; color: #b9c0c4;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.me-login { color: var(--primary-deep); font-size: 15.5px; font-weight: 600; }

.member-card {
  display: flex; align-items: center; gap: 11px;
  background: linear-gradient(115deg, #D2F4F1 0%, #E5F9FE 60%, #DDF7F4 100%);
  border-radius: var(--radius); padding: 15px 14px;
  box-shadow: 0 6px 18px rgba(43,180,173,.14);
}
.member-ic {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.member-info { flex: 1; min-width: 0; }
.member-info b { font-size: 16px; font-weight: 800; }
.member-info p { margin: 4px 0 0; font-size: 10.5px; color: #557b78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.quick4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; padding: 15px 6px 13px; }
.quick4 button { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; color: #4b5563; cursor: pointer; }
.q4-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-size: 17px; }

.archive { margin-top: 12px; }
.archive-head { display: flex; align-items: center; justify-content: space-between; }
.archive-head strong { font-size: 15px; font-weight: 800; }
.archive-add {
  width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer;
  background: #f3f6f5; color: #374151; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.archive-scroll { display: flex; gap: 9px; overflow-x: auto; margin: 11px -14px 0; padding: 2px 14px 4px; }
.archive-scroll::-webkit-scrollbar { width: 0; }
.archive-item {
  flex: 0 0 128px; background: var(--primary-light); border-radius: 11px;
  padding: 11px 12px; cursor: pointer;
}
.archive-item b { display: block; font-size: 12px; color: #195a56; }
.archive-item p { margin: 5px 0 0; font-size: 9.5px; color: #6b9390; line-height: 1.45; }

.warm-card {
  display: flex; align-items: center; gap: 11px;
  margin-top: 12px;
  background: linear-gradient(115deg, #CFF2EF, #E5F9FE);
  border-radius: var(--radius); padding: 14px;
}
.warm-ic {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.warm-info { flex: 1; min-width: 0; }
.warm-info b { font-size: 16px; font-weight: 800; color: var(--primary-dark); }
.warm-info p { margin: 4px 0 0; font-size: 10.5px; color: #557b78; }

.morefn { margin-top: 12px; }
.morefn-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.morefn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 4px; }
.morefn-grid button { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; color: #4b5563; cursor: pointer; }
.mf-ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(140deg, var(--primary-bright), var(--primary-deep));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px;
  box-shadow: 0 4px 10px rgba(43,180,173,.28);
}

/* ---------- 悬浮登录条 ---------- */
.login-bar {
  position: absolute; left: 12px; right: 12px; bottom: 74px;
  height: 52px; border-radius: 26px;
  background: rgba(28,40,44,.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 10px;
  padding: 0 8px 0 0; overflow: hidden;
  box-shadow: 0 10px 24px rgba(17,24,39,.28);
  z-index: 55;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.login-bar.show { opacity: 1; pointer-events: auto; transform: none; }
.lb-badge {
  flex: 0 0 56px; align-self: stretch;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 18px 18px 0;
}
.lb-text { flex: 1; color: #fff; font-size: 13px; font-weight: 600; }
.lb-btn {
  border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 9px 18px; border-radius: 20px;
}

/* ---------- Tabbar ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(15,23,42,.06);
  display: flex; padding-bottom: 6px; z-index: 50;
}
.tab { flex: 1; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; color: #9aa0a6; cursor: pointer; }
.tab .ic { font-size: 21px; }
.tab.active { color: var(--primary-deep); font-weight: 600; }

/* ---------- 详情页 ---------- */
.detail-page {
  position: absolute; inset: 0; background: var(--bg);
  z-index: 80; display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.32,.72,0,1);
  visibility: hidden;
}
.detail-page.open { transform: none; visibility: visible; }
.detail-page::before { content: ""; flex: 0 0 44px; height: 44px; background: #fff; }
.detail-nav { justify-content: center; }
.detail-nav .back { position: absolute; left: 6px; top: 0; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.detail-body { flex: 1; overflow-y: auto; padding: 14px 14px 96px; }
.detail-body::-webkit-scrollbar { width: 0; }

.d-head { background: #fff; border-radius: var(--radius); padding: 16px; }
.d-head-top { display: flex; align-items: center; gap: 10px; }
.d-head-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--primary-light); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 44px; }
.d-head-top h2 { margin: 0; font-size: 17px; }
.d-head-top .d-unit { font-size: 10.5px; color: var(--text-sub); margin-top: 3px; display: flex; align-items: center; gap: 3px; }
.d-head-top .d-unit .ic { font-size: 12px; color: var(--primary-deep); }
.d-head > p { margin: 10px 0 0; font-size: 12px; color: #4b5563; line-height: 1.6; }
.d-price { margin-top: 12px; color: var(--primary-deep); font-size: 26px; font-weight: 800; }
.d-price small { font-size: 11px; color: #9ca3af; font-weight: 400; }

.d-block { background: #fff; border-radius: var(--radius); padding: 15px 16px; margin-top: 12px; }
.d-block h3 { margin: 0 0 10px; font-size: 13.5px; }
.d-block li { list-style: none; font-size: 12px; color: #4b5563; line-height: 2; }
.d-block ul { margin: 0; padding: 0; }
.d-block li::before { content: "✓"; color: var(--primary-deep); margin-right: 6px; font-weight: 700; }

.row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row label { width: 72px; flex: 0 0 72px; font-size: 12.5px; color: #374151; }
.row input { flex: 1; border: 0; outline: none; font-size: 12.5px; color: var(--text); background: transparent; font-family: inherit; min-width: 0; }
.row input::placeholder { color: #b9c0c4; }
.pick-chips { display: flex; flex-wrap: wrap; gap: 7px; flex: 1; }
.pick-chips button { border: 1px solid #dfeae8; background: #fff; border-radius: 14px; padding: 4.5px 11px; font-size: 11px; color: #4b5563; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.pick-chips button.active { background: var(--primary-light); border-color: var(--primary); color: var(--primary-deep); font-weight: 600; }
.pick-chips img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }

.d-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(15,23,42,.06);
  padding: 12px 16px 20px; display: flex; align-items: center; gap: 14px; z-index: 5;
}
.d-bar-sum b { color: var(--primary-deep); font-size: 21px; }
.d-bar-sum small { display: block; font-size: 9.5px; color: #9ca3af; }
.d-bar .d-submit { flex: 1; margin: 0; }
.d-submit {
  border: 0; background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep));
  color: #fff; font-size: 14px; font-weight: 600;
  padding: 13px; border-radius: 24px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(43,180,173,.3);
}
.d-tip { text-align: center; color: #a7b3b0; font-size: 10px; margin: 12px 0 0; }

/* ---------- Toast ---------- */
.toast {
  position: absolute; left: 50%; top: 46%;
  transform: translate(-50%,-50%) scale(.9);
  background: rgba(17,24,39,.82); color: #fff;
  font-size: 13px; padding: 12px 20px; border-radius: 10px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 200; max-width: 80%; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%,-50%) scale(1); }

.stage-caption { text-align: center; font-size: 13px; color: #4b5563; font-weight: 600; }
.stage-caption span { display: block; margin-top: 5px; font-size: 11.5px; color: #8a938f; font-weight: 400; }

/* ---------- 移动端 ---------- */
@media (max-width: 480px) {
  body { display: block; background: var(--bg); }
  .stage { padding: 0; gap: 0; display: block; }
  .phone { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
  .statusbar { display: none; }
  .detail-page::before { display: none; }
  .stage-caption { display: none; }
}

/* ================= 病人档案 ================= */
.archive-count { margin-left: 6px; font-size: 10.5px; color: #9aa5a3; }
.pt-card {
  flex: 0 0 152px; background: #fff; border: 1px solid #e8f1f0; border-radius: 12px;
  padding: 11px 12px; cursor: pointer; position: relative;
  box-shadow: 0 2px 8px rgba(17,24,39,.04);
}
.pt-card:active { transform: scale(.985); }
.pt-card.head { background: var(--primary-light); border-color: transparent; }
.pt-name { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--text); }
.pt-rel { font-size: 9px; font-weight: 500; background: var(--primary); color: #fff; border-radius: 4px; padding: 1px 5px; }
.pt-card.head .pt-rel { background: var(--primary-dark); }
.pt-meta { margin: 4px 0 0; font-size: 10px; color: #7b8a87; }
.pt-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pt-tags span { font-size: 9px; background: #f2f7f6; color: #5b6b68; border-radius: 4px; padding: 1.5px 5px; }
.pt-tags span.warn { background: #fff2e8; color: #c96a1b; }
.pt-add-card {
  flex: 0 0 106px; border: 1px dashed #cfdcda; border-radius: 12px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  color: #8b9a97; font-size: 11px; cursor: pointer;
}
.pt-add-card .ic { font-size: 19px; }

/* ================= 陪诊师端入口 ================= */
.worker-entry {
  width: 100%; margin-top: 12px; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 11px;
  background: linear-gradient(120deg, #1A8F89, #47D0C9);
  border-radius: var(--radius); padding: 14px;
  box-shadow: 0 8px 20px rgba(43,180,173,.26);
}
.we-ic { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; background: rgba(255,255,255,.22); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; }
.we-text { flex: 1; min-width: 0; }
.we-text b { display: block; color: #fff; font-size: 13.5px; }
.we-text small { display: block; color: rgba(255,255,255,.82); font-size: 10px; margin-top: 3px; }
.we-go { color: #fff; font-size: 11.5px; opacity: .95; }

/* ================= 通用功能面板 ================= */
.panel-body { padding-bottom: 28px; }
.p-card { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 11px; box-shadow: 0 2px 10px rgba(17,24,39,.04); }
.p-title { font-size: 13.5px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; }
.p-title .ic { color: var(--primary-deep); font-size: 15px; }
.p-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f2f5f4; font-size: 12.5px; }
.p-row:last-child { border-bottom: 0; }
.p-row .pr-main { flex: 1; min-width: 0; }
.p-row .pr-main b { display: block; font-size: 12.5px; }
.p-row .pr-main p { margin: 3px 0 0; font-size: 10.5px; color: #7b8a87; line-height: 1.5; }
.p-row .pr-val { font-size: 11.5px; color: var(--text-sub); white-space: nowrap; }
.p-row .pr-val.money { color: var(--primary-deep); font-weight: 700; font-size: 14px; }
.p-row .ic { font-size: 17px; color: var(--primary-deep); flex: 0 0 auto; }
.p-empty { text-align: center; color: #a7b3b0; font-size: 12px; padding: 30px 0; }
.p-sub { font-size: 10.5px; color: #8b9a97; line-height: 1.6; }
.p-tag { display: inline-block; font-size: 9.5px; background: var(--primary-light); color: var(--primary-deep); border-radius: 4px; padding: 1.5px 6px; margin-right: 4px; }
.p-tag.warn { background: #fff2e8; color: #c96a1b; }
.p-tag.grey { background: #f2f5f4; color: #7b8a87; }
.p-btn { border: 0; cursor: pointer; border-radius: 18px; padding: 9px 16px; font-size: 12px; background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep)); color: #fff; font-weight: 600; }
.p-btn.ghost { background: #f2f7f6; color: #4b5563; font-weight: 500; }
.p-btn.danger { background: #fff1f1; color: #d9534f; }
.p-btn.sm { padding: 6px 12px; font-size: 11px; }
.p-field { margin-bottom: 11px; }
.p-field label { display: block; font-size: 11px; color: #6b7d7a; margin-bottom: 5px; }
.p-input, .p-select, .p-textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #e4ecea; border-radius: 10px;
  padding: 10px 12px; font-size: 12.5px; color: var(--text); background: #fbfdfc; font-family: inherit;
  outline: none;
}
.p-input:focus, .p-select:focus, .p-textarea:focus { border-color: var(--primary); background: #fff; }
.p-textarea { min-height: 84px; resize: none; line-height: 1.6; }
.p-form-row { display: flex; gap: 9px; }
.p-form-row > * { flex: 1; }
.p-actions { display: flex; gap: 9px; margin-top: 6px; }
.p-actions .p-btn { flex: 1; text-align: center; }
.p-hero { background: linear-gradient(120deg, #1A8F89, #47D0C9); border-radius: var(--radius); padding: 16px; color: #fff; margin-bottom: 11px; }
.p-hero b { font-size: 24px; }
.p-hero small { display: block; font-size: 10.5px; opacity: .86; margin-top: 3px; }
.p-hero-row { display: flex; gap: 18px; margin-top: 12px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.24); }
.p-hero-row div { font-size: 10px; opacity: .9; }
.p-hero-row b { display: block; font-size: 15px; margin-bottom: 2px; }
.p-timeline { position: relative; padding-left: 14px; }
.p-timeline::before { content: ""; position: absolute; left: 3px; top: 4px; bottom: 4px; width: 1.5px; background: #e4ecea; }
.p-tl-item { position: relative; padding: 0 0 12px; font-size: 11.5px; }
.p-tl-item::before { content: ""; position: absolute; left: -14px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.p-tl-item b { display: block; font-size: 12px; }
.p-tl-item p { margin: 3px 0 0; font-size: 10.5px; color: #7b8a87; line-height: 1.5; }
.p-tl-item span { font-size: 9.5px; color: #a7b3b0; }
.p-coupon { display: flex; align-items: stretch; background: #fff; border-radius: 12px; margin-bottom: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(17,24,39,.04); }
.p-coupon.used { opacity: .55; }
.p-cp-left { flex: 0 0 92px; background: linear-gradient(150deg, #5FDCD6, #2BB4AD); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 0; }
.p-cp-left b { font-size: 22px; line-height: 1; }
.p-cp-left b small { font-size: 11px; }
.p-cp-left span { font-size: 9.5px; margin-top: 4px; opacity: .9; }
.p-cp-right { flex: 1; padding: 11px 12px; display: flex; flex-direction: column; justify-content: center; }
.p-cp-right b { font-size: 12.5px; }
.p-cp-right p { margin: 4px 0 0; font-size: 10px; color: #7b8a87; }
.p-cp-right em { font-style: normal; font-size: 9.5px; color: #a7b3b0; margin-top: 5px; }

/* ================= 陪诊师端 ================= */
.worker-app {
  position: absolute; inset: 0; z-index: 120;
  background: #f5f8f7; display: flex; flex-direction: column;
  transform: translateY(100%); visibility: hidden;
  transition: transform .34s cubic-bezier(.32,.72,0,1);
}
.worker-app.open { transform: none; visibility: visible; }
.wk-statusbar { flex: 0 0 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 12px; font-weight: 600; color: #fff; background: #1A8F89; }
.wk-statusbar .sb-right { display: flex; align-items: center; gap: 4px; }
.wk-header { flex: 0 0 46px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: linear-gradient(120deg, #1A8F89, #2BB4AD); color: #fff; }
.wk-header b { flex: 1; text-align: center; font-size: 14px; }
.wk-back { border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 11px; padding: 5px 9px; border-radius: 12px; cursor: pointer; }
.wk-online { border: 0; cursor: pointer; background: rgba(255,255,255,.18); color: #fff; font-size: 10.5px; padding: 5px 10px; border-radius: 12px; display: flex; align-items: center; gap: 4px; }
.wk-online .dot { width: 6px; height: 6px; border-radius: 50%; background: #b6ff9e; }
.wk-online.off { background: rgba(0,0,0,.18); }
.wk-online.off .dot { background: #d7d7d7; }
.wk-screen { flex: 1; overflow-y: auto; padding: 12px 14px 20px; }
.wk-screen::-webkit-scrollbar { width: 0; }
.wk-view { display: none; animation: fade .24s ease; }
.wk-view.active { display: block; }
.wk-hero { background: linear-gradient(130deg, #ffffff, #EAF9F7); border-radius: 16px; padding: 14px; box-shadow: 0 4px 14px rgba(43,180,173,.12); }
.wk-hero-top { display: flex; justify-content: space-between; }
.wk-hero-top div { text-align: center; flex: 1; }
.wk-hero-top b { display: block; font-size: 19px; color: var(--primary-dark); }
.wk-hero-top small { font-size: 10px; color: #7b8a87; }
.wk-hero-tip { margin: 12px 0 0; font-size: 10px; color: #6b8b88; background: rgba(71,208,201,.12); border-radius: 8px; padding: 7px 9px; line-height: 1.5; }
.wk-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 2px 9px; }
.wk-sec-head h4 { margin: 0; font-size: 14px; font-weight: 800; }
.wk-sec-head span { font-size: 10.5px; color: #8b9a97; }
.wk-order { background: #fff; border-radius: 14px; padding: 13px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(17,24,39,.05); }
.wk-order-top { display: flex; align-items: center; gap: 7px; }
.wk-order-top b { font-size: 13.5px; flex: 1; }
.wk-order-tag { font-size: 9.5px; background: var(--primary-light); color: var(--primary-deep); border-radius: 4px; padding: 2px 6px; }
.wk-order-price { font-size: 15px; color: #e8632f; font-weight: 800; }
.wk-order-price small { font-size: 9.5px; font-weight: 400; color: #9aa5a3; }
.wk-order-meta { margin-top: 9px; display: flex; flex-direction: column; gap: 5px; font-size: 11px; color: #62726f; }
.wk-order-meta span { display: flex; align-items: center; gap: 5px; }
.wk-order-meta .ic { font-size: 12px; color: var(--primary-deep); }
.wk-order-foot { display: flex; align-items: center; gap: 8px; margin-top: 11px; padding-top: 10px; border-top: 1px dashed #eef3f2; }
.wk-order-foot .wk-dist { font-size: 10.5px; color: #8b9a97; flex: 1; }
.wk-btn { border: 0; cursor: pointer; border-radius: 16px; padding: 8px 16px; font-size: 11.5px; font-weight: 600; background: linear-gradient(135deg, var(--primary-bright), var(--primary-deep)); color: #fff; }
.wk-btn.ghost { background: #f2f7f6; color: #4b5563; font-weight: 500; }
.wk-btn.sm { padding: 6px 12px; font-size: 11px; }
.wk-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.wk-tabs button { border: 1px solid #e4ecea; background: #fff; border-radius: 15px; padding: 5px 13px; font-size: 11.5px; color: #5b6b68; cursor: pointer; }
.wk-tabs button.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.wk-steps { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.wk-step { flex: 1; text-align: center; font-size: 9px; color: #9aa5a3; }
.wk-step i { display: block; height: 4px; border-radius: 2px; background: #edf2f1; margin-bottom: 4px; }
.wk-step.done i { background: var(--primary); }
.wk-step.done { color: var(--primary-deep); font-weight: 600; }
.wk-status { font-size: 9.5px; border-radius: 4px; padding: 2px 6px; }
.wk-status.serving { background: #e8f8f6; color: #1A8F89; }
.wk-status.waiting { background: #fff4e5; color: #c96a1b; }
.wk-status.done { background: #f2f5f4; color: #7b8a87; }
.wk-earn-card { background: linear-gradient(135deg, #1A8F89, #47D0C9); border-radius: 16px; padding: 17px; color: #fff; box-shadow: 0 10px 24px rgba(43,180,173,.28); }
.wk-earn-card > small { font-size: 10.5px; opacity: .85; }
.wk-earn-card > b { display: block; font-size: 27px; letter-spacing: .5px; margin: 4px 0 12px; }
.wk-withdraw { border: 0; cursor: pointer; background: #fff; color: var(--primary-dark); font-size: 11.5px; font-weight: 700; padding: 7px 16px; border-radius: 16px; }
.wk-earn-row { display: flex; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.25); }
.wk-earn-row div { flex: 1; text-align: center; }
.wk-earn-row b { display: block; font-size: 14px; }
.wk-earn-row small { font-size: 9.5px; opacity: .82; }
.wk-me-card { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 15px; box-shadow: 0 2px 10px rgba(17,24,39,.05); }
.wk-me-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.wk-me-card b { font-size: 15px; }
.wk-me-card p { margin: 4px 0 0; font-size: 10.5px; color: #7b8a87; }
.wk-me-card .wk-me-rating { color: #c98a2d; }
.wk-badge { font-size: 9px; background: #fff4e0; color: #b57712; border-radius: 4px; padding: 1.5px 5px; margin-left: 4px; vertical-align: middle; }
.wk-stat-row { display: flex; background: #fff; border-radius: 14px; margin-top: 10px; padding: 12px 0; box-shadow: 0 2px 10px rgba(17,24,39,.05); }
.wk-stat-row div { flex: 1; text-align: center; border-right: 1px solid #f2f5f4; }
.wk-stat-row div:last-child { border-right: 0; }
.wk-stat-row b { display: block; font-size: 15px; color: var(--primary-dark); }
.wk-stat-row small { font-size: 9.5px; color: #8b9a97; }
.wk-list { background: #fff; border-radius: 14px; margin-top: 10px; padding: 0 14px; box-shadow: 0 2px 10px rgba(17,24,39,.05); }
.wk-list button, .wk-list .wk-li { width: 100%; border: 0; background: transparent; display: flex; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #f2f5f4; font-size: 12.5px; color: var(--text); cursor: pointer; text-align: left; }
.wk-list > *:last-child { border-bottom: 0; }
.wk-list .ic { font-size: 17px; color: var(--primary-deep); }
.wk-list .wk-li span { flex: 1; }
.wk-list .wk-li em { font-style: normal; font-size: 10.5px; color: #9aa5a3; }
.wk-tabbar { flex: 0 0 58px; background: #fff; border-top: 1px solid rgba(15,23,42,.06); display: flex; }
.wk-tab { flex: 1; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 9.5px; color: #9aa0a6; cursor: pointer; position: relative; }
.wk-tab .ic { font-size: 19px; }
.wk-tab.active { color: var(--primary-deep); font-weight: 600; }
.wk-dot { position: absolute; top: 8px; right: 28%; width: 7px; height: 7px; border-radius: 50%; background: #f4693b; display: none; }
.wk-dot.show { display: block; }
.wk-empty { text-align: center; color: #a7b3b0; font-size: 12px; padding: 28px 0; }

@media (max-width: 480px) {
  .wk-statusbar { display: flex; padding-top: 6px; height: 34px; flex: 0 0 34px; }
}
