/* 校园跑腿 H5 · 移动优先 */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --brand: #ff6b4a;
  --brand-deep: #ef4f2d;
  --brand-soft: #fff2ee;
  --ink: #1b1f27;
  --ink-2: #586170;
  --ink-3: #8d96a5;
  --line: #eceff4;
  --bg: #f4f5f8;
  --ok: #10b981;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(24, 32, 56, .06);
}

html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  background: #e9ebf0;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button { font-family: inherit; }

.app {
  position: relative;
  width: 100%;
  max-width: 560px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  padding-bottom: calc(74px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

/* ---------- 顶部 ---------- */
.hero {
  background: linear-gradient(135deg, #ff8457 0%, #ff5f6d 100%);
  color: #fff;
  padding: calc(18px + env(safe-area-inset-top)) 18px 20px;
  border-radius: 0 0 22px 22px;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .2);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.brand-text h1 {
  margin: 0;
  font-size: 19px;
  letter-spacing: .5px;
  font-weight: 700;
}

.brand-text p {
  margin: 1px 0 0;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  opacity: .85;
}

.campus-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.campus-btn:active { background: rgba(255, 255, 255, .3); }
.campus-caret { font-size: 10px; opacity: .8; transform: translateY(-1px); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
  padding: 11px 0;
  background: rgba(255, 255, 255, .16);
  border-radius: 14px;
}

.stat { text-align: center; position: relative; }

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(255, 255, 255, .28);
}

.stat b {
  display: block;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat span { font-size: 11.5px; opacity: .85; }

/* ---------- 视图容器 ---------- */
.page { padding: 14px 14px 0; }

.view { display: none; }
.view.is-active { display: block; animation: fadeUp .24s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 筛选标签 ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 12px;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s, color .18s, box-shadow .18s;
}

.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 74, .28);
}

/* ---------- 订单卡片 ---------- */
.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
}

.order {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
  animation: fadeUp .26s ease both;
  transition: transform .14s ease;
}

.order:active { transform: scale(.99); }

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-deep);
  background: var(--brand-soft);
  padding: 4px 9px;
  border-radius: 8px;
}

.reward {
  font-size: 19px;
  font-weight: 700;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.reward small { font-size: 12px; font-weight: 600; margin-left: 1px; }

.order-desc {
  margin: 9px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.route { margin: 11px 0 0; }

.route-line {
  position: relative;
  padding-left: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  margin-bottom: 7px;
}

.route-line:last-child { margin-bottom: 0; }

.dot {
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd6e2;
}

.dot-start { background: var(--brand); box-shadow: 0 0 0 3px rgba(255, 107, 74, .14); }
.dot-end { background: #4a7bf0; box-shadow: 0 0 0 3px rgba(74, 123, 240, .13); }

.route-label {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--ink-3);
  background: #f4f5f8;
  padding: 1px 6px;
  border-radius: 5px;
}

.route-text {
  color: var(--ink);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 11.5px;
  color: var(--ink-3);
}

.btn-grab {
  flex: 0 0 auto;
  border: none;
  background: linear-gradient(135deg, #ff8457, #ff5f6d);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 107, 74, .3);
  transition: transform .14s ease;
}

.btn-grab:active { transform: scale(.96); }

.order-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.btn-mini {
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: transform .14s ease;
}

.btn-mini:active { transform: scale(.96); }
.btn-mini.primary { background: linear-gradient(135deg, #ff8457, #ff5f6d); color: #fff; }
.btn-mini.light { background: #f1f3f7; color: var(--ink-2); }
.btn-mini.danger { background: #fff0f0; color: #e5484d; }

.status-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.status-open { background: var(--brand-soft); color: var(--brand-deep); }
.status-taken { background: #eef4ff; color: #3b6fe0; }
.status-done { background: #eafaf2; color: #0f9d63; }
.status-cancelled { background: #f1f3f6; color: var(--ink-3); }

/* ---------- 空状态 ---------- */
.empty {
  text-align: center;
  padding: 54px 20px;
  color: var(--ink-3);
}

.empty-icon {
  display: block;
  font-size: 42px;
  margin-bottom: 10px;
  opacity: .65;
}

.empty p { margin: 0; font-size: 13.5px; }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 16px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.form-title { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.form-sub { margin: 0 0 18px; font-size: 12.5px; color: var(--ink-3); }

.field { margin-bottom: 16px; }

.field > label,
.field > div > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #fafbfc;
  border-radius: 11px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 74, .12);
}

.field input::placeholder,
.field textarea::placeholder { color: #b3bac6; }

.field textarea { resize: vertical; min-height: 62px; }

.field .chips { padding-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.two-col > div { min-width: 0; }

.btn-primary {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #ff8457, #ff5f6d);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 107, 74, .3);
  transition: transform .14s ease;
}

.btn-primary:active { transform: scale(.99); }

.form-tip {
  margin: 10px 0 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ---------- 我的 ---------- */
.profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
}

.avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff8457, #ff5f6d);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}

.profile-main { min-width: 0; }

.profile-name-row { display: flex; align-items: center; gap: 8px; }
.profile-name-row strong { font-size: 16px; }

.link-btn {
  border: none;
  background: none;
  padding: 0;
  color: var(--brand);
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.profile-sub { font-size: 12px; color: var(--ink-3); }

.seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #e9ecf2;
  border-radius: 12px;
  margin-bottom: 14px;
}

.seg-btn {
  flex: 1;
  border: none;
  background: none;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 0;
  border-radius: 9px;
  cursor: pointer;
  transition: background .18s, color .18s;
}

.seg-btn.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(24, 32, 56, .1);
}

.danger-zone { margin: 16px 0 24px; text-align: center; }

.ghost-btn {
  background: #fff;
  border: 1.5px solid #ffd9cf;
  color: var(--brand-deep);
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
}

.danger-zone span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--ink-3);
}

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  display: flex;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  z-index: 50;
}

.tab {
  flex: 1;
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 5px 0;
  color: var(--ink-3);
  cursor: pointer;
  transition: color .18s;
}

.tab-icon {
  font-size: 19px;
  line-height: 1;
  filter: grayscale(1) opacity(.55);
  transition: filter .18s, transform .18s;
}

.tab-label { font-size: 10.5px; font-weight: 500; }

.tab.is-active { color: var(--brand-deep); }
.tab.is-active .tab-icon { filter: none; transform: translateY(-1px); }

/* ---------- 弹层 ---------- */
.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(18, 22, 32, .45);
  animation: maskIn .2s ease;
}

.sheet-mask[hidden] { display: none; }

@keyframes maskIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 8px 18px calc(20px + env(safe-area-inset-bottom));
  animation: sheetUp .26s cubic-bezier(.2, .9, .3, 1);
}

@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: none; }
}

.sheet-handle {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: #e2e5ec;
  margin: 4px auto 14px;
}

.sheet-title { margin: 0 0 12px; font-size: 16px; text-align: center; }

.campus-list { display: flex; flex-direction: column; gap: 8px; }

.campus-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: #f8f9fb;
  border-radius: 12px;
  padding: 14px;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
}

.campus-item.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}

.campus-item .tick { opacity: 0; }
.campus-item.is-active .tick { opacity: 1; }

/* 详情弹层内容 */
.detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.detail-title { margin: 0; font-size: 16.5px; line-height: 1.45; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 14px 0;
  padding: 14px;
  background: #f8f9fb;
  border-radius: 12px;
}

.detail-grid dt { margin-bottom: 3px; font-size: 11.5px; color: var(--ink-3); }
.detail-grid dd { margin: 0; font-size: 14px; font-weight: 500; word-break: break-all; }
.detail-grid .money { font-size: 16px; font-weight: 700; color: var(--brand-deep); }

.detail-note {
  margin: 0 0 16px;
  padding: 8px 10px;
  font-size: 13px;
  color: #8a6d1f;
  background: #fffbeb;
  border-left: 3px solid #fcd34d;
  border-radius: 6px;
}

.detail-actions { display: flex; gap: 10px; }

.detail-actions > button {
  flex: 1;
  border: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
}

.btn-outline { background: #fff; border: 1.5px solid var(--line) !important; color: var(--ink-2); }
.btn-danger-soft { background: #fff0f0; color: #e5484d; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 12px);
  z-index: 200;
  max-width: 80vw;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(24, 28, 38, .92);
  color: #fff;
  font-size: 13.5px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 600px) {
  .app { box-shadow: 0 0 44px rgba(24, 32, 56, .1); }
}

/* ---------- 登录 / 注册 ---------- */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  background: linear-gradient(160deg, #ff8457 0%, #ff5f6d 55%, #f5486b 100%);
}

.auth-screen[hidden] { display: none; }

.auth-box {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 22px;
  padding: 26px 20px 20px;
  box-shadow: 0 18px 50px rgba(120, 30, 20, .22);
}

.auth-brand { text-align: center; margin-bottom: 20px; }

.auth-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff8457, #ff5f6d);
  font-size: 30px;
  margin-bottom: 10px;
}

.auth-brand h1 { margin: 0; font-size: 21px; letter-spacing: .5px; }

.auth-brand p {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--ink-3);
}

.auth-seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #e9ecf2;
  border-radius: 12px;
  margin-bottom: 18px;
}

.auth-seg-btn {
  flex: 1;
  border: none;
  background: none;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 0;
  border-radius: 9px;
  cursor: pointer;
  transition: background .18s, color .18s;
}

.auth-seg-btn.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(24, 32, 56, .1);
}

.auth-form[hidden] { display: none; }

.auth-tip {
  margin: 16px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- 钱包 ---------- */
.wallet-card {
  background: linear-gradient(135deg, #ff8457 0%, #ff5f6d 100%);
  color: #fff;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(255, 107, 74, .26);
}

.wallet-label { font-size: 12.5px; opacity: .88; }

.wallet-balance {
  display: block;
  margin: 6px 0 16px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.wallet-actions { display: flex; gap: 10px; }

.wallet-btn {
  flex: 1;
  border: none;
  background: #fff;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  border-radius: 11px;
  cursor: pointer;
  transition: transform .14s ease;
}

.wallet-btn.ghost {
  background: rgba(255, 255, 255, .22);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}

.wallet-btn:active { transform: scale(.97); }

.section-title {
  margin: 18px 0 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.tx-list {
  background: #fff;
  border-radius: 16px;
  padding: 4px 14px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.tx-item:last-child { border-bottom: none; }

.tx-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}

.tx-icon.in { background: #eafaf2; color: #0f9d63; }
.tx-icon.out { background: var(--brand-soft); color: var(--brand-deep); }

.tx-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.tx-name {
  font-size: 13.5px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tx-time { font-size: 11.5px; color: var(--ink-3); }

.tx-amount {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tx-amount.in { color: #0f9d63; }
.tx-amount.out { color: var(--ink); }

.tx-empty {
  padding: 22px 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

.withdraw-status {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.withdraw-status.pending { background: #fff7e6; color: #b47800; }
.withdraw-status.paid { background: #eafaf2; color: #0f9d63; }

/* ---------- 支付弹层 ---------- */
.pay-head { text-align: center; margin-bottom: 16px; }

.pay-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #0f9d63;
  background: #eafaf2;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.pay-amount {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.pay-amount small { font-size: 20px; font-weight: 600; margin-right: 2px; }

.pay-desc {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

.pay-info {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #f8f9fb;
  border-radius: 12px;
}

.pay-info > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 5px 0;
}

.pay-info dt { color: var(--ink-3); margin: 0; }
.pay-info dd { margin: 0; font-weight: 600; }
.pay-info dd.is-short { color: #e5484d; }

.pay-warn {
  margin: 0 0 14px;
  padding: 9px 12px;
  font-size: 12.5px;
  color: #b47800;
  background: #fff7e6;
  border-radius: 9px;
}

.pay-actions { display: flex; flex-direction: column; gap: 9px; }

.pay-actions .btn-primary,
.pay-actions .btn-outline {
  width: 100%;
  border: none;
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: 12px;
  cursor: pointer;
}

.pay-actions .btn-outline {
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  font-weight: 500;
}

.btn-primary:disabled { opacity: .6; cursor: not-allowed; }

/* ---------- 充值 / 提现 ---------- */
.sheet-sub {
  margin: -6px 0 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 16px;
}

.quick-amount {
  border: 1.5px solid var(--line);
  background: #fafbfc;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 0;
  border-radius: 11px;
  cursor: pointer;
  transition: border-color .18s, color .18s, background .18s;
}

.quick-amount.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
}

/* ---------- 其他 ---------- */
[hidden] { display: none !important; }

.status-pending { background: #fff7e6; color: #b47800; }

.chips-row {
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--bg);
}

.sheet-sm { max-height: 62vh; }

.btn-grab.is-mine {
  background: #f1f3f7;
  color: var(--ink-3);
  box-shadow: none;
  cursor: default;
  font-weight: 500;
}

.btn-grab:disabled { opacity: .65; cursor: not-allowed; }

/* ---------- 用户端专属：状态、骑手卡片、评价星级 ---------- */
.status-delivered { background: #eef4ff; color: #3b6fe0; }

.rider-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  margin: 14px 0;
  background: #f8f9fb;
  border-radius: 12px;
}

.rider-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4a7bf0, #3b6fe0);
}

.rider-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rider-main strong { font-size: 14.5px; }
.rider-main span { font-size: 12px; color: var(--ink-3); }

.detail-highlight {
  margin: 14px 0 0;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #3b6fe0;
  background: #eef4ff;
  border-radius: 9px;
}

/* ---------- 后台可配置的公告条 ---------- */
.site-notice {
  margin-top: 12px;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border-radius: 10px;
  word-break: break-word;
}

.site-notice[hidden] { display: none; }

.chip-hint {
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 7px 2px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 6px;
}

.star {
  border: none;
  background: none;
  padding: 0;
  font-size: 36px;
  line-height: 1;
  color: #dfe3ea;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}

.star.is-on { color: #ffb400; }
.star:active { transform: scale(1.12); }

.star-hint {
  margin: 0 0 18px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}
