/* ==========================================================================
   卡车帝国 · 页面布局与各视图
   ========================================================================== */

/* ==========================================================================
   1. 应用外壳
   ========================================================================== */
.app {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.game-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* ==========================================================================
   2. 登录 / 注册
   ========================================================================== */
.auth-screen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 462px);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  height: 100%;
  padding: clamp(28px, 5vh, 64px) clamp(20px, 6vw, 96px);
  overflow-y: auto;
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
}

.auth-screen__brand {
  display: grid;
  gap: 22px;
  align-content: center;
  max-width: 560px;
  animation: fade-up 420ms var(--ease-out);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-lockup__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #241703;
  background: linear-gradient(160deg, var(--amber-2), var(--amber) 60%, #e08a12);
  box-shadow: 0 10px 26px -12px var(--amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  flex: none;
}

.brand-lockup__mark--sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.brand-lockup__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  line-height: 1.1;
}

.brand-lockup__en {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--amber);
  line-height: 1.4;
}

.auth-screen__title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--text);
}

.auth-screen__sub {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 44ch;
}

.auth-points {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.auth-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.auth-points__k {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--amber);
  background: var(--amber-weak);
  border: 1px solid var(--amber-line);
  border-radius: 6px;
  padding: 2px 6px;
  flex: none;
}

.auth-screen__foot {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border-hairline);
  padding-top: 16px;
}

.auth-screen__panel {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-xl);
  animation: fade-up 420ms var(--ease-out) 60ms both;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form__head {
  display: grid;
  gap: 4px;
}

.auth-form__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.auth-form__sub {
  font-size: 12px;
  color: var(--text-mute);
}

.auth-form__fields {
  display: grid;
  gap: 13px;
}

.auth-form__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-mute);
}

.auth-form__submit {
  height: 44px;
  border-radius: 12px;
  font-size: 14px;
}

.auth-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-mute);
  padding-top: 2px;
}

.auth-city {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  background: rgba(5, 10, 19, 0.55);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13.5px;
  text-align: left;
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}

.auth-city:hover {
  border-color: var(--border-strong);
}

.auth-city:focus-visible {
  border-color: var(--amber-line);
  box-shadow: 0 0 0 3px var(--amber-weak);
}

.auth-city[aria-invalid="true"] {
  border-color: var(--danger-line);
}

.auth-city__value {
  flex: 1;
  min-width: 0;
}

.auth-city__placeholder {
  color: var(--text-mute);
}

.auth-city__chev {
  color: var(--text-mute);
  flex: none;
}

.auth-city__icon {
  color: var(--amber);
  flex: none;
}

/* ==========================================================================
   3. 顶栏
   ========================================================================== */
.topbar {
  position: relative;
  z-index: var(--z-topbar);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  height: var(--topbar-h);
  padding: 0 clamp(12px, 1.6vw, 22px);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(9, 15, 26, 0.78));
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--border-hairline);
  flex: none;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex: none;
}

.topbar__brand:hover {
  color: var(--text);
}

.topbar__brand-text {
  display: grid;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.topbar__brand-text small {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--amber);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-width: 0;
  padding-left: clamp(4px, 1.4vw, 18px);
  border-left: 1px solid var(--border-hairline);
}

.topbar__cell {
  display: grid;
  gap: 1px;
  min-width: 0;
  align-content: center;
}

.topbar__cell--cash {
  padding-right: clamp(4px, 1vw, 10px);
  border-right: 1px solid var(--border-hairline);
}

.topbar__label {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  white-space: nowrap;
}

.topbar__label b {
  color: var(--text-dim);
  font-weight: 600;
}

.topbar__value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  max-width: 18ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__cash {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 600;
  color: var(--amber-text);
  letter-spacing: 0.005em;
  text-shadow: 0 0 18px rgba(245, 165, 36, 0.18);
  white-space: nowrap;
}

.topbar__clock {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.topbar__loan {
  flex: none;
  max-width: 210px;
}

.topbar__loan #topbar-loan-text,
.topbar__loan span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: none;
}

.conn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-mute);
  white-space: nowrap;
}

.conn__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: background var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.conn[data-state="online"] .conn__dot {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14), 0 0 10px rgba(52, 211, 153, 0.8);
}

.conn[data-state="online"] {
  color: var(--ok);
}

.conn[data-state="reconnecting"] .conn__dot {
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-weak), 0 0 10px rgba(245, 165, 36, 0.7);
  animation: pulse-dot 1.1s var(--ease) infinite;
}

.conn[data-state="reconnecting"] {
  color: var(--amber-text);
}

.conn[data-state="offline"] .conn__dot {
  background: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-weak);
}

/* ==========================================================================
   4. 工作区三栏
   ========================================================================== */
.workspace {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(238px, 292px) minmax(380px, 1fr) minmax(310px, 388px);
  gap: var(--col-gap);
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 14px clamp(12px, 1.6vw, 22px) 0;
}

.col {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 14px;
  scrollbar-gutter: stable;
}

.col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 2px 0;
  flex: none;
}

.col__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.col__title-icon {
  color: var(--amber);
  opacity: 0.85;
}

.col__badge {
  font-size: 10.5px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   5. 我的车（左栏）
   ========================================================================== */
.truck-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--inset-line);
  backdrop-filter: blur(14px);
}

.truck-card__head {
  display: grid;
  gap: 3px;
}

.truck-card__name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.truck-card__nick {
  font-size: 11px;
  color: var(--amber-text);
  letter-spacing: 0.02em;
}

.truck-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.truck-card__fuel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hairline);
}

.truck-card__fuel-info {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.truck-card__fuel-k {
  font-size: 11px;
  color: var(--text-mute);
}

.truck-card__fuel-v {
  font-size: 13px;
  color: var(--text-soft);
}

.truck-card__fuel-hint {
  font-size: 11px;
  color: var(--text-mute);
}

.truck-card__wear {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
}

.truck-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-hairline);
  font-size: 12px;
  color: var(--text-mute);
}

.truck-card__meta b {
  color: var(--text-soft);
  font-weight: 600;
}

.truck-card__actions {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 7px;
}

.truck-card__actions .btn:last-child {
  grid-column: auto;
}

.fleet-list {
  display: grid;
  gap: 8px;
}

.fleet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 11px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-hairline);
  text-align: left;
  transition: all var(--dur-1) var(--ease);
}

.fleet-item:hover {
  background: var(--surface-2);
  border-color: var(--border);
}

.fleet-item[data-current="true"] {
  border-color: var(--amber-line);
  background: var(--amber-weak);
}

.fleet-item__body {
  display: grid;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.fleet-item__name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fleet-item__status {
  font-weight: 700;
}
.fleet-item__status.is-idle {
  color: #3ecf8e;
}
.fleet-item__status.is-on_trip {
  color: #f5a524;
}
.fleet-item__status.is-repairing {
  color: #ff6b6b;
}
.fleet-item__status.is-listed {
  color: #9aa7b8;
}
.fleet-item__meta {
  font-size: 10.5px;
  color: var(--text-mute);
}

.fleet-item__tag {
  font-size: 10px;
  color: var(--text-mute);
  flex: none;
}

.fleet-item[data-current="true"] .fleet-item__tag {
  color: var(--amber-text);
}

/* ==========================================================================
   6. 货运大厅（中栏）
   ========================================================================== */
/* ==========================================================================
   运营地图（首页）
   ========================================================================== */
.hall-grab {
  margin: 10px 0 12px;
}
.hall-orders-holder {
  display: none;
}
.hall-orders {
  display: grid;
  gap: 10px;
}
.hall-fit-btn {
  white-space: nowrap;
}
.hall-fit-btn.is-on {
  color: #f5a524;
  border-color: rgba(245, 165, 36, 0.55);
  background: rgba(245, 165, 36, 0.14);
}
.hall-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0;
  font-size: 12px;
}
.hall-pager__label {
  color: var(--text-mute);
  white-space: nowrap;
}
.hall-pager__btn {
  min-width: 54px;
}
.hall-pager {
  flex-wrap: wrap;
  gap: 8px;
}
.hall-pager__input {
  width: 54px;
  height: 28px;
  padding: 0 4px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 12px;
  outline: none;
}
.hall-pager__input::-webkit-inner-spin-button,
.hall-pager__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.map-panel {
  margin-top: 10px;
}
.map-stage {
  position: relative;
  height: clamp(300px, 46vh, 560px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background:
    radial-gradient(120% 120% at 30% 10%, rgba(30, 60, 110, 0.45), transparent 60%),
    linear-gradient(180deg, #0a1220 0%, #070d17 100%);
}
.map-svg {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.map-svg.is-dragging {
  cursor: grabbing;
}
.map-province {
  fill: rgba(38, 60, 92, 0.55);
  stroke: rgba(130, 170, 220, 0.35);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}
.map-route {
  fill: none;
  stroke: rgba(245, 165, 36, 0.32);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.9;
  stroke-dasharray: none;
  vector-effect: non-scaling-stroke;
}
@keyframes map-dash {
  to {
    stroke-dashoffset: -13;
  }
}
.map-route--done {
  stroke: var(--amber);
  stroke-width: 2;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 4px rgba(245, 165, 36, 0.55));
}
.map-marker.is-dim {
  opacity: 0.28;
}
.map-route.is-dim {
  opacity: 0.12 !important;
}
.map-route--done.is-dim {
  opacity: 0.16 !important;
  filter: none;
}
.map-marker--home .map-marker__dot {
  fill: var(--amber);
  stroke: #1a1204;
  stroke-width: 1.5;
}
.map-marker--idle .map-marker__dot {
  fill: #63b3ff;
  stroke: #06121f;
  stroke-width: 1.5;
}
.map-marker--trip .map-marker__dot {
  fill: #3ddc97;
  stroke: #04130c;
  stroke-width: 1.5;
}
.map-marker--home {
  opacity: 0.85;
}
.map-marker__star {
  fill: rgba(245, 165, 36, 0.7);
  stroke: rgba(245, 165, 36, 0.35);
  stroke-width: 0.8;
}
.map-marker__label {
  fill: #e6f0ff;
  font-size: 20px;
  font-weight: 600;
  paint-order: stroke;
  stroke: rgba(5, 10, 18, 0.92);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.map-zoom {
  display: inline-flex;
  gap: 4px;
}
.map-panel__status {
  font-size: 11px;
  color: var(--text-mute);
}
.map-legend {
  display: flex;
  gap: 14px;
  padding: 7px 2px 2px;
  font-size: 11px;
  color: var(--text-mute);
}
.map-legend__item::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
}
.map-legend__item--home::before {
  background: var(--amber);
}
.map-legend__item--idle::before {
  background: #63b3ff;
}
.map-legend__item--trip::before {
  background: #3ddc97;
}
.modal__body .hall-list {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 4px;
}
.pending-back {
  margin-bottom: 8px;
}
.pending-list {
  display: grid;
  gap: 8px;
  padding: 4px 2px;
}
.pending-item {
  display: grid;
  gap: 3px;
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-hairline);
  background: rgba(245, 165, 36, 0.06);
  cursor: pointer;
}
.pending-item:hover {
  background: rgba(245, 165, 36, 0.14);
}
.pending-item__cargo {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.pending-item__route {
  font-size: 11.5px;
  color: var(--text-mute);
}
.pending-item__time {
  font-size: 11px;
  color: var(--text-dim);
}
.auto-settings {
  display: grid;
  gap: 8px;
  padding: 4px 2px 6px;
}
.auto-settings__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 560px) {
  .auto-settings__grid {
    grid-template-columns: 1fr;
  }
}
.hall-mine {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}
.hall-mine__title {
  font-size: 12px;
  color: var(--amber);
  font-weight: 600;
}
.hall-mine__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-hairline);
  background: rgba(245, 165, 36, 0.08);
}
.hall-mine__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.hall-mine__info {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.hall-mine__info b,
.hall-mine__cargo {
  font-size: 13px;
  line-height: 1.25;
}
.hall-mine__info .tiny {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hall-mine__info .tiny {
  font-size: 11px;
}
.hall-mine__row .select {
  width: 150px;
  max-width: 150px;
  min-width: 0;
}
.hall-mine__row .btn {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .hall-mine__row .select {
    flex: 1;
    width: auto;
    max-width: none;
  }
}
.hall-toolbar {
  position: sticky;
  top: 0;
  z-index: 6;
  display: grid;
  gap: 9px;
  padding: 11px 12px;
  border-radius: var(--r-md);
  background: rgba(13, 21, 35, 0.86);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px -24px rgba(0, 0, 0, 0.9), var(--inset-line);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  flex: none;
}

.hall-toolbar__top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hall-toolbar__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.hall-toolbar__count {
  font-size: 11.5px;
  color: var(--text-mute);
}

.hall-toolbar__count b {
  color: var(--amber-text);
  font-weight: 600;
}

.hall-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto 1.15fr;
  gap: 7px;
  align-items: center;
}

.hall-filters .select {
  height: 34px;
  font-size: 12.5px;
  border-radius: 9px;
  padding-left: 10px;
  background-position: right 9px center;
}

.hall-filters .select--sort {
  padding-right: 28px;
}

.hall-filters .btn {
  height: 34px;
  width: 34px;
  border-radius: 9px;
  padding: 0;
}
.hall-filters .hall-fit-btn {
  width: auto;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
}

.hall-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.hall-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 12px;
  align-content: start;
  padding-bottom: 4px;
}

/* ---- 手机状订单卡 ---- */
/* ---------- 抽卡 ---------- */
.gacha-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}
@media (max-width: 720px) {
  .gacha-grid {
    grid-template-columns: 1fr;
  }
}
.gacha-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 22px 18px;
  text-align: center;
}
.gacha-card__art {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: var(--amber);
  background: rgba(245, 165, 36, 0.12);
  border: 1px solid rgba(245, 165, 36, 0.3);
}
.gacha-card--driver .gacha-card__art {
  color: #5dade2;
  background: rgba(93, 173, 226, 0.12);
  border-color: rgba(93, 173, 226, 0.3);
}
.gacha-card__title {
  font-size: 17px;
  font-weight: 700;
}
.gacha-card__desc {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.6;
}
.gacha-card__odds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.gacha-odds {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid transparent;
}
.gacha-odds--t0 { color: #e6ecf5; border-color: rgba(230, 236, 245, 0.35); }
.gacha-odds--t1 { color: #5dade2; border-color: rgba(93, 173, 226, 0.35); }
.gacha-odds--t2 { color: #b18cff; border-color: rgba(177, 140, 255, 0.35); }
.gacha-odds--t3 { color: #f5a524; border-color: rgba(245, 165, 36, 0.4); }
.gacha-odds--t4 { color: #ff6b6b; border-color: rgba(255, 107, 107, 0.4); }
.gacha-card__pity {
  font-size: 11px;
  color: var(--text-mute);
}
.gacha-card__foot {
  width: 100%;
  margin-top: 6px;
}
.gacha-drivers {
  display: grid;
  gap: 8px;
}
.gacha-driver {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  background: rgba(12, 19, 32, 0.7);
}
.gacha-driver__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex: 0 0 auto;
}
.gacha-driver__main {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.gacha-driver__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gacha-driver__name {
  font-weight: 600;
}
.gacha-driver__assign {
  font-size: 11px;
  color: var(--ok);
}
.gacha-driver__assign--none {
  color: var(--text-mute);
}
.driver-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  margin: 6px 0 4px;
}
.driver-card__col {
  display: grid;
  gap: 3px;
}
.driver-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  font-size: 12px;
  cursor: help;
}
.driver-stat__k {
  color: var(--text-mute);
}
.driver-stat__v {
  color: #f5a524;
}
@media (max-width: 400px) {
  .driver-card__grid {
    grid-template-columns: 1fr;
  }
}
.driver-card__foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.gacha-driver__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.seg-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.seg-filter__btn {
  height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 170, 198, 0.3);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-dim);
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.seg-filter__btn:hover {
  border-color: rgba(245, 165, 36, 0.45);
  color: var(--text-soft);
}
.seg-filter--status .seg-filter__btn {
  border-color: rgba(160, 180, 210, 0.42);
  background: rgba(255, 255, 255, 0.045);
}
.seg-filter__btn.is-on {
  color: #f5a524;
  border-color: rgba(245, 165, 36, 0.55);
  background: rgba(245, 165, 36, 0.14);
}
.bind-item__name {
  font-weight: 700;
}
.bind-item__meta {
  color: var(--text-mute);
}
.bind-list {
  display: grid;
  gap: 8px;
}
.gacha-driver__stats {
  font-size: 11.5px;
  color: var(--text-mute);
}
.gacha-result {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 8px 0 4px;
}
.gacha-result__traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.gacha-trait {
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}
.gacha-result__rarity {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
.gacha-result__name {
  font-size: 24px;
  font-weight: 800;
}
.gacha-result__meta {
  font-size: 12.5px;
  color: var(--text-mute);
}
.order-phone {
  display: block;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}

.order-phone:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 30px 54px -30px rgba(0, 0, 0, 0.98),
    0 0 0 1px rgba(245, 165, 36, 0.06);
}

.order-phone.is-new {
  animation: card-new 1.7s var(--ease-out);
}

@keyframes card-new {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.65), 0 24px 48px -30px rgba(0, 0, 0, 0.95);
    transform: translateY(6px) scale(0.99);
    opacity: 0.4;
  }
  35% {
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.8), 0 0 28px rgba(45, 212, 191, 0.28);
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0), 0 24px 48px -30px rgba(0, 0, 0, 0.95);
  }
}

.order-phone__pickup {
  padding: 0 2px 2px;
  font-size: 11px;
  color: var(--text-mute);
}
.order-phone__body {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 4px 13px 13px;
  min-height: 100%;
}

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

.order-phone__no {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.order-phone__head-main {
  flex: 1 1 auto;
  min-width: 0;
}

.order-phone__shipper {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  flex-wrap: wrap;
  row-gap: 3px;
  line-height: 1.35;
}

.order-phone__shipper > span:first-of-type {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
}

.order-phone__shipper svg {
  color: var(--text-mute);
}

.order-phone__cargo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
}

.cargo-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 19px;
  line-height: 1;
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border);
  flex: none;
}

.order-phone__cargo-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.order-phone__cargo-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-phone__cargo-frag {
  display: flex;
  align-items: center;
  gap: 4px;
}

.order-phone__weight {
  display: grid;
  gap: 1px;
  justify-items: end;
  text-align: right;
  flex: none;
}

.order-phone__vol {
  font-size: 10.5px;
  color: var(--text-mute);
  white-space: nowrap;
}
.order-phone__vol.is-over {
  color: #ffb020;
  font-weight: 700;
}

.order-phone__weight b {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.overload-hint {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--danger-2);
  background: var(--danger-weak);
  border: 1px solid var(--danger-line);
  padding: 0 4px;
  border-radius: 5px;
  white-space: nowrap;
}

.overload-hint--warn {
  color: var(--amber-text);
  background: var(--amber-weak);
  border-color: var(--amber-line);
}

.farm-hint {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #7ee0a3;
  background: rgba(72, 199, 116, 0.14);
  border: 1px solid rgba(72, 199, 116, 0.35);
  white-space: nowrap;
}
.premium-hint {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
  color: #c9a6ff;
  background: rgba(177, 140, 255, 0.14);
  border: 1px solid rgba(177, 140, 255, 0.4);
  white-space: nowrap;
}
.premium-hint[hidden] {
  display: none !important;
}

.route-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(74px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.route-line__end {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.route-line__end--right {
  justify-items: end;
  text-align: right;
}

.route-line__label {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.route-line__city {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-line__prov {
  font-size: 9.5px;
  color: var(--text-faint);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-line__mid {
  display: grid;
  justify-items: center;
  gap: 3px;
  position: relative;
  padding-top: 2px;
}

.route-line__dist {
  font-size: 9.5px;
  color: var(--text-mute);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.route-line__track {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), var(--amber-line));
}

.route-line__track::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(1px, -50%);
  box-shadow: 0 0 8px var(--amber-glow);
}

.order-phone__freight {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 11px;
  background: linear-gradient(100deg, rgba(245, 165, 36, 0.13), rgba(245, 165, 36, 0.02));
  border: 1px solid var(--amber-line);
}

.order-phone__freight-k {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--amber-text);
  opacity: 0.85;
}

.order-phone__freight-v {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber-text);
  letter-spacing: -0.01em;
  text-shadow: 0 0 20px rgba(245, 165, 36, 0.22);
}

.order-phone__freight-v small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
  margin-right: 1px;
}

.order-phone__deadline {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--text-mute);
  min-height: 16px;
}

.order-phone__deadline.is-urgent {
  color: var(--danger-2);
}

.order-phone__deadline.is-soon {
  color: var(--amber-text);
}

.order-phone__foot {
  display: grid;
  gap: 6px;
}

.order-phone__foot .btn {
  height: 36px;
}

.order-phone__note {
  font-size: 10.5px;
  color: var(--text-faint);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-phone__stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -50%) rotate(-9deg);
  padding: 7px 16px;
  border-radius: 9px;
  border: 2px solid rgba(245, 165, 36, 0.7);
  color: var(--amber-text);
  background: rgba(30, 22, 7, 0.72);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.18em;
  box-shadow: 0 0 26px rgba(245, 165, 36, 0.28), inset 0 0 18px rgba(245, 165, 36, 0.1);
  pointer-events: none;
  animation: stamp-in 240ms var(--ease-out);
}

@keyframes stamp-in {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-9deg) scale(1.35); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(1); }
}

.order-phone.is-grabbed .order-phone__body::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(9, 14, 24, 0.12);
  pointer-events: none;
}

.order-phone.is-grabbed .order-phone__cargo,
.order-phone.is-grabbed .route-line,
.order-phone.is-grabbed .order-phone__freight {
  opacity: 0.55;
}

.order-phone__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  padding: 16px;
  text-align: center;
  background: rgba(7, 12, 20, 0.84);
  backdrop-filter: blur(3px) saturate(0.5);
  -webkit-backdrop-filter: blur(3px) saturate(0.5);
  animation: fade-in 140ms var(--ease);
}

.order-phone__overlay-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--danger-2);
  line-height: 1.45;
}

.order-phone__overlay-text {
  font-size: 11px;
  color: var(--text-mute);
}

.order-phone.is-taken {
  pointer-events: none;
  filter: saturate(0.5);
}

.order-phone.is-removing {
  animation: card-out 240ms var(--ease) forwards;
}

@keyframes card-out {
  to { opacity: 0; transform: scale(0.96) translateY(-6px); }
}

/* 简易路线行（待出发 / 概览） */
.route-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-soft);
}

.route-inline__city {
  font-weight: 600;
  color: var(--text-soft);
}

.route-inline__arrow {
  display: inline-flex;
  color: var(--text-faint);
}

.route-inline__dist {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-mute);
}

/* 路线选择 + 出发 */
.planner-actions {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.planner-actions .btn--link {
  justify-self: center;
  color: var(--text-mute);
}

.planner-actions .btn--link:hover:not(:disabled) {
  color: var(--danger-2);
}

.route-opt__warns {
  display: grid;
  gap: 3px;
  padding-top: 2px;
}

.route-plan-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  border-radius: 11px;
  border: 1px dashed var(--border-strong);
  background: var(--surface);
}

.choices-wrap {
  min-height: 0;
}

.repair-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.repair-row__meter {
  flex: 1;
  min-width: 0;
}

.repair-row .btn {
  flex: none;
}

/* ==========================================================================
   7. 进行中（右栏）
   ========================================================================== */
.trip-switch {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: thin;
  padding: 2px;
  margin-bottom: 8px;
}
.trip-switch__item {
  flex: 0 0 auto;
  min-width: 112px;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  background: rgba(12, 19, 32, 0.78);
  color: var(--text-mute);
  cursor: pointer;
  text-align: left;
}
.trip-switch__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}
.trip-switch__item.is-active {
  background: rgba(245, 165, 36, 0.14);
  border-color: rgba(245, 165, 36, 0.65);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(245, 165, 36, 0.18) inset;
}
.trip-switch__label {
  font-size: 11px;
  color: inherit;
}
.trip-switch__time {
  font-size: 12px;
  font-weight: 600;
}
.trip-panel {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.trip-head {
  display: grid;
  gap: 9px;
  padding: 14px 14px 13px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(245, 165, 36, 0.08), transparent 58%),
    rgba(255, 255, 255, 0.012);
  border-bottom: 1px solid var(--border-hairline);
}

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

.trip-head__no {
  font-size: 10.5px;
  color: var(--text-faint);
  font-family: var(--font-num);
  letter-spacing: 0.05em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trip-head__route {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 4px;
  font-size: 12.5px;
  color: var(--text-dim);
}
.trip-head__route-text {
  color: var(--text);
  font-weight: 500;
}
.trip-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.trip-count__title {
  width: 100%;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

.trip-count__main {
  font-size: clamp(26px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
}

.trip-count__unit {
  font-size: 12.5px;
  color: var(--text-mute);
  font-weight: 500;
}

.trip-count.is-paused .trip-count__main {
  color: var(--amber-text);
}

.trip-eta {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-dim);
}

.trip-eta__abs {
  color: var(--text-mute);
}

.trip-progress {
  display: grid;
  gap: 5px;
}

.trip-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: var(--text-mute);
}

.trip-section {
  display: grid;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-hairline);
}

.trip-section:last-child {
  border-bottom: 0;
}

.trip-section__hint {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-mute);
}
.trip-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.trip-section__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.trip-section__title-icon {
  color: var(--amber);
  opacity: 0.8;
}

.trip-section__meta {
  font-size: 10.5px;
  color: var(--text-mute);
}

/* 路线对比 */
.route-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.route-opt {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  transition: all var(--dur-1) var(--ease);
  align-content: start;
}

.route-opt:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.route-opt[aria-pressed="true"] {
  border-color: var(--amber-line);
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.13), rgba(245, 165, 36, 0.04));
  box-shadow: inset 0 0 0 1px rgba(245, 165, 36, 0.18);
}

.route-opt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.route-opt__name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

.route-opt__fee {
  font-size: 10px;
  color: var(--text-mute);
}

.route-opt__rows {
  display: grid;
  gap: 3px;
}

.route-opt__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: var(--text-mute);
}

.route-opt__row b {
  color: var(--text-soft);
  font-weight: 600;
}

.route-opt__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
  padding-top: 5px;
  border-top: 1px dashed var(--border);
  font-size: 10.5px;
  color: var(--text-mute);
}

.route-opt__total b {
  font-size: 12.5px;
  color: var(--amber-text);
}

.route-opt__warn {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 10px;
  line-height: 1.35;
  color: var(--amber-text);
}

.route-opt__warn svg {
  margin-top: 1px;
  flex: none;
}

.route-opt__badge {
  font-size: 9px;
  padding: 0 4px;
  border-radius: 4px;
  background: var(--teal-weak);
  border: 1px solid var(--teal-line);
  color: var(--teal-2);
}

.route-opt__check {
  color: var(--amber);
}

/* 驾驶员 */
.driver-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.driver-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-mute);
}

.driver-state__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
}

.driver-state[data-state="resting"] .driver-state__dot {
  background: var(--amber);
  animation: pulse-dot 1.2s infinite;
}

.driver-state[data-state="resting"] {
  color: var(--amber-text);
}

.choices-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  max-height: 186px;
  overflow-y: auto;
  padding-right: 2px;
}

.choice-btn {
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  transition: all var(--dur-1) var(--ease);
}

.choice-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.choice-btn:active {
  transform: translateY(1px);
}

.choice-btn__name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.3;
}

.choice-btn__meta {
  font-size: 10px;
  color: var(--text-mute);
  line-height: 1.35;
}

.choice-btn__gain {
  font-size: 10px;
  color: var(--teal-2);
  font-variant-numeric: tabular-nums;
}

/* 货物完整性 */
.cargo-integrity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cargo-integrity__value {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

.cargo-integrity__value small {
  font-size: 11px;
  color: var(--text-mute);
  margin-left: 2px;
}

.cargo-integrity__body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.cargo-integrity__name {
  font-size: 11.5px;
  color: var(--text-soft);
}

/* 待处理事件横幅 */
.pending-banner {
  display: grid;
  gap: 8px;
  margin: 12px 12px 0;
  padding: 12px;
  border-radius: 13px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(244, 63, 94, 0.2), transparent 65%),
    rgba(244, 63, 94, 0.06);
  border: 1px solid var(--danger-line);
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.06), 0 16px 36px -24px rgba(244, 63, 94, 0.85);
  animation: pending-glow 2.6s var(--ease) infinite;
}

@keyframes pending-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.32), 0 16px 36px -24px rgba(244, 63, 94, 0.85); }
  50% { box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.08), 0 16px 36px -24px rgba(244, 63, 94, 0.85); }
}

.pending-banner__top {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.pending-banner__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(244, 63, 94, 0.16);
  color: var(--danger-2);
  flex: none;
}

.pending-banner__title {
  font-size: 13px;
  font-weight: 600;
  color: #ffe4e9;
  line-height: 1.35;
}

.pending-banner__meta {
  font-size: 10.5px;
  color: #ffb3c1;
  line-height: 1.5;
}

.pending-banner__pause {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--amber-text);
  background: var(--amber-weak);
  border: 1px solid var(--amber-line);
  border-radius: 6px;
  padding: 1px 6px;
  width: fit-content;
}

/* 事件流 */
.events {
  max-height: 236px;
  overflow-y: auto;
  padding-right: 2px;
}

.trip-empty {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 30px 20px 26px;
  text-align: center;
}

.trip-empty__art {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  color: var(--text-mute);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.09), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--inset-line);
}

.trip-empty__title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
}

.trip-empty__text {
  font-size: 11.5px;
  color: var(--text-mute);
  max-width: 26ch;
  line-height: 1.6;
}

/* ==========================================================================
   8. 全屏页面（买车 / 贷款 / 我的）
   ========================================================================== */
.page {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  width: 100%;
}

.page__inner {
  display: grid;
  gap: 16px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 18px clamp(12px, 1.6vw, 22px) 28px;
}

.page__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.page__heading {
  display: grid;
  gap: 3px;
}

.page__title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page__sub {
  font-size: 12px;
  color: var(--text-mute);
}

.page__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.summary-bar {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  flex-wrap: wrap;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  box-shadow: var(--inset-line);
}

.summary-bar__cell {
  display: grid;
  gap: 1px;
}

.summary-bar__k {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}

.summary-bar__v {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

.summary-bar__v--amber {
  color: var(--amber-text);
}

.summary-bar__v--teal {
  color: var(--teal-2);
}

.summary-bar__hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-mute);
  text-align: right;
  max-width: 34ch;
  line-height: 1.5;
}

/* ---- 买车 ---- */
.market-toolbar {
  display: grid;
  gap: 9px;
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.market-toolbar__right {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 200px));
  gap: 8px;
  align-items: center;
}

.market-toolbar .select {
  width: 100%;
  height: 36px;
  font-size: 12.5px;
  border-radius: 10px;
  background-position: right 10px center;
  padding-right: 30px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 12px;
}

.truck-tile {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--inset-line);
  text-align: left;
  transition: all var(--dur-2) var(--ease);
  align-content: start;
}

.truck-tile:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: var(--border-strong);
  box-shadow: 0 22px 44px -30px rgba(0, 0, 0, 0.95), var(--inset-line);
}

.truck-tile:focus-visible {
  border-color: var(--amber-line);
  box-shadow: var(--focus-ring);
}

.truck-tile__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.truck-tile__name {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.truck-tile__name strong {
  font-size: 14px;
  color: var(--text);
  line-height: 1.35;
}

.truck-tile__brand {
  font-size: 10.5px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

.truck-tile__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 12px;
  padding: 9px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
}

.spec__k {
  color: var(--text-mute);
}

.spec__v {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

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

.price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: var(--amber-text);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.price small {
  font-size: 10.5px;
  color: var(--text-mute);
  font-family: var(--font-sans);
  font-weight: 500;
}

.truck-tile__go {
  font-size: 11.5px;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.truck-tile:hover .truck-tile__go {
  color: var(--amber-text);
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: 12px;
  overflow: hidden;
}

.detail-specs__cell {
  display: grid;
  gap: 1px;
  padding: 10px 12px;
  background: var(--bg-elevated);
}

.detail-specs__k {
  font-size: 10.5px;
  color: var(--text-mute);
}

.detail-specs__v {
  font-size: 13.5px;
  color: var(--text-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.detail-desc {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

.buy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.buy-bar__price {
  display: grid;
  gap: 1px;
}

.buy-bar__hint {
  font-size: 11px;
  color: var(--text-mute);
}

.buy-bar__hint--danger {
  color: var(--danger-2);
}

/* ---- 贷款 ---- */
.loan-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: start;
}

.loan-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--inset-line);
}

.loan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.loan-card__title {
  display: grid;
  gap: 2px;
}

.loan-card__title strong {
  font-size: 14px;
  color: var(--text);
}

.loan-card__title span {
  font-size: 11.5px;
  color: var(--text-mute);
}

.loan-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.loan-amount__value {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--amber-text);
}

.loan-amount__unit {
  font-size: 12px;
  color: var(--text-mute);
}

.loan-range-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: var(--text-faint);
}

.loan-terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.term-btn {
  display: grid;
  gap: 1px;
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  transition: all var(--dur-1) var(--ease);
}

.term-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.term-btn[aria-pressed="true"] {
  border-color: var(--amber-line);
  background: var(--amber-weak);
}

.term-btn__num {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.term-btn__label {
  font-size: 10px;
  color: var(--text-mute);
}

.term-btn[aria-pressed="true"] .term-btn__num {
  color: var(--amber-text);
}

.quote-hero {
  display: grid;
  gap: 2px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(245, 165, 36, 0.13), rgba(245, 165, 36, 0.02));
  border: 1px solid var(--amber-line);
}

.quote-hero__k {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--amber-text);
  opacity: 0.9;
}

.quote-hero__v {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.015em;
}

.quote-hero__v small {
  font-size: 11px;
  color: var(--text-mute);
  font-family: var(--font-sans);
  margin-left: 4px;
}

.quote-hero__sub {
  font-size: 11px;
  color: var(--text-mute);
}

.quote-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.schedule-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  padding: 0 6px 7px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.schedule-table td {
  padding: 8px 6px 8px 0;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
  font-variant-numeric: tabular-nums;
}

.schedule-table tr:last-child td {
  border-bottom: 0;
}

.schedule-table .num {
  text-align: right;
}

.schedule-table th.num {
  text-align: right;
}

.loan-summary {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(245, 165, 36, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--amber-line);
  box-shadow: var(--inset-line);
}

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

.loan-summary__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
}

.loan-progress {
  display: grid;
  gap: 5px;
}

/* ---- 我的 ---- */
.me-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.me-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--inset-line);
}

.me-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex: none;
  font-size: 19px;
  font-weight: 700;
  color: #241703;
  background: linear-gradient(160deg, var(--amber-2), var(--amber) 65%, #dd8a12);
  box-shadow: 0 8px 20px -12px var(--amber-glow);
}

.me-profile__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.me-profile__company {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.me-profile__meta {
  font-size: 11.5px;
  color: var(--text-mute);
}

.me-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.finance-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.finance-stat {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-hairline);
  background: rgba(5, 10, 19, 0.35);
}
.finance-stat__label {
  font-size: 11px;
  color: var(--text-mute);
}
.finance-stat__value {
  font-size: 14.5px;
  font-weight: 650;
}
.finance-stat--in .finance-stat__value {
  color: var(--ok);
}
.finance-stat--out .finance-stat__value {
  color: var(--danger);
}
.finance-types {
  display: grid;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-hairline);
  background: rgba(5, 10, 19, 0.25);
}
.finance-types__title {
  font-size: 11px;
  color: var(--text-mute);
}
.finance-types__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
}
.finance-type {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.finance-type__label {
  color: var(--text-dim);
}
.finance-type__in {
  color: var(--ok);
}
.finance-type__out {
  color: var(--danger);
}
@media (max-width: 560px) {
  .finance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .finance-types__list {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   车队页（桌面端「车辆」导航）
   ========================================================================== */
.fleet-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.badge--name {
  max-width: 100%;
  height: auto;
  min-height: 22px;
  padding: 3px 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.badge--assign {
  display: inline-block;
  max-width: 100%;
  height: auto;
  min-height: 22px;
  padding: 3px 8px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
  font-weight: 600;
}.badge--driver {
  font-weight: 600;
}
.badge--muted {
  color: var(--text-mute);
}.fleet-card {
  cursor: pointer;
  min-width: 0;
}
.fleet-card.is-current {
  border-color: rgba(245, 165, 36, 0.55);
  box-shadow: inset 0 0 0 1px rgba(245, 165, 36, 0.25);
}
.fleet-card__attrs {
  display: grid;
  gap: 2px;
  margin: 5px 0 4px;
}
.fleet-attr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  line-height: 1.45;
}
.fleet-attr__k {
  color: var(--text-mute);
}
.fleet-attr__v {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fleet-attr__base {
  color: var(--text-mute);
}
.fleet-attr__eff {
  color: #f5a524;
  font-weight: 700;
}
.fleet-attr__plain {
  color: var(--text);
  font-weight: 400;
}
.fleet-attr {
  cursor: help;
}
.fleet-attr__pct {
  font-size: 11px;
  color: #3ddc97;
  font-weight: 600;
}
.fleet-card__driver {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 2px;
  font-size: 12px;
  color: var(--text-mute);
}
.fleet-card__driver-rarity {
  font-weight: 700;
}.fleet-card {
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border-hairline);
  background: rgba(10, 17, 30, 0.7);
}
.fleet-card__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.fleet-card__name {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fleet-card__name {
  font-size: 15px;
  color: var(--text);
}
.fleet-card__meta {
  font-size: 11px;
  color: var(--text-mute);
}
.fleet-card__meters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}
.fleet-meter {
  display: grid;
  grid-template-columns: 42px 1fr 38px;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.fleet-meter__label {
  color: var(--text-mute);
}
.fleet-meter__track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.fleet-meter__fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--ok);
}
.fleet-meter__fill--fuel {
  background: var(--amber);
}
.fleet-meter__fill--wear {
  background: var(--ok);
}
.fleet-meter__value {
  text-align: right;
  color: var(--text-dim);
  font-size: 11px;
}
.fleet-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ledger-list {
  display: grid;
  gap: 0;
}

.ledger-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.ledger-item:last-child {
  border-bottom: 0;
}

.ledger-item__body {
  display: grid;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.ledger-item__note {
  font-size: 12px;
  color: var(--text-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-item__time {
  font-size: 10.5px;
  color: var(--text-faint);
}

.ledger-item__amount {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-2);
  white-space: nowrap;
}

.ledger-item__amount--out {
  color: var(--danger-2);
}

.ledger-item__balance {
  font-size: 10px;
  color: var(--text-faint);
  text-align: right;
}

/* ==========================================================================
   9. 结算
   ========================================================================== */
.settle-head {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 14px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(45, 212, 191, 0.14), transparent 60%),
    var(--surface);
  border: 1px solid var(--teal-line);
  text-align: center;
}

.settle-head__k {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--teal-2);
}

.settle-head__v {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.settle-head__sub {
  font-size: 11px;
  color: var(--text-mute);
}

.settle-list {
  display: grid;
  gap: 2px;
}

.settle-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--text-dim);
  animation: settle-in 300ms var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 85ms);
}

.settle-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.022);
}

.settle-row__k {
  display: flex;
  align-items: center;
  gap: 6px;
}

.settle-row__v {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
  font-weight: 600;
}

.settle-row__v--neg {
  color: var(--danger-2);
}

.settle-row__v--pos {
  color: var(--teal-2);
}

.settle-row--total {
  margin-top: 7px;
  padding: 12px;
  border-radius: 11px;
  background: var(--amber-weak);
  border: 1px solid var(--amber-line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.settle-row--total .settle-row__v {
  font-size: 20px;
  color: var(--amber-text);
}

.settle-notes {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hairline);
  font-size: 11.5px;
  color: var(--text-mute);
  line-height: 1.6;
}

@keyframes settle-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes settle-pop {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   10. 移动端：底部 tab / 悬浮行程条
   ========================================================================== */
.topnav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
}
.topnav__item {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-mute);
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.topnav__item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}
.topnav__item[aria-current="page"] {
  color: #0b1220;
  background: var(--amber);
  font-weight: 650;
}
@media (max-width: 959px) {
  .topnav {
    display: none;
  }
}
.mobile-tabs {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-tabs);
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px));
  padding: 6px 5px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(9, 15, 26, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
}

.mobile-tab {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  min-width: 0;
  padding: 0 1px;
  gap: 3px;
  border-radius: 11px;
  color: var(--text-mute);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}

.mobile-tab svg {
  opacity: 0.85;
  flex: 0 0 auto;
}
.mobile-tab span {
  max-width: 100%;
  white-space: nowrap;
  font-size: 9.5px;
}

.mobile-tab[aria-current="page"] {
  color: var(--amber-text);
  background: var(--amber-weak);
}

.mobile-tab[aria-current="page"] svg {
  opacity: 1;
}

.mobile-tab:active {
  transform: scale(0.97);
}

.mobile-trip[hidden] {
  display: none !important;
}
.mobile-trip {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--tabs-h) + 10px + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--z-tabs) - 1);
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 13px;
  background: rgba(19, 29, 47, 0.94);
  border: 1px solid var(--amber-line);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.95), 0 0 22px -14px var(--amber-glow);
  backdrop-filter: blur(16px);
  text-align: left;
  color: var(--text);
  animation: fade-up 200ms var(--ease-out);
}

.mobile-trip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber-glow);
  animation: pulse-dot 1.4s infinite;
  flex: none;
}

.mobile-trip__text {
  display: grid;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.mobile-trip__phase {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--amber-text);
}

.mobile-trip__time {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.mobile-trip__go {
  font-size: 11.5px;
  color: var(--text-dim);
  flex: none;
}

/* ==========================================================================
   11. 响应式
   ========================================================================== */
@media (max-width: 1240px) {
  .workspace {
    grid-template-columns: minmax(220px, 260px) minmax(340px, 1fr) minmax(288px, 340px);
  }

  .order-phone__freight-v {
    font-size: 18px;
  }

  .hall-list {
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  }
}

@media (max-width: 1080px) {
  .topbar__cell--company {
    display: none;
  }

  .topbar__loan {
    max-width: 168px;
  }

  .loan-layout,
  .me-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 959px) {
  body {
    overflow: hidden;
  }

  .game-shell {
    height: 100dvh;
  }

  .topbar {
    height: 56px;
    gap: 10px;
    padding: 0 12px;
  }

  .topbar__brand-text {
    font-size: 12.5px;
    letter-spacing: 0.06em;
  }

  .topbar__brand-text small {
    display: none;
  }

  .brand-lockup__mark--sm {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .topbar__meta {
    gap: 10px;
    padding-left: 10px;
    min-width: 0;
  }

  .topbar__cell--cash {
    flex: none;
  }

  .topbar__label {
    font-size: 9px;
  }

  .topbar__cash {
    font-size: 16px;
  }

  .topbar__clock {
    font-size: 12.5px;
  }

  .topbar__loan {
    order: 3;
    max-width: 112px;
    height: 22px;
    font-size: 10px;
    padding: 0 8px;
    gap: 4px;
  }

  .topbar__cell--clock .topbar__label b {
    display: none;
  }

  .topbar__right {
    gap: 6px;
  }

  .topbar__right .btn {
    height: 30px;
    padding: 0 9px;
    font-size: 11.5px;
    border-radius: 8px;
  }

  .conn {
    font-size: 10.5px;
  }

  .workspace {
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 12px calc(var(--tabs-h) + 26px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }

  .col {
    display: none;
    overflow: visible;
    padding-bottom: 12px;
  }

  .workspace[data-view="hall"] .col--hall,
  .workspace[data-view="fleet"] .col--fleet,
  .workspace[data-view="trip"] .col--trip {
    display: flex;
  }

  .workspace[data-view="loan"],
  .workspace[data-view="me"] {
    display: none;
  }
.mobile-tabs {
    display: grid;
  }

  .mobile-trip {
    display: flex;
  }

  .page {
    padding-bottom: calc(var(--tabs-h) + 26px + env(safe-area-inset-bottom, 0px));
  }

  .page__inner {
    padding: 12px 12px 24px;
  }

  .page__title {
    font-size: 18px;
  }

  .hall-list {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
  }

  .hall-filters {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .hall-filters .select:last-of-type {
    grid-column: auto;
  }

.hall-toolbar {
    position: static;
    border-radius: 14px;
  }

  .market-toolbar__right {
    grid-template-columns: 1fr 1fr;
  }

  .market-toolbar__right .select:last-of-type {
    grid-column: 1 / -1;
  }

  .has-active-trip .workspace,
  .has-active-trip .page {
    padding-bottom: calc(var(--tabs-h) + 92px + env(safe-area-inset-bottom, 0px));
  }

  .truck-card__wear {
    grid-template-columns: 1fr 1fr;
  }

  .route-compare {
    grid-template-columns: 1fr;
  }

  .driver-bars {
    grid-template-columns: 1fr 1fr;
  }

  .detail-specs {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 719px) {
  .auth-screen {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 26px;
    padding: 28px 16px 40px;
    height: 100%;
    overflow-y: auto;
  }

  .auth-screen__brand {
    gap: 16px;
  }

  .auth-screen__title {
    font-size: 27px;
  }

  .auth-screen__sub {
    font-size: 13px;
  }

  .auth-points {
    display: none;
  }

  .auth-screen__foot {
    display: none;
  }

  .auth-screen__panel {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 8px;
    padding: 0 10px;
  }

  .topbar__brand-text {
    display: none;
  }

  .topbar__meta {
    gap: 8px;
    padding-left: 0;
    border-left: 0;
    min-width: 0;
    overflow: hidden;
  }

  .topbar__cash {
    font-size: 14px;
  }

  .topbar__right {
    gap: 6px;
  }

  .conn {
    min-width: 12px;
    justify-content: center;
  }

  .conn span:last-child {
    display: none;
  }

  /* 窄屏空间不足：贷款入口保留在「我的 / 贷款」页，避免与现金数字重叠 */
  .topbar__loan {
    display: none;
  }
}

@media (max-width: 420px) {
  .topbar__cell--clock {
    display: none;
  }

  .topbar__meta {
    border-left: 0;
    padding-left: 0;
  }

  .truck-card__actions {
    grid-template-columns: 1.15fr 1fr;
    gap: 6px;
  }

  .truck-card__actions .btn:last-child {
    grid-column: auto;
  }

  .truck-card__actions .btn {
    min-width: 0;
    padding-inline: 8px;
    font-size: 12.5px;
  }

  .summary-bar {
    gap: 14px;
  }
}

/* 打印 / 极端窄屏兜底 */
@media (max-width: 340px) {
  .hall-list {
    grid-template-columns: 1fr;
  }

  .route-compare {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   总资产排行榜
   ========================================================================== */

.topbar__rank {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.topbar__rank svg {
  color: var(--amber);
}

@media (max-width: 959px) {
  .topbar__rank {
    display: none; /* 移动端用底部「排行」tab */
  }
}

.rank-me {
  margin: 0 0 14px;
}

.rank-me__card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(245, 165, 36, 0.12), rgba(45, 212, 191, 0.06));
  border: 1px solid var(--amber-line);
  box-shadow: var(--inset-line);
}

.rank-me__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--amber-text);
  letter-spacing: 0.02em;
}

.rank-me__rank {
  font-size: 22px;
  font-weight: 800;
  color: var(--amber-2);
}

.rank-me__total {
  font-size: 13px;
  color: var(--text-dim);
  margin-right: auto;
}

.rank-me__stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.rank-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rank-stat__k {
  font-size: 11.5px;
  color: var(--text-mute);
}

.rank-stat__v {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.rank-stat.is-neg .rank-stat__v {
  color: var(--danger-2);
}

.rank-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 6px 0 18px;
}

.rank-podium__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 12.5px;
  color: var(--text-mute);
  text-align: center;
}

.rank-card {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--inset-line);
  overflow: hidden;
}

.rank-card__medal {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 26px;
  filter: saturate(0.95);
}

.rank-card__rank {
  font-size: 12.5px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

.rank-card__name {
  margin: 6px 0 2px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.rank-card__owner {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.rank-card__assets {
  font-size: 24px;
  font-weight: 800;
  color: var(--amber-2);
  letter-spacing: -0.01em;
}

.rank-card__split {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

.rank-card__rankline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank-card__me {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--amber-weak-2);
  color: var(--amber-text);
  font-size: 11px;
  line-height: 1.6;
}

.rank-card--gold {
  border-color: rgba(245, 165, 36, 0.55);
  background: linear-gradient(160deg, rgba(245, 165, 36, 0.16), rgba(255, 255, 255, 0.03) 60%);
  box-shadow: 0 0 0 1px rgba(245, 165, 36, 0.18), 0 18px 48px -30px rgba(245, 165, 36, 0.55), var(--inset-line);
}

.rank-card--silver {
  border-color: rgba(203, 213, 225, 0.4);
  background: linear-gradient(160deg, rgba(203, 213, 225, 0.12), rgba(255, 255, 255, 0.03) 60%);
}

.rank-card--bronze {
  border-color: rgba(217, 140, 90, 0.42);
  background: linear-gradient(160deg, rgba(217, 140, 90, 0.12), rgba(255, 255, 255, 0.03) 60%);
}

.rank-card.is-me {
  outline: 1px solid var(--amber-line);
  outline-offset: 2px;
}

.rank-empty {
  margin: 6px 0 0;
  padding: 34px 16px;
  text-align: center;
  color: var(--text-mute);
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
}

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rank-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 84px 132px 132px 84px;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border-hairline);
}

.rank-row--head {
  background: transparent;
  border-color: transparent;
  padding-top: 0;
  padding-bottom: 2px;
  font-size: 11.5px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

.rank-row__rank {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dim);
}

.rank-row__name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rank-row__name strong {
  font-size: 14px;
  font-weight: 650;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row__name small {
  font-size: 11.5px;
  color: var(--text-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row__num {
  text-align: right;
  font-size: 13px;
  color: var(--text-soft);
  white-space: nowrap;
}

.rank-row__assets {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--amber-2);
}

.rank-row.is-me {
  background: var(--amber-weak);
  border-color: var(--amber-line);
}

.rank-row.is-me .rank-row__name strong {
  color: var(--amber-text);
}

.rank-row__num.is-neg {
  color: var(--danger-2);
}

.rank-foot {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-mute);
}

@media (max-width: 959px) {
  .rank-podium {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 48px minmax(0, 1fr) 96px;
    gap: 8px;
    padding: 11px 12px;
  }

  .rank-row__revenue,
  .rank-row__km,
  .rank-row__orders,
  .rank-row--head span:nth-child(4),
  .rank-row--head span:nth-child(5),
  .rank-row--head span:nth-child(6) {
    display: none;
  }

  .rank-me__stats {
    gap: 16px;
  }
}






















































@media (max-width: 959px) {
  .page__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .summary-bar__hint {
    flex-basis: 100%;
    margin-left: 0;
    text-align: left;
    max-width: none;
  }
  .map-stage {
    height: 230px;
  }
  .col--hall {
    padding-bottom: calc(var(--tabs-h) + 24px);
  }
  .hall-orders {
    padding-bottom: 8px;
  }
}



.hall-mobile-garage {
  display: none;
}
.hall-picker-slot {
  display: none;
}

@media (max-width: 959px) {
  .hall-mobile-garage {
    display: block;
    margin-bottom: 10px;
  }
  .hall-picker-slot {
    display: block;
    margin-bottom: 10px;
  }
  .hall-mg {
    display: grid;
    gap: 10px;
    padding: 12px;
  }
  .hall-mg__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }
  .hall-mg__bars {
    display: grid;
    gap: 6px;
  }
  .hall-mg__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
  }
  .hall-mg__k {
    width: 32px;
    color: var(--text-mute);
  }
  .hall-mg__track {
    flex: 1;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
  }
  .hall-mg__fill {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: #f5a524;
  }
  .hall-mg__fill.is-hunger {
    background: #3ddc97;
  }
  .hall-mg__v {
    width: 34px;
    text-align: right;
    color: var(--text-mute);
  }
  .hall-mg__actions {
    display: flex;
    gap: 8px;
  }
  .hall-mg__actions .btn {
    flex: 1;
  }
}

.truck-picker {
  position: relative;
  margin-left: auto;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
}
.truck-picker__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}
.truck-picker__btn:hover {
  border-color: rgba(245, 165, 36, 0.45);
  background: rgba(245, 165, 36, 0.07);
}
.truck-picker__label {
  font-size: 11px;
  color: var(--text-mute);
}
.truck-picker__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}
.truck-picker__meta {
  font-size: 11px;
  color: var(--text-mute);
  white-space: nowrap;
}
.truck-picker__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(380px, 84vw);
  max-height: 320px;
  overflow: auto;
  z-index: 60;
  display: grid;
  gap: 4px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #0d1524;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}
.truck-picker__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.truck-picker__item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.truck-picker__item.is-current {
  border-color: rgba(245, 165, 36, 0.45);
  background: rgba(245, 165, 36, 0.08);
}
.truck-picker__item-name {
  font-size: 13px;
  font-weight: 600;
  grid-column: 1;
}
.truck-picker__item-meta {
  font-size: 11px;
  color: var(--text-mute);
  grid-column: 1;
}
.truck-picker__item .badge {
  grid-column: 2;
  grid-row: 1;
}
.truck-picker__tick {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  color: #f5a524;
  font-weight: 700;
}
@media (max-width: 959px) {
  .truck-picker {
    width: 100%;
    margin-left: 0;
  }
  .truck-picker__btn {
    width: 100%;
    justify-content: space-between;
  }
  .truck-picker__menu {
    left: 0;
    right: 0;
    width: auto;
  }
}


.rank-row__profit {
  font-size: 14.5px;
  font-weight: 750;
  color: #3ddc97;
}
.rank-row__profit.is-neg {
  color: #ff6b6b;
}
.rank-card__assets.is-neg {
  color: #ff6b6b;
}
.rank-stat--pos .rank-stat__v {
  color: #3ddc97;
}
.rank-stat--neg .rank-stat__v {
  color: #ff6b6b;
}


.hall-trip {
  margin-top: 8px;
}
.hall-trip__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 13px;
  border: 1px solid rgba(245, 165, 36, 0.35);
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.13), rgba(245, 165, 36, 0.04));
  color: var(--text);
  text-align: left;
  cursor: pointer;
}
.hall-trip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber-glow);
  animation: pulse-dot 1.4s infinite;
  flex: none;
}
.hall-trip__main {
  display: grid;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.hall-trip__phase {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--amber-text);
}
.hall-trip__pos {
  font-size: 12px;
  color: var(--text-mute);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hall-trip__time {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.hall-trip__go {
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
}

.trip-back {
  display: none;
}
@media (max-width: 959px) {
  .trip-back {
    display: inline-flex;
  }
}


/* -------------------------- 二手车店 -------------------------- */
.used-page .page__head { align-items: flex-start; }
.used-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0 18px;
  flex-wrap: wrap;
}
.used-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-mute);
  font-size: 13px;
  cursor: pointer;
}
.used-tab.is-on {
  background: var(--amber);
  border-color: transparent;
  color: #1c1400;
  font-weight: 700;
}
.used-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.used-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.used-card--mine {
  border-color: rgba(245, 165, 36, 0.35);
}
.used-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.used-card__name { font-size: 15px; }
.used-card__rarity {
  font-size: 11px;
  color: var(--text-mute);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
}
.used-card__spec,
.used-card__cond,
.used-card__seller {
  margin: 0;
  font-size: 12px;
  color: var(--text-mute);
}
.used-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.used-card__price { font-size: 17px; font-weight: 700; color: var(--amber); }
.used-card__timer { font-size: 11px; color: var(--text-mute); }
.used-card__buy { width: 100%; margin-top: 6px; }
.used-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 48px 16px;
  color: var(--text-mute);
  border: 1px dashed var(--border);
  border-radius: 16px;
  text-align: center;
}
.used-empty--inline { padding: 16px; justify-items: start; text-align: left; font-size: 13px; }
.used-section__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 10px;
}
.used-section__title { margin: 0; font-size: 15px; }
.used-avail-list { display: grid; gap: 10px; }
.used-avail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  flex-wrap: wrap;
}
.used-avail__main { display: grid; gap: 2px; }
.used-avail__name { font-size: 14px; }
.used-avail__spec,
.used-avail__cond { font-size: 12px; color: var(--text-mute); }
.used-avail__side { display: grid; gap: 4px; justify-items: end; text-align: right; }
.used-avail__price { font-size: 16px; font-weight: 700; color: var(--amber); }
.used-avail__hint { font-size: 11px; color: var(--text-mute); }

.fleet-card__sell {
  margin-left: auto;
  flex: none;
}



/* 车库拖拽排序 */
.fleet-card[draggable="true"] {
  cursor: grab;
}
.fleet-card.is-dragging {
  opacity: 0.45;
  outline: 1px dashed var(--amber);
}

/* 行程卡右上角订单经济：紧凑胶囊，单行不换行 */
.trip-head__top {
  flex-wrap: wrap;
  row-gap: 5px;
}
.trip-econ {
  margin-left: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  justify-content: flex-end;
  max-width: 100%;
  min-width: 0;
}
.trip-econ__item {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 1px 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  white-space: nowrap;
  max-width: 100%;
}
.trip-econ__k {
  font-size: 8.5px;
  letter-spacing: 0.01em;
  color: var(--text-mute);
}
.trip-econ__item b {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-soft);
}
.trip-econ__item--net {
  border-color: rgba(47, 214, 165, 0.35);
  background: rgba(47, 214, 165, 0.1);
}
.trip-econ__item--net b {
  color: var(--teal, #2fd6a5);
}
.trip-econ__item--net.is-negative {
  border-color: rgba(255, 90, 95, 0.42);
  background: rgba(255, 90, 95, 0.1);
}
.trip-econ__item--net.is-negative b {
  color: var(--red, #ff5a5f);
}
/* 中窄屏优先保证胶囊单行：先牺牲单号，再缩胶囊 */
@media (max-width: 2000px) {
  .trip-head__no {
    display: none;
  }
}
@media (max-width: 560px) {
  .trip-econ {
    gap: 3px;
  }
  .trip-econ__item {
    padding: 1px 4.5px;
    gap: 2px;
  }
  .trip-econ__k {
    font-size: 8px;
  }
  .trip-econ__item b {
    font-size: 9px;
  }
}
















.fleet-card__rename { flex: none; }





.map-marker--farm .map-marker__farm { fill: #8fd14f; stroke: #10230a; stroke-width: 1.2; }
.map-marker--farm .map-marker__label { fill: #c8f39a; font-size: 14px; font-weight: 600; opacity: .95; }
.map-legend__item--farm::before { background: #8fd14f; border-radius: 2px; transform: rotate(45deg); }


.fleet-overview .page__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.fleet-overview .page__title{display:flex;align-items:center;gap:8px;margin:0;font-size:20px;color:var(--text)}
.fleet-overview .page__sub{margin:6px 0 0;color:var(--text-dim);font-size:12.5px}
.ov-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:10px 14px;margin-bottom:14px;border:1px solid var(--line);border-radius:10px;background:var(--panel-2,#121a24)}
.ov-summary__item{font-size:12.5px;color:var(--text-dim)}.ov-summary__item b{color:var(--text);font-size:16px;margin-left:4px}
.ov-summary__hint{margin-left:auto;font-size:11.5px;color:var(--text-dim)}
.ov-section-head{display:flex;align-items:center;justify-content:space-between;margin:16px 2px 8px;font-size:13px;font-weight:600;color:var(--text)}
.ov-count{font-size:12px;color:var(--text-dim);font-weight:400}
.ov-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ov-card{border:1px solid var(--line);border-radius:12px;background:var(--panel-2,#121a24);padding:12px 14px;display:flex;flex-direction:column;gap:9px}
.ov-card--farm{border-color:rgba(61,220,151,.35);box-shadow:inset 3px 0 0 #3ddc97}
.ov-card__head{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ov-name{font-weight:700;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.ov-badges{display:inline-flex;gap:4px}
.ov-amount{margin-left:auto;color:var(--amber,#f5a524);font-weight:700;font-size:14px}
.badge--farm{background:rgba(61,220,151,.14);color:#3ddc97;border:1px solid rgba(61,220,151,.35)}
.ov-cargo{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-dim)}
.ov-cargo__icon{font-size:16px}.ov-cargo__route{margin-left:auto;color:var(--text)}
.ov-progress{height:7px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}
.ov-progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#3ddc97,#5dade2)}
.ov-card__foot{display:flex;align-items:center;gap:9px;font-size:11.5px;color:var(--text-dim)}
.ov-pct{margin-left:auto;font-weight:600;color:var(--text)}
.chip--blue{background:rgba(93,173,226,.15);color:#5dade2}.chip--green{background:rgba(61,220,151,.15);color:#3ddc97}.chip--amber{background:rgba(245,165,36,.15);color:#f5a524}.chip--gray{background:rgba(255,255,255,.07);color:var(--text-dim)}
.ov-idle{padding:0;overflow:hidden}
.ov-idle-row{display:grid;grid-template-columns:minmax(180px,1.8fr) minmax(130px,1fr) 90px 110px;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--line);font-size:12.5px}
.ov-idle-row:last-child{border-bottom:0}
.ov-idle-row--head{background:rgba(255,255,255,.04);color:var(--text-dim);font-size:11.5px}
.ov-idle-meta{color:var(--text-dim)}
.ov-empty{padding:18px;text-align:center;color:var(--text-dim);font-size:12.5px}
@media (max-width:900px){.ov-cards{grid-template-columns:1fr}.ov-idle-row{grid-template-columns:minmax(140px,1.6fr) 1fr 70px}.ov-idle-row span:last-child{display:none}.ov-summary__hint{display:none}}

.badge--status-trip { background: rgba(255,107,107,.14); color: #ff8a8a; border: 1px solid rgba(255,107,107,.38); }
.badge--status-idle { background: rgba(61,220,151,.14); color: #3ddc97; border: 1px solid rgba(61,220,151,.38); }
.trip-picker{margin:0 0 8px;width:100%}
.trip-picker > summary{list-style:none;width:100%;justify-content:flex-start;cursor:pointer}
.trip-picker > summary::-webkit-details-marker{display:none}
.trip-picker .truck-picker__btn > svg{margin-left:auto;flex:0 0 auto}
.trip-picker .truck-picker__menu{left:0;right:auto;width:100%;min-width:0}
.trip-picker .truck-picker__item{grid-template-columns:1fr auto}
.trip-picker .truck-picker__item-meta{grid-column:1;font-size:11px;color:var(--text-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trip-picker .truck-picker__btn{overflow:hidden}
.trip-picker .truck-picker__label{white-space:nowrap;flex:0 0 auto}
.trip-picker .truck-picker__name{flex:1 1 auto;min-width:0}
.trip-picker .truck-picker__meta{flex:0 0 auto;white-space:nowrap}

.trip-order-strip{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px;padding:8px 10px;border:1px solid var(--border-hairline);border-radius:10px;background:rgba(12,19,32,.6);font-size:11.5px;color:var(--text-dim)}
.trip-order-strip__no{font-weight:600;color:var(--text)}
.trip-order-strip__route{margin-left:auto;color:var(--text)}
.trip-order-strip__fee{color:var(--amber)}

.trip-order-card{display:grid;gap:9px;margin:0 0 10px;padding:11px 12px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(180deg,rgba(18,28,43,.96),rgba(11,18,29,.96))}
.trip-order-card__head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.trip-order-card__no{font-size:11.5px;color:var(--text-dim)}
.trip-order-card__phase{margin-left:auto}
.trip-order-card__cargo{display:flex;align-items:center;gap:10px}
.trip-order-card__icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);font-size:20px;flex:0 0 auto}
.trip-order-card__cargo-main{display:grid;gap:2px;min-width:0}
.trip-order-card__cargo-main b{font-size:15px;color:var(--text)}
.trip-order-card__cargo-main span{font-size:11px;color:var(--text-dim)}
.trip-order-card__freight{margin-left:auto;text-align:right;display:grid;gap:1px}
.trip-order-card__freight small{font-size:10.5px;color:var(--text-dim)}
.trip-order-card__freight b{font-size:16px;color:var(--amber);font-variant-numeric:tabular-nums}
.trip-order-card__route{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;padding-top:7px;border-top:1px dashed var(--border-hairline)}
.trip-order-card__end{display:grid;gap:1px;min-width:0}
.trip-order-card__end--right{text-align:right}
.trip-order-card__label{font-size:10.5px;color:var(--text-dim)}
.trip-order-card__end strong{font-size:14px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trip-order-card__prov{font-size:10.5px;color:var(--text-dim)}
.trip-order-card__mid{display:grid;gap:3px;justify-items:center;min-width:96px}
.trip-order-card__km{font-size:10.5px;color:var(--text-dim);white-space:nowrap}
.trip-order-card__track{display:block;width:100%;height:3px;border-radius:999px;background:rgba(255,255,255,.06);position:relative;overflow:visible}
.trip-order-card__done{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:#8d99aa}
.trip-order-card__left{position:absolute;top:0;bottom:0;right:0;border-radius:999px;background:#3ddc97}
.trip-order-card__dot{position:absolute;top:50%;width:7px;height:7px;border-radius:50%;background:var(--amber);transform:translate(-50%,-50%);box-shadow:0 0 0 2px rgba(11,18,29,.9)}

.ov-filters{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin:10px 0 18px;padding-left:2px}
.ov-filter{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px;border-radius:14px;border:1px solid rgba(184,214,255,.26);background:linear-gradient(180deg,rgba(228,241,255,.16),rgba(228,241,255,.06));color:#d9e8fb;font-size:12.5px;font-weight:500;white-space:nowrap;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.ov-filter > span{display:inline-flex;align-items:center;flex:0 0 auto;white-space:nowrap;letter-spacing:.6px;color:#cfe2f8}
.ov-filter .select{height:30px;min-width:150px;padding:0 28px 0 11px;border-radius:9px;border:1px solid rgba(198,222,250,.22);background:rgba(8,14,24,.5);color:#f1f7ff;font-size:12.5px;font-weight:600;box-shadow:none}
@media (max-width:700px){.ov-filters{flex-wrap:wrap}.ov-filter{height:38px;padding:0 10px}.ov-filter .select{min-width:120px}}

.fleet-overview .page__head{padding:0 12px}
.fleet-overview .page__head > div{min-width:0}
.ov-section-head{padding:0 12px}
.ov-summary{margin-left:12px;margin-right:12px}
.ov-filters{padding-left:12px}
.ov-cards{padding:0 12px}
.ov-idle{margin-left:12px;margin-right:12px}
.fleet-overview .ov-cards{padding:0 16px;box-sizing:border-box}
.fleet-overview .ov-card{border:1px solid rgba(150,178,212,.38);border-radius:16px;box-shadow:0 6px 18px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.03)}
.fleet-overview .ov-card--farm{border-color:rgba(61,220,151,.45)}
.fleet-overview .ov-idle{margin-left:16px;margin-right:16px}
.fleet-overview .page__head{padding-left:16px;padding-right:16px}
.fleet-overview .ov-section-head{padding-left:16px;padding-right:16px}
.fleet-overview .ov-filters{padding-left:16px}
.fleet-overview .ov-summary{margin-left:16px;margin-right:16px}
.fleet-overview .ov-summary{width:calc(100% - 32px);margin:0 16px 14px;box-sizing:border-box;padding:12px 16px;border:1px solid rgba(150,178,212,.38);border-radius:16px;background:linear-gradient(180deg,rgba(25,37,53,.96),rgba(14,22,34,.96));box-shadow:0 6px 18px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.03)}
.fleet-overview .ov-summary__item b{color:#f5a524}

.hall-fit-check{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 10px;border:1px solid var(--border);border-radius:9px;background:rgba(255,255,255,.02);color:var(--text-dim);font-size:12px;cursor:pointer;user-select:none;white-space:nowrap;transition:border-color .15s,background .15s,color .15s}
.hall-fit-check:hover{border-color:var(--border-strong);background:rgba(255,255,255,.04)}
.hall-fit-check.is-on{border-color:rgba(245,165,36,.55);background:rgba(245,165,36,.14);color:var(--amber)}
.hall-fit-check__input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.hall-fit-check__box{width:17px;height:17px;border-radius:5px;border:1px solid var(--border-strong);background:rgba(8,14,24,.6);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:transparent;flex:0 0 auto;transition:background .15s,border-color .15s,color .15s}
.hall-fit-check.is-on .hall-fit-check__box{border-color:var(--amber);background:var(--amber);color:#08111f}
.hall-filters .hall-fit-check{width:100%;justify-content:flex-start}
.hall-fit-check{position:relative}
.hall-fit-check__input:focus-visible + .hall-fit-check__box{outline:2px solid rgba(245,165,36,.7);outline-offset:2px}
.order-specialty-badge{flex:0 0 auto;max-width:100%;margin-left:4px;padding:2px 6px;border:1px solid;border-radius:6px;font-size:10px;line-height:1.35;white-space:nowrap}
.gacha-result__specialty{display:inline-flex;align-items:center;margin:8px auto 0;padding:4px 10px;border:1px solid;border-radius:999px;font-size:12px;font-weight:600}
.hall-weather{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#cfe2f8;white-space:nowrap;opacity:.9}

.garage-tabs{display:flex;align-items:center;gap:6px;margin:0 0 12px;padding:4px;border:1px solid var(--border-hairline);border-radius:12px;background:rgba(12,19,32,.55);width:max-content;max-width:100%}
.garage-tab{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:0;border-radius:9px;background:transparent;color:var(--text-dim);font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap}
.garage-tab:hover{color:var(--text);background:rgba(255,255,255,.04)}
.garage-tab.is-on{color:#08111f;background:var(--amber)}
.garage-tab__count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(0,0,0,.18);font-size:10.5px;font-weight:700}
.garage-tab:not(.is-on) .garage-tab__count{background:rgba(255,255,255,.08);color:var(--text-dim)}
.garage-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.garage-rarity{margin-bottom:8px}
.garage-filters .garage-rarity{margin-bottom:0}
.garage-driver-status{height:30px;min-width:110px}
.driver-card__fire{color:#ff8a8a;border-color:rgba(255,138,138,.35)}
.driver-card__fire:hover:not(:disabled){background:rgba(255,107,107,.1);border-color:rgba(255,107,107,.55)}
.driver-card__fire:disabled{opacity:.45;cursor:not-allowed}
.garage-driver-status{width:auto;min-width:130px;max-width:180px;flex:0 0 auto}
.dispatch-body{display:grid;gap:13px}
.dispatch-current{display:flex;align-items:center;justify-content:space-between;padding:9px 11px;border:1px solid var(--border-hairline);border-radius:10px;background:rgba(255,255,255,.03);font-size:12px;color:var(--text-dim)}
.dispatch-current b{color:var(--text);font-size:13px}
.dispatch-section{display:grid;gap:7px}
.dispatch-section__title{font-size:11.5px;color:var(--text-dim);font-weight:600}
.dispatch-results{display:grid;gap:3px;max-height:190px;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:4px;background:rgba(8,14,24,.65)}
.dispatch-result{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:var(--text);text-align:left;cursor:pointer}
.dispatch-result:hover{background:rgba(255,255,255,.06)}
.dispatch-result__name{font-size:13px;font-weight:600}
.dispatch-result__prov{font-size:11px;color:var(--text-dim)}
.dispatch-result-empty{padding:10px;color:var(--text-dim);font-size:12px}
.dispatch-quick{display:flex;flex-wrap:wrap;gap:6px}
.dispatch-quick__btn{height:29px;padding:0 10px;border:1px solid rgba(61,220,151,.35);border-radius:999px;background:rgba(61,220,151,.08);color:#9ff0c8;font-size:12px;cursor:pointer;white-space:nowrap}
.dispatch-quick__btn:hover{background:rgba(61,220,151,.15)}
.dispatch-selected{display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid rgba(245,165,36,.4);border-radius:10px;background:rgba(245,165,36,.08);font-size:12px;color:var(--text-dim)}
.dispatch-selected b{color:var(--amber);font-size:14px}
.dispatch-mode-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--text-dim)}
.dispatch-mode{width:140px}
.dispatch-hint{margin:0;font-size:11px;line-height:1.55;color:var(--text-mute)}
.fleet-card__dispatch{color:#9ff0c8;border-color:rgba(61,220,151,.32)}
.fleet-card__dispatch:hover{background:rgba(61,220,151,.1);border-color:rgba(61,220,151,.5)}

.btn--dispatch{color:#062116;background:linear-gradient(180deg,#6ee7b7,#3ddc97);border:1px solid rgba(61,220,151,.8);font-weight:700;box-shadow:0 4px 14px rgba(61,220,151,.18)}
.btn--dispatch:hover:not(:disabled){background:linear-gradient(180deg,#8af0c8,#4be5a5);border-color:#8af0c8;color:#04140d}
.btn--dispatch:active:not(:disabled){transform:translateY(1px)}
.btn--dispatch:disabled{opacity:.45;box-shadow:none}

.btn--repair{color:#2b1602;background:linear-gradient(180deg,#ffc46b,#f5a524);border:1px solid rgba(245,165,36,.8);font-weight:700}
.btn--repair:hover:not(:disabled){background:linear-gradient(180deg,#ffd08a,#ffb84d);border-color:#ffd08a;color:#1e0e00}
.btn--repair:active:not(:disabled){transform:translateY(1px)}
.btn--gacha{color:#170a2b;background:linear-gradient(180deg,#d4bcff,#b18cff);border:1px solid rgba(177,140,255,.8);font-weight:700}
.btn--gacha:hover:not(:disabled){background:linear-gradient(180deg,#e0ceff,#c3a4ff);border-color:#e0ceff;color:#10051f}
.btn--gacha:active:not(:disabled){transform:translateY(1px)}

.relocate-panel{overflow:hidden}
.relocate-panel .panel__head{padding:12px 16px 10px}
.relocate-body{display:grid;gap:14px;padding:14px 16px 16px;min-width:0}
.relocate-route{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--border-hairline);border-radius:10px;background:rgba(255,255,255,.025);min-width:0}
.relocate-route__from,.relocate-route__to{font-size:13.5px;font-weight:600;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.relocate-route__to{color:#f5a524}
.relocate-route__arrow{color:var(--text-dim);font-size:13px;flex:0 0 auto}
.relocate-panel .trip-count{display:grid;gap:4px}
.relocate-panel .trip-count__title{letter-spacing:.04em}
.relocate-panel .trip-count__main{font-size:clamp(24px,5vw,34px);line-height:1.08;white-space:nowrap}
.relocate-panel .trip-count__sub{font-size:11.5px;color:var(--text-dim);line-height:1.5;overflow-wrap:anywhere}
.relocate-panel .trip-progress .progress{height:5px;border-radius:999px;overflow:hidden}
.relocate-alert{margin-top:2px;align-items:flex-start}
.relocate-alert .alert__icon{display:inline-flex;margin-top:2px;color:var(--amber)}
.relocate-alert .alert__body{gap:5px;min-width:0}
.relocate-alert .alert__body > span:last-child{line-height:1.6;overflow-wrap:anywhere}
.fleet-item__status.is-awaiting-route{color:#2ee6d6}

.badge--awaiting{color:#8ff5e8;background:rgba(46,230,214,.12);border-color:rgba(46,230,214,.42)}
.relocate-econ{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.relocate-econ__item{display:grid;gap:3px;padding:8px 9px;border:1px solid var(--border-hairline);border-radius:9px;background:rgba(255,255,255,.025);min-width:0}
.relocate-econ__k{font-size:10.5px;color:var(--text-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.relocate-econ__item b{font-size:12.5px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.relocate-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;padding:0 2px;font-size:11px;color:var(--text-dim)}
.relocate-metrics span{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.relocate-metrics b{font-size:11.5px;color:var(--text-soft);font-weight:600;white-space:nowrap}
@media (max-width:360px){.relocate-econ{grid-template-columns:1fr 1fr}.relocate-econ__item:last-child{grid-column:1/-1}}
.dispatch-plan{display:grid;gap:7px}
.dispatch-plan-card{display:grid;gap:7px;width:100%;padding:10px 11px;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.025);color:var(--text);text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.dispatch-plan-card:hover{border-color:rgba(61,220,151,.45);background:rgba(61,220,151,.06)}
.dispatch-plan-card.is-on{border-color:rgba(61,220,151,.7);background:rgba(61,220,151,.1);box-shadow:0 0 0 1px rgba(61,220,151,.18) inset}
.dispatch-plan-card__head{display:flex;align-items:center;gap:7px;min-width:0}
.dispatch-plan-card__title{font-size:13px;font-weight:700}
.dispatch-plan-card__tag{font-size:10px;line-height:16px;padding:0 5px;border-radius:999px;color:#8ff5e8;background:rgba(46,230,214,.12);border:1px solid rgba(46,230,214,.25)}
.dispatch-plan-card__total{margin-left:auto;font-size:14px;font-weight:700;color:#6ee7b7;white-space:nowrap}
.dispatch-plan-card__rows{display:grid;grid-template-columns:1fr 1fr;gap:4px 10px;font-size:11px;color:var(--text-dim)}
.dispatch-plan-card__rows span{display:flex;justify-content:space-between;gap:5px;min-width:0}
.dispatch-plan-card__rows b{color:var(--text-soft);font-weight:600;white-space:nowrap}
.dispatch-plan__note{margin:0;padding:0 2px;font-size:10.5px;line-height:1.5;color:var(--text-mute)}
.dispatch-plan__loading,.dispatch-plan__error{padding:11px;border:1px dashed var(--border);border-radius:9px;font-size:12px;color:var(--text-dim)}
.dispatch-plan__error{color:#ffb4b4;border-color:rgba(255,120,120,.35);background:rgba(255,90,90,.06)}
.finance-types__list{grid-template-columns:1fr;gap:2px}
.finance-type-block{min-width:0}
.finance-type--expandable{padding:6px 6px;border-radius:7px;cursor:pointer;transition:background .15s}
.finance-type--expandable:hover{background:rgba(255,255,255,.04)}
.finance-type--expandable:focus-visible{outline:1px solid var(--amber);outline-offset:1px}
.finance-type__name{display:flex;align-items:center;gap:6px;min-width:0}
.finance-type__count{font-size:10px;color:var(--text-mute);white-space:nowrap}
.finance-type__chevron{color:var(--text-mute);font-size:10px;transition:transform .15s;flex:0 0 auto}
.finance-type--expandable.is-open .finance-type__chevron{transform:rotate(180deg)}
.finance-type__detail{display:grid;gap:5px;margin:2px 0 6px 6px;padding:2px 0 2px 10px;border-left:1px solid var(--border-hairline)}
.finance-detail{display:grid;gap:3px;padding:6px 8px;border-radius:7px;background:rgba(255,255,255,.025)}
.finance-detail__head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.finance-detail__time{font-size:10.5px;color:var(--text-mute);white-space:nowrap}
.finance-detail__amount{font-size:12px;font-weight:700;color:var(--ok);white-space:nowrap}
.finance-detail__amount.is-out{color:var(--danger)}
.finance-detail__meta{display:grid;gap:2px;font-size:11px;line-height:1.45;color:var(--text-soft)}
.finance-detail__note{font-size:11px;line-height:1.45;color:var(--text-dim);border-top:1px dashed var(--border-hairline);padding-top:3px}
.finance-detail__loading,.finance-detail__empty{padding:7px 2px;font-size:11px;color:var(--text-mute)}
@media (max-width:560px){.finance-types__list{grid-template-columns:1fr}}
.used-card__detail{margin-left:auto;padding:0;border:0;background:none;color:var(--text-mute);font-size:11px;cursor:pointer;white-space:nowrap}
.used-card__detail:hover{color:var(--amber)}
.used-detail{display:grid;gap:12px}
.used-detail__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}
.used-detail__row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;font-size:12px}
.used-detail__k{color:var(--text-dim);white-space:nowrap}
.used-detail__v{color:var(--text);font-weight:600;text-align:right;min-width:0;overflow-wrap:anywhere}
.used-detail__section{display:grid;gap:7px;padding-top:10px;border-top:1px solid var(--border-hairline)}
.used-detail__title{margin:0;font-size:12px;font-weight:600;color:var(--text-soft)}
@media (max-width:520px){.used-detail__grid{grid-template-columns:1fr}}
.fleet-filter-group{display:grid;gap:5px;margin-bottom:8px}
.fleet-filter-group:last-of-type{margin-bottom:6px}
.fleet-filter-group__label{font-size:10px;line-height:1.2;color:var(--text-mute);letter-spacing:.08em}
.fleet-filter-group .seg-filter{margin-bottom:0}
.fleet-popover{position:fixed;z-index:1400;width:min(268px,calc(100vw - 16px));display:grid;gap:9px;padding:12px;border-radius:14px;border:1px solid rgba(148,170,198,.32);background:rgba(11,18,30,.97);box-shadow:0 14px 40px rgba(0,0,0,.45);pointer-events:auto;cursor:default}
.fleet-popover__head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
.fleet-popover__name{font-size:12.5px;line-height:1.35;color:var(--text);min-width:0;overflow-wrap:anywhere}
.fleet-popover__status{font-size:10.5px;font-weight:700;white-space:nowrap;flex:0 0 auto}
.fleet-popover__status.is-on-trip{color:#f5a524}
.fleet-popover__status.is-awaiting-route{color:#2ee6d6}
.fleet-popover__meta{display:flex;justify-content:space-between;gap:8px;font-size:10.5px;color:var(--text-mute);min-width:0}
.fleet-popover__meta span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fleet-popover__fuel{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-top:7px;border-top:1px solid var(--border-hairline);font-size:11px;color:var(--text-dim)}
.fleet-popover__fuel b{font-size:12px;color:var(--text-soft);white-space:nowrap}
.fleet-popover .truck-card__wear{gap:6px;margin:0}
.fleet-popover .wear-row{font-size:10.5px}

.fleet-popover__actions{display:flex;justify-content:flex-end;gap:6px;padding-top:8px;border-top:1px solid var(--border-hairline)}
.fleet-popover__action{height:27px;padding:0 12px;font-size:11.5px}
/* ===== 手机端大厅 & 总览优化（仅窄屏生效） ===== */
@media (max-width: 959px) {
  .col--hall > .col__head {
    display: none;
  }

  .fleet-overview .ov-cards {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .fleet-overview .ov-card {
    min-width: 0;
    overflow: hidden;
  }
  .fleet-overview .ov-card__head {
    min-width: 0;
  }
  .fleet-overview .ov-name {
    flex: 1 1 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .fleet-overview .ov-amount {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 13px;
  }
  .fleet-overview .ov-cargo {
    min-width: 0;
    flex-wrap: wrap;
  }
  .fleet-overview .ov-cargo__route {
    margin-left: 0;
    width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .fleet-overview .ov-card__foot {
    flex-wrap: wrap;
    min-width: 0;
  }
  .fleet-overview .ov-pct {
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .map-panel .panel__head {
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-bottom: 8px;
  }
  .map-panel .panel__title {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .map-panel .panel__head .spacer {
    display: none;
  }
  .map-panel .map-zoom {
    margin-left: auto;
  }
  .map-panel__status {
    order: 3;
    flex: 1 1 100%;
    font-size: 10.5px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hall-mg {
    padding: 10px 12px;
    gap: 8px;
    border-radius: 14px;
  }
  .hall-mg__head {
    gap: 5px;
  }
  .hall-mg__bars {
    grid-template-columns: 1fr 1fr;
    gap: 7px 10px;
  }
  .hall-mg__bar {
    display: grid;
    grid-template-columns: auto minmax(34px, 1fr) auto;
    gap: 5px;
  }
  .hall-mg__k {
    width: auto;
    font-size: 11px;
  }
  .hall-mg__v {
    width: 30px;
    font-size: 11px;
  }
  .hall-mg__actions .btn {
    height: 34px;
  }

  .order-phone {
    padding: 0;
    border-radius: 15px;
    background: var(--surface);
    box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.9);
  }
  .order-phone .phone__notch,
  .order-phone .phone__status {
    display: none;
  }
  .order-phone .phone__screen {
    border: 0;
    border-radius: 15px;
    background: transparent;
  }
  .order-phone__body {
    padding: 12px;
    gap: 8px;
  }
  .order-phone__freight {
    padding: 8px 10px;
  }
  .order-phone__freight-v {
    font-size: 18px;
  }
  .order-phone__foot .btn {
    height: 40px;
  }
}
@media (max-width: 959px) {
  .col--hall .col__head {
    display: none;
  }
}
@media (max-width: 959px) {
  .hall-picker-slot .truck-picker__btn {
    gap: 7px;
    padding: 9px 11px;
  }
  .hall-picker-slot .truck-picker__label {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .hall-picker-slot .truck-picker__meta {
    display: none;
  }
}
@media (max-width: 560px) {
  .order-phone__head-main {
    flex: 1 1 auto;
    min-width: 0;
  }
  .order-phone__shipper {
    max-width: 100%;
    overflow: visible;
    white-space: normal;
    flex-wrap: wrap;
    row-gap: 3px;
    line-height: 1.35;
  }
  .order-phone__shipper > span {
    min-width: 0;
  }
  .order-phone__shipper .order-specialty-badge {
    margin-left: 0;
  }
}
.garage-status-filter{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--text-dim);white-space:nowrap}
.garage-truck-status{height:30px;min-width:118px;width:auto;flex:0 0 auto}
.me-avatar--image {
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid rgba(245, 165, 36, 0.35);
}
.me-avatar__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.me-profile__actions {
  margin-top: 12px;
  gap: 8px;
}
.ov-summary__item--awaiting b{color:var(--text)}
.ov-summary__item--awaiting.has-items b{color:#2ee6d6}
@media (max-width: 959px) {
  .col--hall .map-panel {
    display: none;
  }
}
.fleet-overview .ov-summary__item--awaiting b{color:var(--text)}
.fleet-overview .ov-summary__item--awaiting.has-items b{color:#2ee6d6}
@media (max-width: 959px) {
  .fleet-overview .map-panel {
    margin-top: 8px;
  }
  .fleet-overview .map-legend {
    gap: 9px;
    padding: 7px 2px 2px;
    font-size: 10.5px;
    flex-wrap: wrap;
  }
  .fleet-overview .ov-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    overflow: hidden;
    width: calc(100% - 32px);
    margin: 12px 16px 14px;
    box-sizing: border-box;
    border-radius: 14px;
  }
  .fleet-overview .ov-summary__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 4px;
    font-size: 11px;
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }
  .fleet-overview .ov-summary__item:first-child {
    border-left: 0;
  }
  .fleet-overview .ov-summary__item::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f5a524;
    box-shadow: 0 0 8px rgba(245, 165, 36, 0.5);
    flex: 0 0 auto;
  }
  .fleet-overview .ov-summary__item:nth-child(2)::before {
    background: #3ddc97;
    box-shadow: 0 0 8px rgba(61, 220, 151, 0.45);
  }
  .fleet-overview .ov-summary__item:nth-child(3)::before {
    background: #2ee6d6;
    box-shadow: 0 0 8px rgba(46, 230, 214, 0.5);
  }
  .fleet-overview .ov-summary__item b {
    font-size: 20px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .fleet-overview .ov-summary__item.is-empty b {
    color: var(--text-dim);
  }
  .fleet-overview .ov-summary__item.is-empty::before {
    opacity: 0.35;
    box-shadow: none;
  }
}
.emergency-loan{display:flex;align-items:center;gap:9px;padding:9px 12px;margin-bottom:8px;border:1px solid rgba(245,165,36,.42);border-radius:12px;background:linear-gradient(135deg,rgba(245,165,36,.14),rgba(245,165,36,.05));color:var(--text-soft);font-size:11.5px;line-height:1.4}
.emergency-loan[hidden]{display:none!important}
.emergency-loan__icon{color:var(--amber-text);flex:0 0 auto}
.emergency-loan__text{flex:1 1 auto;min-width:0}
.emergency-loan__text b{color:var(--amber-text);font-weight:700}
.emergency-loan__btn{flex:0 0 auto;height:30px;padding:0 10px;font-size:11.5px}
@media (max-width:560px){
  .emergency-loan{flex-wrap:wrap;gap:6px;padding:9px 10px}
  .emergency-loan__text{flex:1 1 100%;font-size:11px}
  .emergency-loan__btn{width:100%;height:34px}
}
.fleet-overview .ov-card{cursor:pointer;transition:border-color .15s,background .15s,transform .15s}
.fleet-overview .ov-card:hover{border-color:rgba(245,165,36,.45);background:rgba(30,43,62,.72)}
.fleet-overview .ov-card:active{transform:scale(.995)}
.fleet-overview .ov-card:focus-visible{outline:2px solid rgba(245,165,36,.7);outline-offset:2px}
.fleet-popover__load{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding-top:7px;border-top:1px solid var(--border-hairline);font-size:11px;color:var(--text-dim)}
.fleet-popover__load b{font-size:12px;color:var(--text-soft);white-space:nowrap}
.fleet-popover__load b.is-over{color:#ff6b6b}
/* bankruptcy lock */
.bankruptcy-lock{min-height:56vh;display:flex;align-items:center;justify-content:center;padding:24px 0}
.bankruptcy-lock__card{width:min(560px,100%);padding:34px 30px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(180deg,rgba(20,29,42,.96),rgba(14,21,31,.98));box-shadow:0 24px 70px rgba(0,0,0,.3);text-align:center}
.bankruptcy-lock__icon{font-size:40px;line-height:1;margin-bottom:12px;filter:grayscale(.4);opacity:.8}
.bankruptcy-lock__kicker{display:block;font-size:10px;letter-spacing:.18em;color:#c58b2a;font-weight:700;margin-bottom:8px}
.bankruptcy-lock__card h2{margin:0 0 10px;font-size:22px;color:#eef3f8}
.bankruptcy-lock__card p{max-width:420px;margin:0 auto 18px;font-size:12.5px;line-height:1.8;color:#8d9bad}
.bankruptcy-lock__season{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:9px;background:rgba(197,139,42,.12);color:#c9a25c;font-size:12px}
.bankruptcy-lock__season b{font-size:16px;color:#f0b64d}
.bankruptcy-lock__card small{display:block;margin-top:18px;font-size:10.5px;line-height:1.7;color:#738194}
@media(max-width:640px){.bankruptcy-lock__card{padding:26px 18px}.bankruptcy-lock__card h2{font-size:19px}}
/* trip insurance */
.trip-insurance{margin:14px 0 0;padding:12px;border:1px solid rgba(148,170,198,.22);border-radius:12px;background:rgba(255,255,255,.025)}
.trip-insurance .trip-section__head{margin-bottom:9px}
.insurance-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.insurance-option{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:9px 10px;border:1px solid rgba(148,170,198,.28);border-radius:9px;background:rgba(255,255,255,.02);color:var(--text-soft);text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.insurance-option b{font-size:11.5px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.insurance-option small{font-size:9.5px;color:var(--text-dim);line-height:1.35}
.insurance-option:hover{border-color:rgba(245,165,36,.42)}
.insurance-option.is-on{border-color:rgba(245,165,36,.7);background:rgba(245,165,36,.11)}
.insurance-option.is-on b{color:#f5a524}
@media(max-width:560px){.insurance-options{grid-template-columns:1fr}.insurance-option{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.insurance-option small{text-align:right}}
/* driving preferences */
.pref-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid var(--border-hairline)}
.pref-row:last-child{border-bottom:none}
.pref-row__copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.pref-row__label{font-size:12px;color:var(--text-soft);font-weight:600}
.pref-row__hint{font-size:10px;line-height:1.4;color:var(--text-dim)}
.pref-seg{margin:0;flex-wrap:nowrap;gap:4px}
.pref-seg .seg-filter__btn{height:26px;padding:0 9px;font-size:10.5px;white-space:nowrap}
@media(max-width:560px){.pref-row{grid-template-columns:1fr;gap:7px}.pref-seg{width:100%}.pref-seg .seg-filter__btn{flex:1;padding:0 6px}}
.trip-avoid{margin:10px 0 0;padding:12px;border:1px solid rgba(148,170,198,.22);border-radius:12px;background:rgba(255,255,255,.025)}
.trip-avoid .trip-section__head{margin-bottom:9px}
.avoid-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.avoid-option{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:9px 10px;border:1px solid rgba(148,170,198,.28);border-radius:9px;background:rgba(255,255,255,.02);color:var(--text-soft);text-align:left;cursor:pointer;transition:border-color .15s,background .15s}
.avoid-option b{font-size:12px;color:var(--text)}
.avoid-option small{font-size:9.5px;line-height:1.4;color:var(--text-dim)}
.avoid-option:hover{border-color:rgba(245,165,36,.42)}
.avoid-option.is-on{border-color:rgba(245,165,36,.7);background:rgba(245,165,36,.11)}
.avoid-option.is-on b{color:#f5a524}
@media(max-width:560px){.avoid-options{grid-template-columns:1fr}}
/* distinct truck status colors */
.fleet-item__status.is-awaiting-route{color:#fb923c}
.fleet-item__status.is-to_pickup{color:#22d3ee}
.fleet-item__status.is-loading{color:#facc15}
.fleet-item__status.is-to_drop{color:#60a5fa}
.fleet-item__status.is-unloading{color:#c084fc}
.fleet-item__status.is-relocate{color:#2dd4bf}
.fleet-item__status.is-idle{color:#3ecf8e}
.fleet-item__status.is-repairing{color:#ff6b6b}
.fleet-item__status.is-listed{color:#9aa7b8}
.fleet-popover__status.is-awaiting-route{color:#fb923c}
.fleet-popover__status.is-to_pickup{color:#22d3ee}
.fleet-popover__status.is-loading{color:#facc15}
.fleet-popover__status.is-to_drop{color:#60a5fa}
.fleet-popover__status.is-unloading{color:#c084fc}
.fleet-popover__status.is-relocate{color:#2dd4bf}
.fleet-popover__status.is-idle{color:#3ecf8e}
.fleet-popover__status.is-repairing{color:#ff6b6b}
.fleet-popover__status.is-listed{color:#9aa7b8}
.badge--status-awaiting_route{color:#fb923c;border-color:rgba(251,146,60,.45);background:rgba(251,146,60,.12)}
.badge--status-to_pickup{color:#22d3ee;border-color:rgba(34,211,238,.45);background:rgba(34,211,238,.12)}
.badge--status-loading{color:#facc15;border-color:rgba(250,204,21,.45);background:rgba(250,204,21,.12)}
.badge--status-to_drop{color:#60a5fa;border-color:rgba(96,165,250,.45);background:rgba(96,165,250,.12)}
.badge--status-unloading{color:#c084fc;border-color:rgba(192,132,252,.45);background:rgba(192,132,252,.12)}
.badge--status-relocate{color:#2dd4bf;border-color:rgba(45,212,191,.45);background:rgba(45,212,191,.12)}
.badge--status-idle{color:#3ecf8e;border-color:rgba(62,207,142,.45);background:rgba(62,207,142,.12)}
.badge--status-repairing{color:#ff6b6b;border-color:rgba(255,107,107,.45);background:rgba(255,107,107,.12)}
.badge--status-listed{color:#9aa7b8;border-color:rgba(154,167,184,.45);background:rgba(154,167,184,.12)}
.badge--status-on_trip{color:#60a5fa;border-color:rgba(96,165,250,.45);background:rgba(96,165,250,.12)}
.fleet-item__status.is-on_trip{color:#60a5fa}
.fleet-popover__status.is-on_trip{color:#60a5fa}
/* leaderboard avatars + podium mileage */
.rank-avatar{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;border:1px solid rgba(148,170,198,.28);background:linear-gradient(145deg,rgba(245,165,36,.16),rgba(255,255,255,.035));color:#f5c56a;font-weight:800;line-height:1}
.rank-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.rank-avatar--card{width:44px;height:44px;font-size:18px}
.rank-avatar--row{width:30px;height:30px;border-radius:9px;font-size:12px}
.rank-card__identity{display:flex;align-items:center;gap:10px;margin:8px 0 12px;min-width:0}
.rank-card__identity-text{min-width:0}
.rank-card__identity .rank-card__name{margin:0 0 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-card__identity .rank-card__owner{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-card__km{display:flex;justify-content:space-between;gap:8px;margin-top:6px;font-size:11.5px;color:var(--text-mute)}
.rank-card__km strong{font-size:12px;color:var(--text-soft);font-weight:700}
.rank-row__name{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0}
.rank-row__name-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.rank-row__name-text strong,.rank-row__name-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:560px){.rank-avatar--card{width:36px;height:36px;border-radius:10px;font-size:15px}.rank-avatar--row{width:26px;height:26px}.rank-card__identity{gap:8px}}
.relocate-cancel{margin-top:10px}
/* topbar accepted orders */
.topbar__orders{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;margin-left:2px;white-space:nowrap}
.topbar__orders-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:rgba(148,170,198,.18);color:var(--text-soft);font-size:10px;line-height:1;font-weight:800}
.topbar__orders.has-orders .topbar__orders-count{background:rgba(245,165,36,.18);color:#f5b84b;border:1px solid rgba(245,165,36,.35)}
@media(max-width:959px){.topbar__orders{height:30px;padding:0 8px;font-size:11.5px}.topbar__orders-count{min-width:16px;height:16px;font-size:9.5px}}
@media(max-width:560px){.topbar__orders{padding:0 7px;font-size:10.5px}.topbar__orders span{max-width:56px;overflow:hidden;text-overflow:ellipsis}}
/* accepted orders modal */
.accepted-orders{display:grid;gap:8px;max-height:min(62vh,520px);overflow:auto;padding:2px}
.accepted-orders__loading,.accepted-orders__empty{padding:22px 12px;text-align:center;color:var(--text-dim);font-size:12px}
.accepted-orders__empty{display:grid;gap:6px}
.accepted-orders__empty b{font-size:14px;color:var(--text-soft)}
.accepted-orders__list{display:grid;gap:8px}
.accepted-order{display:grid;gap:8px;padding:12px;border:1px solid var(--border-hairline);border-radius:12px;background:rgba(255,255,255,.025)}
.accepted-order__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.accepted-order__title{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.accepted-order__title b{font-size:12.5px;color:var(--text-soft);overflow-wrap:anywhere}
.accepted-order__status{font-size:10px;font-weight:700;padding:2px 7px;border-radius:999px;border:1px solid rgba(148,170,198,.3);color:var(--text-dim)}
.accepted-order__status.is-pending{color:#f5b84b;border-color:rgba(245,165,36,.4);background:rgba(245,165,36,.1)}
.accepted-order__status.is-active{color:#60a5fa;border-color:rgba(96,165,250,.4);background:rgba(96,165,250,.1)}
.accepted-order__freight{font-size:15px;font-weight:800;color:var(--amber-2);white-space:nowrap}
.accepted-order__route{font-size:13px;font-weight:650;color:var(--text)}
.accepted-order__meta{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--text-mute)}
.accepted-order__actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;border-top:1px solid var(--border-hairline);padding-top:9px}
.accepted-order__hint{margin-right:auto;font-size:10.5px;color:var(--text-mute)}
.accepted-order__locked{font-size:10.5px;color:var(--text-mute)}
@media(max-width:560px){.accepted-orders{max-height:65vh}.accepted-order{padding:10px}.accepted-order__freight{font-size:14px}.accepted-order__actions{gap:6px}}
/* accepted orders use the same phone cards as the hall */
.accepted-orders__list{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:12px;align-items:start}
.accepted-orders .order-phone{width:100%;min-width:0}
.accepted-orders__list .order-phone__foot--accepted{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.order-phone__accepted-actions{display:flex;align-items:center;gap:8px;flex:1;min-width:0;flex-wrap:wrap}
.order-phone__accepted-hint{flex:1 1 100%;font-size:10.5px;color:var(--text-mute)}
.order-phone__foot--accepted .btn{height:30px;flex:0 0 auto}
@media(max-width:840px){.accepted-orders__list{grid-template-columns:1fr}}
@media(max-width:560px){.accepted-orders__list .order-phone__foot--accepted{gap:6px}.order-phone__foot--accepted .btn{height:32px;flex:1 1 auto}}
/* planner preference summary */
.planner-pref-hint{margin:2px 0 0;padding:8px 10px;border-radius:9px;border:1px solid rgba(45,212,191,.18);background:rgba(45,212,191,.06);font-size:10.5px;line-height:1.45;color:var(--text-mute);overflow-wrap:anywhere}
.planner-pref-hint.is-manual{border-color:rgba(245,165,36,.22);background:rgba(245,165,36,.06);color:#d9b36c}
@media(max-width:560px){.planner-pref-hint{font-size:10px;padding:7px 9px}}
/* 车辆异常/待选择高亮边框 */
.fleet-item.is-attention-fault{border-color:rgba(255,90,95,.9);background:linear-gradient(90deg,rgba(255,90,95,.10),var(--surface) 42%);box-shadow:0 0 0 1px rgba(255,90,95,.55),0 0 16px rgba(255,90,95,.22)}
.fleet-item.is-attention-choice{border-color:rgba(245,165,36,.95);background:linear-gradient(90deg,rgba(245,165,36,.10),var(--surface) 42%);box-shadow:0 0 0 1px rgba(245,165,36,.55),0 0 16px rgba(245,165,36,.20)}
.fleet-item.is-attention-fault:hover{border-color:#ff6b70;box-shadow:0 0 0 1px rgba(255,90,95,.7),0 0 22px rgba(255,90,95,.28)}
.fleet-item.is-attention-choice:hover{border-color:#f5b84b;box-shadow:0 0 0 1px rgba(245,165,36,.7),0 0 22px rgba(245,165,36,.26)}
.fleet-popover.is-attention-fault{border-color:rgba(255,90,95,.75);box-shadow:0 18px 46px rgba(0,0,0,.55),0 0 0 1px rgba(255,90,95,.35)}
.fleet-popover.is-attention-choice{border-color:rgba(245,165,36,.75);box-shadow:0 18px 46px rgba(0,0,0,.55),0 0 0 1px rgba(245,165,36,.32)}
.truck-card.is-attention-fault{border-color:rgba(255,90,95,.75);box-shadow:0 0 0 1px rgba(255,90,95,.35),0 0 18px rgba(255,90,95,.14)}
.truck-card.is-attention-choice{border-color:rgba(245,165,36,.75);box-shadow:0 0 0 1px rgba(245,165,36,.35),0 0 18px rgba(245,165,36,.12)}
.fleet-item__status.is-attention-fault,.fleet-popover__status.is-attention-fault{color:#ff6b70}
.fleet-item__status.is-attention-choice,.fleet-popover__status.is-attention-choice{color:#f5b84b}
/* 手机端车辆选择器：异常/需处理高亮并排在最上 */
.truck-picker__item.is-attention-fault{border-color:rgba(255,90,95,.9);background:rgba(255,90,95,.09);box-shadow:0 0 0 1px rgba(255,90,95,.35),0 0 12px rgba(255,90,95,.14)}
.truck-picker__item.is-attention-choice{border-color:rgba(245,165,36,.95);background:rgba(245,165,36,.09);box-shadow:0 0 0 1px rgba(245,165,36,.35),0 0 12px rgba(245,165,36,.13)}
.truck-picker__item.is-attention-fault:hover{border-color:#ff6b70;background:rgba(255,90,95,.14)}
.truck-picker__item.is-attention-choice:hover{border-color:#f5b84b;background:rgba(245,165,36,.14)}
.truck-picker__btn.is-attention-fault{border-color:rgba(255,90,95,.85);box-shadow:0 0 0 1px rgba(255,90,95,.28),0 0 14px rgba(255,90,95,.12)}
.truck-picker__btn.is-attention-choice{border-color:rgba(245,165,36,.9);box-shadow:0 0 0 1px rgba(245,165,36,.28),0 0 14px rgba(245,165,36,.12)}
.badge--attention-fault{color:#ff8b8f;border-color:rgba(255,90,95,.55);background:rgba(255,90,95,.14)}
.badge--attention-choice{color:#f5c56a;border-color:rgba(245,165,36,.55);background:rgba(245,165,36,.14)}
