/* ═══════════════════════════════════════════════════════════════════
   CABANA MOVE · golden hour
   ───────────────────────────────────────────────────────────────────
   The rides page lives at the hour Africa moves most: the warm light
   of a 6pm commute. Marigold, tangerine and rose on cream, plum ink,
   and one cool accent (mint) that means exactly one thing: live.

   Type: Unbounded for anything you read at arm's length (fares, the
   PIN, headings), Plus Jakarta Sans for everything else.
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Unbounded Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(/assets/fonts/unbounded-latin.woff2) format('woff2-variations'),
       url(/assets/fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2-variations'),
       url(/assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #231029;
  --ink-2: #4a2a4f;
  --mute: #8b6f80;
  --soft: #b59aa8;
  --cream: #fff7ee;
  --paper: #ffffff;
  --sand: #fdecd9;
  --blush: #ffe4e1;
  --line: rgba(35, 16, 41, .09);
  --line-2: rgba(35, 16, 41, .16);
  --sun: #ffb21e;
  --tangerine: #ff7a1a;
  --coral: #ff4f5e;
  --rose: #ff3d8b;
  --violet: #7b2ff7;
  --mint: #12b98f;
  --mint-2: #c9f5e7;
  --sky: #3aa0ff;
  --danger: #e5364b;
  --grad: linear-gradient(135deg, #ffc23d 0%, #ff7a1a 46%, #ff3d8b 100%);
  --grad-soft: linear-gradient(160deg, #fff3df 0%, #ffe3cf 55%, #ffd9e3 100%);
  --grad-ink: linear-gradient(135deg, #2b1236 0%, #4a1b4d 100%);
  --shadow: 0 22px 56px -26px rgba(130, 42, 18, .5), 0 2px 10px rgba(35, 16, 41, .06);
  --shadow-sm: 0 8px 22px -12px rgba(130, 42, 18, .45), 0 1px 3px rgba(35, 16, 41, .06);
  --r: 24px;
  --r-sm: 16px;
  --display: 'Unbounded Variable', 'Unbounded', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --top: calc(env(safe-area-inset-top, 0px) + 12px);
  --dock-h: 0px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.mv {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
img, svg { display: block; }
[hidden]:not(.mv-dock) { display: none !important; }
.mv-i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
/* The map is the page here: the floating support orb would sit on the
   panel's controls. Help lives in the trip views and the trips list. */
body.mv #cbn-sup-launcher, body.mv #cbn-apa-welcome { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
body.mv :focus-visible { outline: 3px solid rgba(255, 122, 26, .55); outline-offset: 2px; border-radius: 12px; }
/* The site-wide film grain is a full-screen blended layer that animates
   forever. Over a live map and a draggable panel it costs frames for
   texture nobody sees here. */
body.mv::after { display: none !important; animation: none !important; }

/* ── app frame ─────────────────────────────────────────────────────── */
.mv-app { position: fixed; inset: 0; overflow: hidden; }
.mv-map { position: absolute; inset: 0; background: #f7e6d2; z-index: 1; }
.mv-map .leaflet-tile-pane { filter: sepia(.26) saturate(1.28) hue-rotate(-9deg) brightness(1.035) contrast(.95); }
.mv-map .leaflet-container, .mv-map.leaflet-container { background: #f7e6d2; font-family: var(--ui); }
.mv-map .leaflet-control-attribution {
  background: rgba(255, 247, 238, .82); color: var(--mute); font-size: 9.5px; border-radius: 8px 0 0 0;
  padding: 1px 6px; backdrop-filter: blur(6px);
}
.mv-map .leaflet-control-attribution a { color: var(--ink-2); }
.mv-map .leaflet-top.leaflet-right { top: calc(var(--top) + 54px); }
.mv-sun {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 178, 30, .28), rgba(255, 178, 30, 0) 60%),
    radial-gradient(90% 50% at 100% 30%, rgba(255, 61, 139, .12), rgba(255, 61, 139, 0) 70%),
    linear-gradient(to bottom, rgba(255, 247, 238, .55), rgba(255, 247, 238, 0) 22%);
}

/* ── top bar ───────────────────────────────────────────────────────── */
.mv-top {
  position: absolute; z-index: 30; top: var(--top); left: 12px; right: 12px;
  display: flex; align-items: center; gap: 10px; pointer-events: none;
}
.mv-top > * { pointer-events: auto; }
.mv-round {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  position: relative; transition: transform .2s var(--ease);
  text-decoration: none;
}
.mv-round:active { transform: scale(.94); }
.mv-round svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mv-badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
  background: var(--grad); color: #fff; font: 700 11px/20px var(--ui); text-align: center;
  box-shadow: 0 0 0 2.5px #fff;
}
.mv-badge[hidden] { display: none; }
.mv-brand {
  margin: 0 auto; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 7px;
  border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  text-decoration: none; white-space: nowrap;
}
.mv-brand-mark {
  width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: grid; place-items: center;
  box-shadow: inset 0 -2px 6px rgba(120, 20, 60, .25);
}
.mv-brand-mark svg { width: 20px; height: 20px; }
.mv-brand b { font: 700 14px/1 var(--display); letter-spacing: -.01em; }
.mv-brand b span {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mv-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px var(--mint-2); margin-left: 2px; }

.mv-fabs {
  position: absolute; z-index: 25; right: 14px;
  bottom: calc(var(--sheet-visible, 320px) + 14px);
  display: flex; flex-direction: column; gap: 10px;
  transition: bottom .12s linear, opacity .2s;
}
.mv-fabs.is-hidden, .mv-app[data-stage="choose"] .mv-fabs, .mv-app[data-stage="offer"] .mv-fabs, .mv-app.is-pinning .mv-fabs { opacity: 0; pointer-events: none; }

/* ── the sheet ─────────────────────────────────────────────────────── */
.mv-sheet {
  position: absolute; z-index: 40; left: 0; right: 0; bottom: 0;
  height: calc(100% - var(--top) - 58px);
  background: var(--cream);
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -20px 60px -24px rgba(130, 42, 18, .45), 0 -1px 0 rgba(255, 255, 255, .7) inset;
  display: flex; flex-direction: column;
  will-change: transform; touch-action: none;
  transform: translate3d(0, 100%, 0);
}
.mv-sheet::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 120px; border-radius: 30px 30px 0 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 214, 170, .55), rgba(255, 247, 238, 0));
}
.mv-grip { flex: none; height: 28px; display: grid; place-items: center; cursor: grab; position: relative; z-index: 2; }
.mv-grip i { width: 46px; height: 5px; border-radius: 9px; background: rgba(35, 16, 41, .18); transition: width .2s var(--ease), background .2s; }
.mv-sheet.is-dragging .mv-grip i { width: 58px; background: rgba(35, 16, 41, .3); }
.mv-sheet.is-dragging { cursor: grabbing; }
.mv-scroll {
  flex: 1; min-height: 0; overflow: hidden; position: relative; z-index: 1;
  padding: 0 18px calc(var(--dock-h) + 24px + env(safe-area-inset-bottom, 0px));
}
.mv-sheet.is-full .mv-scroll { overflow-y: auto; touch-action: pan-y; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.mv-scroll::-webkit-scrollbar { width: 0; }

.mv-stage { display: none; }
.mv-stage.is-on { display: block; animation: mv-stage-in .42s var(--ease) both; }
@keyframes mv-stage-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* ── dock (pinned action) ──────────────────────────────────────────── */
.mv-dock {
  position: absolute; z-index: 45; left: 0; right: 0; bottom: 0;
  padding: 16px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, var(--cream) 72%, rgba(255, 247, 238, 0));
  transform: translate3d(0, 0, 0); transition: transform .38s var(--ease), opacity .3s;
}
.mv-dock[hidden] { display: block; transform: translate3d(0, 110%, 0); opacity: 0; pointer-events: none; }

/* ── type ──────────────────────────────────────────────────────────── */
.mv-hello { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 4px; }
.mv-hello > span { font-weight: 600; color: var(--mute); font-size: 13.5px; }
.mv-h1 { font: 700 30px/1.05 var(--display); letter-spacing: -.035em; margin: 0 0 14px; }
.mv-h2 { font: 700 21px/1.12 var(--display); letter-spacing: -.03em; margin: 0; }
.mv-h3 { font: 700 15px/1.2 var(--display); letter-spacing: -.02em; margin: 0; }
.mv-sub { color: var(--mute); font-size: 13.5px; margin: 4px 0 0; }
.mv-kicker { font: 700 11px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--tangerine); }
.mv-grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── chips & small controls ────────────────────────────────────────── */
.mv-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-weight: 650; font-size: 13.5px; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(35, 16, 41, .04); transition: transform .18s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.mv-chip:active { transform: scale(.96); }
.mv-chip svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mv-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 8px 20px -10px rgba(35, 16, 41, .6); }
.mv-chip--sun { background: #fff4dc; border-color: rgba(255, 178, 30, .45); }
.mv-when-chip { height: 32px; font-size: 13px; padding: 0 12px; }
.mv-when-chip b { font-weight: 750; }

.mv-row-scroll {
  display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 6px;
  scroll-snap-type: x proximity; scrollbar-width: none; touch-action: pan-x;
}
.mv-row-scroll::-webkit-scrollbar { display: none; }
.mv-row-scroll > * { scroll-snap-align: start; flex: none; }

/* segmented service switch */
.mv-svc {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; gap: 0;
  background: rgba(35, 16, 41, .06); border-radius: 16px; margin-bottom: 12px;
}
.mv-svc button {
  position: relative; z-index: 1; height: 38px; border-radius: 12px; font-weight: 700; font-size: 13.5px; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; gap: 6px; transition: color .25s;
}
.mv-svc button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mv-svc button[aria-selected="true"] { color: var(--ink); }
.mv-svc-ink {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3);
  background: var(--paper); border-radius: 12px; box-shadow: 0 6px 16px -8px rgba(130, 42, 18, .55);
  transition: transform .42s var(--ease);
}

/* route card */
.mv-route {
  position: relative; background: var(--paper); border-radius: 22px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); padding: 6px 54px 6px 6px; margin-bottom: 12px;
}
.mv-route::before {
  content: ''; position: absolute; left: 26.5px; top: 36px; bottom: 36px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--soft) 0 4px, transparent 4px 8px);
}
.mv-route.is-hourly::before { display: none; }
.mv-field {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 12px; border-radius: 16px;
  text-align: left; transition: background .2s;
}
.mv-field:hover { background: rgba(255, 178, 30, .08); }
.mv-field + .mv-field { border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.mv-field-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mv-field-body small { font-size: 11.5px; font-weight: 700; color: var(--mute); letter-spacing: .02em; }
.mv-field-body b { font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-field.is-empty b { color: var(--soft); font-weight: 600; }
.mv-dot { width: 13px; height: 13px; border-radius: 50%; flex: none; margin: 0 4px 0 8px; }
.mv-dot.a { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-2); }
.mv-dot.b { background: var(--ink); border-radius: 4px; box-shadow: 0 0 0 4px rgba(35, 16, 41, .12); }
.mv-swap {
  position: absolute; right: 9px; top: 50%; margin-top: -20px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sand); display: grid; place-items: center; transition: transform .35s var(--ease);
}
.mv-swap:active { transform: rotate(180deg) scale(.92); }
.mv-swap svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mv-route.is-hourly .mv-swap { display: none; }

/* stepper */
.mv-stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--sand); border-radius: 999px; padding: 4px; }
.mv-stepper button {
  width: 34px; height: 34px; border-radius: 50%; background: var(--paper); display: grid; place-items: center;
  box-shadow: 0 2px 6px -2px rgba(130, 42, 18, .4); transition: transform .15s var(--ease);
}
.mv-stepper button:active { transform: scale(.88); }
.mv-stepper button:disabled { opacity: .35; }
.mv-stepper svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2.4; stroke-linecap: round; }
.mv-stepper output { min-width: 34px; text-align: center; font: 700 15px/1 var(--display); }
.mv-hours { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 10px 36px; min-height: 56px; }
.mv-hours[hidden] { display: none; }
.mv-hours span { font-weight: 700; }
.mv-hours small { display: block; color: var(--mute); font-weight: 600; font-size: 12px; }

/* quick destinations */
.mv-quick { margin-bottom: 18px; }
.mv-quick:empty { display: none; }
.mv-quick .mv-chip b { font-weight: 800; }
.mv-quick .mv-chip em { font-style: normal; color: var(--mute); font-weight: 600; }

/* ── why / faq ─────────────────────────────────────────────────────── */
.mv-why { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 18px; }
.mv-why-card {
  border-radius: 20px; padding: 14px 14px 16px; background: var(--paper); border: 1px solid var(--line);
  position: relative; overflow: hidden; min-height: 132px;
}
.mv-why-card i {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px;
  background: var(--grad-soft);
}
.mv-why-card i svg { width: 20px; height: 20px; stroke: var(--tangerine); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mv-why-card b { display: block; font: 700 13.5px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 4px; }
.mv-why-card span { font-size: 12.5px; color: var(--mute); line-height: 1.4; display: block; }
.mv-why-card.is-hero { grid-column: 1 / -1; background: var(--grad-ink); color: #fff; border: 0; min-height: 0; display: flex; gap: 14px; align-items: center; }
.mv-why-card.is-hero i { background: rgba(255, 255, 255, .12); margin: 0; flex: none; width: 46px; height: 46px; border-radius: 14px; }
.mv-why-card.is-hero i svg { stroke: var(--sun); }
.mv-why-card.is-hero span { color: rgba(255, 255, 255, .72); }
.mv-why-card.is-hero b { font-size: 15px; }
.mv-zero { font: 800 34px/1 var(--display); letter-spacing: -.05em; margin-left: auto; flex: none; }
.mv-zero small { font-size: 16px; }

.mv-sec-title { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 10px; }
.mv-faq details {
  border-radius: 18px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 8px; overflow: hidden;
}
.mv-faq summary {
  list-style: none; cursor: pointer; padding: 15px 44px 15px 16px; font-weight: 700; position: relative;
}
.mv-faq summary::-webkit-details-marker { display: none; }
.mv-faq summary::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2.2px solid var(--mute); border-bottom: 2.2px solid var(--mute); transform: rotate(45deg); transition: transform .3s var(--ease);
}
.mv-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.mv-faq details p { margin: 0; padding: 0 16px 16px; color: var(--ink-2); font-size: 14px; }
.mv-drive-cta {
  display: flex; align-items: center; gap: 14px; text-decoration: none; margin: 18px 0 6px; padding: 16px;
  border-radius: 22px; background: var(--grad); color: #fff; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.mv-drive-cta::after {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.mv-drive-cta b { font: 700 16px/1.15 var(--display); letter-spacing: -.02em; display: block; }
.mv-drive-cta span { font-size: 13px; opacity: .9; }
.mv-drive-cta svg.mv-arrow { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2.4; margin-left: auto; flex: none; position: relative; z-index: 1; }
.mv-foot-note { color: var(--mute); font-size: 12px; text-align: center; margin: 16px 0 4px; }
.mv-foot-note a { color: var(--ink-2); font-weight: 700; }

/* ── choose stage ──────────────────────────────────────────────────── */
.mv-stage-head { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.mv-back {
  width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); transition: transform .15s var(--ease);
}
.mv-back:active { transform: scale(.9); }
.mv-back svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.mv-stage-head .mv-titles { min-width: 0; flex: 1; }
.mv-stage-head .mv-titles p { margin: 2px 0 0; color: var(--mute); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-trip-meta { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; }
.mv-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px;
  background: var(--sand); font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.mv-pill svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mv-pill.is-heavy { background: #ffe0dc; color: #b3202f; }
.mv-pill.is-moderate { background: #fff0cc; color: #9a5a00; }
.mv-pill.is-light, .mv-pill.is-live { background: var(--mint-2); color: #0a7a5d; }
.mv-pill.is-ink { background: var(--ink); color: #fff; }

.mv-opts { display: flex; flex-direction: column; gap: 8px; }
.mv-opt {
  display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 10px 14px 10px 8px; border-radius: 22px; background: var(--paper); border: 1.5px solid var(--line);
  transition: border-color .25s, box-shadow .3s var(--ease), transform .2s var(--ease); position: relative; overflow: hidden;
}
.mv-opt:active { transform: scale(.985); }
.mv-opt.is-on {
  border-color: transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box;
  box-shadow: 0 16px 34px -18px rgba(255, 90, 40, .6);
}
.mv-opt-art { width: 86px; height: 50px; position: relative; }
.mv-opt-art svg { width: 100%; height: 100%; overflow: visible; }
.mv-opt.is-on .mv-opt-art svg { animation: mv-drive-in .6s var(--ease) both; }
@keyframes mv-drive-in { from { transform: translate3d(-10px, 0, 0); } to { transform: none; } }
.mv-opt-body { min-width: 0; }
.mv-opt-body b { display: flex; align-items: center; gap: 6px; font: 700 15px/1.2 var(--display); letter-spacing: -.02em; }
.mv-opt-body b small { font: 700 11.5px/1 var(--ui); color: var(--mute); letter-spacing: 0; display: inline-flex; align-items: center; gap: 2px; }
.mv-opt-body b small svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.mv-opt-body span { display: block; color: var(--mute); font-size: 12.5px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-opt-price { text-align: right; white-space: nowrap; }
.mv-opt-price b { display: block; font: 700 15px/1.1 var(--display); letter-spacing: -.02em; }
.mv-opt-price small { display: block; color: var(--mute); font-size: 11.5px; font-weight: 650; margin-top: 3px; }
.mv-opt-price .mv-skel { width: 64px; height: 16px; border-radius: 6px; margin-left: auto; }
.mv-opt-tag {
  position: absolute; top: 0; right: 16px; transform: translateY(-1px); background: var(--grad); color: #fff;
  font: 800 9.5px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 0 0 8px 8px;
}
.mv-more-toggle { margin: 12px auto 0; display: flex; align-items: center; gap: 6px; font-weight: 750; color: var(--ink-2); padding: 8px 12px; border-radius: 99px; }
.mv-more-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .3s var(--ease); }
.mv-more-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mv-more { display: none; flex-direction: column; gap: 8px; margin-top: 8px; }
.mv-more.is-on { display: flex; }

.mv-skel {
  display: block; background: linear-gradient(90deg, rgba(35, 16, 41, .06) 25%, rgba(35, 16, 41, .12) 45%, rgba(35, 16, 41, .06) 65%);
  background-size: 300% 100%; animation: mv-shimmer 1.3s linear infinite;
}
@keyframes mv-shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }

/* ── buttons ───────────────────────────────────────────────────────── */
.mv-btn {
  width: 100%; height: 58px; border-radius: 20px; display: flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--display); letter-spacing: -.02em; color: #fff; background: var(--grad);
  box-shadow: 0 16px 34px -14px rgba(255, 70, 50, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  position: relative; overflow: hidden; transition: transform .18s var(--ease), box-shadow .25s, opacity .2s;
}
.mv-btn:active { transform: scale(.975); }
.mv-btn:disabled { opacity: .5; box-shadow: none; }
.mv-btn small { font: 600 12.5px/1 var(--ui); opacity: .9; letter-spacing: 0; }
.mv-btn.is-ink { background: var(--grad-ink); box-shadow: 0 16px 34px -16px rgba(35, 16, 41, .75); }
.mv-btn.is-ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line-2); box-shadow: none; }
.mv-btn.is-danger { background: #fff0f1; color: var(--danger); box-shadow: none; border: 1.5px solid rgba(229, 54, 75, .2); }
.mv-btn.is-sm { height: 46px; border-radius: 16px; font-size: 14px; }
.mv-btn.is-busy { pointer-events: none; }
.mv-btn.is-busy::after {
  content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: mv-spin .8s linear infinite;
}
.mv-btn.is-ghost.is-busy::after, .mv-btn.is-danger.is-busy::after { border-color: rgba(35, 16, 41, .2); border-top-color: var(--ink); }
@keyframes mv-spin { to { transform: rotate(360deg); } }
.mv-link { font-weight: 750; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(35, 16, 41, .25); padding: 6px; }
.mv-row { display: flex; gap: 8px; }
.mv-row > * { flex: 1; }

/* ripple */
[data-press] { position: relative; overflow: hidden; }
.cm-ripple {
  position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .14;
  transform: scale(0); animation: cm-ripple .6s var(--ease) forwards;
}
@keyframes cm-ripple { to { transform: scale(1); opacity: 0; } }

/* ── slide to confirm ──────────────────────────────────────────────── */
.cm-swipe {
  --p: 0; position: relative; height: 64px; border-radius: 22px; background: var(--grad-ink); overflow: hidden;
  display: flex; align-items: center; justify-content: center; user-select: none; -webkit-user-select: none; touch-action: none;
  box-shadow: 0 18px 40px -18px rgba(35, 16, 41, .8);
}
.cm-swipe::before {
  content: ''; position: absolute; inset: 0; background: var(--grad); opacity: calc(var(--p) * 1);
  transition: opacity .1s linear;
}
.cm-swipe::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 38%; left: -40%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
  animation: cm-sheen 2.6s var(--ease-soft) infinite;
}
@keyframes cm-sheen { 0%, 35% { left: -40%; } 100% { left: 120%; } }
.cm-swipe-label {
  position: relative; z-index: 1; color: #fff; font: 700 15px/1.1 var(--display); letter-spacing: -.01em; text-align: center;
  padding-left: 48px; pointer-events: none;
}
.cm-swipe-label small { display: block; font: 600 12px/1.3 var(--ui); opacity: .72; letter-spacing: 0; }
.cm-swipe-knob {
  position: absolute; z-index: 2; left: 4px; top: 4px; width: 56px; height: 56px; border-radius: 18px;
  background: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .45);
  touch-action: none; cursor: grab;
}
.cm-swipe-knob svg { width: 24px; height: 24px; stroke: var(--tangerine); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.cm-swipe.is-dragging .cm-swipe-knob { cursor: grabbing; }
.cm-swipe.is-done::after, .cm-swipe.is-dragging::after { animation: none; opacity: 0; }
.cm-swipe.is-busy .cm-swipe-knob svg { animation: mv-spin .9s linear infinite; }
.cm-swipe.is-disabled { opacity: .45; }
.cm-swipe.is-disabled::after { animation: none; }

/* ── offer stage ───────────────────────────────────────────────────── */
.mv-fare {
  border-radius: 28px; padding: 18px 16px 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-align: center; position: relative; overflow: hidden;
}
.mv-fare::before {
  content: ''; position: absolute; inset: -60% -20% auto; height: 180px; background: radial-gradient(closest-side, rgba(255, 178, 30, .22), rgba(255, 178, 30, 0));
  pointer-events: none;
}
.mv-fare-top { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--mute); font-weight: 700; font-size: 12.5px; position: relative; }
.mv-fare-top .mv-i { width: 15px; height: 15px; stroke: var(--tangerine); }
.mv-fare-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 0 6px; position: relative; }
.mv-fare-btn {
  width: 52px; height: 52px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; flex: none;
  transition: transform .15s var(--ease), background .2s;
}
.mv-fare-btn:active { transform: scale(.88); background: #ffe0bd; }
.mv-fare-btn svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2.6; stroke-linecap: round; }
.mv-fare-val { flex: 1; min-width: 0; }
.mv-fare-val output {
  display: block; font: 800 clamp(28px, 9vw, 40px)/1 var(--display); letter-spacing: -.055em; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mv-cur { font-size: .42em; letter-spacing: 0; font-weight: 700; color: var(--mute); vertical-align: .62em; margin-right: .18em; }
.mv-receipt-total .mv-cur { font-size: .4em; }
.mv-fare-val input {
  width: 100%; text-align: center; border: 0; background: transparent; font: 800 clamp(30px, 10vw, 42px)/1 var(--display);
  letter-spacing: -.055em; outline: none; padding: 0; -moz-appearance: textfield;
}
.mv-fare-val input::-webkit-outer-spin-button, .mv-fare-val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mv-fare-val small { display: block; color: var(--mute); font-weight: 650; font-size: 12.5px; margin-top: 6px; }
.mv-meter { position: relative; height: 10px; border-radius: 99px; margin: 14px 4px 6px; background: linear-gradient(90deg, #ffd0c7 0%, #ffe6b3 38%, #c9f5e7 62%, #b5f0dc 100%); }
.mv-meter i {
  position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px var(--ink), 0 6px 14px -4px rgba(35, 16, 41, .6); transition: left .45s var(--ease);
}
.mv-meter-legend { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--mute); padding: 0 2px; }
.mv-verdict {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; height: 30px; padding: 0 12px; border-radius: 99px;
  font-size: 12.5px; font-weight: 750; background: var(--mint-2); color: #0a7a5d;
}
.mv-verdict.is-low { background: #ffe0dc; color: #b3202f; }
.mv-verdict.is-fair { background: #fff0cc; color: #8a5200; }
.mv-verdict.is-strong { background: var(--mint-2); color: #0a7a5d; }
.mv-verdict svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; }

.mv-group { margin-top: 16px; }
.mv-label { display: flex; align-items: baseline; justify-content: space-between; font-weight: 800; font-size: 13px; margin: 0 2px 8px; }
.mv-label small { font-weight: 600; color: var(--mute); font-size: 12px; }
.mv-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 4px 14px; }
.mv-line { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 0; }
.mv-line + .mv-line { border-top: 1px solid var(--line); }
.mv-line-body { flex: 1; min-width: 0; }
.mv-line-body b { display: block; font-weight: 750; font-size: 14.5px; }
.mv-line-body small { display: block; color: var(--mute); font-size: 12.5px; line-height: 1.35; }
.mv-line > svg { width: 22px; height: 22px; stroke: var(--tangerine); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* switch */
.mv-switch { position: relative; width: 52px; height: 32px; flex: none; }
.mv-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.mv-switch i { position: absolute; inset: 0; border-radius: 99px; background: rgba(35, 16, 41, .16); transition: background .3s var(--ease); }
.mv-switch i::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff;
  box-shadow: 0 3px 8px rgba(35, 16, 41, .3); transition: transform .35s var(--ease);
}
.mv-switch input:checked + i { background: var(--mint); }
.mv-switch input:checked + i::after { transform: translateX(20px); }
.mv-switch input:focus-visible + i { outline: 3px solid rgba(255, 122, 26, .55); outline-offset: 2px; }

/* pay chips */
.mv-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mv-pay button {
  height: 64px; border-radius: 18px; background: var(--paper); border: 1.5px solid var(--line); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; font-weight: 750; font-size: 13px; transition: border-color .2s, background .2s, transform .15s;
}
.mv-pay button:active { transform: scale(.96); }
.mv-pay button svg { width: 22px; height: 22px; stroke: var(--ink-2); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mv-pay button[aria-pressed="true"] { border-color: var(--ink); background: #fff; box-shadow: 0 10px 22px -14px rgba(35, 16, 41, .7); }
.mv-pay button[aria-pressed="true"] svg { stroke: var(--tangerine); }
.mv-pay-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); background: #fff4dc; border-radius: 14px; padding: 10px 12px; }
.mv-pay-note svg { width: 16px; height: 16px; stroke: var(--tangerine); fill: none; stroke-width: 2.2; flex: none; margin-top: 1px; }

/* needs */
.mv-needs { display: flex; flex-wrap: wrap; gap: 7px; }
.mv-needs .mv-chip { height: 34px; font-size: 12.5px; padding: 0 12px; }
.mv-needs .mv-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* inputs */
.mv-input {
  width: 100%; height: 52px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--paper); padding: 0 14px;
  font-size: 15.5px; font-weight: 600; outline: none; transition: border-color .2s, box-shadow .2s;
}
.mv-input:focus { border-color: var(--tangerine); box-shadow: 0 0 0 4px rgba(255, 122, 26, .14); }
.mv-input.is-bad { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(229, 54, 75, .12); }
textarea.mv-input { height: 84px; padding: 12px 14px; resize: none; line-height: 1.4; }
.mv-fields { display: grid; gap: 8px; }
.mv-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mv-err { color: var(--danger); font-size: 13px; font-weight: 700; margin: 10px 2px 0; min-height: 1em; }
.mv-err:empty { display: none; }

/* ── live stage ────────────────────────────────────────────────────── */
.mv-live-head { display: flex; align-items: center; gap: 14px; margin: 2px 0 14px; }
.mv-ring { width: 58px; height: 58px; flex: none; position: relative; }
.mv-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mv-ring circle { fill: none; stroke-width: 5; }
.mv-ring .bg { stroke: rgba(35, 16, 41, .08); }
.mv-ring .fg { stroke: url(#mv-ring-grad); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.mv-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 12.5px/1 var(--display); letter-spacing: -.02em; }
.mv-status-icon { width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center; flex: none; background: var(--grad); box-shadow: var(--shadow-sm); }
.mv-status-icon svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mv-status-icon.is-mint { background: linear-gradient(135deg, #2ee6b3, #12b98f); }
.mv-status-icon.is-ink { background: var(--grad-ink); }
.mv-status-icon.is-grey { background: linear-gradient(135deg, #cdb8c4, #9a7f8f); }

.mv-desk {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; margin-bottom: 12px;
  background: linear-gradient(135deg, #2b1236, #4a1b4d); color: #fff;
}
.mv-desk svg { width: 26px; height: 26px; stroke: var(--sun); fill: none; stroke-width: 2; flex: none; }
.mv-desk b { display: block; font-weight: 800; font-size: 14px; }
.mv-desk span { font-size: 12.5px; opacity: .78; }

.mv-offers { display: flex; flex-direction: column; gap: 10px; }
.mv-offer {
  border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 14px;
  animation: mv-offer-in .55s var(--ease) both; position: relative; overflow: hidden;
}
@keyframes mv-offer-in { from { opacity: 0; transform: translate3d(0, 22px, 0) scale(.97); } to { opacity: 1; transform: none; } }
.mv-offer.is-seen { animation: none; }
.mv-fare-tap { display: block; width: 100%; border-radius: 16px; }
.mv-fare-tap:active { background: rgba(255, 178, 30, .1); }
.mv-offer-top { display: flex; align-items: center; gap: 12px; }
.mv-avatar {
  width: 48px; height: 48px; border-radius: 16px; flex: none; display: grid; place-items: center; color: #fff;
  font: 800 19px/1 var(--display); background: var(--grad); position: relative; overflow: hidden;
}
.mv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mv-avatar.is-desk { background: var(--grad-ink); }
.mv-offer-who { flex: 1; min-width: 0; }
.mv-offer-who b { display: block; font-weight: 800; font-size: 15px; }
.mv-offer-who span { display: flex; align-items: center; column-gap: 6px; row-gap: 1px; flex-wrap: wrap; color: var(--mute); font-size: 12.5px; font-weight: 600; }
.mv-star { color: #e89b00; font-weight: 800; }
.mv-offer-price { text-align: right; }
.mv-offer-price b { display: block; font: 800 20px/1 var(--display); letter-spacing: -.04em; }
.mv-offer-price small { display: inline-block; margin-top: 5px; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: var(--sand); color: var(--ink-2); }
.mv-offer-price small.is-up { background: #ffe0dc; color: #b3202f; }
.mv-offer-price small.is-match { background: var(--mint-2); color: #0a7a5d; }
.mv-offer-car { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.mv-colour { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(35, 16, 41, .2); flex: none; }
.mv-plate {
  font: 700 11.5px/1 var(--display); letter-spacing: .02em; padding: 5px 7px; border-radius: 6px; background: #ffd83b; color: #1b1b1b;
  border: 1.5px solid #1b1b1b; white-space: nowrap;
}
.mv-offer-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); background: var(--cream); border-radius: 12px; padding: 8px 10px; }
.mv-offer-act { display: flex; gap: 8px; margin-top: 12px; }
.mv-offer-act .mv-btn { height: 48px; border-radius: 16px; font-size: 14.5px; }
.mv-expiry { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--grad); transform-origin: left; }

.mv-raise { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; }
.mv-raise .mv-chip { flex: 1; justify-content: center; height: 42px; }

.mv-radar-note { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 13.5px; font-weight: 600; margin: 4px 0 12px; }
.mv-dots { display: inline-flex; gap: 4px; }
.mv-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--tangerine); animation: mv-dot 1.2s var(--ease-soft) infinite; }
.mv-dots i:nth-child(2) { animation-delay: .15s; }
.mv-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes mv-dot { 0%, 80%, 100% { transform: scale(.5); opacity: .35; } 40% { transform: scale(1); opacity: 1; } }

/* driver + pin */
.mv-driver { border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 16px; }
.mv-driver-top { display: flex; align-items: center; gap: 14px; }
.mv-driver .mv-avatar { width: 58px; height: 58px; border-radius: 20px; font-size: 22px; }
.mv-driver-name { flex: 1; min-width: 0; }
.mv-driver-name b { display: block; font: 700 17px/1.15 var(--display); letter-spacing: -.02em; }
.mv-driver-name span { color: var(--mute); font-size: 13px; font-weight: 650; }
.mv-eta { text-align: right; }
.mv-eta b { display: block; font: 800 22px/1 var(--display); letter-spacing: -.04em; }
.mv-eta small { color: var(--mute); font-size: 11.5px; font-weight: 700; }
.mv-car-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.mv-car-line .mv-opt-art { width: 72px; height: 40px; }
.mv-car-line > div { flex: 1; min-width: 0; font-weight: 700; font-size: 14px; }
.mv-car-line > div small { display: block; color: var(--mute); font-weight: 600; font-size: 12.5px; }
.mv-car-line > div small .mv-plate { display: inline-block; margin-top: 6px; }
.mv-fare-tap output::after {
  content: ''; display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: .2em; opacity: .45;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231029' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
}

.mv-pin-card {
  margin-top: 12px; border-radius: 24px; padding: 16px; background: var(--grad-ink); color: #fff; display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.mv-pin-card::after { content: ''; position: absolute; right: -40px; top: -60px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 178, 30, .35), rgba(255, 178, 30, 0)); }
.mv-pin-card > div:first-child { flex: 1; min-width: 0; position: relative; z-index: 1; }
.mv-pin-card b { display: block; font-weight: 800; font-size: 14px; }
.mv-pin-card span { font-size: 12.5px; opacity: .72; display: block; margin-top: 2px; }
.mv-pin-digits { display: flex; gap: 6px; position: relative; z-index: 1; }
.mv-pin-digits i {
  width: 38px; height: 50px; border-radius: 12px; display: grid; place-items: center; font: 800 24px/1 var(--display); font-style: normal;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
}
.mv-pin-card.is-verified { background: linear-gradient(135deg, #0e8f6f, #12b98f); }

.mv-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.mv-action {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 18px; background: var(--paper);
  border: 1px solid var(--line); font-size: 12px; font-weight: 750; text-decoration: none; transition: transform .15s var(--ease);
}
.mv-action:active { transform: scale(.94); }
.mv-action i { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); }
.mv-action svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mv-action.is-sos i { background: #ffe0dc; }
.mv-action.is-sos svg { stroke: var(--danger); }
.mv-action.is-sos { color: var(--danger); }
.mv-action.is-off { opacity: .4; pointer-events: none; }

.mv-progress { display: flex; gap: 6px; margin: 16px 0 6px; }
.mv-progress i { flex: 1; height: 5px; border-radius: 9px; background: rgba(35, 16, 41, .1); overflow: hidden; position: relative; }
.mv-progress i.is-done { background: var(--mint); }
.mv-progress i.is-now::after { content: ''; position: absolute; inset: 0; background: var(--grad); animation: mv-progress 1.6s var(--ease-soft) infinite; transform-origin: left; }
@keyframes mv-progress { from { transform: scaleX(.15); } to { transform: scaleX(1); } }
.mv-progress-labels { display: flex; justify-content: space-between; font-size: 11px; font-weight: 750; color: var(--mute); }

.mv-receipt { border-radius: 26px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; position: relative; overflow: hidden; }
.mv-receipt::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad); }
.mv-receipt-total { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 0 12px; }
.mv-receipt-total b { font: 800 34px/1 var(--display); letter-spacing: -.05em; }
.mv-receipt-rows { border-top: 1px dashed var(--line-2); padding-top: 10px; }
.mv-receipt-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 5px 0; }
.mv-receipt-rows div span { color: var(--mute); font-weight: 600; }
.mv-receipt-rows div b { font-weight: 750; text-align: right; }
.mv-paybox { margin-top: 12px; border-radius: 18px; background: #eafbf5; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.mv-paybox svg { width: 24px; height: 24px; stroke: #0a7a5d; fill: none; stroke-width: 2; flex: none; }
.mv-paybox b { display: block; font-weight: 800; font-size: 14px; }
.mv-paybox span { font-size: 12.5px; color: #256b58; }
.mv-paybox button { margin-left: auto; height: 36px; padding: 0 12px; border-radius: 12px; background: #fff; font-weight: 800; font-size: 12.5px; flex: none; }

.mv-stars { display: flex; justify-content: center; gap: 6px; margin: 14px 0 8px; }
.mv-stars button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; transition: transform .2s var(--ease); }
.mv-stars button:active { transform: scale(.86); }
.mv-stars svg { width: 34px; height: 34px; fill: #f1e2d4; stroke: none; transition: fill .2s, transform .3s var(--ease); }
.mv-stars button.is-on svg { fill: #ffb21e; transform: scale(1.08); }
.mv-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-bottom: 10px; }

.mv-empty { text-align: center; padding: 24px 12px; }
.mv-empty svg { width: 54px; height: 54px; margin: 0 auto 10px; stroke: var(--soft); fill: none; stroke-width: 1.6; }
.mv-empty b { display: block; font: 700 16px/1.2 var(--display); letter-spacing: -.02em; }
.mv-empty span { display: block; color: var(--mute); font-size: 13.5px; margin-top: 4px; }

/* confetti */
.mv-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.mv-confetti i {
  position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; opacity: 0;
  animation: mv-fall 1.8s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes mv-fall {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
  100% { opacity: 0; transform: translate3d(var(--dx, 0), 105vh, 0) rotate(var(--rot, 540deg)); }
}

/* ── map markers ───────────────────────────────────────────────────── */
.mv-marker-a {
  width: 22px; height: 22px; border-radius: 50%; background: var(--mint); border: 4px solid #fff;
  box-shadow: 0 6px 14px -4px rgba(10, 90, 70, .7);
}
.mv-marker-a::after {
  content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--mint); opacity: 0;
  animation: mv-ping 2.2s var(--ease-soft) infinite;
}
@keyframes mv-ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.mv-marker-b {
  width: 24px; height: 24px; border-radius: 7px; background: var(--ink); border: 4px solid #fff;
  box-shadow: 0 6px 14px -4px rgba(35, 16, 41, .7);
}
.mv-marker-label {
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap;
  background: #fff; color: var(--ink); font: 750 12px/1 var(--ui); padding: 7px 10px; border-radius: 10px;
  box-shadow: var(--shadow-sm); max-width: 190px; overflow: hidden; text-overflow: ellipsis;
}
.mv-marker-label em { font-style: normal; color: var(--tangerine); font-weight: 800; margin-right: 4px; }
.mv-marker-car { width: 44px; height: 44px; transition: transform .9s linear; }
.mv-marker-car svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 8px rgba(35, 16, 41, .35)); }
.mv-radar {
  width: 260px; height: 260px; border-radius: 50%; position: relative; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 122, 26, .16), rgba(255, 122, 26, 0));
}
.mv-radar i {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 122, 26, .55); opacity: 0;
  animation: mv-radar 3s var(--ease-soft) infinite;
}
.mv-radar i:nth-child(2) { animation-delay: 1s; }
.mv-radar i:nth-child(3) { animation-delay: 2s; }
@keyframes mv-radar { 0% { transform: scale(.1); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.mv-radar b {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 122, 26, 0) 0deg, rgba(255, 122, 26, .28) 50deg, rgba(255, 122, 26, 0) 70deg);
  animation: mv-sweep 2.4s linear infinite;
}
@keyframes mv-sweep { to { transform: rotate(360deg); } }
.leaflet-overlay-pane path.mv-route-casing { stroke: #fff; }
.leaflet-overlay-pane path.mv-route-flow { stroke-dasharray: 2 14; animation: mv-flow 1.1s linear infinite; }
@keyframes mv-flow { to { stroke-dashoffset: -32; } }

/* choose-on-map pin */
.mv-pinmode {
  position: absolute; z-index: 20; left: 50%; top: calc((100% - var(--sheet-visible, 320px)) / 2 + var(--top) / 2);
  transform: translate(-50%, -100%); pointer-events: none;
}
.mv-pinmode[hidden] { display: none; }
.mv-pinmode svg { width: 46px; height: 58px; filter: drop-shadow(0 10px 12px rgba(35, 16, 41, .35)); transition: transform .25s var(--ease); }
.mv-pinmode.is-lifting svg { transform: translateY(-12px); }
.mv-pinmode::after {
  content: ''; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 5px; margin-left: -6px; border-radius: 50%;
  background: rgba(35, 16, 41, .35);
}

/* ── overlays: search, schedule, trips, modal ─────────────────────── */
.mv-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  background: var(--cream); animation: mv-ov-in .38s var(--ease) both;
}
.mv-overlay[hidden] { display: none; }
@keyframes mv-ov-in { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
.mv-help { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-weight: 750; font-size: 13px; }
.mv-help .mv-i { width: 16px; height: 16px; }
.mv-ov-head {
  display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 12px) 14px 10px;
  border-bottom: 1px solid var(--line); background: var(--cream);
}
.mv-ov-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 14px calc(env(safe-area-inset-bottom, 0px) + 20px); overscroll-behavior: contain; }
.mv-search-box { flex: 1; position: relative; }
.mv-search-box input {
  width: 100%; height: 50px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--paper);
  padding: 0 42px 0 42px; font-size: 16px; font-weight: 650; outline: none;
}
.mv-search-box input:focus { border-color: var(--tangerine); box-shadow: 0 0 0 4px rgba(255, 122, 26, .14); }
.mv-search-box > span { position: absolute; left: 16px; top: 50%; margin-top: -6.5px; }
.mv-search-box > button { position: absolute; right: 8px; top: 50%; margin-top: -16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.mv-search-box > button svg { width: 16px; height: 16px; stroke: var(--mute); fill: none; stroke-width: 2.4; }
.mv-results { list-style: none; margin: 0; padding: 0; }
.mv-result {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 6px; border-radius: 14px; text-align: left;
  border-bottom: 1px solid var(--line); transition: background .15s;
}
.mv-result:hover, .mv-result.is-hi { background: rgba(255, 178, 30, .12); }
.mv-result i {
  width: 40px; height: 40px; border-radius: 13px; background: var(--sand); display: grid; place-items: center; flex: none; font-style: normal;
}
.mv-result i svg { width: 19px; height: 19px; stroke: var(--ink-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mv-result.is-special i { background: var(--grad); }
.mv-result.is-special i svg { stroke: #fff; }
.mv-result > span { flex: 1; min-width: 0; }
.mv-result b { display: block; font-weight: 750; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-result b mark { background: none; color: var(--tangerine); }
.mv-result small { display: block; color: var(--mute); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-result em { font-style: normal; color: var(--mute); font-weight: 700; font-size: 12px; flex: none; }
.mv-res-sec { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 16px 6px 4px; }

.mv-days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.mv-days::-webkit-scrollbar { display: none; }
.mv-day {
  flex: none; width: 64px; height: 78px; border-radius: 20px; background: var(--paper); border: 1.5px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; scroll-snap-align: start;
  transition: background .2s, border-color .2s, transform .15s;
}
.mv-day small { font-size: 11.5px; font-weight: 750; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.mv-day b { font: 700 20px/1 var(--display); letter-spacing: -.03em; }
.mv-day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mv-day[aria-pressed="true"] small { color: rgba(255, 255, 255, .7); }
.mv-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mv-time {
  height: 46px; border-radius: 14px; background: var(--paper); border: 1.5px solid var(--line); font-weight: 750; font-size: 14px;
  font-variant-numeric: tabular-nums; transition: background .2s, border-color .2s;
}
.mv-time[aria-pressed="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.mv-time:disabled { opacity: .3; }

.mv-trip-row {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); margin-bottom: 8px; transition: transform .15s var(--ease);
}
.mv-trip-row:active { transform: scale(.985); }
.mv-trip-row .mv-status-icon { width: 44px; height: 44px; border-radius: 14px; }
.mv-trip-row .mv-status-icon svg { width: 20px; height: 20px; }
.mv-trip-row > div { flex: 1; min-width: 0; }
.mv-trip-row b { display: block; font-weight: 800; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-trip-row small { display: block; color: var(--mute); font-size: 12.5px; font-weight: 600; }
.mv-trip-row em { font-style: normal; font: 700 14px/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }

.mv-modal {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(35, 16, 41, .42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: mv-fade .25s both;
}
.mv-modal[hidden] { display: none; }
@keyframes mv-fade { from { opacity: 0; } to { opacity: 1; } }
.mv-modal-card {
  width: 100%; max-width: 480px; background: var(--cream); border-radius: 28px 28px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  animation: mv-ov-in .38s var(--ease) both; box-shadow: var(--shadow);
}
.mv-modal-card .mv-h2 { margin-bottom: 6px; }
.mv-modal-card p { color: var(--ink-2); margin: 0 0 16px; }
.mv-modal-card .mv-row { margin-top: 8px; }

.mv-toast {
  position: fixed; z-index: 140; left: 50%; top: calc(var(--top) + 58px); transform: translate3d(-50%, -20px, 0); opacity: 0;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 16px; font-weight: 700; font-size: 13.5px;
  box-shadow: var(--shadow); max-width: calc(100% - 32px); transition: transform .4s var(--ease), opacity .3s; pointer-events: none;
  display: flex; align-items: center; gap: 10px;
}
.mv-toast.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); }
.mv-toast.is-bad { background: var(--danger); }
.mv-toast.is-good { background: #0e8f6f; }

.mv-share-banner {
  display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--grad-soft); margin-bottom: 12px;
  font-size: 13.5px; font-weight: 650;
}
.mv-share-banner svg { width: 22px; height: 22px; stroke: var(--tangerine); fill: none; stroke-width: 2; flex: none; }

[data-reveal] { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ── desktop: the sheet becomes a floating panel ───────────────────── */
@media (min-width: 960px) {
  .mv-sheet {
    left: 24px; right: auto; top: calc(var(--top) + 64px); bottom: 24px; width: 440px; height: auto;
    border-radius: 30px; transform: none !important; box-shadow: var(--shadow); touch-action: auto;
  }
  .mv-sheet::before { border-radius: 30px 30px 0 0; }
  .mv-grip { height: 14px; }
  .mv-grip i { display: none; }
  .mv-scroll { overflow-y: auto !important; touch-action: auto; padding-bottom: calc(var(--dock-h) + 24px); }
  .mv-dock { left: 24px; right: auto; width: 440px; bottom: 24px; border-radius: 0 0 30px 30px; padding-bottom: 16px; }
  .mv-fabs { bottom: 28px !important; }
  .mv-top { left: 24px; right: 24px; }
  .mv-brand { margin: 0; }
  .mv-top .mv-spacer { flex: 1; }
  .mv-pinmode { left: calc(50% + 232px); top: 50% !important; }
  .mv-overlay { left: 24px; right: auto; top: calc(var(--top) + 64px); bottom: 24px; width: 440px; border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
  .mv-ov-head { padding-top: 14px; }
  .mv-modal { align-items: center; }
  .mv-modal-card { border-radius: 28px; }
  .mv-h1 { font-size: 34px; }
}
@media (max-width: 360px) {
  .mv-h1 { font-size: 26px; }
  .mv-opt { grid-template-columns: 70px 1fr auto; }
  .mv-opt-art { width: 70px; }
  .mv-pin-digits i { width: 32px; height: 44px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .mv-radar i, .mv-radar b, .mv-marker-a::after, .cm-swipe::after, .mv-route-flow { animation: none !important; }
}
