﻿/* 嘻嘻车 · PC WEB + H5 响应式样式（无构建依赖） */
:root {
  --brand: #0f766e;
  --brand-2: #14b8a6;
  --brand-soft: #ecfdf5;
  --accent: #f59e0b;
  --rose: #be123c;
  --rose-soft: #fff1f2;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f6f8f9;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --header-h: 68px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hide { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }

/* ---------------- 通用控件 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; font-weight: 600; font-size: 14px;
  transition: all .18s ease; white-space: nowrap;
}
.btn:hover { border-color: #cbd5e1; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: #0b5f59; border-color: #0b5f59; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #3b2506; }
.btn-rose { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn-ghost { background: transparent; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 50px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-danger { color: #b91c1c; border-color: #fecaca; background: #fff5f5; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="password"], input[type="number"],
input[type="date"], input[type="time"], input[type="search"], select, textarea {
  width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 12px; background: #fff; outline: none; transition: border .15s, box-shadow .15s;
  min-width: 0;
}
textarea { height: auto; min-height: 92px; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-2); }
.check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--brand); }

.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: #f1f5f9; color: var(--ink-2);
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-rose { background: var(--rose-soft); color: var(--rose); }
.badge-blue { background: #e0f2fe; color: #075985; }
.badge-grey { background: #f1f5f9; color: #475569; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.chip {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px;
  background: #f8fafc; border: 1px solid var(--line); font-size: 12px; color: var(--ink-2);
}
.chip.rose { background: var(--rose-soft); border-color: #fecdd3; color: #9f1239; }
.chip.green { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }

.card {
  background: var(--card); border: 1px solid rgba(226, 232, 240, .9);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-pad { padding: 22px; }
.card-title { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.section { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.4px; }
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.eyebrow { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.rose { color: var(--rose); }

/* ---------------- 头部 ---------------- */
.header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.3px; }
.brand img { width: 34px; height: 34px; }
.brand .brand-sub { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .08em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; flex-shrink: 0; }
.nav a {
  padding: 8px 11px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap;
}
.nav a:hover { background: #f1f5f9; color: var(--ink); }
.nav a.active { background: var(--brand-soft); color: var(--brand); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.city-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; cursor: pointer;
}
#brand-switch { max-width: 112px; text-overflow: ellipsis; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.avatar.rose { background: var(--rose); }
.brand-switch {
  font-size: 12px; color: var(--muted); border: 1px dashed var(--line); padding: 6px 10px;
  border-radius: 999px; background: transparent; cursor: pointer;
}
.mobile-tab {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.mobile-tab a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; color: var(--muted); padding: 4px 0; font-weight: 600;
}
.mobile-tab a.active { color: var(--brand); }
.mobile-tab svg { width: 21px; height: 21px; }

/* ---------------- 首页 ---------------- */
.hero { position: relative; overflow: hidden; color: #fff; background: #06322f; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(20, 184, 166, .55), transparent 60%),
    radial-gradient(700px 420px at 100% 20%, rgba(245, 158, 11, .28), transparent 60%),
    linear-gradient(120deg, #042f2e 0%, #064e4a 55%, #0f766e 100%);
}
.hero.rose { background: #3f0a1c; }
.hero.rose::before {
  background:
    radial-gradient(800px 420px at 10% 0%, rgba(244, 114, 182, .38), transparent 62%),
    radial-gradient(700px 420px at 100% 30%, rgba(245, 158, 11, .3), transparent 60%),
    linear-gradient(120deg, #3f0a1c 0%, #881337 60%, #be123c 100%);
}
.hero-inner { position: relative; padding: 66px 0 54px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.hero-inner > div { min-width: 0; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; margin: 14px 0 16px; letter-spacing: -1.6px; }
.hero p.lead { color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 520px; margin: 0 0 26px; }
.hero .eyebrow { color: #fbbf24; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badges span {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.hero-art { position: relative; min-height: 280px; }
.hero-art .car-shot {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 78%;
  border-radius: 22px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .18); transform: rotate(-1.5deg);
}
.hero-art .float-card {
  position: absolute; left: -16px; bottom: -18px; background: rgba(255, 255, 255, .96);
  color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: center; font-size: 13px;
}
.hero-art .float-card b { font-size: 18px; display: block; line-height: 1.2; }
.hero-art .float-card.rose { border-left: 4px solid var(--rose); }

.search-card {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 14px;
  box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; gap: 10px;
  margin-top: 6px; min-width: 0;
}
.search-card .field { min-width: 0; }
.search-card .field > label { font-size: 12px; }
.search-card .field input, .search-card .field select { border: none; background: #f8fafc; height: 40px; }
.search-card .btn { height: 40px; align-self: end; padding: 0 22px; }
.hero-stats { display: flex; gap: 30px; margin-top: 26px; color: rgba(255, 255, 255, .8); font-size: 13px; }
.hero-stats b { display: block; font-size: 24px; color: #fff; line-height: 1.2; letter-spacing: -.5px; }

.mode-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: -42px; position: relative; z-index: 2; }
.mode-card {
  border-radius: 20px; padding: 26px 28px; color: #fff; min-height: 168px; position: relative;
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.mode-card.travel { background: linear-gradient(120deg, #0f766e, #14b8a6); }
.mode-card.wedding { background: linear-gradient(120deg, #9f1239, #e11d48); }
.mode-card.business { background: linear-gradient(120deg, #0f172a, #334155); }
.mode-card.taxi { background: linear-gradient(120deg, #b45309, #f59e0b); }
.mode-cards.second { margin-top: 14px; }
.mode-cards.second.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode-cards.second .mode-card { min-height: 132px; padding: 22px 24px; }
.mode-cards.second .mode-card h3 { font-size: 21px; }
.mode-cards.second .mode-card p { font-size: 13px; }
.seg.scroll { overflow-x: auto; max-width: 100%; white-space: nowrap; }
.seg.scroll button { flex: 0 0 auto; }
.taxi-card {
  background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 20px;
  box-shadow: var(--shadow); cursor: pointer; transition: all .18s;
}
.taxi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.taxi-card.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 158, 11, .16); }
.taxi-card h3 { margin: 0 0 4px; font-size: 18px; }
.taxi-card .fare { color: #b45309; font-weight: 800; font-size: 20px; }
.company-banner {
  border-radius: 20px; padding: 22px 24px; color: #fff;
  background: linear-gradient(120deg, #0f172a, #1e3a5f); display: flex; gap: 20px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.company-banner .credit { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.stat-line { display: flex; gap: 24px; flex-wrap: wrap; }
.stat-line > div { min-width: 110px; }
.stat-line b { display: block; font-size: 22px; letter-spacing: -.4px; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.settings-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.settings-item label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 6px; }
.settings-item .hint { font-size: 11px; color: var(--muted); margin-top: 4px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { flex: 1; min-width: 120px; }
.amount-big { font-size: 26px; font-weight: 800; letter-spacing: -.6px; color: var(--brand); }
.type-pill { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: #eef2ff; color: #4338ca; }
.type-pill.business { background: #0f172a; color: #fbbf24; }
.type-pill.taxi { background: #fef3c7; color: #92400e; }
.mode-card h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.5px; }
.mode-card p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 14px; max-width: 78%; }
.mode-card .go {
  position: absolute; right: 24px; bottom: 22px; background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 8px 16px;
  font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center;
}
.mode-card .watermark {
  position: absolute; right: -30px; top: -40px; width: 210px; opacity: .16; transform: rotate(-12deg);
}

/* 车辆卡片 */
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.car-card { overflow: hidden; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.car-card .thumb { position: relative; aspect-ratio: 16 / 10; background: #0f172a; overflow: hidden; }
.car-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-card .thumb .tag { position: absolute; left: 12px; top: 12px; }
.car-card .thumb .price-tag {
  position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .95);
  border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 15px; color: var(--brand);
}
.car-card .thumb .price-tag small { font-weight: 500; color: var(--muted); font-size: 11px; }
.car-card .body { padding: 16px 18px 18px; }
.car-card h3 { margin: 0; font-size: 17px; letter-spacing: -.2px; }
.car-card .meta { margin-top: 6px; color: var(--muted); font-size: 13px; display: flex; gap: 8px; flex-wrap: wrap; }
.car-card .foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.car-card .rating { color: #b45309; font-weight: 700; }

.wedding-card { position: relative; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #fecdd3; box-shadow: var(--shadow); }
.wedding-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.wedding-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.wedding-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(63, 10, 28, .55)); }
.wedding-card .body { padding: 18px 20px 20px; }
.wedding-card h3 { margin: 0 0 4px; font-size: 18px; }
.wedding-card .price { color: var(--rose); font-weight: 800; font-size: 22px; letter-spacing: -.5px; }
.wedding-card .price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.wedding-card .old { color: #94a3b8; text-decoration: line-through; font-size: 12px; margin-left: 6px; }

.feature { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 12px; }
.feature h4 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; }
.join-banner {
  border-radius: 24px; padding: 38px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px;
  background: linear-gradient(120deg, #0f172a, #1e293b); color: #fff; overflow: hidden; position: relative;
}
.join-banner h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.8px; }
.join-banner p { color: rgba(255, 255, 255, .7); margin: 0 0 18px; }
.join-banner .join-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.join-banner .join-actions .btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.join-banner .join-actions .btn:hover { background: rgba(255, 255, 255, .2); }
.join-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-self: center; }
.join-metrics div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 16px; }
.join-metrics b { font-size: 26px; display: block; line-height: 1.2; }
.join-metrics span { color: rgba(255, 255, 255, .65); font-size: 12px; }

.channels { display: flex; flex-wrap: wrap; gap: 10px; }
.channel-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2);
}

/* ---------------- 列表 / 详情 ---------------- */
.page-head { padding: 30px 0 10px; }
.page-head h1 { margin: 0; font-size: 28px; letter-spacing: -.8px; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.filter-bar {
  position: sticky; top: var(--header-h); z-index: 40; background: rgba(246, 248, 249, .94);
  backdrop-filter: blur(10px); padding: 12px 0; border-bottom: 1px solid transparent;
}
.filter-inner {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow);
}
.filter-inner select, .filter-inner input { height: 38px; border-color: transparent; background: #f8fafc; max-width: 190px; }
.filter-inner .btn { height: 38px; }
.seg { display: inline-flex; background: #f1f5f9; border-radius: 10px; padding: 3px; gap: 2px; }
.seg button {
  border: none; background: transparent; padding: 7px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.seg button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(15, 23, 42, .12); }

.detail-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: start; padding: 22px 0 60px; }
.gallery-main { border-radius: 20px; overflow: hidden; background: #0f172a; aspect-ratio: 16 / 9; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumbs img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--brand); }
.detail-title { margin: 20px 0 6px; font-size: 30px; letter-spacing: -.9px; }
.detail-sub { color: var(--muted); font-size: 14px; }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.spec { background: #f8fafc; border-radius: 12px; padding: 12px; text-align: center; border: 1px solid var(--line); }
.spec b { display: block; font-size: 15px; }
.spec span { font-size: 12px; color: var(--muted); }
.booking-card { position: sticky; top: calc(var(--header-h) + 18px); padding: 22px; }
.booking-card .price-line { display: flex; align-items: baseline; gap: 6px; }
.booking-card .price-line b { font-size: 32px; letter-spacing: -1px; color: var(--brand); }
.booking-card .price-line span { color: var(--muted); font-size: 13px; }
.booking-card .divider { height: 1px; background: var(--line); margin: 16px 0; }
.quote-box { background: #f8fafc; border-radius: 12px; padding: 14px; font-size: 13px; }
.quote-line { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--ink-2); }
.quote-line.total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; font-weight: 800; color: var(--ink); font-size: 15px; }
.quote-line .neg { color: #15803d; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 24px; font-size: 13px; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.timeline li::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li span { display: block; color: var(--muted); font-size: 12px; }

/* ---------------- 订单 ---------------- */
.order-card { padding: 18px 20px; display: grid; grid-template-columns: 132px 1fr auto; gap: 18px; align-items: center; }
.order-card .thumb { width: 132px; height: 88px; border-radius: 12px; overflow: hidden; background: #0f172a; }
.order-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card h3 { margin: 0; font-size: 17px; }
.order-card .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.order-card .price { font-weight: 800; font-size: 19px; text-align: right; }
.order-card .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty .big { font-size: 44px; opacity: .35; }
.empty h3 { margin: 10px 0 6px; color: var(--ink-2); }

/* ---------------- 表格 / 后台 ---------------- */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 680px; }
table.data th { text-align: left; padding: 12px 14px; background: #f8fafc; color: var(--muted); font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--line); }
table.data td { padding: 12px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #fbfdfd; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.stat .label { color: var(--muted); font-size: 12px; }
.stat b { display: block; font-size: 26px; letter-spacing: -.8px; margin-top: 4px; }
.stat .delta { font-size: 12px; color: #15803d; }
.trend { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 10px; }
.trend .bar { flex: 1; background: linear-gradient(180deg, var(--brand-2), var(--brand)); border-radius: 4px 4px 2px 2px; min-height: 3px; position: relative; opacity: .85; }
.trend .bar:hover { opacity: 1; }
.trend .bar .tip { display: none; }
.trend-labels { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin-top: 6px; }
.auth-tabs { display: flex; gap: 6px; background: #f1f5f9; padding: 4px; border-radius: 12px; }
.auth-tabs button { flex: 1; border: none; background: transparent; padding: 9px; border-radius: 9px; font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(15, 23, 42, .1); }
.demo-accounts { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-accounts button { border: 1px dashed var(--line); background: #fff; border-radius: 8px; padding: 5px 9px; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.sms-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* ---------------- 弹窗 / Toast ---------------- */
.toast-wrap { position: fixed; z-index: 200; left: 50%; top: calc(var(--header-h) + 14px); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  background: #0f172a; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 13px;
  box-shadow: var(--shadow-lg); animation: slideIn .22s ease; max-width: 84vw;
}
.toast.ok { background: #065f46; } .toast.err { background: #991b1b; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.modal-mask { position: fixed; inset: 0; z-index: 150; background: rgba(15, 23, 42, .55); display: grid; place-items: center; padding: 18px; animation: fadeIn .16s ease; }
.modal { width: min(540px, 100%); max-height: 86vh; overflow: auto; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); animation: pop .2s ease; }
.modal.wide { width: min(760px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 18px; }
.modal-body { padding: 20px; }
.modal-foot { padding: 14px 20px 20px; display: flex; gap: 10px; justify-content: flex-end; }
.icon-btn { border: none; background: #f1f5f9; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------------- 页脚 ---------------- */
.footer { background: #0b1220; color: rgba(255, 255, 255, .62); padding: 44px 0 30px; margin-top: 50px; }
.footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.footer a { display: block; font-size: 13px; padding: 3px 0; color: rgba(255, 255, 255, .62); }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 44px 0 60px; }
  .hero-art { display: none; }
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav, .header-actions .desktop-only, .brand-switch { display: none; }
  .search-card { grid-template-columns: 1fr 1fr; }
  .search-card .field:first-child { grid-column: 1 / -1; }
  .search-card .btn { grid-column: 1 / -1; }
  .mode-cards { grid-template-columns: 1fr; margin-top: -28px; }
  .mode-cards.second.three { grid-template-columns: 1fr; }
  .join-banner { grid-template-columns: 1fr; padding: 26px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-card { grid-template-columns: 96px 1fr; }
  .order-card .thumb { width: 96px; height: 70px; }
  .order-card .side { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .order-card .actions { margin-top: 0; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .header { height: 58px; }
  :root { --header-h: 58px; }
  .brand { font-size: 17px; }
  .brand img { width: 30px; height: 30px; }
  .hero-inner { padding: 30px 0 54px; }
  .hero h1 { letter-spacing: -1px; }
  .hero p.lead { font-size: 14px; }
  .hero-stats { gap: 20px; }
  .hero-stats b { font-size: 20px; }
  .section { padding: 32px 0; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 22px; }
  .car-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-tab { display: flex; }
  body { padding-bottom: 64px; }
  .filter-inner { border-radius: 12px; }
  .filter-inner .seg { width: 100%; overflow-x: auto; }
  .filter-inner select, .filter-inner input { max-width: none; flex: 1 1 44%; }
  .mode-card { padding: 20px; }
  .mode-card p { max-width: 100%; padding-bottom: 34px; font-size: 13px; }
  .mode-card .go { right: 18px; bottom: 16px; }
  .search-card .field input, .search-card .field select { font-size: 13px; padding: 0 8px; }
  .detail-title { font-size: 24px; }
  .footer { margin-top: 30px; padding-bottom: 24px; }
  .footer .grid { grid-template-columns: 1fr; gap: 20px; }
  .modal { border-radius: 16px; }
  .booking-card { padding: 18px; }
  .page-head h1 { font-size: 24px; }
  .order-card { grid-template-columns: 1fr; }
  .order-card .thumb { width: 100%; height: 140px; }
  .order-card .side { flex-direction: column; align-items: flex-start; gap: 8px; }
  .order-card .price { text-align: left; }
}

