/* ============================================================
   FUJIRIDE · 旅客端样式（手机优先）
   ============================================================ */
:root {
  --brand: #0a63d1;
  --brand-d: #00275c;
  --brand-l: #e8f1fe;
  --amber: #e2a73b;
  --ink: #172033;
  --muted: #5a6578;
  --line: #dde3ec;
  --bg: #f4f6fa;
  --card: #ffffff;
  --err: #b3261e;
  --err-bg: #fbeceb;
  --ok: #0f6b4f;      /* 成功 / 已确认仍用绿色（通用习惯），和品牌蓝区分开 */
  --ok-bg: #e5f4ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 39, 92, .06), 0 8px 24px rgba(0, 39, 92, .08);
}
* { box-sizing: border-box; }
/* 手机适配要点：
   - 输入框字号 ≥ 16px，否则 iPhone 点输入框会自动放大页面
   - 横屏刘海 / 底部横条留出安全区（env(safe-area-inset-*)，配合 viewport-fit=cover）
   - 页面不允许横向滚动；点按区域不小于 40px */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light; -webkit-tap-highlight-color: rgba(10, 99, 209, .12); }
body {
  margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; font-size: 16px; overflow-wrap: break-word;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "PingFang SC", "PingFang TC", "Apple SD Gothic Neo", "Noto Sans JP", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
a { color: var(--brand); }
a, button, label, summary, select, input[type=checkbox], input[type=radio] { touch-action: manipulation; }
img, svg, canvas { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- 顶栏 ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 4px max(16px, env(safe-area-inset-right)) 4px max(16px, env(safe-area-inset-left)); background: #fff; color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(0, 39, 92, .06);
}
/* logo 是蓝色系、白底设计，所以页头用白色（放在深绿底上「FUJI」会看不清） */
.logo { display: flex; align-items: center; min-height: 44px; min-width: 0; text-decoration: none; }
.logo-img { display: block; width: auto; height: 52px; }
@media (min-width: 720px) { .logo-img { height: 58px; } }
/* 页脚的文字品牌名 fuji<i>ride</i>：ride 用 logo 里的亮蓝（深绿底上调亮一点） */
.wm { font-weight: 800; letter-spacing: -.01em; }
.wm i { font-style: normal; color: #7cc0ff; }
.lang { flex: none; }
.top .lang select {
  width: auto; min-height: 40px; background-color: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 30px 6px 14px; font-size: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a6578' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 12px center;
}
.lang select option { color: var(--ink); }

/* ---------- 首屏 ---------- */
.hero {
  background: linear-gradient(160deg, var(--brand-d) 0%, #084fa8 60%, #0a58c2 100%); color: #fff;
  padding: 28px 16px 84px;
}
.hero-in { max-width: 720px; margin: 0 auto; }
.kicker { margin: 0 0 6px; color: #b7d3f7; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 0 0 8px; font-size: clamp(24px, 6vw, 36px); line-height: 1.25; }
.lead { margin: 0 0 14px; color: #d6e6fb; }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.points li {
  font-size: 13px; padding: 4px 10px 4px 24px; border-radius: 999px; background: rgba(255, 255, 255, .12); position: relative;
}
.points li::before { content: "✓"; position: absolute; left: 9px; color: var(--amber); font-weight: 700; }

/* ---------- 卡片 / 表单 ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; }
.book-wrap { padding: 0 12px; margin-top: -64px; position: relative; }
.book { max-width: 720px; margin: 0 auto; }
.page { max-width: 720px; margin: 0 auto; padding: 16px 12px 32px; }
.hp { position: absolute; left: -9999px; }

.svc { border: 0; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.svc-opt { position: relative; min-width: 0; }
/* 自绘的单选按钮：真正的 input 缩成 1px 藏在卡片里（绝对定位的 100% 宽会把页面撑出横向滚动条） */
.svc-opt input, .car input {
  position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0;
  opacity: 0; pointer-events: none;
}
.svc-opt span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; height: 100%;
  min-height: 56px; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: .15s;
}
.svc-opt b { font-size: 15px; line-height: 1.3; }
.svc-opt i { font-style: normal; font-size: 12px; color: var(--muted); }
.svc-opt input:checked + span { border-color: var(--brand); background: var(--brand-l); box-shadow: inset 0 0 0 1px var(--brand); }
.svc-opt input:focus-visible + span { outline: 3px solid #9cc4f5; }

.grid2, .grid3 { display: grid; gap: 0 12px; }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 同一行的标签有长有短（折成两行）时，输入框仍然底部对齐 */
.grid2 > .field, .grid3 > .field { display: flex; flex-direction: column; justify-content: flex-end; }
.field { margin-bottom: 12px; min-width: 0; }
.field label, .cancel label { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--muted); margin-bottom: 5px; }
input, select, textarea {
  display: block; width: 100%; min-width: 0; font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); background-color: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 48px; margin: 0;
}
/* 下拉框统一自绘箭头：iPhone / 三星 / 谷歌浏览器外观一致，文字不会被系统箭头挡住 */
select {
  -webkit-appearance: none; appearance: none; padding-right: 34px; text-overflow: ellipsis; white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235a6578' fill='none' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
/* iPhone 的日期框默认居中、宽度不受控，统一成普通输入框的样子 */
input[type=date], input[type=time] { -webkit-appearance: none; appearance: none; text-align: left; }
input::-webkit-date-and-time-value { text-align: left; margin: 0; }
input::-webkit-calendar-picker-indicator { margin-left: 6px; padding: 0; }
input::placeholder, textarea::placeholder { color: #97a1b1; }
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 99, 209, .15); }
.hint { display: block; font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 6px 0 12px; }
/* 紧跟在输入框行后面的说明往上靠一点（输入框行自带 12px 下边距） */
.field + .hint, .grid2 + .hint, .grid3 + .hint { margin-top: -4px; }
.field .hint { margin: 6px 0 0; }
.btn + .hint { margin-top: 10px; }
.hint.ok { color: var(--ok); }
.hint[hidden], .alert[hidden] { display: none; }
.sec { font-size: 17px; margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }

/* 按服务类型显示字段 */
.book .only-charter, .book .only-arrival, .book .only-departure { display: none; }
.book.is-transfer .only-transfer { display: block; }
.book.is-charter .only-transfer { display: none; }
.book.is-charter .only-charter { display: block; }
.book.is-charter .grid2.only-charter { display: grid; }
.book.is-arrival .only-arrival, .book.is-departure .only-departure { display: block; }

/* ---------- 车型卡片 ---------- */
.cars { display: grid; gap: 8px; }
.car {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  min-height: 64px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: .15s;
}
.car.on { border-color: var(--brand); background: var(--brand-l); box-shadow: inset 0 0 0 1px var(--brand); }
.car.off { cursor: not-allowed; opacity: .55; }
.car-main { min-width: 0; }
.car-main b { display: block; font-size: 15px; line-height: 1.35; }
.car-main small, .car-price small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.cap { font-size: 12px; line-height: 1.4; color: var(--brand); font-weight: 600; }
.car-main .cap { display: block; margin-top: 2px; }
.car-price { text-align: right; max-width: 120px; }
.car-price b { display: block; font-size: 18px; line-height: 1.3; color: var(--brand-d); white-space: nowrap; }
.car-price .why { color: var(--err); }
.car-ico { width: 52px; height: 30px; background: no-repeat center / contain; }
.car-sedan, .car-premium { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath d='M6 22c0-3 2-5 5-5l8-6c2-1.5 4-2 6-2h14c2 0 4 .8 5.5 2.2L51 17c4 .4 7 2.5 7 5v2H6z' fill='%230a63d1'/%3E%3Ccircle cx='18' cy='24' r='5' fill='%23172033'/%3E%3Ccircle cx='47' cy='24' r='5' fill='%23172033'/%3E%3Cpath d='M22 16l5-4h8v4zM38 12h4l4 4h-8z' fill='%23cfe0f7'/%3E%3C/svg%3E"); }
.car-premium { filter: grayscale(1) brightness(.5); }
.car-alphard { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath d='M6 23V13c0-3 2-6 6-6h30c3 0 5 1 7 3l7 7c1.5 1 2 2.5 2 4v2z' fill='%230a63d1'/%3E%3Ccircle cx='17' cy='24' r='5' fill='%23172033'/%3E%3Ccircle cx='48' cy='24' r='5' fill='%23172033'/%3E%3Cpath d='M11 10h10v6H10v-4zM24 10h10v6H24zM37 10h6l5 6H37z' fill='%23cfe0f7'/%3E%3C/svg%3E"); }
.car-hiace { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Cpath d='M4 24V9c0-2 1.5-3.5 3.5-3.5H48c2 0 3.5 1 4.5 2.5L59 17c.7 1 1 2 1 3v4z' fill='%230a63d1'/%3E%3Ccircle cx='15' cy='24' r='5' fill='%23172033'/%3E%3Ccircle cx='49' cy='24' r='5' fill='%23172033'/%3E%3Cpath d='M8 9h9v6H8zM20 9h9v6h-9zM32 9h9v6h-9zM44 9h4l4 6h-8z' fill='%23cfe0f7'/%3E%3C/svg%3E"); }
.car-coaster { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 32'%3E%3Crect x='3' y='5' width='58' height='19' rx='4' fill='%230a63d1'/%3E%3Ccircle cx='14' cy='24' r='5' fill='%23172033'/%3E%3Ccircle cx='50' cy='24' r='5' fill='%23172033'/%3E%3Cpath d='M7 9h8v6H7zM18 9h8v6h-8zM29 9h8v6h-8zM40 9h8v6h-8zM51 9h7v9h-7z' fill='%23cfe0f7'/%3E%3C/svg%3E"); }

/* ---------- 报价汇总 ---------- */
.summary { margin: 18px 0 12px; padding: 14px; background: #f9fafc; border: 1px dashed var(--line); border-radius: 12px; }
/* 左右两列的明细表；列间距用 dd 的左内边距代替，合计行上方的横线才能连成一条 */
.summary dl, .kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; margin: 0; }
.summary dt { color: var(--muted); min-width: 0; }
.summary dd { margin: 0; padding-left: 12px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary .total, .kv .total { font-weight: 700; font-size: 18px; color: var(--brand-d); padding-top: 6px; border-top: 1px solid var(--line); }
.summary .fine { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.warn { color: var(--err); font-weight: 600; margin: 0 0 8px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin: 4px 0 12px; padding: 8px 0; cursor: pointer; }
.agree input { width: 22px; height: 22px; min-height: 22px; padding: 0; margin: 0; flex: none; accent-color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700;
  border: 0; border-radius: 12px; padding: 12px 20px; cursor: pointer; text-decoration: none; min-height: 48px;
}
.btn-primary { background: var(--brand); color: #fff; font-size: 17px; }
.btn-primary:hover { background: #0850a8; }
.btn-primary:disabled { background: #8fa9cc; cursor: wait; }
.btn-danger { background: var(--err); color: #fff; margin-top: 10px; }
.btn-ghost { background: #fff; color: var(--brand-d); border: 1.5px solid var(--brand); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14.5px; border-radius: 10px; }

.alert { border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: 14.5px; }
.alert.err { background: var(--err-bg); color: var(--err); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.alert.info { background: #eef3fb; color: #1f4b8f; }
.alert.big b { display: block; font-size: 18px; }
.alert.big span { display: block; overflow-wrap: anywhere; }
.alert.big span + span { margin-top: 4px; }

/* 费用包含 */
.inc-title { margin: 12px 0 4px; font-size: 13px; font-weight: 700; color: var(--brand-d); }
.inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; color: #374256; }
.inc li { position: relative; padding-left: 20px; line-height: 1.5; }
.inc li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }
/* 已恢复上次填写 */
.alert.restored { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.linkbtn { font: inherit; font-size: 14px; font-weight: 600; color: var(--brand); background: none; border: 0; padding: 6px 0; min-height: 36px; text-decoration: underline; cursor: pointer; }
/* 手机底部价格栏 */
.bookbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 39, 92, .12);
}
.bookbar[hidden] { display: none; }
.bb-info { flex: 1; min-width: 0; line-height: 1.25; }
.bb-info small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-info b { font-size: 20px; color: var(--brand-d); font-variant-numeric: tabular-nums; }
.bookbar .btn { flex: none; max-width: 62%; min-height: 46px; padding: 10px 14px; font-size: 15px; line-height: 1.25; }
@media (min-width: 720px) { .bookbar { display: none !important; } }

/* 手机号区号选择：电脑上是号码栏下方的下拉面板，手机上铺满全屏（方便搜索，键盘弹出也不挡） */
.cc-field { position: relative; }
.tel-row { display: flex; gap: 8px; }
.tel-row #f-phone { flex: 1 1 auto; }
.cc-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 30px 0 12px; font: inherit; font-size: 16px;
  color: var(--ink); background: #fff no-repeat right 11px center; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235a6578' fill='none' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cc-btn[hidden] { display: none; }
.cc-btn:focus-visible, .cc-btn[aria-expanded=true] { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 99, 209, .15); }
.cc-flag { font-size: 20px; line-height: 1; }
.cc-pop {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40; margin-top: 6px; display: flex; flex-direction: column; min-width: min(380px, calc(100vw - 32px));
  max-height: 380px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 39, 92, .18); overflow: hidden;
}
.cc-pop[hidden] { display: none; }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 0 14px; }
.cc-head b { font-size: 15px; }
.cc-close { width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 10px; }
.cc-msg { margin: 4px 14px 0; padding: 8px 10px; border-radius: 8px; background: var(--err-bg); color: var(--err); font-size: 13.5px; }
.cc-msg[hidden] { display: none; }
.cc-q { margin: 8px 12px; width: auto; min-height: 44px; }
.cc-list { overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 8px; -webkit-overflow-scrolling: touch; }
.cc-sec { margin: 8px 8px 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cc-item {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 8px; border: 0; border-radius: 8px;
  background: none; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer;
}
.cc-item:hover, .cc-item:focus-visible { background: #f1f5fb; outline: none; }
.cc-item.on { background: var(--brand-l); }
.cc-item .cc-flag { flex: 0 0 28px; text-align: center; font-size: 18px; }   /* 电脑上没有国旗字体时显示两个字母，宽度固定才对得齐 */
.cc-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.cc-dial { flex: 0 0 auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.cc-empty { margin: 12px 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 719px) {
  .cc-pop {
    position: fixed; inset: 0; z-index: 100; margin: 0; max-height: none; border: 0; border-radius: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  html.cc-open, html.cc-open body { overflow: hidden; }
  html.cc-open .bookbar { display: none; }
}

/* ---------- 介绍区块 ---------- */
.band { padding: 36px 16px; }
.band-alt { background: #fff; }
.band h2 { text-align: center; margin: 0 0 18px; font-size: 22px; }
.why, .fleet, .how, .faq { max-width: 960px; margin: 0 auto; }
.why { display: grid; gap: 12px; grid-template-columns: 1fr; }
.why > div { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.why b { display: block; color: var(--brand-d); }
.why p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.fleet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fleet-item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.fleet-item .car-ico { width: 64px; height: 36px; margin-bottom: 4px; }
.fleet-item small { color: var(--muted); font-size: 12.5px; }
.how { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.how li { counter-increment: s; background: #fff; border-radius: 12px; padding: 14px 16px 14px 56px; position: relative; box-shadow: var(--shadow); }
.how li::before {
  content: counter(s); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center;
}
.how p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.faq details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq summary { font-weight: 600; cursor: pointer; padding: 12px 0; line-height: 1.45; }
.faq p { color: var(--muted); margin: 0 0 14px; }

/* ---------- 订单页 ---------- */
.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.track-head > div { min-width: 0; }
.track-head small { color: var(--muted); }
.track-head h1 { margin: 0; font-size: 22px; line-height: 1.3; letter-spacing: .03em; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.st-pending.badge { background: #fff4dd; color: #8a5a00; }
.st-accepted.badge { background: var(--ok-bg); color: var(--ok); }
.st-completed.badge { background: #e8ecf5; color: #2d4a7a; }
.st-cancelled.badge, .st-expired.badge { background: #eee; color: #666; }
.st-desc { color: var(--muted); margin: 8px 0 12px; }
.steps { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; font-size: 12.5px; text-align: center; }
.steps li { padding-top: 10px; border-top: 4px solid var(--line); color: var(--muted); }
.steps.st-pending .s1, .steps.st-accepted .s1, .steps.st-accepted .s2, .steps.st-completed li { border-color: var(--brand); color: var(--brand-d); font-weight: 600; }
.track section { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.track h2 { font-size: 16px; margin: 0 0 8px; }
/* 标签列最多占 45%，长标签（韩语、日语）自动折行，右侧内容不会被挤成一条竖线 */
.kv { grid-template-columns: fit-content(45%) minmax(0, 1fr); align-items: baseline; }
.kv dt { color: var(--muted); font-size: 14px; line-height: 1.45; }
.kv dd { margin: 0; padding-left: 12px; text-align: right; overflow-wrap: anywhere; }
.plate { display: inline-block; padding: 2px 8px; border: 2px solid var(--ok); border-radius: 4px; background: #eef8f2;   /* 日本营运车是绿色车牌 */ font-weight: 700; white-space: nowrap; }
.driver { background: var(--brand-l); margin: 14px -16px 0 !important; padding: 12px 16px !important; border-top: 0 !important; }
/* 电话做成按钮样式，手机上一点就能拨 */
.call {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--brand); color: var(--brand-d); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.call::before { content: ""; width: 16px; height: 16px; flex: none; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z' fill='none' stroke='%230a63d1' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.contact { list-style: none; padding: 0; margin: 0; }
.contact li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 5px 0; }
.contact span { color: var(--muted); min-width: 80px; }
.contact b { overflow-wrap: anywhere; }
.cancel summary { display: flex; align-items: center; gap: 6px; min-height: 44px; color: var(--err); cursor: pointer; font-weight: 600; list-style: none; }
.cancel summary::-webkit-details-marker { display: none; }
.cancel summary::before { content: "▸"; font-size: 13px; transition: transform .15s; }
.cancel details[open] > summary::before { transform: rotate(90deg); }
.cancel form { margin-top: 6px; }
.share, .more { margin-top: 12px; }
.more h2 { font-size: 16px; margin: 0 0 10px; }
.more-links { display: flex; flex-wrap: wrap; gap: 8px; }
.more-links .btn { flex: 1 1 220px; }
.cal { margin: 12px 0 0; }
.next .inc { font-size: 14px; }
.share p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.copyrow { display: flex; gap: 8px; }
.copyrow .copy { flex: 1; color: var(--muted); }
.copyrow .btn { flex: none; }
.prose h2 { font-size: 16px; margin: 18px 0 4px; }
.prose p { color: #374256; margin: 0; }

/* ---------- 页脚 ---------- */
.foot {
  background: var(--brand-d); color: #c8d8ee; font-size: 14px;
  padding: 28px max(16px, env(safe-area-inset-right)) calc(32px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.foot-in { max-width: 960px; margin: 0 auto; display: grid; gap: 12px; }
.foot-brand b { color: #fff; margin-right: 8px; }
.foot-contact { list-style: none; padding: 0; margin: 0; }
.foot-contact span { opacity: .7; margin-right: 6px; }
.foot-contact a { display: inline-block; padding: 6px 0; color: #fff; }
.foot-links { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.foot-links a { display: inline-flex; align-items: center; min-height: 40px; color: #fff; }
.foot-company { margin: 0; font-size: 12.5px; opacity: .7; }

@media (min-width: 720px) {
  .why { grid-template-columns: repeat(2, 1fr); }
  .fleet { grid-template-columns: repeat(5, 1fr); }
  .how { grid-template-columns: repeat(3, 1fr); }
  .card { padding: 24px; }
  .driver { margin: 14px -24px 0 !important; padding: 14px 24px !important; }
}
/* 手机竖屏：机场 / 区域、电话 / 邮箱这类内容长的字段改成一行一个，选项文字不再被截断 */
@media (max-width: 559px) {
  .grid2.stack-sm { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .book-wrap { padding: 0 8px; }
  .card { padding: 16px 12px; }
  .driver { margin: 14px -12px 0 !important; padding: 12px !important; }
  .grid2, .grid3 { gap: 0 8px; }
  .grid3 select { padding-left: 10px; padding-right: 26px; background-position: right 9px center; }
  .grid2 select { padding-left: 10px; padding-right: 28px; background-position: right 10px center; }
  input[type=date] { padding-left: 10px; padding-right: 8px; }
  .svc-opt i { display: none; }
  .svc-opt b { font-size: 14px; }
  .car { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; padding: 10px; }
  .car-ico { width: 40px; }
  .copyrow { flex-wrap: wrap; }
  .copyrow .btn { flex: 1 1 100%; }
}
