/* ========== 快鹿跑腿 · 设计系统 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root{
  --primary:#ff6a1a; --primary-d:#f04e00; --primary-l:#fff1e8;
  --green:#0fbf8f; --green-l:#e6faf4;
  --blue:#3b82f6; --red:#f5483b; --yellow:#ffb020;
  --ink:#20242e; --ink2:#5b6172; --muted:#9aa0b0; --line:#eef0f5;
  --bg:#f4f5f9; --card:#ffffff;
  --radius:16px; --shadow:0 6px 20px rgba(32,36,46,.06);
  --shadow-lg:0 12px 40px rgba(32,36,46,.16);
}
html,body{ height:100%; }
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif;
  color:var(--ink); background:#e9ebf2; font-size:14px; line-height:1.5;
}
.stage{ min-height:100%; display:flex; justify-content:center;
  background:radial-gradient(600px 300px at 10% -5%, #ffe1c7 0%, transparent 60%),
             radial-gradient(600px 300px at 100% 0%, #d7f3e8 0%, transparent 55%),
             #e9ebf2;
}
.app{ position:relative; width:100%; max-width:480px; min-height:100vh; background:var(--bg);
  box-shadow:0 0 60px rgba(20,30,60,.12); overflow:hidden; }
@media (min-width:520px){ .stage{ padding:24px 0; } .app{ min-height:calc(100vh - 48px); border-radius:28px; } }

img{ max-width:100%; }
a{ text-decoration:none; color:inherit; }
button{ font-family:inherit; border:none; background:none; cursor:pointer; color:inherit; }
input,textarea,select{ font-family:inherit; font-size:14px; outline:none; border:none; background:none; color:var(--ink); }
ul{ list-style:none; }

.page{ padding-bottom:84px; min-height:100vh; animation:fade .25s ease; }
@keyframes fade{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }
@keyframes pop{ from{transform:scale(.92); opacity:0;} to{transform:scale(1); opacity:1;} }
@keyframes slideUp{ from{transform:translateY(100%);} to{transform:translateY(0);} }

/* ========== 通用组件 ========== */
.hidden{ display:none !important; }
.card{ background:var(--card); border-radius:var(--radius); box-shadow:var(--shadow); }
.muted{ color:var(--muted); }
.ink2{ color:var(--ink2); }
.row{ display:flex; align-items:center; }
.between{ justify-content:space-between; }
.gap6{ gap:6px; } .gap8{ gap:8px; } .gap12{ gap:12px; }
.pad{ padding:14px; }
.section-title{ font-size:16px; font-weight:800; margin:18px 16px 10px; display:flex; align-items:center; justify-content:space-between; }
.section-title .more{ font-size:12px; color:var(--muted); font-weight:400; }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:46px; padding:0 22px; border-radius:23px; font-size:15px; font-weight:700;
  transition:transform .08s; }
.btn:active{ transform:scale(.96); }
.btn-primary{ background:linear-gradient(135deg,var(--primary),var(--primary-d)); color:#fff; box-shadow:0 8px 18px rgba(255,106,26,.35); width:100%; }
.btn-ghost{ background:var(--primary-l); color:var(--primary); }
.btn-line{ border:1px solid var(--line); color:var(--ink2); background:#fff; }
.btn-sm{ height:32px; padding:0 14px; border-radius:16px; font-size:12px; font-weight:600; }
.btn-disabled{ background:#e7e9f0 !important; color:#aab0bf !important; box-shadow:none !important; }

.tag{ display:inline-flex; align-items:center; gap:3px; font-size:11px; padding:2px 8px; border-radius:8px; font-weight:600; }
.tag-orange{ background:var(--primary-l); color:var(--primary-d); }
.tag-green{ background:var(--green-l); color:#0a9d75; }
.tag-blue{ background:#eaf1fe; color:#2f6fe0; }
.tag-red{ background:#ffecea; color:var(--red); }
.tag-gray{ background:#f1f2f6; color:var(--ink2); }
.tag-yellow{ background:#fff6e3; color:#c8810a; }

.avatar{ width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:19px; flex:none; background:#ffe8d6; }
.avatar.sm{ width:28px; height:28px; font-size:14px; }
.avatar.lg{ width:60px; height:60px; font-size:30px; }

/* 顶部导航栏 */
.navbar{ position:sticky; top:0; z-index:20; height:50px; display:flex; align-items:center;
  padding:0 12px; background:#fff; border-bottom:1px solid var(--line); }
.navbar .back{ width:34px; height:34px; border-radius:50%; font-size:20px; display:flex; align-items:center; justify-content:center; }
.navbar .back:active{ background:#f1f2f6; }
.navbar .nt{ flex:1; text-align:center; font-size:16px; font-weight:800; padding-right:34px; }
.navbar .nbox{ flex:1; display:flex; justify-content:center; }
.navbar .nseg{ display:flex; background:#f1f2f6; border-radius:14px; padding:3px; }
.navbar .nseg span{ padding:5px 18px; font-size:13px; border-radius:11px; color:var(--ink2); font-weight:600; }
.navbar .nseg span.on{ background:#fff; color:var(--ink); box-shadow:0 2px 6px rgba(0,0,0,.08); }

/* ========== 首页 ========== */
.home-hero{ background:linear-gradient(135deg,#ff7d2b 0%,#ff5a36 55%,#ff4f5e 100%);
  padding:14px 16px 56px; color:#fff; position:relative; }
.home-hero::after{ content:"🦌"; position:absolute; right:10px; bottom:-6px; font-size:96px; opacity:.14; }
.hero-top{ display:flex; align-items:center; justify-content:space-between; }
.hello{ font-size:13px; opacity:.9; }
.school{ font-size:17px; font-weight:800; margin-top:1px; }
.hero-icons{ display:flex; gap:10px; }
.hero-icon{ position:relative; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center; font-size:18px; }
.hero-icon .rd{ position:absolute; right:7px; top:7px; width:8px; height:8px; background:#ffe23d;
  border:1.5px solid #ff6a1a; border-radius:50%; }
.credit-pill{ display:inline-flex; align-items:center; gap:6px; margin-top:10px;
  background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.35);
  padding:5px 12px; border-radius:14px; font-size:12px; font-weight:600; }
.searchbar{ margin:-40px 16px 0; position:relative; z-index:5; background:#fff; border-radius:18px;
  box-shadow:var(--shadow); display:flex; align-items:center; padding:13px 16px; gap:10px; }
.searchbar input{ flex:1; font-size:14px; }
.searchbar .s-ico{ font-size:16px; }

.chips{ display:flex; gap:9px; padding:16px 16px 4px; overflow-x:auto; scrollbar-width:none; }
.chips::-webkit-scrollbar{ display:none; }
.chip{ flex:none; display:flex; flex-direction:column; align-items:center; gap:4px;
  background:#fff; border-radius:14px; padding:10px 14px; min-width:64px; box-shadow:var(--shadow);
  font-size:12px; font-weight:600; color:var(--ink2); transition:all .15s; }
.chip .ce{ font-size:22px; }
.chip.on{ background:linear-gradient(135deg,var(--primary),var(--primary-d)); color:#fff;
  box-shadow:0 8px 16px rgba(255,106,26,.35); }

.safe-banner{ margin:14px 16px 0; background:linear-gradient(120deg,#0fbf8f,#0aa37c); border-radius:14px;
  color:#fff; padding:11px 14px; display:flex; align-items:center; gap:10px; font-size:12.5px; }
.safe-banner b{ font-size:13px; }
.safe-banner .sb-ico{ font-size:22px; }

.stat-strip{ display:flex; margin:12px 16px 0; background:#fff; border-radius:14px; box-shadow:var(--shadow); }
.stat-strip .si{ flex:1; text-align:center; padding:11px 4px; }
.stat-strip .si + .si{ border-left:1px dashed var(--line); }
.stat-strip .sv{ font-size:17px; font-weight:800; color:var(--primary); }
.stat-strip .sl{ font-size:11px; color:var(--muted); margin-top:2px; }

.filter-bar{ display:flex; align-items:center; justify-content:space-between; margin:18px 16px 8px; }
.filter-bar h3{ font-size:16px; }
.filter-sort{ font-size:12px; color:var(--ink2); display:flex; align-items:center; gap:3px;
  background:#fff; padding:6px 12px; border-radius:14px; box-shadow:var(--shadow); }

/* 任务卡片 */
.task-list{ padding:0 16px; display:flex; flex-direction:column; gap:12px; }
.task-card{ background:#fff; border-radius:16px; padding:14px; box-shadow:var(--shadow);
  display:block; transition:transform .1s; position:relative; overflow:hidden; }
.task-card:active{ transform:scale(.985); }
.task-card.urgent{ border:1px solid #ffd2c2; }
.tc-top{ display:flex; align-items:flex-start; gap:10px; }
.tc-type{ width:42px; height:42px; border-radius:13px; display:flex; align-items:center; justify-content:center;
  font-size:21px; flex:none; }
.tc-title{ font-size:15px; font-weight:700; flex:1; line-height:1.35;
  display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.tc-desc{ font-size:12.5px; color:var(--muted); margin-top:3px;
  display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.tc-reward{ text-align:right; flex:none; }
.tc-reward .rmb{ color:var(--primary); font-weight:800; font-size:11px; }
.tc-reward .rnum{ color:var(--primary); font-weight:800; font-size:20px; line-height:1.1; }
.tc-route{ margin-top:10px; background:#f8f9fc; border-radius:11px; padding:9px 11px; font-size:12.5px;
  display:flex; align-items:center; gap:7px; color:var(--ink2); }
.tc-route .rt{ max-width:42%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tc-route .arrow{ color:var(--primary); font-weight:800; }
.tc-meta{ display:flex; align-items:center; gap:7px; margin-top:9px; font-size:11.5px; color:var(--muted); flex-wrap:wrap; }
.tc-meta .deadline{ color:var(--primary-d); font-weight:600; }
.tc-meta .deadline.urgent{ color:var(--red); }
.tc-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:10px; padding-top:10px; border-top:1px dashed var(--line); }
.tc-user{ display:flex; align-items:center; gap:7px; font-size:12px; }
.tc-user .un{ font-weight:600; max-width:72px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tc-user .credit{ font-size:11px; color:#c8810a; background:#fff6e3; padding:1px 6px; border-radius:7px; font-weight:700; }
.tc-status{ font-size:12px; font-weight:700; padding:4px 12px; border-radius:12px; }
.st-open{ background:var(--primary-l); color:var(--primary-d); }
.st-accepted{ background:#eaf1fe; color:#2f6fe0; }
.st-doing{ background:#eaf1fe; color:#2f6fe0; }
.st-submitted{ background:#fff6e3; color:#c8810a; }
.st-done{ background:var(--green-l); color:#0a9d75; }
.st-cancelled{ background:#f1f2f6; color:var(--muted); }

.empty{ text-align:center; padding:70px 30px; color:var(--muted); }
.empty .ee{ font-size:60px; }
.empty p{ margin-top:12px; font-size:13px; }
.empty .btn{ margin-top:18px; width:auto; }

/* ========== 任务详情 ========== */
.detail-status{ padding:18px 16px; color:#fff; }
.detail-status.s-open{ background:linear-gradient(135deg,#ff7d2b,#ff5a36); }
.detail-status.s-accepted,.detail-status.s-doing{ background:linear-gradient(135deg,#4d94ff,#2f6fe0); }
.detail-status.s-submitted{ background:linear-gradient(135deg,#ffc53d,#f59e0b); }
.detail-status.s-done{ background:linear-gradient(135deg,#2fd8a6,#0aa37c); }
.detail-status.s-cancelled{ background:linear-gradient(135deg,#aab0bf,#8a90a2); }
.detail-status .ds-t{ font-size:19px; font-weight:800; }
.detail-status .ds-s{ font-size:12.5px; opacity:.92; margin-top:3px; }
.reward-hero{ margin:14px 16px 0; background:#fff; border-radius:16px; box-shadow:var(--shadow);
  padding:16px; display:flex; align-items:center; justify-content:space-between; }
.reward-hero .rl{ font-size:12px; color:var(--muted); }
.reward-hero .rb{ font-size:30px; font-weight:800; color:var(--primary); }
.reward-hero .rb small{ font-size:14px; }
.reward-hero .escrow{ font-size:11px; color:#0a9d75; background:var(--green-l); padding:3px 9px; border-radius:9px; font-weight:700; }

.dcard{ margin:14px 16px 0; background:#fff; border-radius:16px; box-shadow:var(--shadow); padding:15px; }
.dcard h4{ font-size:15px; margin-bottom:10px; }
.kv{ display:flex; font-size:13.5px; padding:7px 0; }
.kv .k{ width:76px; color:var(--muted); flex:none; }
.kv .v{ flex:1; color:var(--ink); font-weight:600; }
.route-box{ display:flex; gap:12px; }
.route-dot{ display:flex; flex-direction:column; align-items:center; gap:4px; padding-top:3px; }
.route-dot .d{ width:10px; height:10px; border-radius:50%; }
.route-dot .ln{ width:2px; flex:1; min-height:26px; background:repeating-linear-gradient(#d7dae4 0 4px, transparent 4px 8px); }
.route-ends .re{ padding-bottom:18px; }
.route-ends .re:last-child{ padding-bottom:0; }
.route-ends .rl2{ font-size:13px; font-weight:700; }
.route-ends .rs{ font-size:11.5px; color:var(--muted); }

.person-card{ display:flex; align-items:center; gap:12px; }
.person-card .pinfo{ flex:1; }
.person-card .pn{ font-size:15px; font-weight:700; display:flex; align-items:center; gap:6px; }
.person-card .ps{ font-size:11.5px; color:var(--muted); margin-top:3px; }
.person-card .pstat{ display:flex; gap:4px; margin-top:5px; }
.person-card .pstat span{ font-size:10.5px; background:#f4f5f9; color:var(--ink2); padding:2px 7px; border-radius:7px; }

/* 时间线 */
.timeline{ padding-left:4px; }
.tl-item{ display:flex; gap:12px; position:relative; padding-bottom:18px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-dot{ width:20px; display:flex; flex-direction:column; align-items:center; flex:none; }
.tl-dot .d{ width:11px; height:11px; border-radius:50%; background:#d7dae4; margin-top:4px; z-index:1; }
.tl-dot .ln{ position:absolute; top:15px; bottom:0; width:2px; background:var(--line); }
.tl-item:last-child .ln{ display:none; }
.tl-item.on .d{ background:var(--primary); box-shadow:0 0 0 4px var(--primary-l); }
.tl-item .tl-t{ font-size:13.5px; font-weight:700; }
.tl-item .tl-s{ font-size:11.5px; color:var(--muted); margin-top:2px; }

.action-bar{ position:fixed; bottom:0; width:100%; max-width:480px; background:#fff; padding:10px 16px 22px;
  display:flex; gap:10px; border-top:1px solid var(--line); z-index:30; }
.action-bar .sbtn{ flex:none; width:52px; height:46px; border-radius:23px; background:#f4f5f9;
  display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:16px; }
.action-bar .btn{ flex:1; }

/* ========== 表单 / 发布 ========== */
.form-wrap{ padding:14px 16px 20px; }
.fcard{ background:#fff; border-radius:16px; box-shadow:var(--shadow); padding:15px; margin-bottom:14px; }
.fcard h4{ font-size:15px; margin-bottom:12px; display:flex; align-items:center; gap:7px; }
.type-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.type-opt{ border:1.5px solid var(--line); border-radius:13px; padding:12px 4px; text-align:center;
  font-size:12px; font-weight:600; color:var(--ink2); transition:all .12s; }
.type-opt .te{ font-size:26px; display:block; margin-bottom:5px; }
.type-opt.on{ border-color:var(--primary); background:var(--primary-l); color:var(--primary-d); }
.field{ margin-bottom:14px; }
.field:last-child{ margin-bottom:0; }
.field label{ display:block; font-size:13px; font-weight:700; margin-bottom:7px; }
.field label .req{ color:var(--red); }
.field input[type=text],.field input[type=number],.field textarea,.field select{
  width:100%; border:1.5px solid var(--line); border-radius:12px; padding:11px 13px; background:#fbfbfd;
  transition:border .12s; }
.field input:focus,.field textarea:focus,.field select:focus{ border-color:var(--primary); background:#fff; }
.field textarea{ resize:none; height:78px; }
.field .hint{ font-size:11.5px; color:var(--muted); margin-top:5px; }
.picker-val{ display:flex; align-items:center; justify-content:space-between;
  border:1.5px solid var(--line); border-radius:12px; padding:11px 13px; background:#fbfbfd; color:var(--ink2); }
.picker-val.on{ color:var(--ink); border-color:var(--primary); background:#fff; }
.picker-val .arrow-r{ color:var(--muted); }
.time-opts{ display:flex; gap:9px; }
.time-opt{ flex:1; border:1.5px solid var(--line); border-radius:12px; padding:10px 4px; text-align:center;
  font-size:12.5px; font-weight:600; color:var(--ink2); }
.time-opt .te2{ display:block; font-size:18px; margin-bottom:3px; }
.time-opt.on{ border-color:var(--red); background:#ffecea; color:var(--red); }
.amount-opts{ display:flex; gap:9px; }
.amount-opt{ flex:1; border:1.5px solid var(--line); border-radius:12px; padding:11px 0; text-align:center;
  font-size:16px; font-weight:800; color:var(--ink2); }
.amount-opt small{ display:block; font-size:10px; font-weight:500; color:var(--muted); margin-top:2px; }
.amount-opt.on{ border-color:var(--primary); background:var(--primary-l); color:var(--primary-d); }
.fee-note{ font-size:11.5px; color:var(--muted); line-height:1.7; }
.fee-total{ display:flex; align-items:baseline; justify-content:space-between; padding-top:10px; margin-top:10px; border-top:1px dashed var(--line); }
.fee-total .tv{ color:var(--primary); font-size:22px; font-weight:800; }

/* ========== 订单 ========== */
.orders-tabs{ display:flex; background:#fff; border-bottom:1px solid var(--line); }
.orders-tabs .ot{ flex:1; text-align:center; padding:13px 0 11px; font-size:14px; font-weight:600; color:var(--ink2); position:relative; }
.orders-tabs .ot.on{ color:var(--primary-d); }
.orders-tabs .ot.on::after{ content:""; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:26px; height:3px; border-radius:2px; background:var(--primary); }
.status-chips{ display:flex; gap:8px; padding:12px 16px 4px; overflow-x:auto; scrollbar-width:none; }
.status-chips::-webkit-scrollbar{ display:none; }
.status-chips .scp{ flex:none; font-size:12px; padding:6px 14px; border-radius:14px; background:#fff;
  color:var(--ink2); font-weight:600; box-shadow:var(--shadow); }
.status-chips .scp.on{ background:var(--primary); color:#fff; }
.order-actions{ display:flex; gap:8px; justify-content:flex-end; margin-top:10px; }

/* ========== 消息 ========== */
.msg-item{ display:flex; gap:12px; padding:14px 16px; background:#fff; border-bottom:1px solid var(--line); }
.msg-item:active{ background:#fafbfd; }
.msg-ico{ width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:20px; flex:none; }
.msg-body{ flex:1; min-width:0; }
.msg-top{ display:flex; justify-content:space-between; align-items:baseline; }
.msg-top .mt{ font-weight:700; font-size:14px; }
.msg-time{ font-size:11px; color:var(--muted); flex:none; margin-left:10px; }
.msg-txt{ font-size:12.5px; color:var(--ink2); margin-top:3px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.msg-item.unread .mt::before{ content:""; display:inline-block; width:7px; height:7px; border-radius:50%;
  background:var(--red); margin-right:5px; vertical-align:1px; }
.msg-item.unread{ background:#fffaf7; }

/* ========== 我的 ========== */
.profile-head{ background:linear-gradient(135deg,#ff7d2b,#ff5a36); padding:20px 18px 60px; color:#fff; }
.ph-row{ display:flex; align-items:center; gap:14px; }
.ph-row .pname{ font-size:19px; font-weight:800; display:flex; align-items:center; gap:7px; }
.verified{ font-size:10.5px; background:rgba(255,255,255,.22); border:1px solid rgba(255,255,255,.4);
  border-radius:9px; padding:2px 7px; font-weight:600; }
.ph-row .pschool{ font-size:12px; opacity:.92; margin-top:4px; }
.credit-card{ margin:-46px 16px 0; background:#fff; border-radius:18px; box-shadow:var(--shadow);
  padding:16px; position:relative; z-index:5; display:flex; align-items:center; }
.credit-ring{ width:78px; height:78px; flex:none; position:relative; }
.credit-ring svg{ transform:rotate(-90deg); }
.credit-ring .cv{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.credit-ring .cv b{ font-size:21px; font-weight:800; color:var(--primary); line-height:1; }
.credit-ring .cv span{ font-size:9.5px; color:var(--muted); margin-top:2px; }
.credit-meta{ flex:1; padding-left:16px; }
.credit-meta .lv{ display:flex; align-items:center; gap:7px; }
.credit-meta .lv b{ font-size:16px; }
.lv-badge{ font-size:10.5px; background:linear-gradient(135deg,#ffd768,#f5a623); color:#7a4b00;
  padding:2px 8px; border-radius:9px; font-weight:800; }
.credit-meta .tip{ font-size:11.5px; color:var(--muted); margin:7px 0 6px; }
.lv-bar{ height:7px; border-radius:4px; background:#f1f2f6; overflow:hidden; }
.lv-bar i{ display:block; height:100%; border-radius:4px; background:linear-gradient(90deg,#ffb020,#ff6a1a); }

.stat3{ display:flex; margin:14px 16px 0; background:#fff; border-radius:16px; box-shadow:var(--shadow); }
.stat3 .s3{ flex:1; text-align:center; padding:14px 4px; }
.stat3 .s3 + .s3{ border-left:1px solid var(--line); }
.stat3 b{ font-size:20px; display:block; }
.stat3 span{ font-size:11.5px; color:var(--muted); }

.wallet-mini{ margin:14px 16px 0; background:linear-gradient(120deg,#262d3d,#3d465c); border-radius:16px;
  padding:15px 17px; color:#fff; display:flex; align-items:center; justify-content:space-between; }
.wallet-mini .wl{ font-size:11.5px; opacity:.8; }
.wallet-mini .wb{ font-size:23px; font-weight:800; margin-top:2px; }
.wallet-mini .wbtns{ display:flex; gap:8px; }
.wallet-mini .wbtn{ font-size:12px; background:rgba(255,255,255,.16); padding:8px 14px; border-radius:14px; font-weight:600; }

.menu-list{ margin:14px 16px 0; background:#fff; border-radius:16px; box-shadow:var(--shadow); overflow:hidden; }
.menu-item{ display:flex; align-items:center; gap:13px; padding:15px 16px; border-bottom:1px solid var(--line); }
.menu-item:last-child{ border-bottom:none; }
.menu-item:active{ background:#fafbfd; }
.menu-item .mi{ font-size:19px; width:24px; text-align:center; }
.menu-item .mt2{ flex:1; font-size:14px; font-weight:600; }
.menu-item .mr{ font-size:12px; color:var(--muted); }
.menu-item .arrow-r{ color:#c7cbd6; }
.demo-flag{ font-size:10px; background:var(--green-l); color:#0a9d75; padding:2px 7px; border-radius:7px; font-weight:700; }

/* 排行榜 */
.podium{ display:flex; align-items:flex-end; justify-content:center; gap:14px; margin:20px 16px 6px; }
.podium .pp{ text-align:center; width:100px; }
.podium .pa{ font-size:34px; }
.podium .pn2{ font-size:13px; font-weight:700; margin-top:5px; white-space:nowrap; }
.podium .pc{ font-size:12px; color:#c8810a; font-weight:800; }
.podium .pblk{ border-radius:12px 12px 0 0; margin-top:8px; color:#fff; font-weight:800; padding:8px 0; font-size:18px; }
.p1 .pblk{ height:74px; background:linear-gradient(180deg,#ffd768,#f5a623); }
.p2 .pblk{ height:54px; background:linear-gradient(180deg,#cfd7e6,#aab4c8); }
.p3 .pblk{ height:40px; background:linear-gradient(180deg,#e8b487,#d08a52); }
.rank-list{ margin:14px 16px; background:#fff; border-radius:16px; box-shadow:var(--shadow); overflow:hidden; }
.rank-row{ display:flex; align-items:center; gap:12px; padding:12px 15px; border-bottom:1px solid var(--line); }
.rank-row:last-child{ border-bottom:none; }
.rank-row.me{ background:var(--primary-l); }
.rank-no{ width:26px; text-align:center; font-weight:800; color:var(--muted); font-size:15px; flex:none; }
.rank-row .rn{ flex:1; font-size:14px; font-weight:600; }
.rank-row .rstat{ font-size:11px; color:var(--muted); }
.rank-row .rc{ font-weight:800; color:#c8810a; font-size:15px; }

/* 徽章墙 */
.badge-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:11px; padding:0 16px; }
.badge-item{ background:#fff; border-radius:14px; padding:15px 6px; text-align:center; box-shadow:var(--shadow); }
.badge-item .bi{ font-size:34px; filter:grayscale(1); opacity:.35; }
.badge-item.got .bi{ filter:none; opacity:1; }
.badge-item .bn{ font-size:12px; font-weight:700; margin-top:6px; }
.badge-item .bd{ font-size:10px; color:var(--muted); margin-top:2px; line-height:1.4; }

/* 钱包明细 */
.bill-item{ display:flex; align-items:center; gap:12px; padding:13px 16px; background:#fff; border-bottom:1px solid var(--line); }
.bill-item .bico{ width:38px; height:38px; border-radius:50%; background:#f4f5f9; display:flex; align-items:center; justify-content:center; font-size:17px; }
.bill-item .binfo{ flex:1; }
.bill-item .bt{ font-size:13.5px; font-weight:600; }
.bill-item .bs{ font-size:11px; color:var(--muted); margin-top:2px; }
.bill-item .bamt{ font-weight:800; font-size:15px; }
.bill-item .bamt.in{ color:var(--green); }
.bill-item .bamt.out{ color:var(--ink); }

/* 信用规则 */
.rule-card{ margin:14px 16px 0; background:#fff; border-radius:16px; padding:15px; box-shadow:var(--shadow); }
.rule-card h4{ font-size:14.5px; margin-bottom:9px; display:flex; gap:7px; align-items:center; }
.rule-card p,.rule-card li{ font-size:12.5px; color:var(--ink2); line-height:1.8; }
.rule-card ul{ padding-left:4px; }
.rule-card li{ display:flex; gap:8px; }
.rule-card li b{ flex:none; }

/* ========== 弹层 ========== */
.overlay{ position:fixed; inset:0; background:rgba(20,24,35,.45); z-index:100;
  display:none; align-items:flex-end; justify-content:center; }
.overlay.show{ display:flex; animation:fade .2s; }
.sheet{ width:100%; max-width:480px; background:#fff; border-radius:22px 22px 0 0; padding:8px 0 26px;
  animation:slideUp .25s ease; max-height:82vh; overflow-y:auto; }
.sheet-grab{ width:38px; height:4px; border-radius:2px; background:#dde0e8; margin:7px auto 4px; }
.sheet-title{ text-align:center; font-size:16px; font-weight:800; padding:10px 18px 4px; }
.sheet-body{ padding:14px 18px 0; }
.sheet-foot{ padding:16px 18px 0; }
.opt-row{ display:flex; align-items:center; gap:13px; padding:14px 6px; border-bottom:1px solid var(--line); width:100%; text-align:left; }
.opt-row:last-child{ border-bottom:none; }
.opt-row .oi{ font-size:21px; width:26px; text-align:center; }
.opt-row .ot3{ flex:1; font-size:14.5px; font-weight:600; }
.opt-row .os3{ font-size:11.5px; color:var(--muted); }
.opt-row .check{ color:var(--primary); font-weight:800; }

/* 评价弹层 */
.stars{ display:flex; justify-content:center; gap:12px; font-size:38px; padding:12px 0 6px; }
.stars span{ cursor:pointer; opacity:.35; transition:transform .1s; }
.stars span.on{ opacity:1; transform:scale(1.12); }
.rate-tags{ display:flex; flex-wrap:wrap; gap:9px; justify-content:center; margin:12px 0 4px; }
.rate-tag{ font-size:12.5px; padding:7px 14px; border-radius:16px; background:#f4f5f9; color:var(--ink2); font-weight:600; }
.rate-tag.on{ background:var(--primary-l); color:var(--primary-d); }

/* 身份切换 */
.switch-user{ display:flex; align-items:center; gap:12px; padding:12px 6px; border-bottom:1px solid var(--line); width:100%; text-align:left; }
.switch-user:last-child{ border-bottom:none; }
.switch-user .suinfo{ flex:1; }
.switch-user .sun{ font-size:14px; font-weight:700; }
.switch-user .sus{ font-size:11px; color:var(--muted); margin-top:2px; }
.switch-user .cur{ font-size:11px; color:#0a9d75; font-weight:700; }

/* Toast */
.toast-wrap{ position:fixed; top:70px; left:0; right:0; display:flex; flex-direction:column;
  align-items:center; gap:9px; z-index:300; pointer-events:none; padding:0 30px; }
.toast{ background:rgba(28,32,44,.92); color:#fff; font-size:13px; padding:11px 18px; border-radius:22px;
  display:flex; align-items:center; gap:7px; animation:pop .2s; box-shadow:var(--shadow-lg); max-width:100%; }
.toast.success{ background:rgba(10,157,117,.95); }
.toast.error{ background:rgba(245,72,59,.95); }

.success-ico{ text-align:center; font-size:56px; padding:18px 0 6px; }
.success-t{ text-align:center; font-size:17px; font-weight:800; }
.success-s{ text-align:center; font-size:12.5px; color:var(--muted); margin:6px 0 16px; }

.credit-flash{ position:fixed; left:50%; top:38%; transform:translateX(-50%); z-index:400;
  background:linear-gradient(135deg,#ffb020,#ff6a1a); color:#fff; font-weight:800; font-size:18px;
  padding:14px 26px; border-radius:20px; box-shadow:var(--shadow-lg); animation:pop .25s; display:none; }
.credit-flash.show{ display:block; }
