/* 水贝找款 · 背包客 H5（设计稿 01–05、12、13；375px 无横向滚动） */
:root { --tab-h: 56px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px); }
html, body { overflow-x: hidden; }
body.h5 { min-height: 100vh; background: var(--bg-page); }
#app { min-height: 100vh; }
.wrap { padding: 0 12px; }

/* ───────── 顶部导航（子页面） ───────── */
.h5-head {
  position: sticky; top: 0; z-index: 30;
  background: var(--grad-brown); color: var(--text-on-dark);
  padding: calc(var(--safe-t) + 6px) 8px 8px;
  display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; min-height: 52px;
}
.h5-head .title { text-align: center; font-size: 18px; font-weight: 600; letter-spacing: .5px; }
.h5-head .back, .h5-head .act { display: inline-flex; align-items: center; gap: 4px; color: var(--text-on-dark); background: none; border: 0; padding: 6px; font-size: 14px; }
.h5-head .act { justify-self: end; color: var(--gold-400); }
.h5-head .back .ic { width: 24px; height: 24px; }
.h5-head .sub { grid-column: 1 / -1; text-align: center; font-size: 13px; color: var(--gold-100); opacity: .9; padding-top: 2px; }
.subtabs { position: sticky; top: 52px; z-index: 29; display: flex; background: var(--brown-700); padding: 0 8px; }
.subtabs a { flex: 1; text-align: center; padding: 10px 0 12px; color: rgba(255,255,255,.65); font-size: 15px; position: relative; }
.subtabs a.on { color: var(--gold-400); font-weight: 600; }
.subtabs a.on::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 22px; height: 3px; margin-left: -11px; border-radius: 3px; background: var(--grad-gold); }
.sheet-top { margin-top: -10px; border-radius: 16px 16px 0 0; background: var(--bg-page); position: relative; z-index: 1; padding-top: 12px; }

/* ───────── 接单大厅（01） ───────── */
.page-hall { background: linear-gradient(180deg, var(--brown-800) 0, var(--brown-700) 210px, #6B5246 330px, var(--bg-page) 470px); min-height: 100vh; }
.hall-top { padding: calc(var(--safe-t) + 12px) 12px 0; color: var(--text-on-dark); }
.statbox { display: grid; grid-template-columns: 1fr 1fr 1.45fr; border: 1px solid var(--gold-400); border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212,184,122,.14), rgba(212,184,122,.04)); padding: 10px 4px; }
.statbox > div { padding: 0 10px; min-width: 0; }
.statbox > div + div { border-left: 1px solid rgba(212,184,122,.25); }
.statbox .k { font-size: 12px; color: var(--gold-100); opacity: .9; white-space: nowrap; }
.statbox .v { font-size: 18px; font-weight: 700; color: #fff; white-space: nowrap; }
.statbox .v small { font-size: 12px; font-weight: 400; margin-left: 2px; }
.statbox .gold .v, .statbox .gold .k { color: var(--gold-400); }
.statbox .gold .v { font-size: 16px; }
.statbox .src { font-size: 10.5px; color: rgba(245,235,215,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statbox .src.stale { color: #FFAB91; }
.hall-title { display: flex; align-items: center; justify-content: space-between; margin: 18px 4px 12px; }
.hall-title h1 { font-size: 26px; letter-spacing: 1px; }
.bell { position: relative; color: var(--gold-400); background: none; border: 0; padding: 4px; }
.bell .ic { width: 28px; height: 28px; }
.bell .dot { position: absolute; top: 2px; right: 2px; min-width: 9px; height: 9px; border-radius: 9px; background: var(--danger); border: 1.5px solid var(--brown-700); }
.announce { display: flex; gap: 8px; align-items: center; margin: 0 4px 12px; padding: 7px 12px; border-radius: 999px;
  background: rgba(212,184,122,.14); color: var(--gold-100); font-size: 12.5px; }
.announce .ic { color: var(--gold-400); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(0,0,0,.18); border-radius: 14px 14px 0 0; overflow: hidden; }
.seg a { text-align: center; padding: 12px 0; color: rgba(255,255,255,.75); font-size: 15px; }
.seg a.on { background: linear-gradient(180deg, #F2E3C2, #D4B87A); color: var(--brown-800); font-weight: 700; border-radius: 14px 14px 0 0; }
.catbar { display: flex; gap: 8px; overflow-x: auto; padding: 12px 12px 4px; scrollbar-width: none; }
.catbar::-webkit-scrollbar { display: none; }
.catbar .chip { min-width: 0; flex: none; padding: 5px 13px; background: rgba(255,255,255,.88); }
.list { padding: 8px 12px calc(var(--tab-h) + var(--safe-b) + 28px); }

/* 需求卡片 */
.ocard { position: relative; background: linear-gradient(180deg, #FFFFFF, #FFFCF7); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  margin-bottom: 14px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; display: block; }
.ocard:active { transform: translateY(-2px); box-shadow: var(--shadow-float); }
@media (hover: hover) { .ocard:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); } }
.oc-main { display: flex; gap: 12px; padding: 14px 14px 12px; }
.oc-img { position: relative; flex: none; width: 96px; height: 96px; border-radius: 10px; border: 1px solid var(--border-light);
  background: #fff center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--gold-400); }
.oc-img .ic { width: 32px; height: 32px; }
.corner-urgent { position: absolute; left: -4px; top: -4px; background: var(--danger); color: #fff; font-size: 12px; font-weight: 700;
  padding: 1px 8px; border-radius: 8px 4px 8px 0; box-shadow: 0 2px 6px rgba(198,40,40,.35); z-index: 2; }
.oc-body { flex: 1; min-width: 0; }
.oc-tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 6px; background: linear-gradient(135deg, #F5EBD7, #EBD9B0); color: var(--brown-700); margin-bottom: 5px; }
.oc-title { font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--text-primary); }
.oc-params { font-size: 12.5px; color: var(--text-secondary); margin-top: 4px; }
.oc-mark { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.oc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 10px 10px; padding: 8px 12px;
  background: linear-gradient(90deg, #F8F2E7, #FBF8F2); border-radius: 12px; }
.oc-price { display: inline-block; font-weight: 800; letter-spacing: -.5px; line-height: 1.25; padding: 2px 1px 0; white-space: nowrap;
  background: linear-gradient(180deg, #D8BC80, #B8943F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oc-price .cur { font-size: 18px; }
.oc-price .n { font-size: 34px; }
.oc-price .u { font-size: 16px; }
.oc-price + .lbl { font-size: 12px; color: var(--gold-600); margin-left: 6px; white-space: nowrap; }
.oc-right { text-align: right; flex: none; }
.pill-slots { display: inline-block; padding: 5px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--brown-600), var(--brown-800));
  color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 6px rgba(44,24,16,.25); }
.pill-slots.full { background: #B0A79F; }
.oc-time { font-size: 12px; color: var(--text-secondary); margin-top: 4px; white-space: nowrap; }
.oc-sub { font-size: 12px; color: var(--warning); margin-top: 4px; }
.oc-deal { font-size: 12.5px; color: var(--success); padding: 0 14px 12px; }
.ptr { height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--gold-100); font-size: 12px; gap: 6px; transition: height .15s ease; }
.ptr.show { height: 36px; }

/* ───────── 底部 5 Tab ───────── */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: linear-gradient(180deg, var(--brown-700), var(--brown-800)); display: grid; grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 -2px 12px rgba(31,18,11,.25); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: rgba(255,255,255,.62); font-size: 11.5px; position: relative; }
.tabbar a .ic { width: 23px; height: 23px; }
.tabbar a.on { color: var(--gold-400); font-weight: 600; }
.tabbar a .badge { position: absolute; top: 6px; left: 54%; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--danger); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.tabbar .tab-center { justify-content: flex-end; padding-bottom: 6px; }
.tabbar .tab-center .orb { position: absolute; top: -22px; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F7E8C6, #D4B87A 55%, #B8943F);
  border: 4px solid var(--brown-700); display: flex; align-items: center; justify-content: center; color: var(--brown-800); box-shadow: 0 4px 12px rgba(31,18,11,.35); }
.tabbar .tab-center .orb .ic { width: 26px; height: 26px; stroke-width: 2.2; }
.tabbar .tab-center.on { color: var(--gold-400); }

/* ───────── 需求详情（02） ───────── */
.hero { position: relative; height: 290px; background: var(--brown-700); overflow: hidden; }
.hero-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-track img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.hero-empty { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold-400); flex-direction: column; gap: 6px; }
.hero-empty .ic { width: 56px; height: 56px; }
.hero .urgent { position: absolute; left: 14px; bottom: 34px; background: var(--danger); color: #fff; font-weight: 700; padding: 3px 12px; border-radius: 8px; font-size: 14px; }
.hero .count { position: absolute; right: 14px; bottom: 34px; background: rgba(245,235,215,.85); color: var(--brown-800); padding: 2px 12px; border-radius: 999px; font-size: 13px; }
.detail-card { position: relative; margin: -22px 12px 0; background: linear-gradient(180deg, #FFFCF7, #FFFFFF 120px); border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 16px; }
.detail-card .top { display: flex; justify-content: space-between; align-items: center; }
.detail-card h1 { font-size: 20px; line-height: 1.45; margin: 10px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.pgrid .p { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.pgrid .k { color: var(--text-secondary); font-size: 13.5px; white-space: nowrap; }
.pgrid .arrow { color: var(--text-muted); font-size: 12px; }
.pgrid .v { font-size: 15px; font-weight: 500; min-width: 0; word-break: break-all; }
.pgrid .full { grid-column: 1 / -1; }
.pgrid .fee .v { font-size: 30px; font-weight: 800; color: var(--gold-500); line-height: 1.1; }
.pgrid .fee .v small { font-size: 18px; }
.slotbar { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: linear-gradient(90deg, #F2E3C2, #FAF3E4); display: flex; align-items: baseline; gap: 10px; color: var(--brown-700); flex-wrap: wrap; }
.slotbar b { font-size: 22px; color: var(--brown-800); }
.slotbar .hint { font-size: 12.5px; color: var(--text-secondary); }
.tipbox { margin-top: 10px; display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #F4F1EC; color: var(--text-secondary); font-size: 13px; }
.tipbox .ic { color: var(--gold-500); flex: none; margin-top: 3px; }
.deal-box { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #E8F5E9; color: var(--success); font-size: 13.5px; }
.pb-act { padding-bottom: calc(86px + var(--safe-b)); }
.actbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 12px; padding: 12px 12px calc(12px + var(--safe-b));
  background: linear-gradient(180deg, var(--brown-700), var(--brown-800)); box-shadow: 0 -2px 12px rgba(31,18,11,.25); }
.actbar .btn-fav { flex: 0 0 34%; border-radius: 999px; background: transparent; border: 1.5px solid var(--gold-400); color: var(--gold-100); font-size: 17px; font-weight: 600; padding: 11px 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.actbar .btn-fav.on { color: var(--gold-400); }
.actbar .btn-fav.on .ic { fill: var(--gold-400); }
.actbar .btn-primary { flex: 1; border-radius: 999px; font-size: 18px; padding: 12px 0; }
.actbar.single { flex-direction: column; align-items: center; gap: 6px; }
.actbar.single .btn-primary { width: 72%; flex: none; }
.actbar .note { color: rgba(245,235,215,.75); font-size: 12px; }

/* ───────── 上传实拍（03） ───────── */
.up-deadline { display: flex; align-items: center; justify-content: space-between; margin: 10px 12px 0; padding: 8px 12px; border-radius: 10px; background: #FFF3E0; color: var(--warning); font-size: 13px; }
.sec { background: linear-gradient(180deg, #FFFDF9, #FFFFFF); border-radius: var(--radius-md); box-shadow: var(--shadow-card); margin: 10px 12px; padding: 14px; }
.sec-head { display: flex; align-items: center; gap: 8px; }
.num-badge { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F7E8C6, #D4B87A 60%, #B8943F); color: var(--brown-800);
  font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.sec-head h3 { flex: 1; font-size: 17px; }
.sec-head .must { color: var(--danger); font-size: 13px; }
.sec-head .opt { color: var(--text-muted); font-size: 12.5px; }
.sec .desc { color: var(--text-secondary); font-size: 13px; margin: 4px 0 10px; }
.dropzone { border: 1.5px dashed var(--gold-400); border-radius: 12px; background: #FFFAF1; padding: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-height: 100px; }
.dropzone.missing { border-color: var(--danger); background: #FFF6F5; }
.tile { position: relative; width: 84px; height: 84px; border-radius: 8px; background: #F3EEE6 center/cover no-repeat; flex: none; display: flex; align-items: center; justify-content: center; color: var(--brown-600); font-size: 12px; }
.tile .del { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--danger); color: #fff; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; padding: 0; }
.tile .del .ic { width: 12px; height: 12px; stroke-width: 3; }
.tile.busy::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: rgba(255,255,255,.6); }
.tile .pct { position: absolute; bottom: 4px; left: 4px; right: 4px; height: 4px; background: rgba(0,0,0,.12); border-radius: 2px; overflow: hidden; z-index: 2; }
.tile .pct i { display: block; height: 100%; background: var(--gold-500); }
.tile-video { background: var(--brown-700); color: var(--gold-100); flex-direction: column; gap: 2px; }
.tile-add { width: 64px; height: 64px; border: 1px dashed var(--gold-400); background: #fff; color: var(--gold-500); cursor: pointer; }
.tile-add .ic { width: 24px; height: 24px; }
.dz-cta { flex: 1; min-width: 140px; text-align: center; color: var(--brown-700); cursor: pointer; padding: 6px 0; }
.dz-cta .ic { width: 34px; height: 34px; color: var(--gold-500); }
.dz-cta b { display: block; font-size: 15px; color: var(--gold-600); margin-top: 2px; }
.dz-cta span { font-size: 12px; color: var(--text-secondary); }
.dz-wide { justify-content: center; }
.dz-wide .dz-cta { display: flex; flex-direction: column; align-items: center; }
.form-card .title-bar { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.form-card .title-bar::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--grad-gold); }
.frow { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; margin: 10px 0; }
.frow > label { font-size: 14px; color: var(--text-primary); }
.frow .input, .frow .select { background: var(--bg-input); }
.frow.top { align-items: start; }
.frow.top > label { padding-top: 9px; }

/* ───────── 我的单子（04） ───────── */
.grp-head { display: flex; align-items: center; gap: 8px; padding: 14px 4px 8px; font-size: 17px; font-weight: 700; }
.grp-head .dot { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F7E8C6, #C9A961); }
.grp-head .dot.green { background: var(--success); }
.grp-head .dot.gray { background: #BDB6AE; }
.grp-head .cnt { margin-left: auto; font-size: 13px; color: var(--text-secondary); font-weight: 400; }
.mcard { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); margin-bottom: 10px; overflow: hidden; }
.mc-top { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid #F1ECE4; gap: 8px; }
.mc-top .meta { font-size: 13px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.mc-top .meta.red { color: var(--danger); font-weight: 600; }
.cd-box { display: inline-flex; align-items: center; gap: 3px; color: var(--danger); font-weight: 700; }
.cd-box i { font-style: normal; background: var(--danger); color: #fff; border-radius: 4px; padding: 0 4px; font-variant-numeric: tabular-nums; }
.cd-box.blink i { animation: zk-blink 1s steps(2, start) infinite; }
.mc-body { display: flex; gap: 12px; padding: 12px 14px; align-items: center; }
.mc-img { width: 68px; height: 68px; border-radius: 8px; background: #F3EEE6 center/cover no-repeat; flex: none; }
.mc-text { flex: 1; min-width: 0; }
.mc-text .t { font-size: 16px; font-weight: 600; }
.mc-text .p { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; }
.mc-text .f { font-size: 13px; color: var(--gold-600); margin-top: 2px; }
.mc-text .f b { font-size: 17px; }
.mc-side { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 14px; border-top: 1px solid #F1ECE4; font-size: 12.5px; color: var(--text-secondary); }
.mc-foot.gold { background: linear-gradient(90deg, #F8EEDB, #FBF6EC); color: var(--brown-700); border-top: 0; margin: 0 10px 10px; border-radius: 10px; }
.mc-foot .money { color: var(--success); font-weight: 700; font-size: 15px; }
.mc-reason { color: var(--danger); font-size: 12.5px; padding: 0 14px 10px; }

/* ───────── 注册（05） ───────── */
.page-reg { min-height: 100vh; background: radial-gradient(120% 60% at 50% 0%, var(--brown-600), var(--brown-800) 55%, var(--brown-900)); padding-bottom: 30px; }
.reg-top { text-align: center; color: #fff; padding: calc(var(--safe-t) + 18px) 16px 22px; position: relative; }
.reg-top .back { position: absolute; left: 8px; top: calc(var(--safe-t) + 10px); color: #fff; background: none; border: 0; padding: 6px; }
.reg-top .back .ic { width: 26px; height: 26px; }
.reg-logo { width: 84px; height: 84px; margin: 6px auto 12px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.reg-top h1 { font-size: 24px; letter-spacing: 1px; }
.reg-top .sub { color: var(--gold-400); font-size: 17px; margin-top: 4px; }
.reg-top .cap { color: rgba(245,235,215,.75); font-size: 13px; margin-top: 8px; }
.reg-card { margin: 0 14px; background: linear-gradient(180deg, #FFFCF7, #FBF7F0); border-radius: 18px; box-shadow: var(--shadow-float); padding: 20px 16px; }
.reg-card .ttl { text-align: center; font-size: 20px; font-weight: 700; }
.reg-card .ttl + .caption { text-align: center; margin-bottom: 14px; }
.ifield { display: flex; align-items: center; height: 48px; background: #fff; border: 1px solid #E8DCC4; border-radius: 10px; margin-bottom: 12px; padding: 0 6px 0 14px; transition: border-color .15s, box-shadow .15s; }
.ifield:focus-within { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,169,97,.15); }
.ifield > label { flex: none; width: 74px; font-weight: 600; font-size: 15px; border-right: 1px solid var(--border-light); margin-right: 12px; }
.ifield input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; height: 100%; font-size: 15px; }
.ifield input::placeholder { color: var(--text-muted); }
.ifield .side { flex: none; color: var(--text-muted); padding: 0 6px; display: flex; align-items: center; }
.ifield .code-btn { flex: none; border: 0; border-radius: 8px; background: var(--grad-gold); color: var(--brown-800); font-weight: 600; padding: 7px 12px; font-size: 14px; }
.ifield .code-btn:disabled { background: #E7DFD3; color: #9E9089; }
.reg-card .chips { margin: 10px 0 4px; }
.agree { display: flex; align-items: center; gap: 6px; justify-content: center; margin: 16px 0 14px; font-size: 13px; color: var(--text-secondary); flex-wrap: wrap; }
.agree a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.reg-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--text-secondary); text-align: center; }
.reg-foot .ic { color: #2E9E44; width: 20px; height: 20px; }

/* ───────── 我的收藏（12） ───────── */
.fav-sum { text-align: center; color: var(--gold-100); font-size: 14px; padding: 0 8px 10px; background: var(--brown-700); }
.fav-sum b { color: var(--gold-400); font-size: 17px; margin: 0 2px; }
.fcard { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); margin-bottom: 10px; overflow: hidden; position: relative; }
.fc-head { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: linear-gradient(90deg, #F5EBD7, #FBF6EC); font-size: 14px; color: var(--brown-700); }
.fc-head .ic { color: var(--gold-500); fill: var(--gold-500); }
.fc-head.hot { background: linear-gradient(90deg, #FFE8D6, #FFF6EE); color: var(--warning); font-weight: 600; }
.fc-head.hot .note { font-size: 12px; font-weight: 400; background: rgba(230,81,0,.08); border-radius: 6px; padding: 1px 6px; }
.fc-head .right { margin-left: auto; }
.fc-body { display: flex; gap: 12px; padding: 12px 14px; }
.fc-text { flex: 1; min-width: 0; }
.fc-text .t { font-size: 16px; font-weight: 600; }
.fc-text .p { font-size: 12.5px; color: var(--text-secondary); }
.fc-text .f { font-size: 13px; color: var(--gold-600); }
.fc-text .s { font-size: 13px; margin-top: 2px; }
.fc-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.fcard.full .fc-side { background: #EFEDEA; margin: -12px -14px -12px 0; padding: 12px 14px; border-radius: 0; }
.fav-tip { display: flex; gap: 8px; align-items: center; margin: 12px 0; padding: 10px 14px; border-radius: 10px; background: #EFEAE3; color: var(--text-secondary); font-size: 13px; }
.fav-tip .ic { color: var(--gold-500); }

/* ───────── 我的（13） ───────── */
.me-head { background: var(--grad-brown); color: #fff; padding: calc(var(--safe-t) + 20px) 16px 64px; position: relative; display: flex; gap: 14px; align-items: center; }
.me-head .gear { position: absolute; right: 14px; top: calc(var(--safe-t) + 14px); color: #fff; background: none; border: 0; padding: 4px; }
.me-head .gear .ic { width: 26px; height: 26px; }
.avatar { position: relative; width: 78px; height: 78px; border-radius: 50%; border: 3px solid var(--gold-400); background: #E9E4DD center/cover; flex: none; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.avatar .vip { position: absolute; right: -6px; bottom: -2px; background: var(--grad-gold); color: var(--brown-800); font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 6px; border: 1.5px solid var(--brown-800); }
.me-head .name { font-size: 22px; font-weight: 700; }
.me-head .stall { color: var(--gold-100); font-size: 13.5px; margin: 2px 0 6px; }
.lv-tag { display: inline-flex; align-items: center; gap: 4px; padding: 1px 10px; border-radius: 6px; font-size: 12px; background: var(--grad-gold); color: var(--brown-800); font-weight: 600; margin-right: 6px; }
.lv-tag.gray { background: rgba(255,255,255,.18); color: #fff; font-weight: 400; }
.lv-tag.red { background: var(--danger); color: #fff; }
.stat4 { margin: -48px 12px 12px; position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-float); padding: 16px 8px 0; }
.stat4 .row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat4 .c { text-align: center; padding: 0 2px; }
.stat4 .c + .c { border-left: 1px solid #F1ECE4; }
.stat4 .v { font-size: 25px; font-weight: 800; color: var(--brown-800); line-height: 1.2; }
.stat4 .v.gold { color: var(--gold-500); }
.stat4 .v small { font-size: 14px; }
.stat4 .k { font-size: 12px; color: var(--text-secondary); }
.stat4 .k2 { font-size: 11.5px; color: var(--success); }
.stat4 .lv { display: flex; justify-content: space-between; border-top: 1px solid #F1ECE4; margin-top: 12px; padding: 11px 8px; font-size: 14px; }
.stat4 .lv .now { color: var(--success); font-weight: 600; }
.stat4 .lv a { color: var(--gold-600); }
.mcard-sec { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); margin: 0 12px 12px; padding: 14px; }
.mcard-sec .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mcard-sec .hd h3 { font-size: 17px; }
.mcard-sec .hd a { color: var(--text-secondary); font-size: 13px; display: inline-flex; align-items: center; }
.hbars .r { display: grid; grid-template-columns: 74px 1fr 42px; align-items: center; gap: 8px; margin: 6px 0; font-size: 13px; color: var(--text-secondary); }
.hbars .bar { height: 10px; border-radius: 5px; background: #F1ECE4; overflow: hidden; }
.hbars .bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #C9A961, #EBD9B0); }
.hbars .n { text-align: right; }
.menu-list { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); margin: 0 12px 12px; padding: 0 14px; }
.menu-list a { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #F1ECE4; font-size: 15px; }
.menu-list a:last-child { border-bottom: 0; }
.menu-list a .ic:first-child { color: var(--brown-600); width: 22px; height: 22px; }
.menu-list a .chev { margin-left: auto; color: var(--text-muted); }
.menu-list a .val { margin-left: auto; color: var(--text-secondary); font-size: 13px; }
.menu-list a .val + .chev { margin-left: 4px; }
.ver { text-align: center; color: var(--text-muted); font-size: 12.5px; padding: 4px 0 calc(var(--tab-h) + var(--safe-b) + 28px); line-height: 1.9; }

/* ───────── 底部弹层 / 消息中心 / 文档页 ───────── */
.bsheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 901; background: #fff; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); max-height: 82vh; overflow: auto; animation: zk-up .22s ease; }
@keyframes zk-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.bsheet h3 { font-size: 18px; margin-bottom: 12px; text-align: center; }
.bsheet .kv { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: 14px; margin: 10px 0; }
.bsheet .kv dt { color: var(--text-secondary); }
.bsheet .kv dd { margin: 0; word-break: break-all; }
.notice-item { display: block; background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); padding: 12px 14px; margin-bottom: 10px; position: relative; }
.notice-item.unread::before { content: ""; position: absolute; left: 6px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.notice-item .t { font-weight: 600; font-size: 15px; }
.notice-item .b { color: var(--text-secondary); font-size: 13px; margin-top: 2px; }
.notice-item .d { color: var(--text-muted); font-size: 12px; margin-top: 4px; }
.doc { background: #fff; margin: 12px; border-radius: 12px; padding: 16px; line-height: 1.8; white-space: pre-wrap; font-size: 14px; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #D7CCC8; border-radius: 26px; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--gold-500); }
.switch input:checked + span::before { transform: translateX(20px); }
.devbar { position: fixed; right: 10px; bottom: calc(var(--tab-h) + var(--safe-b) + 14px); z-index: 50; background: var(--info); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 999px; opacity: .92; }
