/* =========================================================
 * 瑶瑶向导 · 网页版地陪系统
 * 主体色：红色系（按需求由原稿黄色整体替换）
 * ========================================================= */
:root {
  --brand: #F04338;
  --brand-2: #FF6A5B;
  --brand-deep: #D63028;
  --brand-soft: #FFF0EE;
  --brand-soft2: #FFE3DE;
  --brand-ink: #FFFFFF;

  --ink: #1B1C1F;
  --ink-2: #4A4D55;
  --muted: #9A9EA7;
  --line: #F0F1F3;
  --bg: #F7F8FA;
  --card: #FFFFFF;
  --green: #22B573;
  --blue: #3B82F6;
  --purple: #9B6CFF;
  --orange: #FF9F2E;
  --shadow: 0 10px 34px rgba(28, 30, 40, .055);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #EDEFF3;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============ 桌面舞台 ============ */
.stage { display: flex; height: 100vh; overflow: hidden; }

.sidebar {
  width: 352px; flex: 0 0 352px; height: 100%;
  background: #FFFFFF; border-right: 1px solid #E7E9EE;
  display: flex; flex-direction: column; overflow-y: auto;
  padding: 26px 24px 20px;
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: #DDE0E6; border-radius: 9px; }
.sb-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.sb-brand .sb-logo { width: 44px; height: 44px; border-radius: 13px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 800; box-shadow: 0 6px 14px rgba(240,67,56,.28); }
.sb-brand h1 { font-size: 18px; margin: 0; letter-spacing: .5px; }
.sb-brand p { margin: 2px 0 0; font-size: 11px; color: var(--muted); letter-spacing: .6px; }
.sb-sub { font-size: 12px; color: var(--muted); margin: 14px 0 18px; line-height: 1.7; }
.sb-sub b { color: var(--brand); font-weight: 600; }

.sb-tabs { display: flex; gap: 4px; background: #F4F5F7; padding: 4px; border-radius: 11px; margin-bottom: 14px; }
.sb-tabs button { flex: 1; padding: 7px 0; font-size: 12px; color: #7A7E88; border-radius: 8px; font-weight: 600; }
.sb-tabs button.on { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(0,0,0,.07); }
.sb-panel { display: none; font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }
.sb-panel.on { display: block; }
.sb-panel h4 { margin: 0 0 6px; font-size: 12.5px; color: var(--ink); }
.sb-panel p { margin: 0 0 12px; }
.sb-panel ul { margin: 0 0 12px; padding-left: 17px; }
.sb-panel li { margin-bottom: 5px; }
.sb-panel .flow { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin-bottom: 12px; }
.sb-panel .flow span { background: var(--brand-soft); color: var(--brand-deep); padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.sb-panel .flow i { font-style: normal; color: #C5C8CE; font-size: 11px; }
.sb-panel .mod { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-panel .mod em { font-style: normal; border: 1px solid #EDEEF1; border-radius: 7px; padding: 4px 8px; font-size: 11px; color: #62666F; background: #FCFCFD; }

.sb-sec-title { font-size: 12px; font-weight: 700; color: var(--ink); margin: 22px 0 10px; display: flex; align-items: center; gap: 6px; }
.sb-sec-title::before { content: ''; width: 3px; height: 12px; background: var(--brand); border-radius: 3px; }
.sb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sb-grid button { text-align: left; padding: 9px 11px; border: 1px solid #EDEEF1; border-radius: 10px; font-size: 12px; color: #4B4F57; background: #FCFCFD; transition: .15s; }
.sb-grid button:hover { border-color: var(--brand-2); color: var(--brand); background: var(--brand-soft); }
.sb-grid button b { display: block; font-size: 12px; font-weight: 600; }
.sb-grid button small { display: block; color: #A6AAB2; font-size: 10px; margin-top: 1px; }
.sb-actions { display: flex; gap: 8px; margin-top: 12px; }
.sb-actions button { flex: 1; padding: 9px; border-radius: 10px; font-size: 12px; font-weight: 600; background: var(--brand); color: #fff; }
.sb-actions button.ghost { background: #F4F5F7; color: #6C7079; }
.sb-foot { margin-top: auto; padding-top: 18px; font-size: 10.5px; color: #B1B5BD; line-height: 1.7; }

.stage-main {
  flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: radial-gradient(1100px 600px at 50% 0%, #FFF6F4 0%, #F0F1F5 62%, #E9EBF0 100%);
  position: relative; overflow: hidden;
}
.stage-hint { font-size: 12px; color: #9DA1AA; letter-spacing: .3px; }

/* ============ 设备外壳 ============ */
.device {
  width: 390px; height: min(844px, calc(100vh - 74px));
  background: #fff; border-radius: 42px; position: relative;
  box-shadow: 0 30px 70px rgba(40, 30, 35, .20), 0 0 0 10px #22252B, 0 0 0 11px #3A3E46;
  overflow: hidden; flex: 0 0 auto;
}
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; border-radius: 42px; overflow: hidden; }
/* v1.15.1：布局属性从 index.html 内联 style 迁到 CSS，
   让横屏 / 宽屏媒体查询可以正常改写 flex-direction（内联样式无法被普通规则覆盖）。 */
#screenBody { display: flex; flex-direction: column; height: 100%; min-height: 0; position: relative; }

/* 状态栏 */
.statusbar {
  height: 44px; padding: 0 26px; display: flex; align-items: center;
  justify-content: space-between; font-size: 14px; font-weight: 700; letter-spacing: .2px;
  position: absolute; top: 0; left: 0; right: 0; z-index: 8; color: #111; background: transparent;
  pointer-events: none;
}
.status-spacer { height: 44px; flex: 0 0 44px; }
.statusbar.on-brand, .statusbar.on-dark { color: #fff; }
/* 内容滚动后状态栏切换为不透明底，避免正文文字穿透重叠 */
.statusbar.scrolled {
  background: rgba(255,255,255,.96); color: #111;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sb-right { display: flex; align-items: center; gap: 5px; }
.sb-right svg { display: block; }

/* 内容区 */
.view { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; position: relative; }
.view::-webkit-scrollbar { width: 0; }
.view.with-tabbar { padding-bottom: 14px; }
.safe-bottom { height: 26px; flex: 0 0 26px; }
.page { padding: 0 16px 28px; }
.page.flush { padding: 0 0 28px; }
.page.no-status { padding-top: 0; }

/* 底部 tabbar */
.tabbar {
  flex: 0 0 76px; height: 76px; background: #fff; border-top: 1px solid #F4F4F5;
  display: flex; align-items: flex-start; padding-top: 7px; position: relative; z-index: 7;
}
.tabbar .tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: #9A9EA7; font-size: 10px; position: relative; }
.tabbar .tab.on { color: var(--ink); font-weight: 600; }
.tabbar .tab.on .ic { color: var(--brand); }
.tabbar .tab .ic { color: #9A9EA7; }
.tabbar .tab.center { color: var(--ink); }
.tabbar .tab .fab {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; margin-top: -18px;
  box-shadow: 0 6px 14px rgba(240,67,56,.35); border: 3px solid #fff;
}
.tab-dot { position: absolute; top: -3px; right: 22px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 9px; line-height: 15px; text-align: center; font-weight: 700; }
.home-indicator { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 128px; height: 5px; border-radius: 9px; background: #111; opacity: .85; z-index: 9; pointer-events: none; }
.home-indicator.light { background: #fff; opacity: .9; }

/* ============ 通用组件 ============ */
.navbar { height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; position: relative; background: #fff; flex: 0 0 auto; }
.navbar .nb-left, .navbar .nb-right { min-width: 56px; display: flex; align-items: center; gap: 10px; }
.navbar .nb-right { justify-content: flex-end; }
.navbar .nb-title { font-size: 16px; font-weight: 600; letter-spacing: .3px; }
.navbar .nb-action { font-size: 14px; color: var(--brand); font-weight: 600; }
.navbar.bare { background: transparent; }
.navbar.on-brand { background: transparent; color: #fff; }
.navbar .back-circle { width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.28); display: grid; place-items: center; color: #fff; }
.ic { flex: 0 0 auto; vertical-align: middle; }
.avatar-svg { border-radius: 12px; display: block; flex: 0 0 auto; }
.avatar-round { border-radius: 50%; }

.card { background: var(--card); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: 0 2px 12px rgba(30,35,50,.035); }
.card.tight { padding: 12px 14px; }
.sec-title { font-size: 15px; font-weight: 700; margin: 18px 2px 10px; display: flex; align-items: center; justify-content: space-between; }
.sec-title small { font-size: 11px; color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.tiny { font-size: 11px; }
.small { font-size: 12px; }
.bold { font-weight: 700; }
.red { color: var(--brand); }
.center { text-align: center; }
.row { display: flex; align-items: center; }
.between { justify-content: space-between; }
.gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; }
.grow { flex: 1; min-width: 0; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: .15s; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 5px 14px rgba(240,67,56,.22); }
.btn-primary:active { transform: scale(.98); background: var(--brand-deep); }
.btn-outline { border: 1.4px solid #22252B; color: #22252B; background: #fff; }
.btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn-gray { background: #F2F3F5; color: #6C7079; }
.btn-block { width: 100%; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 12px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: #F5F6F8; color: #6C7079; font-size: 11px; white-space: nowrap; }
.chip.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(240,67,56,.25); }
.chip.red { background: var(--brand-soft); color: var(--brand-deep); }
.tag-pill { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 5px; font-size: 10px; font-weight: 600; }
.tag-v { background: #EAF1FF; color: #3B71D6; }
.tag-lv { background: #EEF0FF; color: #7B7FD4; }
.tag-vip { background: #FFF0D9; color: #D68B18; }
.tag-new { background: var(--green); color: #fff; }
.tag-cat { background: #FFF0EE; color: var(--brand-deep); }
.badge-verify { display: inline-flex; align-items: center; gap: 2px; color: #2F6BFF; font-size: 11px; font-weight: 600; background: rgba(47,107,255,.10); border-radius: 999px; padding: 1px 7px 1px 5px; margin-left: 6px; vertical-align: middle; }

.bottom-bar { flex: 0 0 auto; position: relative; background: #fff; padding: 10px 16px 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; z-index: 6; box-shadow: 0 -4px 16px rgba(0,0,0,.03); }
.bottom-bar .price { font-size: 12px; color: var(--muted); }
.bottom-bar .price b { font-size: 20px; color: var(--brand); }
.bottom-bar.stack { flex-direction: column; align-items: stretch; }

.empty { text-align: center; padding: 54px 20px; color: var(--muted); }
.empty .em-icon { font-size: 46px; display: block; margin-bottom: 12px; opacity: .75; }
.empty h4 { margin: 0 0 6px; color: var(--ink-2); font-size: 14px; }
.empty p { margin: 0 0 16px; font-size: 12px; }

/* toast / sheet / modal */
#toast { position: absolute; left: 50%; bottom: 110px; transform: translate(-50%, 12px); background: rgba(28,29,33,.92); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 12.5px; z-index: 60; opacity: 0; pointer-events: none; transition: .22s; max-width: 300px; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.sheet-mask { position: absolute; inset: 0; background: rgba(20,22,28,.42); z-index: 40; opacity: 0; pointer-events: none; transition: .2s; }
.sheet-mask.show { opacity: 1; pointer-events: auto; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 20px 20px 0 0; z-index: 41; transform: translateY(105%); transition: .24s cubic-bezier(.2,.8,.3,1); padding: 8px 0 26px; max-height: 76%; overflow-y: auto; }
.sheet.show { transform: translateY(0); }
.sheet-head { text-align: center; font-size: 15px; font-weight: 700; padding: 12px 16px 14px; position: relative; }
.sheet-head .x { position: absolute; right: 16px; top: 10px; color: var(--muted); }
.sheet-item { padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; border-bottom: 1px solid #F6F6F7; }
.sheet-item.on { color: var(--brand); font-weight: 600; }
.sheet-item:last-child { border-bottom: 0; }
.sheet-handle { width: 36px; height: 4px; background: #E3E4E8; border-radius: 4px; margin: 6px auto 0; }

/* ============ 引导页 ============ */
.splash { height: 100%; min-height: 100%; display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: linear-gradient(168deg, #FFE7DE 0%, #FFF2E9 30%, #FFDACE 66%, #FFC0AE 100%); }
.splash::before { content: ''; position: absolute; width: 460px; height: 460px; left: -140px; top: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.85), rgba(255,255,255,0) 68%); }
.splash::after { content: ''; position: absolute; width: 380px; height: 380px; right: -160px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(240,67,56,.13), rgba(240,67,56,0) 70%); }
.splash .statusbar { position: relative; z-index: 3; }
.splash-body { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
.splash-art { position: relative; flex: 1; min-height: 330px; margin: 0 18px; border-radius: 26px;
  overflow: hidden; box-shadow: 0 18px 38px rgba(120,45,35,.22); background: #EBD9D2; }
.splash-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  animation: splashZoom 8s ease-out both; }
.splash-photo-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(240,67,56,.12) 0%, rgba(0,0,0,0) 48%, rgba(30,15,12,.22) 100%); }
@keyframes splashZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.splash-copy { text-align: center; padding: 0 40px 8px; }
.splash-copy h2 { font-size: 30px; margin: 0 0 14px; font-weight: 800; letter-spacing: 4px; color: #2A2B2E; }
.splash-copy p { font-size: 14px; line-height: 1.9; color: #4C4D52; margin: 0; font-weight: 500; }
.splash-dots { display: flex; justify-content: center; gap: 6px; padding: 20px 0 8px; }
.splash-dots i { width: 6px; height: 6px; border-radius: 6px; background: #D9C9C4; display: block; transition: .2s; }
.splash-dots i.on { width: 22px; background: #2C2D31; }
.splash-foot { display: flex; justify-content: center; padding: 16px 0 34px; }
.splash-start { border: 1.4px solid #6E7BD8; color: #4A56A8; background: rgba(255,255,255,.6); padding: 12px 46px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.splash-skip { position: absolute; right: 20px; top: 52px; font-size: 12px; font-weight: 600; color: #B0503F;
  background: rgba(255,255,255,.94); padding: 6px 14px; border-radius: 999px; z-index: 6;
  box-shadow: 0 3px 10px rgba(90,35,25,.16); }
.splash-tap { position: absolute; top: 44px; bottom: 96px; width: 26%; z-index: 4; opacity: 0; }
.splash-tap.left { left: 0; } .splash-tap.right { right: 0; }

/* ============ 登录 ============ */
.login { background: #fff; height: 100%; display: flex; flex-direction: column; padding: 0 32px 30px; }
.login-top { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 10px; }
.login-logo { margin-bottom: 22px; }
.login-slogan { font-size: 27px; font-weight: 900; letter-spacing: 2px; color: #22242A; position: relative; font-style: italic; }
.login-slogan::before { content: ''; position: absolute; left: -12px; right: -12px; top: 2px; bottom: -4px; z-index: -1; background: linear-gradient(90deg, #FFE0D5, #FFC7BB 55%, #FFEAD9); transform: rotate(-2deg) skewX(-8deg); border-radius: 6px; }
.login-slogan .sp { position: absolute; font-size: 15px; color: #333; }
.login-phone { font-size: 25px; font-weight: 700; letter-spacing: 1px; margin: 0 0 6px; }
.login-carrier { color: var(--muted); font-size: 12px; margin: 0 0 30px; }
.login-agree { display: flex; align-items: flex-start; gap: 7px; font-size: 11px; color: #8D9199; margin: 16px 4px 0; line-height: 1.7; }
/* 语义化文字按钮：替代无 href 的 <a>，键盘可达、屏幕阅读器可识别 */
.txt-link { display: inline; padding: 0; margin: 0; border: 0; background: none;
  color: var(--brand); font: inherit; line-height: inherit; cursor: pointer; text-decoration: none; }
.txt-link:hover, .txt-link:focus-visible { text-decoration: underline; outline: none; }
.txt-link:focus-visible { box-shadow: 0 0 0 2px rgba(240,67,56,.35); border-radius: 2px; }
.login-agree .txt-link { color: #5B8DE8; }
.radio { width: 15px; height: 15px; border-radius: 50%; border: 1.4px solid #C6C9D0; flex: 0 0 15px; margin-top: 2px; display: grid; place-items: center; }
.radio.on { background: var(--brand); border-color: var(--brand); }
.radio.on::after { content: ''; width: 5px; height: 5px; background: #fff; border-radius: 50%; }
.other-login { text-align: center; font-size: 11px; color: #B2B5BC; margin: 26px 0 18px; position: relative; }
.other-login::before, .other-login::after { content: ''; position: absolute; top: 50%; width: 56px; height: 1px; background: #ECEDEF; }
.other-login::before { left: 8px; } .other-login::after { right: 8px; }
.other-icons { display: flex; justify-content: center; gap: 22px; }
.other-icons button { width: 48px; height: 48px; border-radius: 50%; background: #F6F6F7; display: grid; place-items: center; font-size: 20px; color: #3A3C42; }

/* ============ 完善资料 ============ */
.setup { height: 100%; background: linear-gradient(180deg, #FFE9E2 0%, #FFF6F2 22%, #FFFFFF 46%); padding: 0 28px 30px; display: flex; flex-direction: column; }
.setup h2 { text-align: center; font-size: 21px; margin: 18px 0 6px; }
.setup .tip { text-align: center; font-size: 12px; color: #9A9EA7; margin: 0 0 30px; }
.avatar-picker { width: 96px; height: 96px; border-radius: 50%; background: var(--brand); margin: 0 auto 34px; position: relative; display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(255,255,255,.7); }
.avatar-picker .cam { position: absolute; right: -2px; bottom: 2px; width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.field { height: 50px; background: #F4F4F6; border-radius: 999px; display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 14px; color: #9DA0A8; font-size: 14px; }
.field input { border: 0; background: transparent; text-align: center; width: 100%; height: 100%; color: var(--ink); font-weight: 600; }
.field input::placeholder { color: #B0B3BA; font-weight: 400; }
.field .side-icon { position: absolute; right: 18px; color: #8A8E96; }
.field.split { padding: 0; }
.field.split button { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; color: #A6A9B0; }
.field.split button.on { color: var(--brand); font-weight: 700; }
.field.split .vline { width: 1px; height: 20px; background: #DFE0E4; }
.setup .btn { margin-top: 28px; }

/* ============ 首页 ============ */
.home-head { padding: 6px 16px 10px; background: linear-gradient(180deg, #FFF6F3 0%, #FFFFFF 100%); }
.home-title { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.home-title h1 { font-size: 21px; margin: 0; position: relative; font-weight: 800; }
.home-title h1::after { content: ''; position: absolute; left: 2px; bottom: -4px; width: 24px; height: 7px; border-radius: 0 0 14px 14px; border-bottom: 3px solid var(--brand); transform: rotate(-6deg); }
.home-title .tools { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.home-title .city { display: flex; align-items: center; gap: 6px; }
.home-cats { display: flex; align-items: center; gap: 18px; overflow-x: auto; padding: 14px 0 10px; scrollbar-width: none; }
.home-cats::-webkit-scrollbar { display: none; }
.home-cats .cat { flex: 0 0 auto; font-size: 14px; color: #8B8F98; position: relative; padding-bottom: 8px; white-space: nowrap; }
.home-cats .cat.on { color: var(--ink); font-weight: 800; font-size: 15px; }
.home-cats .cat.on::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 20px; height: 4px; border-radius: 4px; background: var(--brand); }
.home-cats .list-btn { margin-left: auto; flex: 0 0 auto; padding-left: 10px; border-left: 1px solid #EEE; background: #fff; }
.filter-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 8px; font-size: 12px; color: #5F636C; position: sticky; top: 44px; background: #fff; z-index: 5; }
.filter-bar .f { display: flex; align-items: center; gap: 3px; }
.filter-bar .f.on { color: var(--brand); font-weight: 600; }
.home-banner { margin: 4px 16px 12px; border-radius: 14px; padding: 13px 14px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(100deg, #FFF0EC, #FFE1DC); color: #A33A31; }
.home-banner b { font-size: 13px; display: block; }
.home-banner span { font-size: 11px; opacity: .8; }
.home-banner .go { background: var(--brand); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 600; }

.guide-list { padding: 0 16px; }
.guide-row { display: flex; flex-wrap: wrap; gap: 11px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); position: relative; }
.guide-av { width: 96px; height: 100px; border-radius: 10px; overflow: hidden; position: relative; flex: 0 0 96px; background: #F3F3F5; }
.guide-av .avatar-svg { width: 96px; height: 100px; border-radius: 10px; }
.new-flag { position: absolute; left: 0; top: 0; background: var(--green); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 0 0 8px 0; z-index: 2; }
.guide-info { flex: 1; min-width: 0; position: relative; padding-right: 68px; }
.guide-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.guide-name .lv { font-size: 10px; background: #FFE7EC; color: #E8547E; border-radius: 5px; padding: 1px 5px; font-weight: 600; }
.guide-name .online { margin-left: auto; color: var(--green); font-size: 10px; font-weight: 500; padding-right: 2px; }
.guide-meta { font-size: 11.5px; color: #777B84; display: flex; flex-wrap: wrap; align-items: center; gap: 3px; line-height: 1.6; }
.guide-meta .sx { color: #F26D9B; font-weight: 700; }
.guide-meta .sn { color: #5B9BF3; font-weight: 700; }
.guide-photos { display: flex; gap: 4px; margin-top: 8px; }
.photo-thumb { width: 42px; height: 42px; border-radius: 6px; display: grid; place-items: center; font-size: 20px; position: relative; overflow: hidden; }
.hi-btn { position: absolute; right: 0; top: 24px; width: 62px; height: 40px; border-radius: 999px; background: var(--brand); color: #fff; font-style: italic; font-size: 17px; font-weight: 800; box-shadow: 0 4px 10px rgba(240,67,56,.24); }
.guide-stats { display: flex; width: 100%; flex: 0 0 100%; justify-content: space-between; font-size: 10.5px; color: #A2A6AE; margin-top: 2px; }
.guide-stats span { display: flex; align-items: center; gap: 3px; }

/* ============ 发现 / 动态 ============ */
.disc-head { padding: 6px 16px 12px; }
.disc-tabs { display: flex; gap: 20px; align-items: baseline; }
.disc-tabs button { font-size: 16px; color: #A0A4AC; font-weight: 600; padding-bottom: 8px; position: relative; }
.disc-tabs button.on { color: var(--ink); font-size: 19px; font-weight: 800; }
.disc-tabs button.on::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 4px; background: var(--brand); border-radius: 4px; }
.topic-strip { display: flex; gap: 7px; overflow-x: auto; padding: 10px 16px 12px; scrollbar-width: none; }
.topic-strip::-webkit-scrollbar { display: none; }
.post-card { background: #fff; border-radius: 16px; padding: 14px 16px; margin: 0 16px 12px; }
.post-head { display: flex; align-items: center; gap: 9px; }
.post-head .nm { font-size: 13px; font-weight: 700; }
.post-head .tm { font-size: 10.5px; color: #A6AAB2; }
.post-text { font-size: 13px; line-height: 1.75; margin: 10px 0; color: #3C3F46; }
.post-photos { display: flex; gap: 6px; }
.post-photos .photo-thumb { width: 104px; height: 104px; font-size: 42px; border-radius: 9px; }
.post-topic { color: #4B7BE0; font-size: 12px; display: inline-block; margin-top: 9px; }
.post-place { font-size: 10.5px; color: #A6AAB2; margin-top: 8px; display: flex; align-items: center; gap: 3px; }
.post-acts { display: flex; gap: 20px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #F5F5F6; color: #8A8E96; font-size: 12px; }
.post-acts button { display: flex; align-items: center; gap: 4px; }
.post-acts button.liked { color: var(--brand); }

/* ============ 发布 ============ */
.publish-body { padding: 16px; }
.publish-input { background: #fff; border-radius: 14px; padding: 16px; min-height: 190px; }
.publish-input textarea { width: 100%; min-height: 105px; border: 0; resize: none; font-size: 14px; line-height: 1.7; color: var(--ink); background: transparent; }
.publish-input textarea::placeholder { color: #B6B9C0; }
.pic-add { width: 92px; height: 92px; border-radius: 10px; background: #F6F6F7; display: grid; place-items: center; color: #C6C9CE; font-size: 30px; }
.pic-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pic-row .pic { width: 92px; height: 92px; border-radius: 10px; display: grid; place-items: center; font-size: 36px; position: relative; }
.pic-row .pic .del { position: absolute; right: -5px; top: -5px; width: 19px; height: 19px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; display: grid; place-items: center; }
.publish-options { background: #fff; border-radius: 14px; margin-top: 12px; padding: 0 16px; }
.publish-options .opt { display: flex; align-items: center; gap: 9px; height: 52px; border-bottom: 1px solid #F5F5F6; font-size: 13.5px; }
.publish-options .opt:last-child { border-bottom: 0; }
.publish-tools { display: flex; gap: 18px; padding: 16px 20px; color: #676B73; }
.publish-tools .btn { margin-left: auto; }

/* ============ 消息 ============ */
.msg-head { padding: 6px 16px 0; }
.msg-tabs { display: flex; gap: 20px; align-items: baseline; }
.msg-tabs button { font-size: 16px; color: #A0A4AC; font-weight: 600; padding-bottom: 8px; position: relative; }
.msg-tabs button.on { color: var(--ink); font-size: 20px; font-weight: 800; }
.msg-tabs button.on::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 20px; height: 4px; border-radius: 4px; background: var(--brand); }
.search-box { height: 36px; background: #F5F5F7; border-radius: 999px; display: flex; align-items: center; gap: 7px; padding: 0 13px; color: #A6AAB2; font-size: 12px; margin: 12px 16px; }
.search-box input { border: 0; background: transparent; flex: 1; font-size: 12.5px; color: var(--ink); }
.notice-row { display: flex; align-items: center; gap: 12px; padding: 9px 16px; }
.n-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 21px; flex: 0 0 44px; color: #fff; }
.n-main .n-t { font-size: 14px; font-weight: 600; }
.n-main .n-d { font-size: 11.5px; color: #A2A6AE; margin-top: 2px; }
.chat-row { display: flex; align-items: center; gap: 11px; padding: 10px 16px; }
.chat-av { position: relative; flex: 0 0 auto; }
.chat-av .dot { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.chat-main { flex: 1; min-width: 0; }
.chat-main .l1 { display: flex; align-items: center; gap: 5px; }
.chat-main .l1 b { font-size: 14px; font-weight: 600; }
.chat-main .l2 { font-size: 11.5px; color: #A2A6AE; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-time { font-size: 10.5px; color: #B2B5BC; align-self: flex-start; margin-top: 3px; }
.unread-num { background: var(--brand); color: #fff; font-size: 10px; min-width: 17px; height: 17px; line-height: 17px; border-radius: 9px; text-align: center; margin-top: 18px; }

/* ============ 我的 ============ */
.mine { background: linear-gradient(180deg, #FFF1ED 0%, #F7F8FA 34%); min-height: 100%; padding-bottom: 24px; }
.mine-top { padding: 8px 18px 0; display: flex; justify-content: flex-end; gap: 14px; color: #4B4F57; }
.mine-user { display: flex; align-items: center; gap: 12px; padding: 14px 18px 18px; }
.mine-user .m-av { width: 58px; height: 58px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; flex: 0 0 58px; }
.mine-user .m-name { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.mine-user .m-id { font-size: 11px; color: #8F939C; background: #F0F1F3; border-radius: 5px; padding: 2px 7px; display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; }
.mine-stats { display: flex; padding: 0 18px 16px; }
.mine-stats .st { flex: 1; text-align: center; }
.mine-stats .st b { font-size: 19px; font-weight: 700; display: block; }
.mine-stats .st span { font-size: 11px; color: #8F939C; }
.member-banner { margin: 0 16px 12px; border-radius: 14px; padding: 14px 16px; background: linear-gradient(100deg, #FFE0D6, #FFF0E2); position: relative; overflow: hidden; }
.member-banner b { font-size: 15px; color: #7C3A22; font-style: italic; }
.member-banner p { margin: 4px 0 0; font-size: 11px; color: #A4714F; }
.member-banner .crown { position: absolute; right: 12px; top: 2px; font-size: 54px; opacity: .75; transform: rotate(14deg); }
.mine-card { background: #fff; border-radius: 16px; margin: 0 16px 12px; padding: 16px 8px; }
.quick4 { display: flex; }
.quick4 .q { flex: 1; text-align: center; font-size: 11.5px; color: #5B5F67; }
.quick4 .q .qi { width: 38px; height: 38px; margin: 0 auto 7px; display: grid; place-items: center; color: #2C2E33; }
.mine-label { font-size: 15px; font-weight: 700; margin: 18px 18px 10px; }
.assets { display: flex; }
.assets .a { flex: 1; text-align: center; border-right: 1px solid #F0F1F3; }
.assets .a:last-child { border-right: 0; }
.assets .a b { font-size: 18px; display: block; }
.assets .a span { font-size: 11px; color: #9A9EA7; }
.invite-banner { margin: 0 16px 12px; border-radius: 14px; padding: 16px; background: linear-gradient(100deg, #FFC9A8, #FFD9C2 55%, #FFE7D8); position: relative; overflow: hidden; }
.invite-banner h3 { margin: 0; font-size: 22px; font-style: italic; color: #3B2B23; }
.invite-banner p { margin: 3px 0 9px; font-size: 12px; font-weight: 700; color: #5A4033; }
.invite-banner .ib-btn { background: #FFE02B; color: #3B2B23; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.invite-banner .trumpet { position: absolute; right: 6px; top: 4px; font-size: 68px; transform: rotate(-16deg); }

/* ============ 个人主页 ============ */
.profile-hero { height: 316px; padding: 44px 16px 20px; position: relative; display: grid; place-items: center;
  background: linear-gradient(165deg, rgba(240,67,56,.52), rgba(150,32,28,.62)), url('../images/hero.jpg') center/cover no-repeat; }
/* 头图只保留实景封面，避免与下方白色卡片里的头像重复 */
.profile-hero .ph-me { display: none; }
.profile-hero .ph-me img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-hero .navbar { position: absolute; top: 44px; left: 0; right: 0; z-index: 2; }
.profile-sheet { background: #fff; border-radius: 22px 22px 0 0; margin-top: -24px; position: relative; padding: 0 18px 20px; min-height: 300px; }
.profile-sheet .p-av { width: 68px; height: 68px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; display: grid; place-items: center; margin-top: -34px; position: relative; box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.profile-sheet .p-av .dot { position: absolute; right: 2px; bottom: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid #fff; }
.p-stats { display: flex; justify-content: flex-end; gap: 22px; margin-top: -30px; margin-bottom: 18px; text-align: center; }
.p-stats b { display: block; font-size: 16px; }
.p-stats span { font-size: 10.5px; color: #9A9EA7; }
.p-name { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 7px; }
.p-tags { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11px; color: #8F939C; }
.p-tags .gender { background: #FFE9F1; color: #EE6B9B; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.p-tags .online { color: var(--green); }
.p-subtabs { display: flex; gap: 24px; margin: 18px 0 4px; border-bottom: 1px solid var(--line); }
.p-subtabs button { font-size: 14px; color: #9A9EA7; padding-bottom: 10px; position: relative; }
.p-subtabs button.on { color: var(--ink); font-weight: 700; font-size: 15px; }
.p-subtabs button.on::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 3px; border-radius: 3px; background: var(--brand); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; padding: 18px 0 24px; }
.info-grid .i { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #8F939C; }
.info-grid .i b { color: #3A3D44; font-weight: 600; }
.p-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 16px 0 24px; }
.p-album .photo-thumb { width: 100%; height: 104px; font-size: 36px; }

/* ============ 绿色治理中心 ============ */
.gov-head { height: 150px; background: linear-gradient(120deg, #3EA8FF, #2C7DF6 55%, #52B6FF); position: relative; overflow: hidden; display: grid; place-items: center; color: #fff; }
.gov-head .g-title { font-size: 42px; font-weight: 900; letter-spacing: 3px; font-style: italic; text-shadow: 2px 3px 0 rgba(0,80,180,.35); }
.gov-head .g-sub { position: absolute; top: 26px; font-size: 18px; letter-spacing: 12px; font-weight: 700; opacity: .95; }
.gov-body { padding: 0 16px 24px; margin-top: -28px; position: relative; }
.gov-card { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 12px; box-shadow: 0 3px 12px rgba(30,80,160,.07); }
.gov-card h3 { text-align: center; font-size: 15px; margin: 2px 0 16px; letter-spacing: 2px; }
.gov-data { display: flex; text-align: center; }
.gov-data .d { flex: 1; }
.gov-data .d b { font-size: 24px; color: #F0453A; font-style: italic; display: block; }
.gov-data .d span { font-size: 11px; color: #8A8E96; }
.gov-note { text-align: center; font-size: 10px; color: #A6AAB2; margin-top: 12px; padding-top: 10px; border-top: 1px solid #F2F3F5; }
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; text-align: center; }
.gov-grid .g .gi { width: 44px; height: 44px; border-radius: 12px; background: #3D8CFF; color: #fff; display: grid; place-items: center; margin: 0 auto 7px; font-size: 19px; font-weight: 800; }
.gov-grid .g span { font-size: 11px; color: #5B5F67; }
.gov-grid.four { grid-template-columns: repeat(4, 1fr); }

/* ============ 等级页 ============ */
.level-head { min-height: 250px; height: auto; padding: 0 16px 20px; background: linear-gradient(155deg, #FFD6CE 0%, #F7C9DE 55%, #DCC9FF 100%); position: relative; }
.level-head.charm { background: linear-gradient(155deg, #FFD9E2 0%, #FFB9CD 55%, #FFD9EC 100%); }
.level-tabs { display: flex; justify-content: center; gap: 34px; padding-top: 8px; }
.level-tabs button { color: rgba(60,60,80,.55); font-size: 15px; padding-bottom: 8px; position: relative; }
.level-tabs button.on { color: #2C2C38; font-weight: 700; }
.level-tabs button.on::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 3px; border-radius: 3px; background: #fff; }
.level-hint { font-size: 12px; color: #6A6E86; margin: 14px 0 0 4px; display: flex; align-items: center; gap: 5px; }
.level-head.charm .level-hint { color: #C0487A; }
.level-card { background: #fff; border-radius: 14px; padding: 16px; margin-top: 16px; box-shadow: 0 4px 16px rgba(90,70,130,.09); }
.level-card .lc-user { display: flex; align-items: center; gap: 10px; }
.level-card .lc-av { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.level-card .lc-name { font-size: 15px; font-weight: 700; }
.level-card .lc-id { font-size: 10.5px; color: #A2A6AE; margin-top: 2px; }
.level-bar { height: 5px; border-radius: 5px; background: #EEEFF2; margin: 20px 0 8px; }
.level-bar i { display: block; height: 100%; width: 6%; border-radius: 5px; background: linear-gradient(90deg, #A9B6FF, #7C8BFF); }
.level-card.charm .level-bar i { background: linear-gradient(90deg, #FF9EC0, #FF6FA1); }
.level-tip { text-align: center; font-size: 11px; color: #7C86C8; }
.level-card.charm .level-tip { color: #E06A9A; }
.level-guide-title { text-align: center; font-size: 12px; color: #B0B4BC; margin: 26px 0 14px; letter-spacing: 2px; }
.level-guide { background: #F1F0FF; border-radius: 12px; padding: 13px 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.level-guide.charm { background: #FFF0F5; }
.level-guide .lg-icon { width: 40px; height: 40px; border-radius: 9px; background: #fff; display: grid; place-items: center; font-size: 22px; }
.level-guide b { font-size: 13px; display: block; }
.level-guide p { margin: 2px 0 0; font-size: 11px; color: #8B92C7; }
.level-guide.charm p { color: #DE7FA5; }

/* ============ 达人详情 ============ */
.gd-hero { background-image: linear-gradient(165deg, rgba(240,67,56,.80), rgba(150,32,28,.90)), url('../images/t07.jpg'); background-size: cover, cover; background-position: center, center; padding: 44px 16px 54px; color: #fff; position: relative; }
.gd-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(180deg, rgba(150,32,28,0), rgba(150,32,28,.35)); pointer-events: none; }
.gd-hero .navbar { background: transparent; color: #fff; }
.gd-hero-top { display: flex; gap: 13px; align-items: center; padding-top: 8px; }
.gd-hero .gd-av { width: 76px; height: 76px; border-radius: 16px; border: 3px solid rgba(255,255,255,.7); overflow: hidden; flex: 0 0 76px; }
.gd-hero .gd-av .avatar-svg { width: 76px; height: 76px; }
.gd-hero h2 { font-size: 21px; margin: 0 0 6px; display: flex; align-items: center; gap: 7px; }
.gd-hero .gd-line { font-size: 11.5px; opacity: .92; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.gd-hero .gd-tags { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.gd-hero .gd-tags span { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.28); padding: 4px 10px; border-radius: 999px; font-size: 11px; }
.gd-stats3 { display: flex; background: #fff; border-radius: 14px; margin: -38px 16px 12px; position: relative; padding: 14px 0; box-shadow: var(--shadow); }
.gd-stats3 .s { flex: 1; text-align: center; border-right: 1px solid var(--line); }
.gd-stats3 .s:last-child { border-right: 0; }
.gd-stats3 .s b { font-size: 16px; display: block; }
.gd-stats3 .s b.red { color: var(--brand); }
.gd-stats3 .s span { font-size: 10.5px; color: #9A9EA7; }
.gd-section { padding: 0 16px; }
.service-card { display: flex; gap: 11px; background: #fff; border-radius: 13px; padding: 12px; margin-bottom: 10px; align-items: center; }
.service-cover { width: 62px; height: 62px; border-radius: 10px; background: linear-gradient(140deg, #FFE8E3, #FFD2C8); display: grid; place-items: center; font-size: 30px; flex: 0 0 62px; }
.service-info { flex: 1; min-width: 0; }
.service-info h4 { margin: 0 0 4px; font-size: 13.5px; }
.service-info p { margin: 0; font-size: 10.5px; color: #A2A6AE; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-price { color: var(--brand); font-weight: 800; font-size: 16px; margin-top: 5px; }
.service-price small { font-size: 10px; font-weight: 400; color: #9A9EA7; }
.service-card .btn { height: 30px; padding: 0 12px; font-size: 11.5px; }
.review-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 9px; }
.stars { color: #FFB020; font-size: 12px; letter-spacing: 1px; }
.review-text { font-size: 12.5px; color: #4A4D55; margin: 8px 0; line-height: 1.7; }
.review-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.review-date { font-size: 10px; color: #B0B4BC; }

/* ============ 表单 / 下单 / 支付 ============ */
.form-card { background: #fff; border-radius: 14px; margin: 0 16px 12px; padding: 4px 14px; }
.form-row { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid #F5F5F6; gap: 10px; font-size: 13.5px; }
.form-row:last-child { border-bottom: 0; }
.form-row .lbl { width: 74px; flex: 0 0 74px; color: #6B6F78; }
.form-row .val { flex: 1; text-align: right; color: #2E3036; }
.form-row input, .form-row textarea { border: 0; width: 100%; text-align: right; background: transparent; font-size: 13.5px; color: var(--ink); resize: none; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #B6B9C0; }
.form-row textarea { text-align: left; min-height: 56px; padding: 14px 0; line-height: 1.6; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 4px; scrollbar-width: none; }
.date-strip::-webkit-scrollbar { display: none; }
.date-chip { flex: 0 0 auto; width: 56px; padding: 9px 0; border-radius: 10px; background: #F5F5F7; text-align: center; font-size: 11px; color: #8A8E96; }
.date-chip b { display: block; font-size: 14px; color: #3A3D44; margin-top: 2px; }
.date-chip.on { background: var(--brand); color: #fff; }
.date-chip.on b { color: #fff; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 26px; height: 26px; border-radius: 8px; background: #F3F4F6; display: grid; place-items: center; color: #5B5F67; font-size: 15px; }
.stepper span { min-width: 20px; text-align: center; font-weight: 700; }
.fee-line { display: flex; justify-content: space-between; font-size: 12.5px; color: #6B6F78; padding: 4px 0; }
.fee-line.total { color: var(--ink); font-weight: 700; font-size: 14px; border-top: 1px dashed #EDEEF1; margin-top: 8px; padding-top: 12px; }
.fee-line.total b { color: var(--brand); font-size: 19px; }
.agree-line { font-size: 10.5px; color: #9A9EA7; padding: 4px 18px 12px; line-height: 1.7; }
.agree-line a { color: #5B8DE8; }
.pay-hero { text-align: center; padding: 26px 0 20px; }
.pay-hero .p-label { font-size: 12px; color: #9A9EA7; }
.pay-hero .p-amount { font-size: 38px; font-weight: 800; margin: 6px 0; }
.pay-hero .p-amount small { font-size: 18px; }
.pay-hero .p-tip { font-size: 11px; color: #A2A6AE; }
.pay-method { display: flex; align-items: center; gap: 11px; padding: 14px 0; border-bottom: 1px solid #F5F5F6; }
.pay-method .pm-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 19px; color: #fff; }
.pay-check { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #CFD2D8; display: grid; place-items: center; }
.pay-check.on { background: var(--brand); border-color: var(--brand); }
.pay-check.on::after { content: '✓'; color: #fff; font-size: 12px; }

/* ============ 订单 ============ */
.order-tabs { display: flex; gap: 20px; overflow-x: auto; padding: 6px 16px 10px; scrollbar-width: none; background: #fff; position: sticky; top: 44px; z-index: 5; }
.order-tabs::-webkit-scrollbar { display: none; }
.order-tabs button { flex: 0 0 auto; font-size: 13px; color: #8B8F98; padding-bottom: 8px; position: relative; }
.order-tabs button.on { color: var(--ink); font-weight: 700; }
.order-tabs button.on::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 3px; border-radius: 3px; background: var(--brand); }
.order-card { background: #fff; border-radius: 14px; margin: 0 16px 12px; padding: 14px; }
.order-card .oc-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #A2A6AE; padding-bottom: 10px; border-bottom: 1px solid #F5F5F6; }
.order-card .oc-status { font-size: 12.5px; font-weight: 700; }
.order-card .oc-body { display: flex; gap: 11px; padding: 12px 0; }
.order-card .oc-cover { width: 58px; height: 58px; border-radius: 10px; background: linear-gradient(140deg, #FFE8E3, #FFD2C8); display: grid; place-items: center; font-size: 27px; flex: 0 0 58px; }
.order-card .oc-title { font-size: 13.5px; font-weight: 600; }
.order-card .oc-meta { font-size: 11px; color: #9A9EA7; margin-top: 5px; line-height: 1.6; }
.order-card .oc-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid #F5F5F6; }
.order-card .oc-amount { margin-right: auto; font-size: 11px; color: #9A9EA7; }
.order-card .oc-amount b { color: var(--brand); font-size: 16px; }
.mini-btn { height: 30px; padding: 0 13px; border-radius: 999px; border: 1px solid #DEE0E4; font-size: 11.5px; color: #5B5F67; }
.mini-btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.status-hero { padding: 64px 18px 20px; color: #fff; background: linear-gradient(100deg, var(--brand-2), var(--brand)); }
.status-hero.done { background: linear-gradient(100deg, #4ECB92, #22B573); }
.status-hero.cancel { background: linear-gradient(100deg, #B7BBC3, #9297A1); }
.status-hero h2 { margin: 0 0 4px; font-size: 21px; }
.status-hero p { margin: 0; font-size: 11.5px; opacity: .92; }
.timeline { padding: 6px 0 2px; }
.tl-item { display: flex; gap: 12px; position: relative; padding-bottom: 18px; }
.tl-item:last-child { padding-bottom: 2px; }
.tl-item .tl-dot { width: 10px; height: 10px; border-radius: 50%; background: #DDE0E5; flex: 0 0 10px; margin-top: 4px; position: relative; z-index: 2; }
.tl-item.done .tl-dot { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.tl-item::before { content: ''; position: absolute; left: 4.5px; top: 16px; bottom: -2px; width: 1px; background: #EAECEF; }
.tl-item:last-child::before { display: none; }
.tl-item .tl-t { font-size: 12.5px; font-weight: 600; }
.tl-item .tl-d { font-size: 10.5px; color: #A2A6AE; margin-top: 2px; }
.demo-box { background: #FFF8E8; border: 1px dashed #F2C86B; border-radius: 12px; padding: 12px; margin: 0 16px 12px; font-size: 11.5px; color: #9A7226; line-height: 1.7; }
.demo-box b { color: #8A6116; }

/* ============ 评价 ============ */
.rev-hero { background: #fff; margin: 0 16px 12px; border-radius: 14px; padding: 18px; text-align: center; }
.rev-hero h3 { margin: 10px 0 4px; font-size: 15px; }
.big-stars { display: flex; justify-content: center; gap: 12px; margin: 14px 0 6px; }
.big-stars button { font-size: 34px; color: #E2E4E8; line-height: 1; transition: .15s; }
.big-stars button.on { color: #FFB020; transform: scale(1.06); }
.rev-label { text-align: center; font-size: 12px; color: #9A9EA7; }
.rev-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0 4px; }
.rev-tags button { padding: 7px 13px; border-radius: 999px; background: #F5F6F8; color: #6B6F78; font-size: 12px; }
.rev-tags button.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(240,67,56,.3); }
.rev-textarea { width: 100%; min-height: 110px; border: 0; resize: none; font-size: 13px; line-height: 1.7; background: transparent; }
.switch { width: 40px; height: 23px; border-radius: 999px; background: #DDDFE4; position: relative; transition: .2s; }
.switch.on { background: var(--brand); }
.switch::after { content: ''; position: absolute; top: 2.5px; left: 2.5px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.switch.on::after { left: 19.5px; }

/* ============ 聊天 ============ */
.chat-page { display: flex; flex-direction: column; height: 100%; background: #F7F8FA; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; }
.chat-msgs::-webkit-scrollbar { width: 0; }
.msg-time { text-align: center; font-size: 10px; color: #B0B4BC; margin: 8px 0 14px; }
.bubble-row { display: flex; gap: 8px; margin-bottom: 14px; align-items: flex-start; }
.bubble-row.me { flex-direction: row-reverse; }
.bubble { max-width: 72%; background: #fff; border-radius: 4px 14px 14px 14px; padding: 10px 13px; font-size: 13px; line-height: 1.65; box-shadow: 0 1px 5px rgba(0,0,0,.04); word-break: break-word; }
.bubble-row.me .bubble { background: var(--brand); color: #fff; border-radius: 14px 4px 14px 14px; }
.bubble.invite { padding: 0; overflow: hidden; min-width: 200px; }
.bubble.invite .iv-h { background: var(--brand); color: #fff; padding: 8px 12px; font-size: 11px; }
.bubble.invite .iv-b { padding: 10px 12px; }
.bubble.invite .iv-b b { display: block; font-size: 13px; }
.bubble.invite .iv-b span { font-size: 11px; color: #8A8E96; }
.quick-replies { display: flex; gap: 7px; padding: 0 12px 8px; overflow-x: auto; scrollbar-width: none; }
.quick-replies::-webkit-scrollbar { display: none; }
.chat-input-bar { background: #fff; padding: 9px 12px 20px; display: flex; align-items: center; gap: 8px; border-top: 1px solid #EFF0F2; }
.chat-input-bar input { flex: 1; height: 38px; border-radius: 999px; background: #F4F5F7; border: 0; padding: 0 15px; font-size: 13px; }
.chat-input-bar .send { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; }

/* ============ 搜索 / 通用列表 ============ */
.search-head { display: flex; align-items: center; gap: 10px; padding: 6px 16px 12px; }
.search-head .search-box { margin: 0; flex: 1; }
.hot-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 16px; }
.simple-list { background: #fff; border-radius: 14px; margin: 0 16px 12px; padding: 0 14px; }
.simple-row { display: flex; align-items: center; gap: 11px; padding: 14px 0; border-bottom: 1px solid #F5F5F6; font-size: 13.5px; }
.simple-row:last-child { border: 0; }
.simple-row .si { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 17px; }
.coupon { border: 1px dashed #FFC9C2; border-radius: 12px; padding: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 14px; background: linear-gradient(100deg, #FFF5F3, #fff); }
.coupon .amt { color: var(--brand); font-size: 26px; font-weight: 800; }
.coupon .amt small { font-size: 12px; }
.coupon .cd { flex: 1; }
.coupon .cd b { font-size: 13px; display: block; }
.coupon .cd span { font-size: 10.5px; color: #A2A6AE; }

/* ============ 桌面外壳：说明栏收起 / 页面直达 ============ */
.stage-toggle {
  position: absolute; left: 18px; top: 18px; z-index: 20;
  padding: 8px 12px; border: 1px solid #E7E9EE; border-radius: 10px;
  background: rgba(255,255,255,.9); color: #6C7079; font-size: 11.5px; font-weight: 600;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
}
.stage-toggle:hover { color: var(--brand); border-color: var(--brand-2); }
.stage.collapsed .sidebar { display: none; }
.sb-more { margin-top: 14px; border-top: 1px solid #EDEEF1; padding-top: 10px; }
.sb-more summary { cursor: pointer; font-size: 12px; font-weight: 700; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 6px; }
.sb-more summary::-webkit-details-marker { display: none; }
.sb-more summary::before { content: '▸'; color: var(--brand); font-size: 13px; transition: transform .15s; }
.sb-more[open] summary::before { transform: rotate(90deg); }
.sb-more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 10px; }
.sb-more-grid button { text-align: left; padding: 7px 9px; border: 1px solid #EDEEF1; border-radius: 8px; font-size: 11px; color: #6C7079; background: #FCFCFD; }
.sb-more-grid button:hover { color: var(--brand); border-color: var(--brand-2); }
.sb-grid button.on, .sb-more-grid button.on {
  border-color: var(--brand); color: var(--brand); background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px rgba(240,67,56,.18);
}

/* ============ 我的收藏 ============ */
.fav-list { padding: 0 16px; }
.fav-item { display: flex; align-items: center; gap: 10px; padding: 12px; margin-bottom: 10px; background: #fff; border: 1px solid #F0F1F3; border-radius: 14px; box-shadow: 0 2px 8px rgba(30,30,40,.03); }
.fav-av { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; }
.fav-nm { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; margin-bottom: 3px; }

/* ============ 页面切换过渡（仅路由变化时） ============ */
@keyframes routeIn { from { opacity: .55; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
.view.route-enter { animation: routeIn .22s cubic-bezier(.2,.8,.3,1); }

/* ============ 响应式：窄屏全屏 ============ */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .stage-main { background: #fff; justify-content: stretch; }
  .stage-hint { display: none; }
  .device { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
  .screen { border-radius: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .home-indicator { display: none; }
  .tabbar { flex: 0 0 68px; height: 68px; }
  .chat-input-bar { padding-bottom: 12px; }
  /* 真机模式：隐藏模拟状态栏及其占位，交由系统状态栏 */
  .statusbar { display: none; }
  .status-spacer { display: none; }
  .view [style*="height:44px"] { height: 0 !important; }
  .status-hero { margin-top: 0 !important; padding-top: 20px !important; }
  .safe-bottom { height: 12px; flex-basis: 12px; }
  .stage-toggle { display: none; }
}
@media (min-width: 901px) and (max-height: 700px) {
  .device { height: calc(100vh - 50px); }
  .stage-hint { display: none; }
}

/* ============ 真实摄影素材适配（覆盖旧的 emoji / SVG 占位样式） ============ */
.avatar-svg { object-fit: cover; background: #F1F1F3; }
.guide-av .avatar-svg, .gd-hero .gd-av .avatar-svg { object-fit: cover; display: block; }
.photo-thumb { background: #F0F0F2; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-cover, .oc-cover { position: relative; overflow: hidden; background: #F6E3DE; }
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.monster-av { border-radius: 50%; object-fit: cover; display: block; }
.mine-user .m-av, .level-card .lc-av, .profile-sheet .p-av, .avatar-picker { overflow: hidden; }
.mine-user .m-av img, .level-card .lc-av img, .profile-sheet .p-av img, .avatar-picker img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.mine-user .m-av, .level-card .lc-av, .profile-sheet .p-av { padding: 0; }
.pic-row .pic { background: #F3F0EE; overflow: hidden; }
.pic-row .pic img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px; }
.gift-item img { width: 74px; height: 74px; margin: 0 auto 6px; object-fit: cover;
  border-radius: 14px; display: block; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.gift-item { width: 100%; }
/* 空状态：用统一的真实照片圆形封面替代大 emoji */
.empty .em-icon { display: block; width: 64px; height: 64px; margin: 0 auto 14px;
  font-size: 0; line-height: 0; color: transparent; opacity: 1; border-radius: 50%;
  background: url('../images/t01.jpg') center/cover no-repeat;
  box-shadow: 0 6px 18px rgba(180,70,55,.20); }
/* 达人详情头图：叠加一张与达人服务相关的实景，保留红色主题 */
.gd-hero { background-image: linear-gradient(165deg, rgba(240,67,56,.82), rgba(150,32,28,.88)), url('../images/t07.jpg');
  background-size: cover; background-position: center; }

/* ============ v1.3 真实化 UI：摄影横幅 / 线性图标 / 新增页面 ============ */
.hero-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  background-repeat: no-repeat; pointer-events: none; }
.card { border: 1px solid rgba(24,28,40,.022); box-shadow: 0 3px 14px rgba(30,35,50,.055); }

/* 首页横幅 / 服务页担保卡 / 通知条目图标 */
.home-banner { display: flex; align-items: center; gap: 10px; }
.home-banner .hb-ic { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #fff;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(240,67,56,.10); }
.home-banner > div { flex: 1; min-width: 0; }
.sv-shield { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; background: var(--brand-soft);
  display: grid; place-items: center; }
.nt-ic { display: inline-flex; vertical-align: -3px; margin-right: 5px; }
/* 消息中心分类切换 */
.nt-tabs { display: flex; gap: 8px; padding: 10px 16px 2px; overflow-x: auto; scrollbar-width: none; }
.nt-tabs::-webkit-scrollbar { display: none; }
.nt-tab { flex: 0 0 auto; padding: 7px 14px; border: 1px solid #E6E8EC; border-radius: 999px;
  background: #fff; color: #6B6F77; font-size: 12px; cursor: pointer; white-space: nowrap; }
.nt-tab.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.nt-tab:focus-visible { outline: 2px solid rgba(240,67,56,.4); outline-offset: 2px; }
.nt-tab i { display: inline-grid; place-items: center; min-width: 15px; height: 15px; padding: 0 4px;
  margin-left: 5px; border-radius: 8px; background: #F04338; color: #fff; font-size: 10px; font-style: normal; }
.nt-tab.on i { background: #fff; color: var(--brand); }
.n-icon svg { display: block; }
.list-end { text-align: center; font-size: 11.5px; color: #9A9EA7; padding: 14px 0 20px; display: flex;
  align-items: center; justify-content: center; gap: 3px; cursor: pointer; }

/* 真实照片空态 */
.empty-art { width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 8px 22px rgba(180,70,55,.20); border: 3px solid #fff; }
.empty-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 我的页：会员 / 邀请横幅改为真实摄影底图 */
.member-banner { min-height: 76px; display: flex; align-items: center; }
.member-banner .member-photo { opacity: .5; }
.member-banner::after { content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(255,236,226,.97) 0%, rgba(255,236,226,.80) 58%, rgba(255,236,226,.30) 100%); }
.member-banner .mb-txt { position: relative; z-index: 1; flex: 1; min-width: 0; }
.member-banner .crown { position: relative; z-index: 1; top: auto; right: auto; opacity: 1; transform: none;
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: rgba(140,60,40,.85);
  display: grid; place-items: center; }
.invite-banner { min-height: 112px; display: flex; align-items: center; }
.invite-banner .invite-photo { opacity: .75; }
.invite-banner::after { content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(52,22,18,.86), rgba(52,22,18,.44) 72%, rgba(52,22,18,.08)); }
.invite-banner .ib-txt { position: relative; z-index: 1; color: #fff; }
.invite-banner h3 { color: #fff; font-size: 20px; }
.invite-banner p { color: rgba(255,255,255,.88); }
.invite-banner .ib-btn { background: var(--brand); color: #fff; }

/* VIP / 邀请 / 资产 摄影头卡 */
.vip-hero, .invite-hero, .wallet-hero { position: relative; overflow: hidden; border-radius: 16px;
  margin: 0 16px 12px; padding: 18px; min-height: 108px; display: flex; align-items: center; color: #fff; }
.vip-hero::after, .invite-hero::after, .wallet-hero::after { content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(115deg, rgba(72,26,20,.88), rgba(120,45,35,.42) 75%, rgba(120,45,35,.12)); }
.vip-hero .vip-photo, .invite-hero .invite-hero-photo, .wallet-hero .wallet-photo { opacity: .8; }
.vip-hero .vh-txt, .invite-hero .ih-txt, .wallet-hero .wh-txt { position: relative; z-index: 1; }
.vh-title { display: flex; align-items: center; gap: 8px; font-size: 23px; font-weight: 800; letter-spacing: .5px; }
.vip-hero p, .invite-hero p { margin: 6px 0 0; font-size: 12px; color: rgba(255,255,255,.88); }
.invite-hero h3 { margin: 0; font-size: 20px; }
.wh-num { font-size: 34px; font-weight: 800; line-height: 1.25; }
.wallet-hero .wh-txt .row { margin-top: 10px; opacity: .9; }
.vf-ic { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; background: var(--brand-soft);
  display: grid; place-items: center; }
.cs-av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: 0 0 44px; }
.cs-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.green { color: #22B573; }

/* 绿色治理 / 等级头图叠加实景 */
.gov-head .gov-photo { opacity: .32; }
.gov-head::after { content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, rgba(24,92,190,.72), rgba(44,125,246,.38)); }
.gov-head .g-title, .gov-head .g-sub { z-index: 1; }
.gov-grid .g .gi svg { display: block; }
.level-head .level-photo { opacity: .26; }
.level-head::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(155deg, rgba(255,214,206,.55), rgba(220,201,255,.35)); }
.level-head > *:not(.hero-photo) { position: relative; z-index: 1; }
.level-guide .lg-icon svg { display: block; }
.simple-row .si svg { display: block; }

/* 他人用户主页 */
.user-hero { height: 208px; position: relative; overflow: hidden; color: #fff; }
.user-hero .hero-photo { opacity: .9; }
.user-hero::after { content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(50,20,18,.55), rgba(50,20,18,.12) 45%, rgba(50,20,18,.65)); }
.user-hero .navbar, .user-hero-cap { position: relative; z-index: 1; }
.user-hero-cap { position: absolute; left: 18px; bottom: 46px; font-size: 11.5px; opacity: .95; z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.user-hero .navbar .back-circle { background: rgba(0,0,0,.42); }
.user-sheet { background: #fff; border-radius: 20px 20px 0 0; margin-top: -24px; position: relative;
  padding: 0 18px 18px; text-align: center; }
.u-av { width: 78px; height: 78px; margin: -40px auto 8px; border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.14); position: relative; }
.u-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.u-name { font-size: 17px; font-weight: 800; }
.u-sub { font-size: 11.5px; color: #9A9EA7; margin-top: 4px; }
.u-stats { display: flex; justify-content: center; gap: 34px; margin: 16px 0; }
.u-stats b { display: block; font-size: 17px; }
.u-stats span { font-size: 11px; color: #9A9EA7; }
.u-acts { display: flex; gap: 8px; }
.relation-row { display: flex; align-items: center; gap: 11px; background: #fff; margin: 0 16px 10px;
  padding: 12px 14px; border-radius: 14px; box-shadow: 0 2px 12px rgba(30,35,50,.04); }
.relation-row .avatar-svg { border-radius: 50%; flex: 0 0 48px; }
.relation-row b { font-size: 13px; }

/* 达人详情相似推荐 / 订单详情快捷入口 */
.sim-row { display: flex; gap: 8px; }
.sim-item { flex: 1; min-width: 0; background: #fff; border-radius: 14px; padding: 12px 6px;
  box-shadow: 0 2px 12px rgba(30,35,50,.05); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sim-item .avatar-svg { border-radius: 50%; }
.sim-item b { font-size: 12px; }
.order-links { display: flex; gap: 6px; border-top: 1px solid #F3F4F6; padding-top: 10px; }
.order-links button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 11px; color: #5B5F67; background: #F7F8FA; border-radius: 9px; padding: 8px 2px; }
.fav-acts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.fav-acts .mini-btn { padding: 4px 9px; }

/* 支付 / 评价 / 弹层 / 表单 */
.pm-icon { overflow: hidden; }
.pm-brand { font-size: 17px; color: #fff; font-weight: 800; }
.pay-rule { color: var(--brand); margin-left: 4px; }
.rev-cover { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 14px; overflow: hidden;
  position: relative; box-shadow: 0 5px 14px rgba(0,0,0,.12); }
.rev-cover .cover-photo { position: absolute; inset: 0; }
.sheet-svc { display: flex; align-items: center; gap: 10px; margin: 0 16px 10px; padding: 10px;
  background: #F8F9FB; border-radius: 12px; }
.sheet-svc > .grow { position: relative; min-height: 46px; }
.sheet-svc .cover-photo { width: 52px; height: 52px; position: static; border-radius: 10px; }
.sheet-svc b { font-size: 13px; }
.recharge-grid, .emoji-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 4px 16px 12px; }
.recharge-grid button { padding: 14px 0; border-radius: 12px; background: var(--brand-soft); color: var(--brand);
  font-size: 15px; font-weight: 800; }
.emoji-grid button { font-size: 26px; padding: 8px 0; border-radius: 10px; background: #F7F8FA; }
.post-who { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; }
.post-who .avatar-svg { border-radius: 50%; flex: 0 0 38px; }
.post-who .grow { min-width: 0; }
.stars svg { vertical-align: middle; }

/* ============ 体验案例（首页预览 + 案例页） ============ */
.case-preview { margin: 4px 16px 12px; border-radius: 14px; padding: 13px 14px; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(100deg, #FFF4EE, #FFE9E0); color: #A33A31; }
.case-preview .cp-ic { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(240,67,56,.10); }
.case-preview .grow { flex: 1; min-width: 0; }
.case-preview b { font-size: 13px; display: block; }
.case-preview span { font-size: 11px; opacity: .82; }
.case-preview .cp-go { background: var(--brand); color: #fff; border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 600; }

.case-card { background: #fff; border-radius: 16px; margin: 0 16px 14px; overflow: hidden; box-shadow: 0 3px 14px rgba(30,35,50,.06); }
.case-cover { width: 100%; height: 150px; position: relative; overflow: hidden; background: #F3E1DC; }
.case-cover .cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.case-body { padding: 14px 16px 16px; }
.case-head b { font-size: 15px; }
.case-guide { display: flex; align-items: center; gap: 7px; margin: 10px 0 12px; font-size: 12px; color: #5B5F67; }
.case-guide .avatar-svg { border-radius: 50%; flex: 0 0 26px; }
.case-guide .case-go { margin-left: auto; color: var(--brand); font-weight: 600; }
.case-scene { font-size: 12.5px; line-height: 1.85; color: #4A4D55; margin: 0 0 10px; }
.case-quote { font-size: 12.5px; line-height: 1.8; color: #2C2E33; background: var(--brand-soft); border-radius: 10px; padding: 10px 12px; margin: 0 0 10px; }
.case-result { display: flex; gap: 8px; font-size: 12px; line-height: 1.75; color: #4A4D55; margin-bottom: 10px; }
.case-result .dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: 7px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case-tags .chip { background: #F5F6F8; color: #6B6F78; }

/* =====================================================================
 * v1.15 · 全端自适应（手机竖屏 / 手机横屏 / 小屏 / 平板 / 桌面）
 * 设计要点：
 *   1) 100dvh 动态视口：规避移动端地址栏收放造成的 100vh 裁切
 *   2) env(safe-area-inset-*)：刘海、圆角、横屏左右黑边
 *   3) 横屏：隐藏模拟状态栏、压缩 tabbar、正文限宽居中；支持 :has() 的
 *      浏览器进一步把 tabbar 转为侧边竖栏，把垂直空间全部还给内容
 *   4) <=360px 小屏：收敛固定宽度元素，避免挤压
 *   5) >=1200px 桌面：设备外壳适度放大，充分利用宽屏
 * 规则一律「追加覆盖」，不改动上方既有声明；无内联样式、无 JS，CSP 兼容。
 * ===================================================================== */

/* --- 1) 动态视口高度（渐进增强，旧浏览器回落到 100vh） --- */
@supports (height: 100dvh) {
  .stage { height: 100dvh; }
  .device { height: min(844px, calc(100dvh - 74px)); }
  @media (max-width: 900px) {
    .stage, .device { height: 100dvh; }
  }
  @media (min-width: 901px) and (max-height: 700px) {
    .device { height: calc(100dvh - 50px); }
  }
}

/* --- 2) 安全区：横屏左右 + 竖屏上下（原规则仅覆盖窄屏） --- */
.screen {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}
@media (max-width: 900px) {
  .screen {
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* --- 3) 小屏手机（<=360px：iPhone SE / 老款安卓 / 折叠屏外屏） --- */
@media (max-width: 360px) {
  .page { padding: 0 12px 24px; }
  .tabbar { flex-basis: 60px; height: 60px; padding-top: 5px; }
  .tabbar .tab { font-size: 9px; gap: 2px; }
  .tabbar .tab .fab { width: 40px; height: 40px; margin-top: -14px; }
  .tab-dot { right: 14px; }
  .guide-av, .guide-av .avatar-svg { width: 80px; flex-basis: 80px; }
  .guide-info { padding-right: 56px; }
  .hi-btn { width: 52px; height: 34px; font-size: 14px; }
  .form-row .lbl { width: 62px; flex-basis: 62px; }
  .date-chip { width: 50px; }
  .pic-add, .pic-row .pic { width: 78px; height: 78px; }
  .post-photos .photo-thumb { width: 88px; height: 88px; }
  .avatar-picker { width: 82px; height: 82px; margin-bottom: 24px; }
  .navbar .nb-left, .navbar .nb-right { min-width: 44px; }
  .btn { font-size: 12.5px; }
  .quick4 .q .qi { width: 34px; height: 34px; }
}

/* --- 4) 平板 / 大屏手机竖屏：正文限宽居中，避免超长单行 --- */
@media (min-width: 600px) and (max-width: 900px) and (orientation: portrait) {
  #view > .page:not(.flush) { max-width: 560px; margin-left: auto; margin-right: auto; }
  .tabbar { max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; }
}

/* --- 5) 手机横屏 / 矮屏（核心：竖转横） --- */
@media (orientation: landscape) and (max-height: 560px) {
  .sidebar { display: none; }
  .stage-main { background: #fff; justify-content: stretch; }
  .stage-hint, .home-indicator, .statusbar, .status-spacer { display: none; }
  .device { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
  .screen { border-radius: 0; padding-top: 0; padding-bottom: 0; }
  /* 模拟状态栏占位内联高度一并清掉 */
  .view [style*="height:44px"] { height: 0 !important; }
  /* tabbar 横向排布图标+文字，压到 52px，把垂直空间让给内容 */
  .tabbar { flex: 0 0 52px; height: 52px; padding-top: 3px; }
  .tabbar .tab { flex-direction: row; gap: 5px; font-size: 10.5px; }
  .tabbar .tab .fab { width: 34px; height: 34px; margin-top: -8px; }
  .tab-dot { right: 8px; top: -2px; }
  /* 正文限宽居中，避免横屏 800px+ 超宽单行与图片拉伸 */
  #view > .page:not(.flush) { max-width: 640px; margin-left: auto; margin-right: auto; }
  .bottom-bar { max-width: 640px; margin-left: auto; margin-right: auto; }
  .safe-bottom { height: 10px; flex-basis: 10px; }
  .navbar { height: 40px; }
}

/* 进阶：无「底部常驻操作栏」的页面，横屏把 tabbar 变左侧竖栏。
   用 :has() 做能力检测，老浏览器自动回落到上面的 column 布局。
   v1.15.1 修正：tabbar / view 实际挂在 #screenBody 下，原选择器 .screen > .tabbar
   永远不匹配，导致这条竖栏规则从未生效；现改为操作 #screenBody 本身。 */
@supports selector(:has(*)) {
  @media (orientation: landscape) and (max-height: 560px) {
    #screenBody:not(:has(.bottom-bar)) { flex-direction: row; }
    #screenBody:not(:has(.bottom-bar)) > .tabbar {
      order: -1; flex: 0 0 66px; width: 66px; height: 100%;
      flex-direction: column; align-items: stretch; justify-content: center;
      padding: 6px 0; gap: 0; border-top: 0; border-right: 1px solid #F4F4F5;
      padding-left: env(safe-area-inset-left, 0px);
    }
    #screenBody:not(:has(.bottom-bar)) > .tabbar .tab {
      flex: 1; flex-direction: column; justify-content: center; gap: 2px; font-size: 9.5px;
    }
    #screenBody:not(:has(.bottom-bar)) > .tabbar .tab .fab { margin-top: 0; }
    #screenBody:not(:has(.bottom-bar)) > .view { height: 100%; }
  }
}

/* --- 6) 桌面宽屏：设备适度放大，侧栏加宽 --- */
@media (min-width: 1200px) {
  .sidebar { width: 380px; flex-basis: 380px; padding: 30px 28px 22px; }
  .device { width: 420px; height: min(900px, calc(100vh - 84px)); }
  .stage-main { gap: 16px; }
}
@supports (height: 100dvh) {
  @media (min-width: 1200px) {
    .device { height: min(900px, calc(100dvh - 84px)); }
  }
}

/* --- 7) 可访问性：系统开启「减少动态效果」时关闭过渡 --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =====================================================================
 * v1.15.1 · 桌面宽屏模式（真布局切换，不是把手机壳放大）
 * 触发：>=1200px 时右上角「宽屏模式」按钮，状态存 localStorage。
 * 变化：画布展开到 ~1120px、模拟状态栏/Home 条隐藏、tabbar 变顶部横向导航、
 *       正文限宽 900px 居中、首页达人列表双栏。
 * 默认关闭：保持原有「手机舞台」演示形态，既有截图与冒烟不受影响。
 * 窄屏 / 横屏永不命中（媒体查询隔离），手机端即使存过 wide=1 也不受影响。
 * ===================================================================== */
.stage-wide-toggle {
  display: none;
  position: absolute; left: 132px; top: 18px; z-index: 20;
  padding: 8px 12px; border: 1px solid #E7E9EE; border-radius: 10px;
  background: rgba(255,255,255,.9); color: #6C7079; font-size: 11.5px; font-weight: 600;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
}
.stage-wide-toggle:hover { color: var(--brand); border-color: var(--brand-2); }

@media (min-width: 1200px) {
  .stage-wide-toggle { display: inline-block; }
  .stage.wide .sidebar { width: 300px; flex-basis: 300px; }
  .stage.wide .stage-main { gap: 10px; }
  .stage.wide .device {
    width: min(1120px, calc(100vw - 380px));
    height: min(920px, calc(100vh - 56px));
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(40,30,35,.16), 0 0 0 1px #E7E9EE;
  }
  .stage.wide .screen { border-radius: 18px; }
  .stage.wide .statusbar, .stage.wide .status-spacer,
  .stage.wide .home-indicator { display: none; }
  /* tabbar 提到内容之前 → 顶部横向导航 */
  .stage.wide #screenBody > .tabbar {
    order: -1; flex: 0 0 54px; height: 54px;
    align-items: center; justify-content: center; gap: 6px;
    padding: 0 18px; border-top: 0; border-bottom: 1px solid #ECEEF2;
  }
  .stage.wide #screenBody > .tabbar .tab {
    flex: 0 0 auto; min-width: 92px; height: 36px; padding: 0 14px;
    flex-direction: row; gap: 7px; font-size: 12.5px; border-radius: 18px;
  }
  .stage.wide #screenBody > .tabbar .tab.on { background: var(--brand-soft); }
  .stage.wide #screenBody > .tabbar .tab .fab {
    width: 30px; height: 30px; margin-top: 0; border-width: 2px; box-shadow: none;
  }
  .stage.wide #screenBody > .tabbar .tab-dot { right: 0; top: -2px; }
  /* 正文限宽，避免 1120px 宽画布里出现超长单行 */
  .stage.wide #view > .page,
  .stage.wide .bottom-bar { max-width: 900px; margin-left: auto; margin-right: auto; }
  .stage.wide .guide-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px;
  }
  .stage.wide .guide-row { border-bottom: 1px solid var(--line); }
}
@supports (height: 100dvh) {
  @media (min-width: 1200px) {
    .stage.wide .device { height: min(920px, calc(100dvh - 56px)); }
  }
}
