/* ============================================================
   原型设计系统模板（DESIGN-SPEC.md 的实现）
   使用步骤：
   1. 【主题层 · 每个 C 端项目必须按 DESIGN-SPEC 第 0 章视觉语言重写】
      品牌色、字体阶梯、圆角、阴影、按钮、项目特色组件
      ——只换品牌色 = 同一辆车换车漆，视为未完成
   2. 【通用层 · 不建议改】中性色、语义色阶梯、结构类
   3. 所有页面只准引用本文件的变量与类，禁止自创颜色/字号/圆角
   ============================================================ */

:root {
  /* ===== 主题层（财来福运 · 按 DESIGN-SPEC 第 0 章重写） ===== */
  /* 品牌色：财运橙（货拉拉系行业惯例 + 品牌名"财运"金色联想） */
  --brand: #F26722;
  --brand-dark: #D9530D;
  --brand-bright: #FF9A3D;
  --brand-light: #FDEEE2;
  --brand-light-2: #FFF8F1;
  /* 财运金点缀：会员/收益/价格辅助强调 */
  --gold: #F2B33D;
  --gold-light: #FDF3DC;
  /* 页面底色策略：暖浅灰（不用冷灰），卡片纯白浮起 */
  --bg: #F7F6F4;
  --card: #FFFFFF;
  /* 字体性格：展示级标题 800 字重；价格为全站最强信息 */
  --t-display: 800 30px/38px var(--font);
  --t-h1: 700 24px/32px var(--font);
  --t-h2: 700 20px/28px var(--font);
  --t-h3: 600 17px/24px var(--font);
  --t-body: 400 15px/22px var(--font);
  --t-body-s: 400 13px/18px var(--font);
  --t-cap: 500 11px/14px var(--font);
  /* 运费/金额数字：大号加粗，橙红 */
  --t-price: 800 26px/32px var(--font);
  --t-price-lg: 800 32px/38px var(--font);
  /* 展示级品牌大标题（首页 Hero，黑橙混排） */
  --t-hero: 900 40px/44px var(--font);
  /* 暖米白区块底（Hero/营销卡） */
  --cream: #FBF3E9;
  /* 首页 Hero 顶部渐变底（九亭房源式） */
  --cream-2: #FDF8F1;
  --bg-hero-cream: linear-gradient(180deg, #FDF8F1 0%, #FAF3E9 100%);
  /* 圆角 / 阴影性格：大圆角 + 暖调柔和扩散 */
  --r-card: 20px;
  --r-btn: 14px;
  --r-input: 12px;
  --r-tag: 8px;
  --r-pill: 999px;
  --sh-card: 0 8px 24px rgba(146, 74, 20, .08);
  --sh-pop: 0 12px 40px rgba(146, 74, 20, .16);
  /* 项目特色组件令牌 */
  --bg-hero: linear-gradient(135deg, #FF9A3D 0%, #F26722 60%, #E8551A 100%);
  --grad-gold: linear-gradient(90deg, #F26722, #F2B33D);
  /* 路线双圆点：起点品牌橙 / 终点金 */
  --route-from: #F26722;
  --route-to: #F2B33D;

  /* ===== 通用层（不建议改） ===== */
  /* 中性色 */
  --ink: #263037;
  --ink-2: #5A666D;
  --ink-3: #8A959B;
  --ink-4: #B6BFC4;
  --line: #E5EAEB;
  /* 语义色 */
  --success: #16A34A;
  --warning: #F59E0B;
  --danger: #E5484D;
  --info: #2F80ED;
  --purple: #7C5CFC;
  /* 第三方品牌色：微信（仅用于微信登录入口图标） */
  --wechat: #07C160;
  --success-bg: #E8F7EE;
  --warning-bg: #FEF4E2;
  --danger-bg: #FDECEC;
  --info-bg: #EAF2FD;
  --purple-bg: #F1EDFE;
  /* 字体族 */
  --font: -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); font: var(--t-body); background: #DCE4E5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); border: 0; background: none; cursor: pointer; }

/* ---------- 通用文字类 ---------- */
.t-display { font: var(--t-display); }
.t-h1 { font: var(--t-h1); }
.t-h2 { font: var(--t-h2); }
.t-h3 { font: var(--t-h3); }
.t-body { font: var(--t-body); }
.t-body-s { font: var(--t-body-s); }
.t-cap { font: var(--t-cap); }
.c-ink2 { color: var(--ink-2); }
.c-ink3 { color: var(--ink-3); }
.c-brand { color: var(--brand); }
.c-danger { color: var(--danger); }
.c-success { color: var(--success); }
.c-warning { color: var(--warning); }

/* ---------- 按钮 ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; width: 100%; border-radius: var(--r-btn); font: var(--t-h3); transition: .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost { background: var(--brand-light); color: var(--brand); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { height: 36px; font: var(--t-body-s); font-weight: 600; width: auto; padding: 0 16px; border-radius: var(--r-input); }
.btn-text { width: auto; height: auto; color: var(--brand); font: var(--t-body); font-weight: 600; }
.btn[disabled] { background: var(--ink-4); color: #fff; pointer-events: none; }

/* ---------- 徽标 / 标签 ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--r-tag); font: var(--t-cap); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-brand { background: var(--brand-light); color: var(--brand); }
.badge-purple { background: var(--purple-bg); color: var(--purple); }
.badge-gray { background: var(--bg); color: var(--ink-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- 表单 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > label { font: var(--t-body-s); font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-input); background: var(--card); font: var(--t-body); color: var(--ink); width: 100%; outline: none; }
.textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); }
.input::placeholder { color: var(--ink-3); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A666D' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input-icon { position: relative; }
.input-icon .input { padding-left: 42px; }
.input-icon > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }

/* ---------- 卡片 / 列表 ---------- */
.card { background: var(--card); border-radius: var(--r-card); box-shadow: var(--sh-card); }
.card-flat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.list-main { flex: 1; min-width: 0; }
.list-title { display: block; font: var(--t-h3); }
.list-sub { display: block; font: var(--t-body-s); color: var(--ink-3); margin-top: 2px; }
.list-arrow { color: var(--ink-4); flex: none; }

/* ---------- 分段控件 / Tab ---------- */
.seg { display: inline-flex; background: var(--bg); border-radius: var(--r-pill); padding: 3px; gap: 2px; }
.seg button { height: 30px; padding: 0 14px; border-radius: var(--r-pill); font: var(--t-body-s); font-weight: 600; color: var(--ink-2); }
.seg button.on { background: var(--brand); color: #fff; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.tabs a, .tabs button { padding: 12px 2px; font: var(--t-body); font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on, .tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- 空状态 ---------- */
.empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 24px; color: var(--ink-3); text-align: center; }
.empty svg { color: var(--ink-4); }

/* ---------- 弹窗 / 抽屉 / Toast ---------- */
[hidden] { display: none !important; }
.mask { position: absolute; inset: 0; background: rgba(18, 25, 28, .45); display: flex; align-items: center; justify-content: center; z-index: 40; }
.modal { width: 320px; background: var(--card); border-radius: var(--r-card); box-shadow: var(--sh-pop); padding: 24px; }
.modal-title { font: var(--t-h3); text-align: center; }
.modal-body { font: var(--t-body-s); color: var(--ink-2); text-align: center; margin: 10px 0 20px; }
.modal-btns { display: flex; gap: 12px; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--card); border-radius: var(--r-card) var(--r-card) 0 0; box-shadow: var(--sh-pop); padding: 20px; z-index: 41; }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto 14px; }
.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); background: rgba(38, 48, 55, .92); color: #fff; font: var(--t-body-s); padding: 10px 18px; border-radius: var(--r-pill); z-index: 50; }

/* ---------- PC 端骨架 ---------- */
.admin { display: flex; width: 100%; height: 100vh; background: var(--bg); overflow: hidden; position: relative; }
.sidebar { width: 240px; flex: none; background: #123B3A; color: rgba(255,255,255,.75); display: flex; flex-direction: column; }
.sidebar .logo { height: 64px; display: flex; align-items: center; gap: 10px; padding: 0 20px; color: #fff; font: var(--t-h3); border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .logo .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand-bright); display: flex; align-items: center; justify-content: center; color: #fff; }
.nav-group { padding: 14px 12px 4px; font: var(--t-cap); color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; }
.nav-item { display: flex; align-items: center; gap: 10px; margin: 2px 8px; padding: 10px 12px; border-radius: 10px; font: var(--t-body-s); font-weight: 600; color: rgba(255,255,255,.75); position: relative; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.on { background: var(--brand-light); color: var(--brand); }
.nav-item.on::before { content: ""; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: var(--brand-bright); }
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { height: 64px; flex: none; background: var(--card); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 24px; }
.crumb { font: var(--t-body-s); color: var(--ink-3); }
.crumb b { color: var(--ink); font-weight: 600; }
.topbar .sp { flex: 1; }
.top-search { width: 280px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 16px 0 36px; font: var(--t-body-s); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A959B' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4-4'/%3E%3C/svg%3E") no-repeat 12px center; outline: none; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font: var(--t-body-s); font-weight: 700; }
.content { flex: 1; overflow: auto; padding: 24px; }
.page-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.page-head .title { font: var(--t-h1); }
.page-head .sp { flex: 1; }

/* PC 筛选区 / 表格 / 分页 */
.filter-bar { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.filter-bar .input, .filter-bar .select { width: 200px; height: 36px; font: var(--t-body-s); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table th { background: var(--bg); font: var(--t-cap); color: var(--ink-2); text-align: left; padding: 12px 16px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.table td { padding: 14px 16px; font: var(--t-body-s); border-top: 1px solid var(--line); vertical-align: middle; }
.table tr:hover td { background: var(--brand-light-2); }
.table .op { color: var(--brand); font-weight: 600; margin-right: 12px; cursor: pointer; white-space: nowrap; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 14px 16px; }
.pager a { min-width: 32px; height: 32px; padding: 0 6px; border: 1px solid var(--line); border-radius: var(--r-tag); display: flex; align-items: center; justify-content: center; font: var(--t-body-s); color: var(--ink-2); }
.pager a.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* PC 详情页 */
.detail-grid { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font: var(--t-body-s); }
.info-row:last-child { border-bottom: 0; }
.info-row .k { color: var(--ink-3); flex: none; }
.info-row .v { color: var(--ink); text-align: right; font-weight: 500; }

/* 统计卡 / 图表占位 */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; }
.stat-card .k { font: var(--t-body-s); color: var(--ink-3); }
.stat-card .v { font: var(--t-h1); margin-top: 6px; }
.stat-card .d { font: var(--t-cap); margin-top: 6px; }
.chart-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding-top: 12px; }
.chart-bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand-bright), var(--brand)); opacity: .85; }
.chart-bars i.dim { background: var(--brand-light); }
.chart-x { display: flex; gap: 10px; margin-top: 8px; }
.chart-x span { flex: 1; text-align: center; font: var(--t-cap); color: var(--ink-3); }

/* ---------- 大地图 ---------- */
.bigmap { position: absolute; inset: 0; background: var(--bg) url("img/map-light.png") /* TODO: 替换为项目地图/底图 */ 35% 45% / cover no-repeat; }
.v-marker { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(18,43,43,.3); display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; transform: translate(-50%, -50%); }
.v-marker.idle { background: var(--success); }
.v-marker.busy { background: var(--info); }
.v-marker.stale { background: var(--warning); }
.blink { animation: blink 1.1s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.map-legend { position: absolute; right: 16px; bottom: 16px; background: var(--card); border-radius: var(--r-input); box-shadow: var(--sh-pop); padding: 12px 14px; font: var(--t-cap); color: var(--ink-2); z-index: 10; }
.map-legend .row { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.heat-cell { position: absolute; border-radius: 6px; transform: translate(-50%, -50%); }
.map-stat { position: absolute; left: 16px; top: 16px; display: flex; gap: 10px; z-index: 10; }
.map-stat .pill { background: var(--card); border-radius: var(--r-pill); box-shadow: var(--sh-pop); padding: 8px 14px; font: var(--t-cap); color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.map-panel { position: absolute; right: 0; top: 0; bottom: 0; width: 360px; background: var(--card); box-shadow: var(--sh-pop); z-index: 20; padding: 20px; overflow: auto; }
.map-tools { position: absolute; left: 16px; bottom: 16px; z-index: 10; display: flex; flex-direction: column; gap: 8px; }
.map-tools button { width: 36px; height: 36px; border-radius: 10px; background: var(--card); box-shadow: var(--sh-pop); color: var(--ink-2); font-size: 16px; }

/* ============================================================
   财来福运 · 项目特色组件（只允许使用本区与上方令牌）
   ============================================================ */
/* 渐变主按钮（品牌头/关键 CTA 专用，普通主按钮仍用 .btn-primary 平涂） */
.btn-grad { background: var(--bg-hero); color: #fff; box-shadow: 0 6px 16px rgba(242, 103, 34, .35); }
.btn-grad:hover { filter: brightness(1.05); background: var(--bg-hero); }
/* 品牌渐变页头（首页/司机端首页顶部通栏） */
.hero-head { background: var(--bg-hero); color: #fff; border-radius: 0 0 var(--r-card) var(--r-card); }
/* 区块标题：左侧 4px 渐变竖条 + --t-h2 */
.sec-title { display: flex; align-items: center; gap: 8px; font: var(--t-h2); margin: 20px 0 12px; }
.sec-title::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--grad-gold); }
/* 价格/运费数字 */
.price { font: var(--t-price); color: var(--brand); }
.price-lg { font: var(--t-price-lg); color: var(--brand); }
.price .unit, .price-lg .unit { font: var(--t-body-s); font-weight: 600; }
/* 抢单/竞价模式徽标 */
.badge-grab { background: var(--brand-light); color: var(--brand); }
.badge-bid { background: var(--gold-light); color: #B87A0E; }
/* 金刚区图标底板：面性彩色 + 同色系轻渐变，图标为裁切雪碧图 */
.kong { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.kong-icon { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.kong-label { font: var(--t-body-s); font-weight: 600; color: var(--ink); }
/* 装卸货路线：左列双圆点+虚线连线 */
.route { position: relative; padding-left: 24px; }
.route::before { content: ""; position: absolute; left: 7px; top: 22px; bottom: 22px; border-left: 2px dashed var(--ink-4); }
.route .stop { position: relative; }
.route .stop::before { content: ""; position: absolute; left: -23px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--route-from); background: #fff; }
.route .stop.to::before { border-color: var(--route-to); }
/* 视频封面卡：封面图 + 右下时长角标 */
.video-card { position: relative; border-radius: var(--r-input); overflow: hidden; }
.video-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .65); color: #fff; font: var(--t-cap); padding: 2px 8px; border-radius: var(--r-pill); }
/* 聊天气泡：自己右橙 / 对方左白 */
.bubble-r { background: var(--brand); color: #fff; border-radius: 14px 14px 4px 14px; padding: 10px 14px; max-width: 75%; }
.bubble-l { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 14px; max-width: 75%; }
/* 照片存证时间轴节点 */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; border-left: 2px solid var(--line); }
.timeline .node { position: relative; padding-bottom: 16px; }
.timeline .node::before { content: ""; position: absolute; left: -22px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); border: 2px solid var(--brand-light); }
.timeline .node.done::before { background: var(--success); border-color: var(--success-bg); }
/* 品牌头内部元素 */
.hero-sub { font: var(--t-body-s); color: rgba(255, 255, 255, .88); }
.hero-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .22); color: #fff; font: var(--t-body-s); font-weight: 600; }
/* 雪碧图裁切类（坐标见 assets/img/SPRITE-MAP.md；尺寸按 0.3/0.45 缩放） */
.sprite-icon { width: 48px; height: 48px; background-image: url("img/icons-sprite.png"); background-size: 144px 144px; }
.veh-img { width: 108px; height: 72px; margin: 0 auto; background-image: url("img/vehicles-sprite.png"); background-size: 756px 72px; }
.avatar-img { width: 40px; height: 40px; border-radius: 50%; background-image: url("img/avatars-sprite.png"); background-size: 160px 80px; }
/* 金刚区图标底板：8 色精致渐变（ glyph 为手写 SVG ） */
.tile-freight { background: linear-gradient(135deg, #FF9A3D, #F26722); }
.tile-feed    { background: linear-gradient(135deg, #FFC85C, #F2A93B); }
.tile-video   { background: linear-gradient(135deg, #3EC6C0, #12A49C); }
.tile-news    { background: linear-gradient(135deg, #64A6F7, #3B7BE0); }
.tile-shop    { background: linear-gradient(135deg, #FF7B6B, #F0413E); }
.tile-food    { background: linear-gradient(135deg, #FFB03A, #F5810B); }
.tile-ad      { background: linear-gradient(135deg, #B18CFE, #7C5CFC); }
.tile-dm      { background: linear-gradient(135deg, #FF9EC6, #F2609E); }
.kong-tile { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 14px rgba(146, 74, 20, .12); }
/* 运营条：金色渐变新人礼包 */
.promo-strip { display: flex; align-items: center; gap: 10px; margin: 0 20px; padding: 10px 14px; border-radius: var(--r-input); background: var(--grad-gold); color: #fff; box-shadow: 0 6px 16px rgba(242, 179, 61, .35); }
/* Banner 照片底 + 蒙版文字 */
.ad-photo { position: relative; border-radius: var(--r-input); overflow: hidden; box-shadow: var(--sh-card); }
.ad-photo img { width: 100%; height: 100%; object-fit: cover; }
.ad-photo .ad-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 24, 28, .62) 0%, rgba(20, 24, 28, .25) 55%, rgba(20, 24, 28, 0) 100%); display: flex; flex-direction: column; justify-content: center; padding: 0 20px; color: #fff; }
.ad-photo .ad-title { font: 800 20px/26px var(--font); }
.ad-photo .ad-sub { font: var(--t-cap); opacity: .85; margin-top: 4px; }
/* 修复：品牌头与运营条防换行 */
.hero-sub { white-space: nowrap; }
.hero-chip { flex: none; white-space: nowrap; }
.promo-strip .p-t { white-space: nowrap; font: 700 13px/18px var(--font); }
.promo-strip .p-btn { white-space: nowrap; flex: none; }
/* v4 视觉基线（参考九亭房源式暖设计）：展示级标题 + 米白暖底 + 统一橙线性图标 */

/* ===== 红蓝主题层（首页 v5：主红 + 少量辅助蓝；竞品依据：满帮 运满满红/货车帮蓝、京东物流红蓝） ===== */
:root {
  --red: #E63312;
  --red-dark: #C2240E;
  --red-bright: #FF5A3C;
  --red-light: #FDEBE7;
  --red-light-2: #FEF6F4;
  --red-cream: #FBF1EE;
  --blue: #2F6BFF;
  --blue-light: #EAF1FF;
}
/* 红主题下的角色映射：v5 页面使用 --v5-brand 系列 */
.theme-red {
  --brand: #E63312;
  --brand-dark: #C2240E;
  --brand-bright: #FF5A3C;
  --brand-light: #FDEBE7;
  --brand-light-2: #FEF6F4;
  --cream: #FBF1EE;
  --route-from: #E63312;
  --route-to: #2F6BFF;
  /* 首页一体通栏：柔和珊瑚红渐变消隐（#EE4A30→#F2633F→#F77E5E→页面底） */
  --band-1: #EE4A30;
  --band-2: #F2633F;
  --band-3: #F77E5E;
  --band-grad: linear-gradient(180deg, #EE4A30 0%, #F2633F 55%, #F77E5E 82%, var(--bg) 100%);
  /* 通栏内装饰：铃铛未读黄点 */
  --band-dot: #FFD94D;
  /* 通栏内半透明白控件底（城市胶囊/铃铛底） */
  --band-glass: rgba(255, 255, 255, .2);
  /* 低饱和渐变红按钮（接单/抢单 CTA 专用，区别于平涂主按钮） */
  --grad-red: linear-gradient(135deg, #FF5A3C 0%, #E63312 100%);
}
