/* ==========================================
   冷链龙 - 冷链产业一条龙服务平台
   Design System & Global Styles（基于物流牛设计系统，改为冷链冷色调）
   ========================================== */

:root {
  /* Brand Colors（冷链冷色调：蓝→青/冰蓝，保留物流牛蓝为品牌关联） */
  --brand-blue: #0EA5E9;
  --brand-blue-dark: #0284C7;
  --brand-blue-light: #E0F2FE;
  --brand-cyan: #06B6D4;
  --brand-cyan-dark: #0891B2;
  --brand-cyan-light: #ECFEFF;
  --brand-ice: #F0F9FF;
  --brand-deep: #0C4A6E;
  --brand-green: #34D399;        /* 生鲜绿，作点缀（新鲜/食材） */
  --brand-green-dark: #059669;
  --brand-green-light: #ECFDF5;
  --accent-yellow: #FBBF24;
  --accent-orange: #F97316;
  --accent-red: #EF4444;

  /* Neutral Colors */
  --text-primary: #0F2A3A;
  --text-secondary: #5B7B8C;
  --text-muted: #94A3B8;
  --bg-white: #FFFFFF;
  --bg-light: #F4FAFD;
  --bg-gray: #EAF4F9;
  --border-color: #D6E8F2;
  --border-light: #EFF6FB;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(14, 165, 233, 0.94) 0%, rgba(6, 182, 212, 0.90) 100%);
  --gradient-dark: linear-gradient(135deg, #0C2A3E 0%, #0C4A6E 100%);
  --gradient-ice: linear-gradient(135deg, #E0F7FE 0%, #F0F9FF 100%);

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;

  /* Spacing */
  --section-py: 80px;
  --container-max: 1280px;
  --container-narrow: 960px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(8, 145, 178, 0.06);
  --shadow: 0 4px 6px -1px rgba(8, 145, 178, 0.10), 0 2px 4px -2px rgba(8, 145, 178, 0.08);
  --shadow-md: 0 10px 15px -3px rgba(8, 145, 178, 0.12), 0 4px 6px -4px rgba(8, 145, 178, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(8, 145, 178, 0.12), 0 8px 10px -6px rgba(8, 145, 178, 0.10);
  --shadow-xl: 0 25px 50px -12px rgba(8, 145, 178, 0.22);
  --shadow-brand: 0 10px 30px -5px rgba(6, 182, 212, 0.4);

  /* Border Radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* Section */
.section {
  padding: var(--section-py) 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--gradient-dark);
  color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brand-green);
  border-radius: 50%;
}

.section-title {
  margin-bottom: 16px;
}

.section-title span {
  color: var(--brand-blue);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--bg-white);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--brand-blue);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
}

.btn-outline {
  background: transparent;
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--bg-white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--brand-blue);
  background: var(--bg-light);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-top {
  background: var(--gradient-brand);
  color: var(--bg-white);
  font-size: 0.875rem;
  padding: 8px 0;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-left,
.header-top-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-top a {
  opacity: 0.9;
}

.header-top a:hover {
  opacity: 1;
  text-decoration: underline;
}

.header-main {
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.25;
}

.logo-slogan {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue);
  background: var(--brand-blue-light);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1100px) {
  .main-nav,
  .header-actions .btn-ghost {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
    border-top: 1px solid var(--border-light);
  }

  .main-nav.open .nav-link {
    width: 100%;
  }

  .header-actions {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .header-top {
    display: none;
  }

  .logo img {
    height: 32px;
  }

  .logo-text {
    display: none;
  }

  /* 顶栏紧凑：避免 logo + 城市钮 + 按钮组超出窄屏被裁切 */
  .header-inner { gap: 10px; }
  .city-switch.only-mobile {
    padding: 2px 8px; font-size: 0.8rem; gap: 4px; margin-right: 2px;
  }
  .city-switch.only-mobile .cs-name { max-width: 3.2em; }
  .header-actions { gap: 8px; }
  .header-actions .btn-sm { padding: 6px 10px; font-size: 0.78rem; }
  .mobile-menu-btn { padding: 6px; }
}

/* 超窄屏（iPhone SE 5/5s 等 320px 老机型）收口 */
@media (max-width: 360px) {
  /* 栅格/弹性子项允许收缩到内容宽度以下，防止 min-content 把轨道撑宽导致横向滚动 */
  .recruit-grid > *,
  .partner-grid > *,
  .veh-toolbar > *,
  .veh-sort > * { min-width: 0; }

  .recruit-title { font-size: 1.45rem; }
  .recruit-sub { font-size: 0.88rem; }
  .partner-item { padding: 10px; font-size: 0.84rem; }
  .veh-sort { flex-wrap: wrap; row-gap: 6px; }
  .veh-toolbar { gap: 8px; }
}

/* 超窄屏（iPhone SE / 小屏安卓 320–400px）进一步压缩 */
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .logo img { height: 28px; }
  .city-switch.only-mobile { padding: 2px 6px; font-size: 0.76rem; }
  .city-switch.only-mobile .cs-name { max-width: 2.4em; }
  .header-actions { gap: 6px; }
  .header-actions .btn-sm { padding: 5px 8px; font-size: 0.74rem; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: overlay;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.9) 0%, rgba(14, 165, 233, 0.7) 50%, rgba(108, 192, 74, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--bg-white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-yellow);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  white-space: nowrap;
  letter-spacing: 2px;
  text-shadow: 0 2px 14px rgba(2, 40, 80, 0.22);
}

.hero-title .highlight {
  color: var(--accent-yellow);
  text-shadow: 0 2px 14px rgba(2, 40, 80, 0.28);
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 32px;
  white-space: nowrap; /* 服务行保持一行（窄屏断点放开） */
}
@media (max-width: 1200px) {
  .hero-desc { font-size: 1.125rem; }
}
@media (max-width: 1100px) {
  .hero-desc { white-space: normal; } /* 单列/窄屏允许换行，避免溢出 */
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  color: var(--accent-yellow);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  color: var(--text-primary);
}

.hero-card-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-card-subtitle {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: var(--transition);
}

.form-control:hover {
  border-color: var(--brand-blue);
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-light);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* 窄屏：两列表单改单列，防止「日期 + 时间」等组合横向溢出（置于基础规则之后以覆盖） */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.4rem;
    white-space: normal;
    letter-spacing: 1px;
  }

  .hero-desc {
    font-size: 1.0625rem;
  }
}

/* Stats Band */
.stats-band {
  background: var(--bg-white);
  padding: 40px 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 48px;
  width: 1px;
  background: var(--border-color);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none;
  }
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Service Cards */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card.green .service-icon {
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
}

.service-card.yellow .service-icon {
  background: #FEF3C7;
  color: #D97706;
}

.service-card.orange .service-icon {
  background: #FFF7ED;
  color: var(--accent-orange);
}

.service-card.red .service-icon {
  background: #FEF2F2;
  color: var(--accent-red);
}

.service-card.purple .service-icon {
  background: #F3E8FF;
  color: #7C3AED;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card-link {
  margin-top: auto;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-link:hover {
  color: var(--brand-blue-dark);
  gap: 10px;
}

/* Grids */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1100px) {
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
}

/* Category Cards */
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--bg-white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  z-index: 0;
}

.category-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.category-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.38) 52%, rgba(15, 23, 42, 0.06) 100%);
}

.category-card-content {
  position: relative;
  z-index: 1;
}

.category-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.category-card-desc {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ============ 管理后台 ============ */
.admin-body { background: #f1f5f9; }
.admin-login {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
}
.admin-login-box {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 32px;
  width: 360px; max-width: 90vw; box-shadow: var(--shadow-lg); text-align: center;
}
.admin-login-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 8px; }
.admin-login-tip { color: var(--text-muted); font-size: 0.875rem; margin: 0 0 18px; }
.admin-login-box .form-control { margin-bottom: 14px; }
.admin-login-err { color: var(--accent-red); font-size: 0.8rem; margin: 8px 0 0; min-height: 16px; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 264px; flex-shrink: 0; background: #0f172a; color: #cbd5e1;
  display: flex; flex-direction: column; padding: 18px 12px;
}
.admin-sidebar-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; margin-bottom: 18px; padding: 0 4px; }
.admin-menu { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; padding-right: 2px; }

/* 分组菜单（按前端导航一比一） */
.admin-menu-group { margin-bottom: 6px; }
.admin-menu-title {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: 0; color: #94a3b8; cursor: pointer;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 8px 10px 6px; text-transform: uppercase;
}
.admin-menu-title:hover { color: #e2e8f0; }
.admin-menu-title .caret { font-style: normal; font-size: 0.7rem; transition: transform .2s ease; }
.admin-menu-group.collapsed .caret { transform: rotate(-90deg); }
.admin-menu-group.collapsed .admin-menu-items { display: none; }
.admin-menu-items { display: flex; flex-direction: column; gap: 2px; }
.admin-menu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 12px 8px 14px; border-radius: var(--radius); color: #cbd5e1;
  text-decoration: none; font-size: 0.88rem; transition: var(--transition);
  border-left: 2px solid transparent;
}
.admin-menu-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-menu-item.active { background: var(--brand-blue); color: #fff; border-left-color: #6CC04A; }
.admin-menu-item.disabled { opacity: 0.45; cursor: not-allowed; }
.menu-badge {
  flex-shrink: 0; min-width: 22px; text-align: center;
  background: rgba(255,255,255,0.12); color: inherit;
  border-radius: 999px; padding: 1px 6px; font-size: 0.68rem; font-weight: 700;
}
.admin-menu-item.active .menu-badge { background: rgba(255,255,255,0.24); }
.admin-soon { font-size: 0.66rem; background: rgba(255,255,255,0.12); padding: 1px 6px; border-radius: 999px; }
.admin-sidebar-foot { display: flex; flex-direction: column; margin-top: 12px; }

.admin-main { flex: 1; padding: 24px 32px; overflow-y: auto; }
.admin-topbar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 22px;
}
.admin-page-title { font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.admin-page-sub { color: var(--text-muted); font-size: 0.875rem; margin: 4px 0 0; }
.admin-topbar-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.admin-preview {
  background: #fff; border-radius: var(--radius-md); padding: 20px;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.admin-preview-head {
  font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px;
}
.admin-preview .category-card { height: 150px; }

/* 货品类别预览：每行 3 张、两行排列 */
.admin-cargo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.admin-cargo-grid .category-card {
  height: 150px;
  aspect-ratio: auto;
  padding: 14px 16px;
}
.admin-cargo-grid .category-card-title { font-size: 1.05rem; margin-bottom: 4px; }
.admin-cargo-grid .category-card-desc { font-size: 0.8rem; line-height: 1.45; }
@media (max-width: 900px) {
  .admin-cargo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .admin-cargo-grid { grid-template-columns: 1fr; }
}

.admin-edit-list { display: flex; flex-direction: column; gap: 16px; }
.cargo-editor {
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow);
  overflow: hidden;
}
.cargo-editor-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--border-color); background: #f8fafc;
}
.cargo-editor-no {
  width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-brand);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.cargo-editor-name { font-weight: 700; color: #0f172a; }
.cargo-editor-del { margin-left: auto; border: 1px solid var(--border-color); background: #fff; color: #ef4444; border-radius: var(--radius); padding: 4px 12px; font-size: 0.8rem; cursor: pointer; }
.cargo-editor-del:hover { background: #fee2e2; }
.cargo-editor-body { display: flex; gap: 20px; padding: 18px; flex-wrap: wrap; }
.cargo-editor-fields { flex: 1; min-width: 280px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.cargo-editor-fields .form-group:nth-child(1),
.cargo-editor-fields .form-group:nth-child(2),
.cargo-editor-fields .form-group:nth-child(3),
.cargo-editor-fields .form-group:nth-child(4) { grid-column: span 2; }
.admin-color { width: 100%; height: 38px; border: 1px solid var(--border-color); border-radius: var(--radius); padding: 2px; background: #fff; cursor: pointer; }
.admin-file { width: 100%; font-size: 0.85rem; }
.cargo-editor-thumb { width: 200px; height: 130px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-color); background: #f1f5f9; }
.cargo-editor-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cargo-editor-thumb-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-muted); font-size: 0.8rem; line-height: 1.5; }

.admin-hint { color: var(--text-muted); font-size: 0.82rem; margin: 18px 0 0; line-height: 1.7; }
.admin-toast {
  position: fixed; left: 50%; top: 28px;
  transform: translateX(-50%) translateY(-20px);
  background: #0f172a; color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 0.9rem; opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 99999;
  box-shadow: var(--shadow-lg);
}
.admin-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   后台新版式：统计条 / 数据概览 / 数据表格 / 弹窗 / 系统设置
   ============================================================ */
.admin-search {
  height: 38px; min-width: 200px; border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 0 12px; font-size: 0.86rem; background: #fff; color: #0f172a;
}
.admin-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.stat-item {
  background: #fff; border-radius: var(--radius); padding: 10px 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px; min-width: 92px;
}
.stat-item span { font-size: 0.75rem; color: var(--text-muted); }
.stat-item b { font-size: 1.15rem; color: #0f172a; }
.st-ok { color: #16A34A !important; }
.st-bad { color: #DC2626 !important; }
.st-mid { color: #D97706 !important; }
.st-wait { color: #0284C7 !important; }

/* 数据概览 */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; margin-bottom: 22px; }
.dash-card {
  background: #fff; border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow);
  cursor: pointer; border-top: 3px solid var(--brand-blue); transition: var(--transition);
}
.dash-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dash-card.green { border-top-color: #6CC04A; }
.dash-card.orange { border-top-color: #F59E0B; }
.dash-card.purple { border-top-color: #8B5CF6; }
.dash-card-k { font-size: 0.8rem; color: var(--text-muted); }
.dash-card-v { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin: 4px 0 2px; line-height: 1.2; }
.dash-card-v small { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-left: 2px; }
.dash-card-sub { font-size: 0.76rem; color: var(--text-muted); }
.dash-quick { background: #fff; border-radius: var(--radius-md); padding: 18px 20px; box-shadow: var(--shadow); }
.dash-quick-title { font-size: 0.95rem; font-weight: 800; color: #0f172a; margin: 0 0 14px; }
.dash-group { margin-bottom: 14px; }
.dash-group h4 { font-size: 0.8rem; font-weight: 700; color: var(--brand-blue); margin: 0 0 8px; }
.dash-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-link {
  border: 1px solid var(--border-color); background: #f8fafc; border-radius: 999px;
  padding: 6px 14px; font-size: 0.82rem; color: #334155; cursor: pointer;
  display: flex; align-items: center; gap: 6px; transition: var(--transition);
}
.dash-link:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: #E0F2FE; }
.dash-link b { background: var(--gradient-brand); color: #fff; border-radius: 999px; padding: 0 7px; font-size: 0.7rem; }

/* 数据表格 */
.adm-toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff;
  border-radius: var(--radius-md); padding: 12px 16px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.adm-kw, .adm-status {
  height: 36px; border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 0 12px; font-size: 0.86rem; background: #fff; color: #0f172a;
}
.adm-kw { min-width: 220px; }
.adm-count { margin-left: auto; font-size: 0.82rem; color: var(--text-muted); }
.adm-count b { color: #0f172a; }
.adm-table-wrap { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow); overflow: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; min-width: 900px; }
.adm-table th {
  background: #f8fafc; text-align: left; padding: 11px 12px; font-weight: 700; color: #475569;
  border-bottom: 1px solid var(--border-color); white-space: nowrap; position: sticky; top: 0; z-index: 2;
}
.adm-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; color: #334155; vertical-align: middle; }
.adm-table tbody tr:hover { background: #F0F9FF; }
.td-idx { color: var(--text-muted); }
.td-mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.78rem; }
.td-empty { text-align: center; padding: 32px; color: var(--text-muted); }
.td-ops { white-space: nowrap; }
.demo-tag {
  font-style: normal; font-size: 0.62rem; background: #EEF2FF; color: #6366F1;
  border-radius: 4px; padding: 1px 4px; margin-left: 3px;
}
.op {
  border: 1px solid var(--border-color); background: #fff; border-radius: var(--radius);
  padding: 3px 9px; font-size: 0.76rem; cursor: pointer; margin-right: 4px; color: #475569;
  transition: var(--transition);
}
.op:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.op-del:hover { border-color: #EF4444; color: #EF4444; background: #FEF2F2; }
.op-ok:hover { border-color: #16A34A; color: #16A34A; background: #F0FDF4; }
.st-badge {
  display: inline-block; border-radius: 999px; padding: 2px 9px;
  font-size: 0.74rem; font-weight: 700; background: #F1F5F9; color: #475569;
}
.st-badge.ok { background: #DCFCE7; color: #15803D; }
.st-badge.wait { background: #E0F2FE; color: #0369A1; }
.st-badge.mid { background: #FEF3C7; color: #B45309; }
.st-badge.bad { background: #FEE2E2; color: #B91C1C; }
.adm-pager { display: flex; gap: 6px; justify-content: center; padding: 14px; flex-wrap: wrap; }
.pg {
  border: 1px solid var(--border-color); background: #fff; border-radius: var(--radius);
  min-width: 32px; height: 32px; font-size: 0.82rem; cursor: pointer; color: #475569;
}
.pg.on { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; font-weight: 700; }
.pg:disabled { opacity: 0.4; cursor: not-allowed; }

/* 弹窗表单 / 详情 */
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; max-height: 56vh; overflow-y: auto; padding-right: 4px; }
.admin-form-grid .span2 { grid-column: span 2; }
.admin-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.admin-detail { max-height: 60vh; overflow-y: auto; }
.dt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.dt-row { display: flex; flex-direction: column; gap: 3px; padding: 8px 12px; background: #f8fafc; border-radius: var(--radius); }
.dt-row span { font-size: 0.74rem; color: var(--text-muted); }
.dt-row b { font-size: 0.9rem; color: #0f172a; word-break: break-all; font-weight: 600; }
.dt-json { margin-top: 14px; }
.dt-json h5 { font-size: 0.82rem; font-weight: 700; color: #475569; margin: 0 0 6px; }
.dt-json pre {
  background: #0f172a; color: #E2E8F0; border-radius: var(--radius); padding: 12px;
  font-size: 0.74rem; overflow: auto; max-height: 200px; margin: 0; white-space: pre-wrap;
}

/* 系统设置 */
.sys-box { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 16px; }
.sys-box h4 { font-size: 1rem; font-weight: 800; color: #0f172a; margin: 0 0 8px; }
.sys-desc { font-size: 0.84rem; color: var(--text-muted); margin: 0 0 12px; line-height: 1.7; }
.sys-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sys-keys { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.sys-key { display: flex; align-items: center; gap: 10px; background: #f8fafc; border-radius: var(--radius); padding: 10px 14px; font-size: 0.82rem; }
.sys-key span { font-weight: 600; color: #0f172a; }
.sys-key code { flex: 1; font-size: 0.72rem; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sys-key b { color: var(--brand-blue); }

/* 编辑器条目工具条 */
.cargo-editor-tools { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.ce-btn {
  border: 1px solid var(--border-color); background: #fff; color: #475569;
  border-radius: var(--radius); padding: 4px 10px; font-size: 0.78rem; cursor: pointer;
  transition: var(--transition);
}
.ce-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.cargo-editor-head .cargo-editor-del { margin-left: 0; }

@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .cargo-editor-fields { grid-template-columns: 1fr; }
  .cargo-editor-fields .form-group { grid-column: span 1 !important; }
  .cargo-editor-thumb { width: 100%; height: 160px; }
  .admin-main { padding: 16px 14px; }
  .admin-form-grid, .dt-grid { grid-template-columns: 1fr; }
  .admin-form-grid .span2 { grid-column: span 1; }
  .admin-search { min-width: 120px; }
  .dash-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* Inquiry / List Items */
.inquiry-list {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.inquiry-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 0.8fr 0.6fr;
  gap: 16px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.inquiry-item:hover {
  background: var(--bg-light);
}

.inquiry-route {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.inquiry-route .arrow {
  color: var(--brand-blue);
}

.inquiry-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.inquiry-tag.cold {
  background: var(--brand-green-light);
  color: var(--brand-green-dark);
}

.inquiry-tag.danger {
  background: #FEF2F2;
  color: var(--accent-red);
}

.inquiry-price {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 1.0625rem;
}

@media (max-width: 900px) {
  .inquiry-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.tab-btn.active {
  color: var(--bg-white);
  background: var(--gradient-brand);
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tools Section */
.tool-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tool-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-light);
}

.tool-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon svg {
  width: 28px;
  height: 28px;
}

.tool-content {
  flex: 1;
}

.tool-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tool-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.tool-link {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.875rem;
}

.tool-link:hover {
  color: var(--brand-blue-dark);
}

/* Guarantee / Membership */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.guarantee-card {
  text-align: center;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.guarantee-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.guarantee-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
}

.guarantee-icon svg {
  width: 36px;
  height: 36px;
}

.guarantee-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.guarantee-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
}

/* Cases */
.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-image {
  height: 200px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

.case-body {
  padding: 24px;
}

.case-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-item {
  aspect-ratio: 16/9;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.partner-item:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: var(--bg-white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-title {
  color: var(--bg-white);
  -webkit-text-fill-color: var(--bg-white);
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--brand-green);
}

.footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-qr-item {
  text-align: center;
}

.footer-qr-item img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  background: var(--bg-white);
  padding: 6px;
  margin-bottom: 8px;
}

.footer-qr-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--bg-white);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Page Banner */
.page-banner {
  position: relative;
  padding: 140px 0 80px;
  background: var(--gradient-brand);
  color: var(--bg-white);
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.08)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-banner-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-banner-desc {
  font-size: 1.125rem;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

.breadcrumb a {
  opacity: 0.85;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumb-separator {
  opacity: 0.6;
}

/* Page Content */
.page-content {
  padding: 64px 0;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.filter-group {
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* Route Cards */
.route-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.route-card:hover {
  box-shadow: var(--shadow-md);
}

.route-header {
  padding: 20px 24px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.route-name {
  font-size: 1.125rem;
  font-weight: 700;
}

.route-tag {
  padding: 4px 10px;
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.route-body {
  padding: 24px;
}

.route-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.route-info-item {
  font-size: 0.9375rem;
}

.route-info-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 2px;
}

.route-info-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.route-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.route-price span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Tracking */
.tracking-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}

.tracking-form {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.tracking-form .form-control {
  flex: 1;
  padding: 16px 20px;
  font-size: 1.125rem;
}

.tracking-result {
  display: none;
}

.tracking-result.show {
  display: block;
}

.tracking-timeline {
  position: relative;
  padding-left: 32px;
}

.tracking-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.tracking-step {
  position: relative;
  padding-bottom: 28px;
}

.tracking-step:last-child {
  padding-bottom: 0;
}

.tracking-step::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--border-color);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--border-color);
}

.tracking-step.active::before {
  background: var(--brand-green);
  box-shadow: 0 0 0 2px var(--brand-green);
}

.tracking-step.current::before {
  background: var(--brand-blue);
  box-shadow: 0 0 0 2px var(--brand-blue);
  animation: pulse 2s infinite;
}

.tracking-step-time {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tracking-step-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.tracking-step-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .tracking-form {
    flex-direction: column;
  }
}

/* News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
}

.news-image {
  height: 100%;
  min-height: 160px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-weight: 700;
  padding: 20px;
  text-align: center;
}

.news-body {
  padding: 24px;
}

.news-meta {
  display: flex;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.news-excerpt {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.news-readmore {
  margin-top: 10px;
  padding: 7px 16px;
  border: 1px solid var(--brand-blue);
  background: transparent;
  color: var(--brand-blue);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.news-readmore:hover {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.25);
}

.news-full {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border, #e5e7eb);
}
.news-full p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.85;
  margin: 0 0 12px;
  text-align: justify;
}
.news-full p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-image {
    min-height: 140px;
  }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h3 {
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  gap: 14px;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.value-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 500px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.data-table th {
  background: var(--bg-light);
  font-weight: 700;
  font-size: 0.9375rem;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg-light);
}

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.hidden { display: none; }

/* Animations */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 顶部检索条 */
.driver-search {
  background: var(--gradient-hero);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.driver-search::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.18) 0, transparent 38%),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,0.14) 0, transparent 40%);
  pointer-events: none;
}
.driver-search-inner { position: relative; z-index: 1; }
.driver-search-title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}
.driver-search-sub {
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.driver-search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  display: flex;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}
.driver-search-box .form-control {
  flex: 1;
  border: none;
  background: var(--bg-light);
  height: 52px;
  font-size: 1rem;
}
.driver-search-box .form-control:focus {
  box-shadow: none;
  background: var(--bg-gray);
}
.driver-search-box .btn { height: 52px; padding: 0 28px; }

/* 布局：侧栏筛选 + 结果 */
.driver-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

/* 筛选侧栏 */
.driver-filters {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 96px;
}
.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
}
.filter-head h3 { font-size: 1.05rem; font-weight: 700; }
.filter-reset {
  font-size: 0.8rem;
  color: var(--brand-blue);
  background: none;
  border: none;
  cursor: pointer;
}
.filter-reset:hover { text-decoration: underline; }
.filter-block {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
}
.filter-block:last-child { border-bottom: none; }
.filter-block-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-block-title::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 2px;
  background: var(--gradient-brand);
}
.filter-options { display: flex; flex-direction: column; gap: 10px; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}
.filter-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.filter-check input:hover { border-color: var(--brand-blue); }
.filter-check input:checked { background: var(--brand-blue); border-color: var(--brand-blue); }
.filter-check input:checked::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -2px;
}
.filter-check .count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-gray);
  border-radius: var(--radius-full);
  padding: 1px 8px;
}

/* 结果区 */
.driver-main { min-width: 0; }
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-size: 0.9rem; color: var(--text-secondary); }
.results-count strong { color: var(--brand-blue); font-size: 1.1rem; }
.results-tools { display: flex; align-items: center; gap: 10px; }
.results-tools label { font-size: 0.85rem; color: var(--text-secondary); }
.results-tools select {
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0 12px;
  font-size: 0.85rem;
  background: #fff;
  color: var(--text-primary);
  cursor: pointer;
}

/* 司机卡片（招聘式横向简历卡） */
.driver-list { display: flex; flex-direction: column; gap: 16px; }
.driver-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 20px;
  align-items: center;
  transition: var(--transition);
}
.driver-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(14,165,233,0.4);
  transform: translateY(-2px);
}
.driver-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.driver-info { min-width: 0; }
.driver-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.driver-name { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
.driver-rating { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; }
.driver-rating .stars { color: var(--accent-yellow); letter-spacing: 1px; }
.driver-rating .score { color: var(--brand-orange); font-weight: 700; }
.driver-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 10px;
}
.driver-meta { font-size: 0.85rem; color: var(--text-secondary); }
.driver-meta b { color: var(--text-primary); font-weight: 600; }
.driver-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.driver-tags .tag {
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
}
.driver-tags .tag.green { background: var(--brand-green-light); color: var(--brand-green-dark); }
.driver-tags .tag.cold { background: #E0F2FE; color: #0284C7; }
.driver-tags .tag.gold { background: #FEF3C7; color: #B45309; }
.driver-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.driver-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 120px;
}
.driver-status {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}
.driver-status.free { background: #DCFCE7; color: #16A34A; }
.driver-status.busy { background: #FFEDD5; color: #EA580C; }

/* 空状态 */
.driver-empty {
  background: #fff;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}
.driver-empty svg { width: 56px; height: 56px; color: var(--text-muted); margin-bottom: 16px; }
.driver-empty h3 { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 8px; }

/* 司机入驻 */
.recruit {
  background: linear-gradient(135deg, #0F172A 0%, #134E4A 100%);
  position: relative;
  overflow: hidden;
}
.recruit::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,192,74,0.25) 0, transparent 70%);
}
.recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.recruit-title { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; }
.recruit-sub { color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 24px; }
.recruit-benefits { display: flex; flex-direction: column; gap: 14px; }
.recruit-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.recruit-benefit .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-green);
  flex-shrink: 0;
}
.recruit-benefit .ico svg { width: 22px; height: 22px; }
.recruit-benefit .txt b { display: block; font-size: 0.98rem; }
.recruit-benefit .txt span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.recruit-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
}
.recruit-form h3 { font-size: 1.15rem; margin-bottom: 4px; }
.recruit-form .form-hint { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.recruit-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--brand-green-dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 2000;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 响应式 */
@media (max-width: 992px) {
  .driver-layout { grid-template-columns: 1fr; }
  .driver-filters { position: static; }
  .recruit-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .driver-card { grid-template-columns: 56px 1fr; }
  .driver-avatar { width: 56px; height: 56px; font-size: 1.4rem; }
  .driver-action { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .recruit-form .form-row { grid-template-columns: 1fr; }
  .driver-search-box { flex-direction: column; }
  .driver-search-box .btn { width: 100%; }
}

/* ==========================================
   APP 下载页（货主端 / 司机端 / 下载中心）
   ========================================== */

/* 下载 Hero */
.dl-hero {
  background: var(--gradient-hero);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.dl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(255,255,255,0.16) 0, transparent 36%),
    radial-gradient(circle at 90% 90%, rgba(255,255,255,0.12) 0, transparent 40%);
  pointer-events: none;
}
.dl-hero-inner { position: relative; z-index: 1; }
.dl-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
.dl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.dl-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.dl-hero-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.dl-hero-title span { color: #FEF08A; }
.dl-hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}
.dl-hero-feats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.dl-hero-feat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
}
.dl-hero-feat svg { width: 16px; height: 16px; }

/* 下载引导卡 */
.dl-download-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  text-align: center;
}
.dl-download-box h3 { font-size: 1.05rem; margin-bottom: 6px; }
.dl-download-box .dl-hint { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.dl-qr {
  width: 160px; height: 160px;
  margin: 0 auto 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}
.dl-qr img { width: 100%; height: 100%; object-fit: cover; }
.dl-store-btns { display: flex; flex-direction: column; gap: 10px; }
.dl-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.dl-store-btn svg { width: 22px; height: 22px; }
.dl-store-btn.apple { background: #0F172A; color: #fff; }
.dl-store-btn.apple:hover { background: #000; }
.dl-store-btn.android { background: var(--gradient-brand); color: #fff; }
.dl-store-btn.android:hover { opacity: 0.92; }

/* 手机样机 */
.dl-phone {
  width: 300px;
  height: 600px;
  background: #0F172A;
  border-radius: 42px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
  margin: 0 auto;
}
.dl-phone::before {
  content: "";
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 22px;
  background: #0F172A;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.dl-phone-screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
}
.dl-phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* 卖点区 */
.dl-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dl-point {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.dl-point:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.dl-point-ico {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
}
.dl-point-ico svg { width: 30px; height: 30px; }
.dl-point:nth-child(even) .dl-point-ico { background: var(--brand-green-light); color: var(--brand-green); }
.dl-point h3 { font-size: 1.15rem; margin-bottom: 8px; }
.dl-point p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* 使用步骤 */
.dl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.dl-step { text-align: center; position: relative; }
.dl-step-num {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-brand);
}
.dl-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.dl-step p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; }

/* 用户说 / 案例 */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.testi-quote { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 18px; position: relative; padding-left: 22px; }
.testi-quote::before { content: "\201C"; position: absolute; left: 0; top: -6px; font-size: 2.2rem; color: var(--brand-blue); font-family: serif; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.testi-name { font-size: 0.92rem; font-weight: 700; }
.testi-role { font-size: 0.78rem; color: var(--text-muted); }

/* 下载中心枢纽 */
.dl-hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dl-hub-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 28px;
  align-items: center;
  transition: var(--transition);
}
.dl-hub-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dl-hub-card.shipper { border-top: 4px solid var(--brand-blue); }
.dl-hub-card.driver { border-top: 4px solid var(--brand-green); }
.dl-hub-ico {
  width: 96px; height: 96px;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dl-hub-card.shipper .dl-hub-ico { background: var(--brand-blue-light); color: var(--brand-blue); }
.dl-hub-card.driver .dl-hub-ico { background: var(--brand-green-light); color: var(--brand-green); }
.dl-hub-ico svg { width: 48px; height: 48px; }
.dl-hub-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.dl-hub-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; }

/* 底部下载 CTA */
.dl-cta {
  background: var(--gradient-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dl-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(14,165,233,0.25) 0, transparent 60%);
}
.dl-cta-inner { position: relative; z-index: 1; }
.dl-cta h2 { color: #fff; font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.dl-cta p { color: rgba(255,255,255,0.75); margin-bottom: 26px; }
.dl-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 992px) {
  .dl-hero-grid { grid-template-columns: 1fr; }
  .dl-phone { display: none; }
  .dl-points { grid-template-columns: repeat(2, 1fr); }
  .dl-steps { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .dl-hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dl-hero-title { font-size: 1.9rem; }
  .dl-points { grid-template-columns: 1fr; }
  .dl-steps { grid-template-columns: 1fr; }
  .dl-hub-card { flex-direction: column; text-align: center; }
}

/* ==========================================
   微信公众号 · 优先关注（微信绿 #07C160）
   ========================================== */
.dl-official-sec { background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 100%); }
.dl-official-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 44px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.dl-official-card::before {
  content: "";
  position: absolute;
  top: -90px; right: -90px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(7, 193, 96, 0.08);
}
.dl-official-qr { text-align: center; position: relative; z-index: 1; }
.dl-official-qr .dl-qr { width: 190px; height: 190px; border: 2px solid #07C160; }
.dl-qr-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; }
.dl-official-body { position: relative; z-index: 1; }
.dl-official-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #07C160;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.dl-official-badge svg { width: 14px; height: 14px; }
.dl-official-body h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.dl-official-body > p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; max-width: 560px; }
.dl-official-list { list-style: none; display: grid; gap: 10px; }
.dl-official-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--text-secondary); }
.dl-official-list li svg { width: 18px; height: 18px; color: #07C160; flex-shrink: 0; }
@media (max-width: 992px) {
  .dl-official-card { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; gap: 24px; }
  .dl-official-body > p { margin-left: auto; margin-right: auto; }
  .dl-official-list { justify-items: center; }
}

/* ==========================================
   买车租车 · 车辆商城（参考 360che 列表页，简化检索）
   ========================================== */

/* 交易类型切换（买车 / 租车） */
.veh-deal-tabs { display: flex; gap: 14px; margin-bottom: 22px; }
.veh-deal-btn {
  flex: 1; max-width: 300px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1.02rem; font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.veh-deal-btn svg { width: 22px; height: 22px; }
.veh-deal-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.veh-deal-btn.active { background: var(--gradient-brand); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }

/* 工具条：搜索 + 排序 */
.veh-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.veh-search { flex: 1; min-width: 240px; display: flex; gap: 10px; }
.veh-search .form-control { flex: 1; }
.veh-sort { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--text-muted); }
.veh-sort select { padding: 8px 12px; border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 0.86rem; background: #fff; color: var(--text-primary); }

/* 布局：左侧筛选 + 右侧列表 */
.veh-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.veh-sidebar {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}
.veh-filter-block { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--border-color); }
.veh-filter-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.veh-filter-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 10px; }
.veh-options { display: flex; flex-wrap: wrap; gap: 8px; }
.veh-opt {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.82rem; color: var(--text-secondary);
  padding: 5px 11px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer; user-select: none;
  transition: var(--transition);
}
.veh-opt:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.veh-opt input { accent-color: var(--brand-blue); margin: 0; width: 13px; height: 13px; }
.veh-opt:has(input:checked) { background: var(--brand-blue-light); border-color: var(--brand-blue); color: var(--brand-blue); font-weight: 600; }
.veh-sidebar.deal-rent .price-buy { display: none; }
.veh-sidebar.deal-buy .price-rent { display: none; }

/* 车辆卡片 */
.veh-list { display: grid; gap: 16px; }
.veh-card {
  display: grid; grid-template-columns: 200px 1fr 170px; gap: 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.veh-card:hover { box-shadow: var(--shadow-md); border-color: var(--brand-blue); }
.veh-img { position: relative; width: 200px; height: 140px; border-radius: var(--radius); overflow: hidden; background: #F1F5F9; }
.veh-img img { width: 100%; height: 100%; object-fit: cover; }
.veh-badge { position: absolute; top: 8px; left: 8px; background: var(--gradient-brand); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: var(--radius-full); }
.veh-badge.cold { background: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%); }
.veh-badge.green { background: var(--gradient-green, linear-gradient(135deg, #6CC04A 0%, #4A9D2A 100%)); }
.veh-name { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.veh-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.veh-spec { font-size: 0.76rem; color: var(--text-secondary); background: #F1F5F9; padding: 3px 10px; border-radius: var(--radius-full); }
.veh-spec b { color: var(--text-primary); font-weight: 600; }
.veh-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.veh-desc { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; }
.veh-action { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 10px; border-left: 1px dashed var(--border-color); padding-left: 20px; }
.veh-price { font-size: 1.45rem; font-weight: 800; color: #EF4444; line-height: 1; }
.veh-price small { font-size: 0.76rem; color: var(--text-muted); font-weight: 400; margin-left: 2px; }
.veh-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.veh-empty svg { width: 56px; height: 56px; margin-bottom: 12px; opacity: 0.5; }
.veh-empty p { font-size: 0.92rem; }

@media (max-width: 992px) {
  .veh-layout { grid-template-columns: 1fr; }
  .veh-sidebar { position: static; }
  .veh-card { grid-template-columns: 1fr; }
  .veh-img { width: 100%; height: 190px; }
  .veh-action { border-left: none; padding-left: 0; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

/* 客户信息登记弹窗（询底价 / 预约看车） */
.veh-modal-mask {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.veh-modal-mask.hidden { display: none; }
.veh-modal-box {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 460px;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 90vh; overflow-y: auto;
  animation: vehModalIn 0.25s ease;
}
@keyframes vehModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.veh-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: none; background: #F1F5F9; border-radius: 50%;
  font-size: 1.05rem; line-height: 1; color: var(--text-muted);
  cursor: pointer; transition: var(--transition);
}
.veh-modal-close:hover { background: #E2E8F0; color: var(--text-primary); }
.veh-modal-box h3 { font-size: 1.25rem; margin-bottom: 6px; }
.veh-modal-sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.veh-modal-veh {
  background: var(--brand-blue-light);
  border-left: 3px solid var(--brand-blue);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 700; color: var(--brand-blue);
  margin-bottom: 18px;
}
.veh-modal-veh small { display: block; font-weight: 400; color: var(--text-muted); margin-top: 3px; font-size: 0.78rem; }
.veh-modal-box .form-group { margin-bottom: 14px; }
.veh-modal-box .form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.veh-lead-count { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }
@media (max-width: 640px) {
  .veh-modal-box { padding: 24px 20px; }
}

/* ==========================================
   在线客服聊天模块（AI 客服 + 官方热线）
   ========================================== */
.chat-mask {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 10001; padding: 20px;
}
.chat-mask.hidden { display: none; }
.chat-box {
  background: #fff;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 420px;
  height: 600px; max-height: 92vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: vehModalIn 0.25s ease;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--gradient-brand);
  color: #fff;
}
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; flex-shrink: 0;
}
.chat-head-info { flex: 1; min-width: 0; }
.chat-title { font-size: 1.02rem; font-weight: 700; }
.chat-sub { font-size: 0.76rem; opacity: 0.92; }
.chat-close {
  width: 32px; height: 32px; border: none; background: rgba(255, 255, 255, 0.2);
  color: #fff; border-radius: 50%; font-size: 1.25rem; line-height: 1; cursor: pointer;
  transition: var(--transition);
}
.chat-close:hover { background: rgba(255, 255, 255, 0.35); }

.chat-body {
  flex: 1; overflow-y: auto;
  padding: 18px 16px;
  background: var(--bg-light);
  display: flex; flex-direction: column; gap: 14px;
}
.chat-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-avatar-mini {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
}
.chat-avatar-mini.ai { background: var(--gradient-brand); }
.chat-avatar-mini.driver { background: linear-gradient(135deg, #6CC04A 0%, #4A9D2A 100%); }
.chat-bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 0.86rem; line-height: 1.55;
  position: relative;
  word-break: break-word;
  white-space: pre-wrap;
}
.chat-msg.ai .chat-bubble, .chat-msg.driver .chat-bubble {
  background: #fff; color: var(--text-primary);
  border-top-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.chat-msg.user .chat-bubble {
  background: var(--brand-blue); color: #fff;
  border-top-right-radius: 4px;
}
.chat-time { display: block; font-size: 0.66rem; opacity: 0.55; margin-top: 4px; }
.chat-msg.user .chat-time { text-align: right; }

.chat-dots { display: inline-flex; gap: 4px; padding: 2px 0; }
.chat-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: chatBlink 1.2s infinite; }
.chat-dots i:nth-child(2) { animation-delay: 0.2s; }
.chat-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBlink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 4px; background: #fff; border-top: 1px solid var(--border-color); }
.chat-quick-btn {
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--brand-blue-dark);
  font-size: 0.76rem; padding: 6px 12px; border-radius: var(--radius-full);
  cursor: pointer; transition: var(--transition);
}
.chat-quick-btn:hover { background: var(--brand-blue-light); border-color: var(--brand-blue); }

.chat-input-row { display: flex; gap: 8px; padding: 10px 16px 14px; background: #fff; }
.chat-input {
  flex: 1; border: 1px solid var(--border-color); border-radius: var(--radius-full);
  padding: 10px 14px; font-size: 0.86rem; outline: none; transition: var(--transition);
}
.chat-input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px var(--brand-blue-light); }
.chat-send {
  border: none; background: var(--gradient-brand); color: #fff;
  font-weight: 700; font-size: 0.86rem; padding: 0 18px; border-radius: var(--radius-full);
  cursor: pointer; transition: var(--transition);
}
.chat-send:hover { filter: brightness(1.05); }

.chat-hotline {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 10px 16px;
  background: #FFF7ED;
  border-top: 1px solid #FED7AA;
  font-size: 0.8rem; color: #9A3412;
}
.chat-hotline-ico { color: var(--accent-orange); font-weight: 800; }
.chat-hotline-num { color: #EA580C; font-weight: 800; text-decoration: none; font-size: 0.92rem; }
.chat-hotline-num:hover { text-decoration: underline; }
.chat-hotline-we { margin-left: auto; color: #B45309; font-size: 0.76rem; }

@media (max-width: 640px) {
  .chat-box { height: 92vh; max-height: 92vh; }
}

/* ==========================================
   资讯中心 · 实时聚合条 / 文章操作（点赞·收藏·转发）
   ========================================== */
.news-aggregate {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(108, 192, 74, 0.08));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px; margin-bottom: 24px; flex-wrap: wrap;
}
.na-left { display: flex; align-items: center; gap: 12px; }
.na-pulse {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-green); position: relative; flex-shrink: 0;
}
.na-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--brand-green); animation: naPulse 1.8s ease-out infinite;
}
@keyframes naPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(3); opacity: 0; } }
.na-text strong { display: block; font-size: 0.98rem; color: var(--text-primary); }
.na-desc { font-size: 0.78rem; color: var(--text-secondary); }
.na-right { display: flex; align-items: center; gap: 14px; }
.na-count { font-size: 0.84rem; color: var(--text-secondary); white-space: nowrap; }
.na-count b { color: var(--brand-blue); font-size: 1.05rem; }

/* 文章操作区 */
.news-actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border-color);
}
.news-act {
  display: inline-flex; align-items: center; gap: 6px;
  border: none; background: none; cursor: pointer;
  color: var(--text-secondary); font-size: 0.84rem; padding: 0; transition: var(--transition);
}
.news-act svg { width: 18px; height: 18px; }
.news-act:hover { color: var(--brand-blue); }
.news-act.act-like.active { color: var(--accent-red); }
.news-act.act-save.active { color: var(--brand-green); }
.news-act .act-cnt { font-variant-numeric: tabular-nums; }
.news-source { margin-left: auto; font-size: 0.76rem; color: var(--text-muted); }

.news-fresh {
  display: inline-block; background: #ECFDF5; color: var(--brand-green-dark);
  border: 1px solid #BBF7D0; font-size: 0.7rem; font-weight: 700;
  padding: 2px 8px; border-radius: var(--radius-full); margin-left: 4px;
}
.news-empty {
  text-align: center; padding: 50px 20px; color: var(--text-muted);
  background: #fff; border-radius: var(--radius-md); border: 1px dashed var(--border-color);
}

@media (max-width: 700px) {
  .news-aggregate { flex-direction: column; align-items: flex-start; }
  .na-right { width: 100%; justify-content: space-between; }
  .news-actions { gap: 12px; }
  .news-source { margin-left: 0; width: 100%; }
}

/* ==========================================
   合伙人计划 partner.html
   ========================================== */
.section-desc {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* 收益高亮卡 */
.partner-benefit {
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.partner-benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue);
}
.partner-benefit-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 68px; height: 42px; padding: 0 18px;
  border-radius: var(--radius-full); background: var(--gradient-brand);
  color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: 3px;
  margin: 0 auto 16px;
}

/* 加入流程步骤 */
.partner-steps {
  display: flex; gap: 20px; align-items: stretch;
}
.partner-step {
  flex: 1; text-align: center; position: relative;
  background: #fff; border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 26px 18px;
}
.partner-step:not(:last-child)::after {
  content: ''; position: absolute; top: 52px; right: -14px; width: 14px;
  border-top: 2px dashed var(--brand-blue); opacity: .5;
}
.partner-step-num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--gradient-brand); color: #fff; font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(14,165,233,.28);
}
.partner-step h4 { font-size: 1.02rem; color: var(--text-primary); margin-bottom: 8px; }
.partner-step p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; }

/* 意向登记表单 */
.partner-form-wrap {
  max-width: 760px; margin: 0 auto; background: #fff;
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 34px 32px; box-shadow: var(--shadow);
}
.partner-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px;
}
.partner-form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.partner-form-row .partner-form-field { margin-bottom: 0; }
.partner-form-field label { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.partner-form-field .req { color: #EF4444; }
.partner-form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.partner-form-tip { font-size: 0.8rem; color: var(--text-muted); }

/* FAQ */
.partner-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.partner-faq-item {
  background: #fff; border: 1px solid var(--border-color);
  border-radius: var(--radius-md); overflow: hidden;
}
.partner-faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  font-weight: 600; color: var(--text-primary); font-size: 0.98rem;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.partner-faq-item summary::-webkit-details-marker { display: none; }
.partner-faq-item summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 700; color: var(--brand-blue);
  flex-shrink: 0; transition: var(--transition);
}
.partner-faq-item[open] summary::after { transform: rotate(45deg); }
.partner-faq-item[open] summary { color: var(--brand-blue); }
.partner-faq-item p {
  margin: 0; padding: 0 20px 18px; color: var(--text-secondary);
  line-height: 1.75; font-size: 0.92rem;
}

@media (max-width: 700px) {
  .partner-steps { flex-direction: column; }
  .partner-step:not(:last-child)::after { display: none; }
  .partner-form-row { grid-template-columns: 1fr; }
  .partner-form-wrap { padding: 24px 20px; }
}

/* ==========================================
   城市选择组件（省 → 市 → 区/县 三级联动）
   ========================================== */
.city-picker {
  position: absolute; z-index: 9999; background: #fff;
  border: 1px solid var(--border-color); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 0; overflow: hidden;
}
.cp-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 10px 12px; font-size: 0.84rem; color: var(--text-muted);
  background: #f8fafc; border-bottom: 1px solid var(--border-color);
}
.cp-crumb-prov, .cp-crumb-city { color: var(--brand-blue); cursor: pointer; font-weight: 600; }
.cp-crumb-prov:hover, .cp-crumb-city:hover { text-decoration: underline; }
.cp-cols { display: flex; align-items: stretch; max-height: 280px; }
.cp-col {
  flex: 1 1 0; min-width: 110px; overflow-y: auto; padding: 6px;
  border-right: 1px solid var(--border-color);
}
.cp-col:last-child { border-right: none; }
.cp-item {
  padding: 8px 10px; border-radius: var(--radius); cursor: pointer;
  font-size: 0.9rem; color: var(--text-primary); white-space: nowrap;
  transition: background .12s, color .12s;
}
.cp-item:hover, .cp-item.active { background: var(--brand-blue-light); color: var(--brand-blue); }
.cp-item.picked { background: var(--brand-blue); color: #fff; font-weight: 600; }
.cp-item.picked:hover { background: var(--brand-blue); color: #fff; }
.city-picker-empty { padding: 14px 12px; font-size: 0.86rem; color: var(--text-muted); text-align: center; }
.city-picker::-webkit-scrollbar, .cp-col::-webkit-scrollbar { width: 8px; }
.city-picker::-webkit-scrollbar-thumb, .cp-col::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
@media (max-width: 520px) {
  .city-picker { min-width: 92vw !important; left: 4vw !important; right: 4vw; }
  .cp-col { min-width: 30%; }
}

/* 地址组件：定位按钮 + 详细地址栏 */
.addr-wrap { position: relative; display: block; }
.addr-wrap .form-control { padding-right: 76px; }
.addr-locate {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 3px;
  height: 30px; padding: 0 9px; border: 1px solid var(--border-color);
  background: #fff; border-radius: var(--radius-full); cursor: pointer;
  font-size: 0.76rem; color: var(--brand-blue); white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.addr-locate svg { width: 13px; height: 13px; }
.addr-locate:hover { background: var(--brand-blue-light); border-color: var(--brand-blue); }
.addr-locate:disabled, .addr-locate.loading { opacity: .65; cursor: wait; }
.addr-locate.loading svg { animation: wln-spin .9s linear infinite; }
@keyframes wln-spin { to { transform: rotate(360deg); } }
.addr-detail { margin-top: 8px; }
.contact-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
@media (max-width: 520px) { .contact-sub { grid-template-columns: 1fr 1fr; } }

/* ==========================================
   发布货源 · 货物信息组件
   ========================================== */
.form-optional { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

/* 货物名称点选字段 */
.goods-name-field {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 11px 14px; background: #fff; cursor: pointer;
  border: 1px solid var(--border-color); border-radius: var(--radius);
  font-size: 0.95rem; color: var(--text-primary); text-align: left;
}
.goods-name-field:hover { border-color: var(--brand-blue); }
.gnf-placeholder { color: var(--text-muted); }
.gnf-arrow { color: var(--text-muted); font-size: 1.2rem; }

/* 单选 chips（包装 / 温控） */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border: 1px solid var(--border-color); background: #fff;
  border-radius: var(--radius-full); cursor: pointer; font-size: 0.88rem;
  color: var(--text-primary); transition: all .15s; line-height: 1.2;
}
.chip:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.chip.active { border-color: #EF4444; color: #EF4444; background: #FEF2F2; }
.temp-chip { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 16px; border-radius: var(--radius); }
.temp-chip b { font-weight: 600; font-size: 0.9rem; }
.temp-chip i { font-style: normal; font-size: 0.72rem; color: var(--text-muted); }
.temp-chip.active i { color: #EF4444; }

/* 总重量/体积卡片 */
.wv-card { border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 14px; background: #fff; }
.wv-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.wv-row:last-of-type { margin-bottom: 0; }
.wv-label { width: 40px; font-size: 0.9rem; color: var(--text-primary); flex-shrink: 0; }
.wv-num {
  flex: 1; min-width: 0; padding: 8px 10px; text-align: center;
  border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 0.9rem;
}
.wv-num:focus { outline: none; border-color: var(--brand-blue); }
.wv-dash { color: var(--text-muted); flex-shrink: 0; }
.wv-unit { width: 24px; font-size: 0.9rem; color: var(--text-primary); flex-shrink: 0; }
.wv-help {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding: 9px 12px; background: #FFF7ED; border-radius: var(--radius);
  font-size: 0.84rem; color: #9A3412;
}
.wv-help b { color: #EA580C; }
.wv-direct {
  border: none; background: linear-gradient(90deg,#F97316,#EA580C); color: #fff;
  padding: 6px 14px; border-radius: var(--radius-full); cursor: pointer;
  font-size: 0.82rem; white-space: nowrap;
}
.wv-reco { display: none; }
.wv-reco.show {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 8px;
  padding: 6px 12px; background: #ECFDF5; border: 1px solid #BBF7D0;
  border-radius: var(--radius-full); font-size: 0.84rem; color: #15803D; font-weight: 600;
}
.field-error { margin-top: 6px; font-size: 0.8rem; color: #EF4444; }

/* 装/卸货时间：日期 + 时间下拉 */
.dt-wrap { display: flex; gap: 8px; }
.dt-date { flex: 1.6; min-width: 0; color: var(--brand-blue-dark); }
.dt-time { flex: 1; min-width: 0; cursor: pointer; color: var(--brand-blue-dark); }
/* 日期色块：蓝绿渐变主题 + 白色日历图标，与网站主色一致 */
.dt-date::-webkit-calendar-picker-indicator {
  width: 26px; height: 22px;
  border-radius: var(--radius); cursor: pointer; opacity: 1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  background-size: 15px 15px, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.dt-date::-webkit-calendar-picker-indicator:hover { filter: brightness(1.08); }
@media (max-width: 520px) { .dt-date { flex: 1.3; } }

/* 车辆数步进器 */
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stp-btn {
  width: 34px; height: 34px; border: 1px solid var(--border-color); background: #fff;
  border-radius: var(--radius); cursor: pointer; font-size: 1.1rem; color: var(--text-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.stp-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.stp-val {
  width: 56px; height: 34px; text-align: center; border: 1px solid var(--border-color);
  border-radius: var(--radius); font-size: 0.95rem;
}
.stp-unit { font-size: 0.9rem; color: var(--text-primary); }

/* 高价值 是/否 切换 */
.seg { display: inline-flex; border: 1px solid var(--border-color); border-radius: var(--radius-full); overflow: hidden; }
.seg-btn {
  padding: 8px 26px; border: none; background: #fff; cursor: pointer;
  font-size: 0.9rem; color: var(--text-primary);
}
.seg-btn.active { background: #FEF2F2; color: #EF4444; font-weight: 600; }

/* 货物名称点选器弹窗 */
.gn-mask {
  position: fixed; inset: 0; z-index: 10010; background: rgba(15,23,42,.5);
  display: flex; align-items: flex-start; justify-content: center; padding: 24px 12px;
}
.gn-mask.hidden { display: none; }
.gn-box {
  width: 100%; max-width: 460px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 92vh; display: flex; flex-direction: column;
  animation: vehModalIn .22s ease;
}
.gn-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border-color); }
.gn-back { border: none; background: none; font-size: 1.6rem; line-height: 1; color: var(--text-primary); cursor: pointer; padding: 0 4px; }
.gn-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }
.gn-search { display: flex; align-items: center; gap: 8px; margin: 12px 16px; padding: 9px 12px; background: #f1f5f9; border-radius: var(--radius-full); }
.gn-search svg { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; }
.gn-search input { flex: 1; border: none; background: none; outline: none; font-size: 0.92rem; }
.gn-notice { display: flex; gap: 8px; margin: 0 16px 12px; padding: 10px 12px; background: #FFFBEB; border-radius: var(--radius); }
.gn-notice-ico {
  flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; background: #F59E0B; color: #fff;
  font-size: 0.7rem; font-style: italic; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}
.gn-notice p { margin: 0 0 6px; font-size: 0.78rem; line-height: 1.6; color: #92400E; }
.gn-notice a { color: #EA580C; text-decoration: underline; }
.gn-notice.collapsed .gn-notice-body p { display: none; }
.gn-notice-body { flex: 1; }
.gn-toggle { display: block; margin-left: auto; border: none; background: none; color: #EA580C; cursor: pointer; font-size: 0.78rem; padding: 0; }
.gn-body { overflow-y: auto; padding: 0 16px 20px; }
.gn-sec { margin-bottom: 18px; }
.gn-sec-title { display: flex; align-items: center; justify-content: space-between; font-size: 0.86rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.gn-clear { border: none; background: none; color: var(--text-muted); cursor: pointer; font-size: 0.78rem; }
.gn-clear:hover { color: #EF4444; }
.gn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gn-chip {
  padding: 7px 14px; border: 1px solid var(--border-color); background: #fff;
  border-radius: var(--radius-full); cursor: pointer; font-size: 0.86rem; color: var(--text-primary);
}
.gn-chip:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: var(--brand-blue-light); }
.gn-empty { padding: 30px 0; text-align: center; color: var(--text-muted); font-size: 0.88rem; }
@media (max-width: 520px) {
  .gn-mask { padding: 0; align-items: stretch; }
  .gn-box { max-width: 100%; border-radius: 0; max-height: 100vh; }
}

/* ===== 多语言切换 ===== */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full); padding: 2px; margin-left: 4px;
}
.lang-btn {
  font-size: 12px; line-height: 1; padding: 4px 9px; border: none; background: transparent;
  color: #fff; cursor: pointer; border-radius: var(--radius-full); transition: var(--transition);
  font-weight: 600; letter-spacing: 0.5px;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lang-btn.active { background: #fff; color: var(--brand-blue); font-weight: 700; }
.header-top-right a { color: rgba(255, 255, 255, 0.85); }

/* ===== 招聘版块（关于我们页） ===== */
.jobs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px; margin-top: 36px;
}
/* 窄屏：340px 下限放不下，改单列 */
@media (max-width: 640px) {
  .jobs-grid { grid-template-columns: 1fr; gap: 16px; }
}
.job-card {
  background: #fff; border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); transition: var(--transition);
  display: flex; flex-direction: column; gap: 14px;
  border-top: 3px solid var(--brand-blue);
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--brand-green); }
.job-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.job-title { font-size: 1.18rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.job-salary { font-size: 1rem; font-weight: 700; color: var(--brand-green-dark); white-space: nowrap; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta-item {
  font-size: 0.8rem; color: var(--text-secondary);
  background: var(--brand-blue-light, #E0F2FE); border-radius: var(--radius-full); padding: 3px 12px;
}
.job-section { border-top: 1px dashed var(--border-color); padding-top: 12px; }
.job-section-title { font-size: 0.92rem; font-weight: 700; color: var(--brand-blue); margin: 0 0 6px; }
.job-section-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.job-apply { align-self: flex-start; }

/* ===== 简历投递弹窗 ===== */
.resume-modal-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.resume-modal-mask.hidden { display: none; }
.resume-modal {
  position: relative; width: 100%; max-width: 520px;
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px 28px 24px;
  max-height: 90vh; overflow-y: auto; animation: vehModalIn 0.25s ease;
}
.resume-modal-close {
  position: absolute; top: 14px; right: 16px;
  width: 32px; height: 32px; border: none; background: #f1f5f9;
  border-radius: 50%; font-size: 22px; line-height: 1; color: #475569;
  cursor: pointer; transition: var(--transition);
}
.resume-modal-close:hover { background: #e2e8f0; color: #0f172a; }
.resume-modal-head { margin-bottom: 18px; padding-right: 36px; }
.resume-modal-title { font-size: 1.3rem; font-weight: 700; color: var(--brand-blue); margin: 0 0 6px; }
.resume-modal-sub { font-size: 0.88rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.resume-form { display: flex; flex-direction: column; gap: 14px; }
.resume-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.resume-field { display: flex; flex-direction: column; gap: 6px; }
.resume-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.req { color: #ef4444; }
.resume-input {
  width: 100%; padding: 10px 12px; font-size: 0.92rem;
  border: 1px solid var(--border-color); border-radius: var(--radius);
  background: #fff; color: var(--text-primary); font-family: inherit;
  transition: var(--transition);
}
.resume-input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px var(--brand-blue-light, #E0F2FE); }
textarea.resume-input { resize: vertical; }
.resume-file { font-size: 0.85rem; }
.resume-file-name { font-size: 0.8rem; color: var(--brand-green-dark); min-height: 1em; }
.resume-submit { width: 100%; margin-top: 4px; }
.resume-tip { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; margin: 4px 0 0; text-align: center; }
@media (max-width: 520px) { .resume-row { grid-template-columns: 1fr; } }

/* ===== 右侧悬浮客服模块 ===== */
.float-service {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family);
}

.fs-inquiry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 4px;
}

.fs-inquiry-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff8a00 0%, #ff5e00 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 94, 0, 0.35);
  transition: var(--transition);
}

.fs-inquiry:hover .fs-inquiry-btn { transform: translateY(-3px) scale(1.05); }

.fs-inquiry-btn svg { width: 26px; height: 26px; stroke-width: 2; }

.fs-inquiry-label {
  background: #fff;
  color: #ff5e00;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.fs-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 86px;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.fs-item:first-child { border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }
.fs-item:last-child { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }

.fs-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  background: #fff;
  border: none;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  position: relative;
}

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

.fs-item:hover {
  background: var(--brand-blue-light);
  color: var(--brand-blue-dark);
}

.fs-item:hover .fs-icon { color: var(--brand-blue); }

.fs-icon {
  width: 26px;
  height: 26px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.fs-text {
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.fs-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  cursor: pointer;
  transition: var(--transition);
}

.fs-top:hover {
  background: var(--brand-blue);
  color: #fff;
  transform: translateY(-3px);
}

.fs-top svg { width: 22px; height: 22px; stroke-width: 2; }

/* 移动端收起按钮 */
.fs-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  color: #fff;
  border: none;
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.fs-toggle:hover { transform: translateY(-3px); }

.fs-toggle svg { width: 24px; height: 24px; stroke-width: 2; }

@media (max-width: 768px) {
  /* 默认收起：只显示一个小浮钮，不遮挡页面 */
  .float-service { right: 10px; bottom: 10px; gap: 8px; }
  .float-service.collapsed .fs-inquiry,
  .float-service.collapsed .fs-card,
  .float-service.collapsed .fs-top { display: none; }

  /* 展开态：隐藏「回到顶部」，浮钮保留作「收起」用 */
  .float-service:not(.collapsed) .fs-top { display: none; }

  .fs-toggle {
    display: flex; width: 46px; height: 46px;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
  }
  /* 展开时浮钮图标换成 ×，点它即可收起 */
  .float-service:not(.collapsed) .fs-toggle svg { display: none; }
  .float-service:not(.collapsed) .fs-toggle::after {
    content: '×'; font-size: 30px; line-height: 1; font-weight: 300;
  }

  /* 我要发货：紧凑横排药丸，不再占一整行 */
  .fs-inquiry { flex-direction: row; gap: 6px; }
  .fs-inquiry-btn { width: 38px; height: 38px; }
  .fs-inquiry-btn svg { width: 20px; height: 20px; }
  .fs-inquiry-label { font-size: 0.72rem; padding: 4px 10px; }

  /* 卡片：2×2 网格，整体更矮更窄 */
  .fs-card { width: 176px; display: grid; grid-template-columns: 1fr 1fr; }
  .fs-item { padding: 10px 2px; gap: 4px; }
  .fs-item:nth-child(odd) { border-right: 1px solid var(--border-light); }
  .fs-item:nth-child(3), .fs-item:nth-child(4) { border-bottom: none; }
  .fs-item:first-child { border-top-left-radius: var(--radius-lg); border-top-right-radius: 0; }
  .fs-item:nth-child(2) { border-top-right-radius: var(--radius-lg); }
  .fs-item:nth-child(3) { border-bottom-left-radius: var(--radius-lg); }
  .fs-item:last-child { border-bottom-left-radius: 0; border-bottom-right-radius: var(--radius-lg); }
  .fs-icon { width: 22px; height: 22px; }
  .fs-text { font-size: 0.72rem; }
}

/* 超窄屏：浮钮与面板再收一圈 */
@media (max-width: 400px) {
  .float-service { right: 8px; bottom: 8px; }
  .fs-toggle { width: 42px; height: 42px; }
  .fs-card { width: 160px; }
}

/* 客服弹窗 / 二维码气泡 */
.fs-popover {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fs-popover.hidden { display: none; }

.fs-popover-box {
  position: relative;
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  animation: vehModalIn 0.25s ease;
}

.fs-popover-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg-gray);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.fs-popover-close:hover { background: var(--border-color); color: var(--text-primary); }

.fs-qr {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fs-qr img { width: 100%; height: 100%; object-fit: cover; }

.fs-qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius);
}

.fs-popover-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.fs-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
  text-align: left;
}

.fs-contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-contact-row span:first-child { font-size: 0.8rem; color: var(--text-muted); }

.fs-contact-row strong {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 700;
}

.fs-contact-row a {
  color: var(--brand-blue);
  font-size: 0.85rem;
}

.fs-contact-row a:hover { color: var(--brand-blue-dark); }

/* 悬浮提示：鼠标移入自动显示二维码 / 联系方式 */
.fs-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  width: max-content;
  max-width: 220px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 14px 14px 12px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 80;
}

.fs-item:hover .fs-tip,
.fs-item:focus-visible .fs-tip,
.fs-item.active .fs-tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.fs-tip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 3px -3px 6px rgba(15, 23, 42, 0.05);
}

.fs-tip-qr {
  width: 150px;
  height: 150px;
  margin: 0 auto 8px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  display: block;
}

.fs-tip-qr-img { display: block; width: 100%; height: 100%; }
.fs-tip-qr img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fs-tip-text {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.fs-tip-cs { min-width: 186px; text-align: left; padding: 12px 14px; }
.fs-tip-cs .fs-tip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-light);
}
.fs-tip-cs .fs-tip-row:last-child { border-bottom: none; }
.fs-tip-cs .fs-tip-row span { font-size: 0.78rem; color: var(--text-muted); }
.fs-tip-cs .fs-tip-row strong { font-size: 0.92rem; color: var(--text-primary); font-weight: 700; }

@media (max-width: 768px) {
  .fs-tip { display: none; }
}

/* 意见反馈弹窗 */
.fs-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fs-modal-mask.hidden { display: none; }

.fs-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 26px 22px;
  max-height: 90vh;
  overflow-y: auto;
  animation: vehModalIn 0.25s ease;
}

.fs-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-gray);
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.fs-modal-close:hover { background: var(--border-color); color: var(--text-primary); }

.fs-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0 0 4px;
}

.fs-modal-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.fs-form { display: flex; flex-direction: column; gap: 14px; }

.fs-field { display: flex; flex-direction: column; gap: 6px; }

.fs-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }

.fs-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.92rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
}

.fs-input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px var(--brand-blue-light); }

textarea.fs-input { resize: vertical; min-height: 100px; }

.fs-submit { width: 100%; margin-top: 4px; }

@media (max-width: 520px) {
  .fs-modal { padding: 22px 20px 18px; }
}

/* ===================== 帮助中心（问答库） ===================== */
.qa-mask {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 10002; padding: 24px;
}
.qa-mask.hidden { display: none; }

.qa-box {
  width: min(960px, 100%); height: min(680px, 90vh);
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  animation: vehModalIn 0.28s ease;
}

.qa-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--border-light);
  background: linear-gradient(120deg, var(--brand-blue) 0%, var(--brand-green) 100%);
  color: #fff;
}
.qa-title { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.qa-sub { font-size: 12px; opacity: 0.9; margin-top: 3px; }
.qa-close {
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 22px;
  line-height: 1; cursor: pointer; transition: var(--transition);
}
.qa-close:hover { background: rgba(255, 255, 255, 0.34); transform: rotate(90deg); }

.qa-body { flex: 1; display: flex; min-height: 0; }

.qa-side {
  width: 180px; flex-shrink: 0; padding: 14px 12px;
  border-right: 1px solid var(--border-light);
  background: #f8fafc; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
}
.qa-cat {
  text-align: left; border: none; background: transparent;
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
  font-size: 14px; color: var(--text-secondary); transition: var(--transition);
}
.qa-cat:hover { background: #eef2f7; color: var(--text-primary); }
.qa-cat.active { background: var(--brand-blue); color: #fff; font-weight: 700; }

.qa-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.qa-search-wrap { padding: 14px 18px 8px; }
.qa-search {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; color: var(--text-primary);
  font-family: inherit; transition: var(--transition);
}
.qa-search:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px var(--brand-blue-light); }

.qa-list { flex: 1; overflow-y: auto; padding: 6px 18px 18px; }
.qa-item { border: 1px solid var(--border-light); border-radius: 12px; margin-top: 10px; overflow: hidden; background: #fff; transition: var(--transition); }
.qa-item:hover { border-color: var(--brand-blue-light); }
.qa-item.open { border-color: var(--brand-blue); }
.qa-q {
  width: 100%; text-align: left; border: none; background: transparent;
  padding: 14px 16px; cursor: pointer; font-size: 15px; font-weight: 600;
  color: var(--text-primary); display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: inherit;
}
.qa-arrow { color: var(--brand-blue); font-size: 20px; font-weight: 700; flex-shrink: 0; }
.qa-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.qa-item.open .qa-a { max-height: 320px; }
.qa-a-inner { padding: 0 16px 16px; color: var(--text-secondary); font-size: 14px; line-height: 1.75; }
.qa-empty { padding: 40px 16px; text-align: center; color: var(--text-muted); font-size: 14px; }

.qa-help-chip { background: rgba(108, 192, 74, 0.14) !important; color: var(--brand-green) !important; border: 1px solid rgba(108, 192, 74, 0.4) !important; }

@media (max-width: 720px) {
  .qa-box { height: 92vh; }
  .qa-side { width: 132px; }
  .qa-cat { font-size: 13px; padding: 9px 10px; }
}
@media (max-width: 480px) {
  .qa-mask { padding: 0; }
  .qa-box { height: 100vh; border-radius: 0; }
  .qa-body { flex-direction: column; }
  .qa-side { width: 100%; flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border-light); }
  .qa-cat { white-space: nowrap; }
}

/* 顶栏联系方式（右对齐，位于切换语言/帮助中心之前） */
.header-top-right { gap: 16px; }
.top-contact {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap; opacity: 0.95; font-size: 0.875rem;
}
.top-contact + .top-contact {
  padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.top-contact-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.9; }
.top-contact-num { font-weight: 700; letter-spacing: 0.2px; }
.top-contact a { opacity: 1; }
@media (max-width: 900px) {
  .header-top-right .top-contact + .top-contact { display: none; }
}

/* 顶栏品牌标语（位于城市切换按钮之后） */
.header-top-left { flex: 1 1 auto; min-width: 0; gap: 12px; }
.top-slogan {
  min-width: 0; flex: 0 1 auto;
  font-size: 0.8125rem; line-height: 1.45;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.95); letter-spacing: 0.2px;
}
.top-slogan-brand {
  font-weight: 800; margin-right: 4px; padding: 1px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
}
@media (max-width: 1024px) {
  .top-slogan { display: none; }
}

/* ==========================================
   城市切换模块（参考 58 同城 changecity）
   ========================================== */
.city-switch {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; margin-right: 4px;
  border-radius: 999px; color: #fff !important;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.875rem; font-weight: 600; line-height: 1.6;
  text-decoration: none; transition: var(--transition);
  white-space: nowrap;
}
.city-switch:hover {
  background: #fff; color: var(--brand-blue) !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}
.city-switch .cs-icon, .city-switch .cs-arrow { display: inline-flex; opacity: 0.95; }
.city-switch .cs-name { max-width: 5em; overflow: hidden; text-overflow: ellipsis; }
.city-switch.is-all { font-weight: 500; }
.city-switch .cs-tip { font-size: 0.75rem; opacity: 0.8; font-weight: 400; }
.city-switch.only-mobile { display: none; }
.header-main .city-switch {
  color: var(--brand-blue) !important; background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
}
.header-main .city-switch:hover { background: var(--brand-blue); color: #fff !important; }
@media (max-width: 640px) {
  .city-switch .cs-tip { display: none; }
  .city-switch.only-mobile { display: inline-flex; }
}

/* 城市徽标 / 文案槽 */
.city-badge {
  display: inline-block; vertical-align: middle;
  margin-left: 8px; padding: 3px 12px;
  border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  color: var(--brand-blue); background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
}
.page-banner .city-badge, .hero .city-badge {
  color: #fff; background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.4);
}
.city-hidden { display: none !important; }
.city-empty {
  margin: 12px 0 0; padding: 18px 20px; text-align: center;
  background: #fff; border: 1px dashed var(--border-color);
  border-radius: var(--radius-md); color: var(--text-light); font-size: 0.9rem;
}
.city-empty-inner b { color: var(--brand-blue); }
.city-empty .cs-goback { margin-left: 10px; }
.city-hint { margin-top: 8px; font-size: 0.875rem; color: var(--text-light); }
.city-hint b { color: var(--brand-blue); }
.city-hint .city-all { color: var(--brand-blue); text-decoration: underline; }

/* 城市面板 */
.cs-mask {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 5vh 16px 40px; overflow: auto;
  opacity: 0; visibility: hidden; transition: opacity 0.22s ease;
}
.cs-mask.show { opacity: 1; visibility: visible; }
.cs-panel {
  width: 100%; max-width: 880px; background: #fff;
  border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  overflow: hidden; transform: translateY(-10px); transition: transform 0.22s ease;
}
.cs-mask.show .cs-panel { transform: translateY(0); }
.cs-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; color: #fff; background: var(--gradient-brand);
}
.cs-head-l { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cs-logo { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.5px; }
.cs-sub { font-size: 0.8rem; opacity: 0.9; }
.cs-sub b { font-weight: 800; }
.cs-close {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15); color: #fff; font-size: 1.2rem; line-height: 1;
  cursor: pointer; transition: var(--transition);
}
.cs-close:hover { background: #fff; color: var(--brand-blue); }
.cs-search {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-bottom: 1px solid var(--border-color); background: #f8fafc;
}
.cs-sicon { color: var(--brand-blue); display: inline-flex; }
.cs-input {
  flex: 1; border: 1px solid var(--border-color); border-radius: 999px;
  padding: 9px 16px; font-size: 0.9rem; outline: none; background: #fff;
}
.cs-input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(14,165,233,0.15); }
.cs-clear {
  border: none; background: #e2e8f0; color: #475569; border-radius: 50%;
  width: 24px; height: 24px; line-height: 1; cursor: pointer; font-size: 1rem;
}
.cs-body { padding: 8px 24px 20px; max-height: 58vh; overflow: auto; }
.cs-block { padding: 14px 0; border-bottom: 1px dashed var(--border-color); }
.cs-block:last-child { border-bottom: none; }
.cs-bt { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.cs-bt-tip { font-weight: 400; font-size: 0.78rem; color: var(--text-light); margin-left: 8px; }
.cs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-chip {
  border: 1px solid var(--border-color); background: #fff; color: #334155;
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; cursor: pointer;
  transition: var(--transition);
}
.cs-chip:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: rgba(14,165,233,0.06); }
.cs-chip.active { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; font-weight: 700; }
.cs-chip.cs-locate { border-color: var(--brand-green); color: var(--brand-green); }
.cs-chip.cs-locate:hover { background: rgba(108,192,74,0.1); }
.cs-chip.cs-all { border-color: var(--brand-blue); color: var(--brand-blue); font-weight: 600; }
.cs-chips-sm .cs-chip { padding: 4px 11px; font-size: 0.8rem; }
.cs-prov-cities { margin-top: 12px; padding: 12px; background: #f8fafc; border-radius: var(--radius); }
.cs-prov-hd {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; color: var(--text-dark);
}
.cs-prov-back {
  border: 1px solid var(--border-color); background: #fff; border-radius: 999px;
  padding: 3px 12px; font-size: 0.78rem; cursor: pointer; color: var(--brand-blue);
}
.cs-letterwrap { display: flex; gap: 14px; align-items: flex-start; }
.cs-letters {
  display: grid; grid-template-columns: repeat(2, 30px); gap: 5px; flex-shrink: 0;
  position: sticky; top: 0;
}
.cs-letter {
  width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--border-color);
  background: #fff; color: #334155; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: var(--transition);
}
.cs-letter:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.cs-cities { flex: 1; min-width: 0; }
.cs-group { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid #f1f5f9; }
.cs-group:first-child { border-top: none; }
.cs-group-l {
  width: 26px; flex-shrink: 0; font-weight: 800; color: var(--brand-blue);
  font-size: 0.95rem;
}
.cs-group-c { display: flex; flex-wrap: wrap; gap: 6px; }
.cs-city {
  border: none; background: transparent; cursor: pointer; padding: 4px 8px;
  border-radius: 6px; font-size: 0.86rem; color: #334155; transition: var(--transition);
}
.cs-city i { font-style: normal; font-size: 0.72rem; color: #94a3b8; margin-left: 3px; }
.cs-city:hover { background: rgba(14,165,233,0.1); color: var(--brand-blue); }
.cs-city.active { background: var(--brand-blue); color: #fff; font-weight: 700; }
.cs-city.active i { color: rgba(255,255,255,0.8); }
.cs-foot {
  padding: 12px 24px; background: #f8fafc; border-top: 1px solid var(--border-color);
  font-size: 0.82rem; color: var(--text-light); text-align: center;
}
.cs-foot b { color: var(--brand-blue); }
.cs-toast {
  position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%) translateY(20px);
  background: rgba(15,23,42,0.92); color: #fff; padding: 10px 22px; border-radius: 999px;
  font-size: 0.88rem; z-index: 3200; opacity: 0; pointer-events: none;
  transition: all 0.25s ease;
}
.cs-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 768px) {
  .cs-body { max-height: 62vh; }
  .cs-letters { grid-template-columns: repeat(2, 26px); }
  .cs-letter { width: 26px; height: 26px; }
  .cs-panel { max-width: 100%; }
  .cs-search, .cs-head, .cs-body, .cs-foot { padding-left: 14px; padding-right: 14px; }
}

/* ==========================================
   GEO（生成式引擎优化）可见内容块
   ========================================== */
.geo-answer {
  background: #fff; border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius-md); padding: 24px 28px; box-shadow: var(--shadow);
}
.geo-answer-label {
  display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--brand-blue); background: rgba(14, 165, 233, 0.1);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.geo-answer-text {
  font-size: 1.125rem; line-height: 1.9; color: var(--text-dark); font-weight: 500; margin: 0 0 16px;
}
.geo-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 24px; margin: 0 0 14px; padding: 16px 0 4px;
  border-top: 1px dashed var(--border-color);
}
.geo-fact { margin: 0; }
.geo-fact dt { font-size: 0.8rem; color: var(--text-light); font-weight: 600; margin-bottom: 2px; }
.geo-fact dd { margin: 0; font-size: 0.95rem; color: var(--text-dark); line-height: 1.6; }
.geo-answer-cite { margin: 0; font-size: 0.78rem; color: var(--text-light); }

.geo-faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.geo-faq-item {
  background: #fff; border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.geo-faq-item[open] { border-color: var(--brand-blue); box-shadow: var(--shadow); }
.geo-faq-item summary {
  cursor: pointer; padding: 14px 20px; font-weight: 600; font-size: 1rem;
  color: var(--text-dark); list-style: none; position: relative;
}
.geo-faq-item summary::-webkit-details-marker { display: none; }
.geo-faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 12px;
  font-size: 1.25rem; color: var(--brand-blue); font-weight: 700;
}
.geo-faq-item[open] summary::after { content: '−'; }
.geo-faq-a {
  padding: 0 20px 16px; font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary);
}
.geo-updated { font-size: 0.75rem; opacity: 0.75; }
@media (max-width: 640px) {
  .geo-answer { padding: 18px 16px; }
  .geo-answer-text { font-size: 1rem; }
}

/* ==========================================
   后台 GEO 优化面板
   ========================================== */
.geo-panel { display: flex; flex-direction: column; gap: 16px; }
.geo-box {
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow);
  padding: 18px 20px; margin-bottom: 16px;
}
.geo-box h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 14px; padding-left: 10px; border-left: 3px solid var(--brand-blue);
}
.geo-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.geo-field label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px;
}
.geo-field .form-control { width: 100%; }
.geo-field-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.geo-hint { margin: 6px 0 0; font-size: 0.78rem; color: var(--text-light); line-height: 1.6; }
.geo-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; }
.geo-switch input { width: 38px; height: 20px; appearance: none; background: #cbd5e1; border-radius: 999px; position: relative; cursor: pointer; transition: var(--transition); }
.geo-switch input::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
  background: #fff; border-radius: 50%; transition: var(--transition);
}
.geo-switch input:checked { background: var(--brand-green); }
.geo-switch input:checked::after { left: 20px; }
.geo-rows { display: flex; flex-direction: column; gap: 10px; }
.geo-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 10px; align-items: center; }
.geo-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.geo-cat {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--border-color); border-radius: 999px; font-size: 0.85rem; cursor: pointer;
}
.geo-cat input { accent-color: var(--brand-blue); }
.geo-cat b { color: var(--brand-blue); font-size: 0.78rem; }
.geo-preview { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.geo-preview-item {
  background: #f8fafc; border-radius: var(--radius); padding: 10px 14px; font-size: 0.85rem; line-height: 1.6;
}
.geo-preview-item b { display: block; color: var(--text-dark); margin-bottom: 2px; }
.geo-preview-item span { color: var(--text-secondary); }
.geo-file-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.geo-file-btns .btn { margin: 0; }
.geo-audit-head { display: flex; align-items: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.geo-score { display: flex; flex-direction: column; align-items: center; }
.geo-score-num { font-size: 2.6rem; font-weight: 800; color: var(--brand-blue); line-height: 1; }
.geo-score-num small { font-size: 0.9rem; margin-left: 3px; }
.geo-score-label { font-size: 0.8rem; color: var(--text-light); margin-top: 6px; }
.geo-audit-meta { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.7; }
.geo-checks { display: flex; flex-direction: column; gap: 8px; }
.geo-check {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border: 1px solid var(--border-color); border-radius: var(--radius); background: #fff;
}
.geo-check.ok { border-color: rgba(108, 192, 74, 0.5); background: rgba(108, 192, 74, 0.06); }
.geo-check.no { border-color: rgba(239, 68, 68, 0.35); background: rgba(239, 68, 68, 0.05); }
.geo-check-i {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem; color: #fff;
}
.geo-check.ok .geo-check-i { background: var(--brand-green); }
.geo-check.no .geo-check-i { background: #ef4444; }
.geo-check b { display: block; font-size: 0.88rem; color: var(--text-dark); }
.geo-check span { font-size: 0.78rem; color: var(--text-light); }
.geo-check div { flex: 1; min-width: 0; }
.geo-check-w { font-size: 0.72rem; color: var(--text-light); flex-shrink: 0; }
@media (max-width: 768px) {
  .geo-fields { grid-template-columns: 1fr; }
  .geo-row { grid-template-columns: 1fr; }
}

/* ==========================================
   登录 / 注册弹窗（前台会员）
   ========================================== */
.auth-mask {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 1200; padding: 20px;
}
.auth-mask.hidden { display: none; }
.auth-box {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 440px;
  padding: 30px 32px 26px;
  position: relative;
  box-shadow: var(--shadow-xl);
  max-height: 92vh; overflow-y: auto;
  animation: authIn 0.25s ease;
}
@keyframes authIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.auth-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border: none;
  background: #F1F5F9; border-radius: 50%;
  font-size: 1.2rem; line-height: 1; color: var(--text-muted);
  cursor: pointer; transition: var(--transition);
}
.auth-close:hover { background: #E2E8F0; color: var(--text-primary); }
.auth-head { margin-bottom: 18px; padding-right: 36px; }
.auth-logo {
  font-size: 1.15rem; font-weight: 800; color: var(--brand-blue);
  letter-spacing: 0.5px; margin-bottom: 4px;
}
.auth-sub { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.auth-tab {
  flex: 1; padding: 10px 0; border: 1px solid var(--border-color);
  background: var(--bg-white); border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; transition: var(--transition);
}
.auth-tab:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.auth-tab.active {
  background: var(--brand-blue); border-color: var(--brand-blue);
  color: #fff; box-shadow: var(--shadow-brand);
}
.auth-pane .form-group { margin-bottom: 14px; }
.auth-pane .form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.auth-roles { display: flex; gap: 10px; margin-bottom: 16px; }
.auth-role {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 0; border: 1px solid var(--border-color); border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); cursor: pointer;
  transition: var(--transition);
}
.auth-role input { accent-color: var(--brand-blue); }
.auth-role:has(input:checked) {
  border-color: var(--brand-blue); color: var(--brand-blue);
  background: var(--brand-blue-light);
}
.auth-err { min-height: 18px; font-size: 0.82rem; color: #ef4444; margin: 0 0 10px; }
.auth-tip { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin: 14px 0 0; }
.auth-tip a { color: var(--brand-blue); font-weight: 600; }
.btn-block { width: 100%; }
@media (max-width: 640px) {
  .auth-box { padding: 24px 20px 20px; }
}
