/* my/my.css - 👤 會員中心（同主網站一樣嘅米白 + 的士紅配色） */
:root {
  --page: #FAF7F2; --card: #FFFFFF; --stroke: #E2DDD3; --ink: #0F172A; --sub: #475569; --muted: #94a3b8;
  --red: #DC2626; --red-d: #B91C1C; --red-50: #FEF2F2; --red-100: #FEE2E2;
  --green: #16a34a; --green-50: #f0fdf4; --wa: #25D366; --amber-50: #fffbeb; --amber: #b45309;
  --blue: #1d4ed8; --blue-50: #eff6ff;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: "Noto Sans HK", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang HK", sans-serif;
  font-size: 15px; line-height: 1.55; min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* 頂部 */
.m-top { background: #fff; border-bottom: 1px solid var(--stroke); }   /* 主網站導航列下面嘅細列 */
.m-sub-t { font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* 🔠 字體大小：導航列「大字」掣（標準 → 大字 → 特大），會記住 */
html.font-lg main.wrap, html.font-lg .m-top-in, html.font-lg #m-sheet .sheet { zoom: 1.12; }
html.font-xl main.wrap, html.font-xl .m-top-in, html.font-xl #m-sheet .sheet { zoom: 1.25; }
html.font-lg .map-box { zoom: 0.893; }   /* 地圖唔放大，免得撳位走位 */
html.font-xl .map-box { zoom: 0.8; }
.m-top-in { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 16px; }
.m-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.m-brand img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.m-brand b { font-size: 15px; font-weight: 900; white-space: nowrap; }
.m-brand small { display: block; font-size: 10.5px; color: var(--sub); font-weight: 700; line-height: 1.1; }
.m-top-act { display: flex; gap: 6px; flex-shrink: 0; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--stroke); background: #f8f6f1; font-size: 12.5px; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill.red { background: var(--red); border-color: var(--red); color: #fff; }

.wrap { max-width: 640px; margin: 0 auto; padding: 14px 16px 40px; }
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.card h2 { margin: 0 0 10px; font-size: 16px; font-weight: 900; display: flex; align-items: center; gap: 6px; }
.card h3 { margin: 0 0 6px; font-size: 14px; font-weight: 900; }
.muted { color: var(--sub); font-size: 13px; }
.tiny { font-size: 12px; color: var(--muted); }

/* 成功提示 */
.hero { text-align: center; padding: 22px 16px 18px; background: linear-gradient(180deg, var(--green-50), #fff); border-color: #bbf7d0; }
.hero .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; box-shadow: 0 8px 20px rgba(22,163,74,.25); }
.hero h1 { margin: 0; font-size: 21px; font-weight: 900; }
.hero p { margin: 6px 0 0; color: var(--sub); font-size: 13.5px; }
.order-no { display: inline-block; margin-top: 8px; font-weight: 900; font-size: 13px; background: #fff; border: 1px dashed var(--stroke); border-radius: 8px; padding: 3px 10px; letter-spacing: .5px; }

/* 進度 */
.steps { display: flex; justify-content: space-between; position: relative; margin: 4px 2px 2px; }
.steps::before { content: ""; position: absolute; left: 12px; right: 12px; top: 12px; height: 3px; background: #eee9df; border-radius: 3px; }
.steps .bar { position: absolute; left: 12px; top: 12px; height: 3px; background: var(--green); border-radius: 3px; transition: width .4s; }
.step { position: relative; z-index: 1; flex: 1; text-align: center; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.step .dot { width: 26px; height: 26px; margin: 0 auto 5px; border-radius: 50%; background: #fff; border: 3px solid #eee9df; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.step.done { color: var(--ink); }
.step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.step.current .dot { box-shadow: 0 0 0 5px rgba(22,163,74,.18); }
.cancelled-box { background: #f1f5f9; border-radius: 12px; padding: 10px 12px; font-weight: 800; color: #475569; text-align: center; }

/* 車牌 + 地圖 */
.plate { display: inline-block; background: #fef9c3; border: 2px solid #111; border-radius: 8px; padding: 2px 12px; font-weight: 900; font-size: 22px; letter-spacing: 2px; font-family: "Plus Jakarta Sans", sans-serif; }
.track-frame { width: 100%; height: 440px; border: 0; border-radius: 14px; background: #e2e8f0; display: block; margin-top: 10px; }
.spot { background: var(--blue-50); color: var(--blue); border-radius: 12px; padding: 8px 12px; font-weight: 900; margin-top: 8px; }

/* 資料表 */
.kv { display: grid; grid-template-columns: 84px 1fr; gap: 7px 10px; font-size: 14px; }
.kv dt { color: var(--sub); font-weight: 700; }
.kv dd { margin: 0; font-weight: 700; word-break: break-word; }
.route { position: relative; padding-left: 18px; }
.route div { position: relative; padding: 2px 0; }
.route div::before { content: ""; position: absolute; left: -14px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.route div.to::before { background: var(--red); }
.route div.via::before { background: #f59e0b; width: 7px; height: 7px; left: -13px; }
.route::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: #e7e2d8; }
.fare { font-size: 18px; font-weight: 900; color: var(--red-d); }

.msg { white-space: pre-wrap; font-size: 14px; line-height: 1.65; background: #fbfaf7; border: 1px solid #efeae0; border-radius: 14px; padding: 12px 14px; }

/* 掣 */
.btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; border-radius: 14px; border: 1px solid var(--stroke); background: #fff; font-weight: 900; font-size: 15px; cursor: pointer; text-decoration: none; padding: 10px 14px; -webkit-tap-highlight-color: transparent; transition: transform .08s; }
.btn:active { transform: scale(.98); }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: transparent; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stack > * + * { margin-top: 8px; }

/* 表單 */
.field { margin-bottom: 10px; }
.field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 5px; }
.input, .select, textarea.input { width: 100%; min-height: 48px; border: 1px solid var(--stroke); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: 16px; }
.input:focus, .select:focus { outline: 2px solid rgba(220,38,38,.25); border-color: var(--red); }
.phone-row { display: flex; gap: 8px; }
.phone-row .select { width: 104px; flex-shrink: 0; }
.otp-input { letter-spacing: 10px; text-align: center; font-size: 24px; font-weight: 900; font-family: "Plus Jakarta Sans", monospace; }
.err { color: var(--red-d); font-size: 13px; font-weight: 800; margin-top: 6px; min-height: 1em; }
.ok { color: var(--green); font-size: 13px; font-weight: 800; }
.linkbtn { background: none; border: 0; color: var(--blue); font-weight: 800; font-size: 13.5px; cursor: pointer; padding: 6px 0; text-decoration: underline; }
.code-big { font-size: 30px; font-weight: 900; letter-spacing: 6px; text-align: center; font-family: "Plus Jakarta Sans", monospace; background: var(--amber-50); border: 1px dashed #fcd34d; border-radius: 14px; padding: 10px; margin: 8px 0; }

/* 分頁 */
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex-shrink: 0; border: 1px solid var(--stroke); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 900; font-size: 13.5px; cursor: pointer; }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 行程卡 */
.trip { display: block; text-decoration: none; background: #fff; border: 1px solid var(--stroke); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; }
.trip-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.trip-time { font-weight: 900; font-size: 15px; }
.chip { display: inline-block; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 900; white-space: nowrap; }
.chip.received { background: var(--amber-50); color: var(--amber); }
.chip.confirmed { background: var(--blue-50); color: var(--blue); }
.chip.plated, .chip.arrived { background: var(--green-50); color: var(--green); }
.chip.done { background: #f1f5f9; color: #475569; }
.chip.cancelled { background: #f1f5f9; color: #94a3b8; text-decoration: line-through; }
.trip-route { font-size: 13.5px; color: var(--sub); font-weight: 700; }
.trip-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-size: 12.5px; color: var(--sub); }
.empty { text-align: center; color: var(--muted); padding: 22px 8px; font-weight: 700; }

/* 地址 */
.addr-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 6px; margin-bottom: 8px; align-items: center; }
.addr-row .input { min-height: 42px; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--stroke); background: #fff; cursor: pointer; font-size: 15px; }

/* 申請 */
.req { border-radius: 12px; padding: 8px 10px; font-size: 13px; margin-top: 8px; background: #f8fafc; border: 1px solid #e2e8f0; }
.req b { font-weight: 900; }
.req.pending { background: var(--amber-50); border-color: #fde68a; }
.req.done { background: var(--green-50); border-color: #bbf7d0; }
.req.rejected { background: #fef2f2; border-color: #fecaca; }

/* 彈出 */
.sheet-bg { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 1200; display: none; align-items: flex-end; justify-content: center; }
.sheet-bg.on { display: flex; }
.sheet { background: #fff; width: 100%; max-width: 560px; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 90vh; overflow-y: auto; }
@media (min-width: 600px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; } }
.sheet h3 { margin: 0 0 10px; font-size: 17px; font-weight: 900; }

.toast { position: fixed; left: 50%; top: calc(70px + env(safe-area-inset-top)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 800; font-size: 14px; z-index: 300; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; }
.skeleton { background: linear-gradient(90deg, #f1ede5 25%, #f8f6f1 50%, #f1ede5 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; height: 16px; margin: 8px 0; }
@keyframes sk { to { background-position: -200% 0; } }
.foot { text-align: center; color: var(--muted); font-size: 12px; padding: 10px 0 20px; }

/* 🚕 你嘅專車 + 地圖 */
.car-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.car-img { width: 118px; height: 74px; object-fit: cover; border-radius: 12px; border: 1px solid var(--stroke); flex-shrink: 0; }
.live-status { margin-top: 12px; border-radius: 12px; padding: 10px 12px; font-weight: 900; font-size: 15px; }
.live-status.go { background: var(--blue-50); color: var(--blue); }
.live-status.here { background: var(--green); color: #fff; }
.live-status.wait { background: #f8f6f1; color: var(--sub); font-weight: 800; font-size: 14px; }
.map-box { width: 100%; height: 56vh; min-height: 320px; max-height: 560px; border-radius: 14px; margin-top: 10px; background: #e8e4dc; overflow: hidden; }
.msg-img { display: block; width: 100%; height: auto; border-radius: 14px; margin-top: 10px; border: 1px solid #efeae0; }
/* ⭐ 評分 */
.stars { display: flex; gap: 6px; justify-content: center; margin: 4px 0; }
.stars button { background: none; border: 0; font-size: 38px; line-height: 1; color: #e2ddd3; cursor: pointer; padding: 2px; transition: transform .1s, color .1s; }
.stars button.on { color: #f59e0b; }
.stars button:active { transform: scale(.9); }
.stars-show { font-size: 26px; color: #f59e0b; letter-spacing: 2px; }

/* ========== 🔐 登入頁（車隊相 + 浮動登入卡） ========== */
body.login-mode .m-top { display: none; }   /* 登入頁：導航列下面直接係大圖 */
body.login-mode main.wrap { max-width: none; padding: 0 0 30px; }
body.login-mode .foot { display: none; }
.lg-hero { height: 280px; background: linear-gradient(180deg, rgba(15,23,42,.15) 0%, rgba(15,23,42,.35) 55%, rgba(15,23,42,.88) 100%), url(../Pic_Mifa_Ext.jpg) center 40%/cover, #1e293b; position: relative; }
.lg-hero.short { height: 210px; }
.lg-hero-txt { position: absolute; left: 0; right: 0; bottom: 76px; max-width: 560px; margin: 0 auto; padding: 0 22px; color: #fff; }
.lg-hero-txt h1 { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: .5px; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.lg-hero-txt p { margin: 6px 0 0; font-size: 15px; font-weight: 700; opacity: .95; }
.lg-body { max-width: 560px; margin: -60px auto 0; padding: 0 14px; position: relative; z-index: 2; }
.lg-sheet { background: #fff; border-radius: 26px; padding: 20px 18px 16px; box-shadow: 0 18px 40px rgba(15,23,42,.16); }
.perks { display: flex; gap: 8px; margin-bottom: 16px; }
.perk { flex: 1; background: #FAF7F2; border: 1px solid #EFEAE0; border-radius: 16px; padding: 10px 4px; text-align: center; font-size: 11.5px; font-weight: 800; color: #334155; line-height: 1.35; }
.perk i { display: block; font-style: normal; font-size: 22px; margin-bottom: 4px; }
.lg-lbl { display: block; font-size: 13px; font-weight: 900; margin-bottom: 7px; }
.lg-phone { display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 16px; height: 58px; overflow: hidden; background: #fff; }
.lg-phone:focus-within { box-shadow: 0 0 0 4px rgba(15,23,42,.08); }
.lg-phone select { border: 0; border-right: 1px solid var(--stroke); background: #FAF7F2; padding: 0 8px 0 12px; font-weight: 900; font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; width: 104px; }
.lg-phone input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 14px; font-size: 21px; font-weight: 800; letter-spacing: 1.5px; font-family: "Plus Jakarta Sans", inherit; }
.lg-phone input::placeholder { color: #c9c3b8; font-weight: 700; letter-spacing: 1px; }
.lg-wa { margin-top: 12px; width: 100%; height: 56px; border: 0; border-radius: 16px; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 900; font-size: 17px; box-shadow: 0 8px 18px rgba(37,211,102,.32); cursor: pointer; text-decoration: none; }
.lg-wa:active { transform: scale(.98); }
.lg-wa[disabled] { opacity: .6; }
.wa-ico { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lg-alt { display: block; width: 100%; background: none; border: 0; margin-top: 12px; font-size: 13.5px; font-weight: 800; color: var(--blue); cursor: pointer; padding: 6px 0; }
.lg-fine { text-align: center; font-size: 12px; color: #94a3b8; margin: 14px 0 16px; line-height: 1.7; }
.lg-fine a { color: #64748b; font-weight: 800; }
.lg-back { background: none; border: 0; padding: 0 0 10px; font-size: 13px; font-weight: 900; color: var(--sub); cursor: pointer; }
.lg-h { margin: 0 0 4px; font-size: 21px; font-weight: 900; }
.lg-sub { font-size: 13.5px; color: #64748b; font-weight: 700; margin: 0 0 16px; }
.lg-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.lg-link { background: none; border: 0; font-size: 13px; font-weight: 800; color: var(--blue); cursor: pointer; padding: 6px 0; }
.lg-link[disabled] { color: #94a3b8; cursor: default; }
.otp-wrap { position: relative; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp-boxes div { height: 60px; border-radius: 14px; border: 2px solid var(--stroke); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; background: #fff; font-family: "Plus Jakarta Sans", inherit; transition: border-color .15s; }
.otp-boxes div.f { border-color: var(--ink); }
.otp-boxes div.cur { border-color: var(--red); box-shadow: 0 0 0 4px rgba(220,38,38,.14); }
.otp-boxes div.cur::after { content: ""; width: 2px; height: 28px; background: var(--red); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.otp-real { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.01; border: 0; font-size: 16px; color: transparent; caret-color: transparent; background: transparent; }
.otp-boxes.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.qr-box { display: flex; justify-content: center; margin: 8px 0; }
.qr-box #qr { padding: 10px; background: #fff; border: 1px solid var(--stroke); border-radius: 16px; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid #e2e8f0; border-top-color: var(--wa); border-radius: 50%; animation: sp .8s linear infinite; vertical-align: -1px; }
@keyframes sp { to { transform: rotate(360deg); } }

/* 🚦 司機狀態（跟 taxioms 追蹤頁） */
.live-status.prep { background: #7c3aed; color: #fff; }
.live-status.warn { background: #d97706; color: #fff; }
.live-status.spot { background: #fbbf24; color: #0f172a; text-align: center; border: 2px solid #f59e0b; }
.spot-title { font-size: 13px; font-weight: 900; margin-bottom: 4px; }
.spot-num { font-size: 18px; font-weight: 900; }
.spot-num b { display: inline-block; background: #0f172a; color: #fcd34d; border-radius: 14px; padding: 2px 14px; font-size: 28px; letter-spacing: 1px; margin: 0 4px; vertical-align: middle; }
.live-sub { font-size: 13px; font-weight: 800; color: var(--sub); margin-top: 6px; }
.btn.guide-btn { margin-top: 10px; min-height: 44px; font-size: 14px; background: #0f172a; color: #fff; border-color: #0f172a; }
.guide-img { display: block; width: 100%; border-radius: 14px; margin-top: 8px; border: 1px solid var(--stroke); }

/* 🔔 訂單頁：未登入嘅窄 banner（專車卡下面） */
.nudge { display: flex; align-items: center; gap: 10px; width: 100%; margin: -2px 0 12px; padding: 10px 12px; border: 1px solid #fde68a; background: linear-gradient(90deg, #fffbeb, #fef9c3); border-radius: 14px; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.nudge:active { transform: scale(.99); }
.nudge-ico { font-size: 18px; flex-shrink: 0; }
.nudge-txt { flex: 1; min-width: 0; font-size: 13px; font-weight: 800; line-height: 1.45; }
.nudge-go { flex-shrink: 0; background: #facc15; color: #0f172a; font-weight: 900; font-size: 12.5px; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.lg-masked { font-family: "Plus Jakarta Sans", inherit; font-size: 20px; font-weight: 800; letter-spacing: 1px; text-align: center; padding: 12px; border-radius: 14px; background: #FAF7F2; border: 1px solid #EFEAE0; margin: 8px 0 4px; }
.sheet .perks { margin-top: 4px; }

/* ⭐ 評分回應 */
.fb-reply { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; font-size: 13.5px; font-weight: 700; line-height: 1.55; }
.fb-reply.low { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }

/* 🔁 再訂一次／訂回程確認卡 */
.qk h3 { margin: 0 0 2px; }
.qk-sub { margin: 0 0 12px; color: #64748b; font-size: 13px; }
.qk-sec { border: 1px solid #EFEAE0; background: #FAF7F2; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; }
.qk-h { font-weight: 900; font-size: 14px; margin-bottom: 8px; }
.qk-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.qk-seg button { border: 1.5px solid #E5E0D6; background: #fff; border-radius: 10px; padding: 9px 6px; font: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; color: inherit; }
.qk-seg button.on { border-color: #DC2626; background: #FEF2F2; color: #B91C1C; }
.qk-in { width: 100%; box-sizing: border-box; border: 1.5px solid #E5E0D6; border-radius: 10px; padding: 10px; font: inherit; font-size: 15px; background: #fff; color: inherit; }
.qk-hint { font-size: 13px; color: #475569; line-height: 1.5; }
.qk-lrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; font-weight: 700; }
.qk-step { display: inline-flex; align-items: center; gap: 10px; }
.qk-step button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #E5E0D6; background: #fff; font-size: 18px; font-weight: 900; cursor: pointer; color: #0f172a; line-height: 1; }
.qk-step button:disabled { opacity: .35; cursor: default; }
.qk-step b { min-width: 18px; text-align: center; font-size: 16px; }
.qk-sum { border: 1px solid #EFEAE0; border-radius: 14px; padding: 4px 12px; margin-bottom: 10px; }
.qk-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #EFEAE0; font-size: 14px; }
.qk-row:last-child { border-bottom: 0; }
.qk-l { width: 84px; flex-shrink: 0; color: #64748b; font-weight: 700; }
.qk-v { flex: 1; min-width: 0; font-weight: 800; word-break: break-word; }
.qk-price { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-radius: 14px; background: #0f172a; color: #fff; font-weight: 800; }
.qk-price b { font-size: 22px; }
.qk-price .qk-calc { font-size: 15px; opacity: .8; }
.qk-diff { margin-top: 6px; font-size: 12.5px; font-weight: 800; color: #B45309; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 6px 10px; }
.qk-same { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #15803D; }
.qk-ask { margin: 14px 0 8px; font-weight: 900; text-align: center; }
.qk-btns { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.qk-btns .btn:disabled { opacity: .45; }
.qk-need { min-height: 18px; margin-top: 6px; text-align: center; font-size: 12.5px; color: #B45309; font-weight: 700; }
.qk-err { margin-top: 8px; color: #B91C1C; font-size: 13px; font-weight: 700; }
.qk-warn { margin-top: 8px; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; line-height: 1.5; }
.qk-flight-in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qk-flight-in label { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 12px; font-weight: 800; color: #64748b; }
.qk-flight-in input { -webkit-appearance: none; appearance: none; width: 100%; box-sizing: border-box; min-width: 0; min-height: 44px; border: 1.5px solid #E5E0D6; border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 15px; background: #fff; color: #0f172a; }
.qk-flight-in input#qkFNo { text-transform: uppercase; }
.qk-fgo { margin-top: 8px; min-height: 44px; }
.qk input[type="date"], .qk input[type="datetime-local"] { -webkit-appearance: none; appearance: none; min-height: 44px; display: block; text-align: left; }
.qk-fcard { margin-top: 10px; border-radius: 16px; background: rgba(236,253,245,.9); border: 1px solid #A7F3D0; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.qk-fhead { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #A7F3D0; }
.qk-fico { width: 30px; height: 30px; border-radius: 50%; background: #059669; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; transform: rotate(0deg); }
.qk-fname { display: flex; align-items: baseline; gap: 8px; flex: 1; min-width: 0; }
.qk-fname span { font-size: 13px; font-weight: 900; color: #064E3B; }
.qk-fname b { font-size: 17px; font-weight: 900; color: #022C22; letter-spacing: .5px; }
.qk-fbadge { flex-shrink: 0; font-size: 11px; font-weight: 900; background: #059669; color: #fff; padding: 3px 10px; border-radius: 999px; }
.qk-froute { background: rgba(255,255,255,.95); border: 1px solid #D1FAE5; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.qk-froute > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.qk-froute > div + div { border-top: 1px solid #ECFDF5; padding-top: 6px; }
.qk-fi { width: 18px; text-align: center; }
.qk-fl { color: #78716C; font-weight: 800; }
.qk-froute b { color: #1C1917; font-weight: 900; }
.qk-fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qk-fgrid2 > div { background: rgba(255,255,255,.9); border: 1px solid #D1FAE5; border-radius: 12px; padding: 9px 10px; }
.qk-fgrid2 small { display: block; font-size: 10.5px; font-weight: 800; color: #78716C; }
.qk-fgrid2 b { display: block; margin-top: 3px; font-size: 13px; font-weight: 900; color: #064E3B; }
.qk-fgrid2 b.qk-feta { font-size: 18px; color: #B91C1C; }
.qk-fgrid2 b.qk-feta em { font-style: normal; font-size: 12px; white-space: nowrap; }
.qk-fst { display: block; margin-top: 2px; font-size: 11.5px; color: #475569; font-weight: 700; }
.qk-fok { display: flex; gap: 8px; background: rgba(209,250,229,.7); color: #022C22; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; line-height: 1.6; }
.qk-fnf { margin-top: 10px; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 16px; padding: 12px 14px; font-size: 12.5px; color: #78350F; line-height: 1.6; }
.qk-fnf-h { font-weight: 900; color: #92400E; margin-bottom: 6px; }
.qk-fnf p { margin: 0 0 4px; }
.qk-fnf-ok { display: flex; gap: 6px; margin-top: 6px; background: rgba(255,255,255,.8); border: 1px solid #FDE68A; border-radius: 12px; padding: 8px 10px; color: #1C1917; }
.qk-edit { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.qk-edit label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 800; color: #475569; }
.qk-wprow { display: flex; gap: 6px; }
.qk-x { border: none; background: #F1F5F9; border-radius: 10px; width: 40px; font-size: 14px; cursor: pointer; }
.qk-link { background: none; border: none; color: #2563EB; font-weight: 800; font-size: 13px; text-align: left; padding: 2px 0; cursor: pointer; }
.qk-sub2 { font-size: 13px; font-weight: 800; color: #475569; margin: 2px 0 6px; }
.qk-stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.qk-stages button { border: 1.5px solid #E5E0D6; background: #fff; border-radius: 12px; padding: 9px 4px; font: inherit; cursor: pointer; color: inherit; display: flex; flex-direction: column; gap: 2px; align-items: center; }
.qk-stages button b { font-size: 13.5px; }
.qk-stages button small { font-size: 11px; color: #64748b; }
.qk-stages button.on { border-color: #DC2626; background: #FEF2F2; }
.qk-stages button.on b { color: #B91C1C; }
.qk-vnote { margin: 2px 0 8px; font-size: 12.5px; font-weight: 800; color: #B91C1C; background: #FEF2F2; border: 1px solid #FECACA; border-radius: 10px; padding: 7px 10px; line-height: 1.45; }

/* 🚖 實時地圖：開叫車 App 嘅進度畫面 */
.ride-live { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(234,88,12,.35), transparent 60%), linear-gradient(160deg, #1c1917, #292524); box-shadow: 0 10px 24px rgba(28,25,23,.25); position: relative; overflow: hidden; }
.ride-live .rl-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: linear-gradient(135deg, #b91c1c, #ea580c); flex: none; animation: rlBob 1.6s ease-in-out infinite; }
@keyframes rlBob { 50% { transform: translateY(-3px); } }
.ride-live .rl-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ride-live .rl-t b { font-size: 16.5px; font-weight: 900; }
.ride-live .rl-t span { font-size: 13.5px; color: #e7e5e4; margin-top: 2px; }
.ride-live .rl-go { font-size: 26px; opacity: .85; }
.ride-live::after { content: ""; position: absolute; top: 0; bottom: 0; width: 35%; left: -50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent); transform: skewX(-18deg); animation: rpShine2 3s ease-in-out infinite; }
@keyframes rpShine2 { 0%, 40% { left: -50%; } 80%, 100% { left: 130%; } }

/* 🔗 多車同行：訂單頁列晒所有車 */
.bundle-list { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.bundle-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid #e2e8f0; border-radius: 14px; background: #fff; }
.bundle-n { width: 24px; height: 24px; border-radius: 50%; background: #1c1917; color: #fff; font-size: 13px; font-weight: 900; display: grid; place-items: center; flex: none; }
.bundle-row:nth-child(2) .bundle-n { background: #1d4ed8; } .bundle-row:nth-child(3) .bundle-n { background: #7c3aed; }
.plate.sm { font-size: 17px; padding: 3px 8px; }
.plate.pend { background: #f1f5f9; color: #64748b; border-color: #cbd5e1; font-size: 13px; }
.bundle-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13.5px; color: #475569; }
.bundle-t b { color: #0f172a; font-size: 14.5px; }
.bundle-t i { font-style: normal; font-size: 11px; color: #fff; background: #b91c1c; border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.bundle-call { width: 38px; height: 38px; border-radius: 50%; background: #059669; display: grid; place-items: center; text-decoration: none; font-size: 17px; flex: none; }
html.dark-mode .bundle-row { background: #1e293b; border-color: #334155; }
html.dark-mode .bundle-t b { color: #f1f5f9; }
