/* carnivaltransportation.app | public/index.html */
        /* MCM- version: v3.14.0-20260822 */
        /* native ios trip planner shell */
        :root {
            --MCM-blue: #225aa7;
            --MCM-purple: #9932cc;
            --MCM-gradient: linear-gradient(135deg, #225aa7, #9932cc);
            --MCM-brand: #225aa7;
            --MCM-accent: #9932cc;
            --MCM-bg: #f2f2f7;
            --MCM-card-bg: rgba(255, 255, 255, 0.84);
            --MCM-card-solid: #ffffff;
            --MCM-field-bg: rgba(118, 118, 128, 0.1);
            --MCM-text: #1c1c1e;
            --MCM-body-text: #374151;
            --MCM-muted: #6b7280;
            --MCM-soft-muted: #8e8e93;
            --MCM-border: rgba(15, 23, 42, 0.1);
            --MCM-radius-sm: 10px;
            --MCM-radius-md: 14px;
            --MCM-radius-lg: 22px;
            --MCM-radius-xl: 28px;
            --MCM-radius-pill: 999px;
            --MCM-blur: blur(22px);
            --MCM-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
            --MCM-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.12);
            --MCM-shadow-lg: 0 20px 55px rgba(15, 23, 42, 0.18);
            --MCM-font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --MCM-font-head: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --MCM-transition: 0.18s ease;
            --MCM-map-focus-x: 50%;
            --MCM-map-focus-y: 44%;
            --MCM-map-route-tilt: -8deg;
            --MCM-map-route-scale: 1;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }

        *, *::before, *::after {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            min-height: 100dvh;
            overflow-x: hidden;
            background: var(--MCM-bg);
            color: var(--MCM-text);
            font-family: var(--MCM-font-body);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            touch-action: manipulation;
        }

        main {
            min-height: 100vh;
            min-height: 100dvh;
        }

        button, input, select, textarea {
            font: inherit;
            -webkit-tap-highlight-color: transparent;
        }

        button {
            cursor: pointer;
        }

        a {
            color: inherit;
            text-decoration: none;
            -webkit-tap-highlight-color: transparent;
        }

        .MCM-sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .MCM-page-shell {
            position: relative;
            overflow: visible;
            padding-bottom: env(safe-area-inset-bottom, 0px);
            isolation: isolate;
            background:
                radial-gradient(circle at top left, rgba(34, 90, 167, 0.18), transparent 34%),
                radial-gradient(circle at top right, rgba(153, 50, 204, 0.18), transparent 34%),
                var(--MCM-bg);
        }

        .MCM-header + .MCM-page-shell {
            margin-top: 0;
        }

        .MCM-container {
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding-left: max(16px, env(safe-area-inset-left, 0px));
            padding-right: max(16px, env(safe-area-inset-right, 0px));
        }

        .MCM-header {
            z-index: 1200;
        }

        .MCM-mode-shell {
            position: absolute;
            top: 10px;
            left: 50%;
            z-index: 50;
            width: min(calc(100% - 32px), 420px);
            margin: 0;
            padding: 0;
            transform: translate3d(-50%, 0, 0);
            background: transparent;
            border: 0;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            pointer-events: auto;
        }

        .MCM-mode-inner {
            width: 100%;
            max-width: none;
            margin: 0 auto;
            padding: 4px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            border: 1px solid rgba(255, 255, 255, 0.72);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.82);
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
            backdrop-filter: var(--MCM-blur);
            -webkit-backdrop-filter: var(--MCM-blur);
        }

        .MCM-mode-btn {
            min-height: 42px;
            border: 0;
            border-radius: 10px;
            background: transparent;
            color: var(--MCM-text);
            font-size: 13px;
            font-weight: 800;
            letter-spacing: -0.01em;
            transition: background var(--MCM-transition), box-shadow var(--MCM-transition), transform 0.1s ease;
            pointer-events: auto;
            touch-action: manipulation;
        }

        .MCM-mode-btn:active {
            transform: scale(0.98);
        }

        .MCM-mode-btn.MCM-active {
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 3px 10px rgba(15, 23, 42, 0.12);
        }

        .MCM-view[hidden] {
            display: none !important;
        }

        .MCM-map-hero {
            position: relative;
            min-height: auto;
            margin-top: 0;
            padding: 70px 0 34px;
            display: block;
            overflow: hidden;
        }

        .MCM-map-bg {
            position: absolute;
            inset: 0;
            z-index: 0;
            overflow: hidden;
            pointer-events: none;
            background:
                radial-gradient(circle at var(--MCM-map-focus-x) var(--MCM-map-focus-y), rgba(153, 50, 204, 0.34) 0 9px, rgba(153, 50, 204, 0.13) 10px 62px, transparent 64px),
                radial-gradient(circle at calc(var(--MCM-map-focus-x) + 12%) calc(var(--MCM-map-focus-y) + 10%), rgba(34, 90, 167, 0.22), transparent 24%),
                linear-gradient(135deg, rgba(34, 90, 167, 0.12), rgba(153, 50, 204, 0.12)),
                #e5e7eb;
            transition: background 0.42s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .MCM-real-map {
            position: absolute;
            inset: 0;
            z-index: 0;
            min-height: 100%;
            opacity: 0;
            pointer-events: none;
            transform: scale(1.02);
            transition: opacity 0.36s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .MCM-real-map.MCM-map-ready {
            opacity: 0.86;
            transform: scale(1);
        }

        .MCM-map-bg.MCM-maplibre-ready::before {
            opacity: 0.16;
        }

        .MCM-map-marker {
            width: 18px;
            height: 18px;
            border: 3px solid rgba(255, 255, 255, 0.94);
            border-radius: 50%;
            background: var(--MCM-blue);
            box-shadow: 0 0 0 9px rgba(34, 90, 167, 0.18), 0 10px 24px rgba(15, 23, 42, 0.22);
        }

        .maplibregl-ctrl-attrib {
            max-width: calc(100vw - 32px);
            border-radius: 999px 0 0 0;
            background: rgba(255, 255, 255, 0.72) !important;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            font-size: 10px;
        }

        .MCM-map-bg::before {
            content: "";
            position: absolute;
            inset: -20%;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
                radial-gradient(circle at 24% 30%, rgba(34, 90, 167, 0.3) 0 7px, transparent 8px),
                radial-gradient(circle at 72% 42%, rgba(153, 50, 204, 0.34) 0 7px, transparent 8px),
                radial-gradient(circle at 46% 68%, rgba(34, 90, 167, 0.25) 0 6px, transparent 7px);
            background-size: 54px 54px, 54px 54px, 100% 100%, 100% 100%, 100% 100%;
            transform: rotate(-8deg) scale(1.06);
        }

        .MCM-map-route {
            position: absolute;
            left: 14%;
            right: 12%;
            top: 34%;
            height: 120px;
            border-top: 4px dashed rgba(34, 90, 167, 0.46);
            border-radius: 50%;
            transform: rotate(var(--MCM-map-route-tilt)) scale(var(--MCM-map-route-scale));
            transition: transform var(--MCM-transition), opacity var(--MCM-transition);
        }

        .MCM-map-pin {
            position: absolute;
            left: var(--MCM-map-focus-x);
            top: var(--MCM-map-focus-y);
            z-index: 2;
            width: 18px;
            height: 18px;
            border: 3px solid rgba(255, 255, 255, 0.92);
            border-radius: 50%;
            background: var(--MCM-blue);
            box-shadow: 0 0 0 9px rgba(34, 90, 167, 0.15), 0 10px 24px rgba(15, 23, 42, 0.22);
            transform: translate(-50%, -50%);
            transition: left 0.42s cubic-bezier(0.22, 1, 0.36, 1), top 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity var(--MCM-transition);
        }

        .MCM-planner-wrap {
            position: relative;
            z-index: 4;
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
            padding: 0 16px calc(10px + env(safe-area-inset-bottom, 0px));
        }

        .MCM-planner-card {
            border: 1px solid rgba(255, 255, 255, 0.72);
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
            backdrop-filter: var(--MCM-blur);
            -webkit-backdrop-filter: var(--MCM-blur);
            overflow: hidden;
        }

        .MCM-planner-head {
            padding: 22px 20px 14px;
        }

        .MCM-eyebrow {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            margin-bottom: 8px;
            padding: 5px 10px;
            border-radius: var(--MCM-radius-pill);
            background: rgba(34, 90, 167, 0.1);
            color: var(--MCM-blue);
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .MCM-planner-title {
            margin: 0;
            max-width: 12ch;
            color: var(--MCM-text);
            font-family: var(--MCM-font-head);
            font-size: clamp(31px, 9vw, 46px);
            font-weight: 950;
            letter-spacing: -0.055em;
            line-height: 0.98;
        }

        .MCM-planner-copy {
            max-width: 38ch;
            margin: 12px 0 0;
            color: var(--MCM-body-text);
            font-size: 15px;
            font-weight: 600;
            line-height: 1.45;
        }

        .MCM-planner-form {
            display: grid;
            gap: 10px;
            padding: 0 14px 14px;
        }

        .MCM-planner-proof {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 6px 10px;
            padding: 2px 4px 0;
            color: var(--MCM-muted);
            font-size: 11px;
            font-weight: 750;
            text-align: center;
        }

        .MCM-planner-proof span {
            position: relative;
        }

        .MCM-planner-proof span + span::before {
            content: "•";
            position: absolute;
            left: -7px;
            color: rgba(107, 114, 128, 0.58);
        }

        .MCM-field-card {
            display: grid;
            gap: 6px;
            padding: 10px 14px;
            border: 1px solid rgba(15, 23, 42, 0.08);
            border-radius: 16px;
            background: var(--MCM-field-bg);
        }

        .MCM-field-label {
            color: var(--MCM-soft-muted);
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .MCM-input,
        .MCM-select {
            width: 100%;
            min-height: 26px;
            border: 0;
            outline: 0;
            background: transparent;
            color: var(--MCM-text);
            font-size: 16px;
            font-weight: 750;
            line-height: 1.2;
            -webkit-appearance: none;
            appearance: none;
        }

        .MCM-select {
            padding-right: 24px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right center;
            background-size: 16px;
        }

        .MCM-select:invalid {
            color: #9ca3af;
            font-weight: 650;
        }

        .MCM-input::placeholder {
            color: #9ca3af;
            font-weight: 650;
        }

        .MCM-field-hint {
            margin: 0;
            color: var(--MCM-muted);
            font-size: 12px;
            font-weight: 650;
            line-height: 1.25;
        }

        .MCM-field-card.MCM-field-error {
            border-color: rgba(220, 38, 38, 0.48);
            box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
        }

        .MCM-date-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .MCM-date-grid .MCM-field-card {
            min-height: 68px;
        }

        .MCM-primary-btn,
        .MCM-secondary-btn,
        .MCM-outline-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 52px;
            border-radius: 16px;
            border: 0;
            padding: 14px 18px;
            font-size: 16px;
            font-weight: 850;
            line-height: 1;
            transition: transform 0.1s ease, opacity var(--MCM-transition);
        }

        .MCM-primary-btn {
            background: var(--MCM-gradient);
            color: #ffffff;
            box-shadow: 0 12px 22px rgba(34, 90, 167, 0.18);
        }

        .MCM-secondary-btn {
            background: #ffffff;
            color: var(--MCM-blue);
            border: 1px solid rgba(34, 90, 167, 0.2);
        }

        .MCM-outline-btn {
            background: transparent;
            color: var(--MCM-blue);
            border: 1.5px solid var(--MCM-blue);
        }

        .MCM-primary-btn:active,
        .MCM-secondary-btn:active,
        .MCM-outline-btn:active {
            transform: scale(0.98);
            opacity: 0.88;
        }

        .MCM-section {
            padding: 38px 0;
            background: var(--MCM-card-solid);
        }

        .MCM-section-alt {
            background: transparent;
        }

        .MCM-section-title {
            margin: 0 0 18px;
            color: var(--MCM-blue);
            font-family: var(--MCM-font-head);
            font-size: clamp(24px, 7vw, 34px);
            font-weight: 900;
            letter-spacing: -0.04em;
            line-height: 1.05;
            text-align: center;
        }

        .MCM-timeline {
            position: relative;
            display: grid;
            gap: 14px;
            max-width: 520px;
            margin: 0 auto;
            padding: 0 16px;
        }

        .MCM-timeline::before {
            content: "";
            position: absolute;
            left: 34px;
            top: 20px;
            bottom: 20px;
            width: 2px;
            background: rgba(34, 90, 167, 0.18);
        }

        .MCM-timeline-item {
            position: relative;
            display: grid;
            grid-template-columns: 36px minmax(0, 1fr);
            gap: 12px;
            align-items: start;
        }

        .MCM-timeline-dot {
            position: relative;
            z-index: 2;
            width: 14px;
            height: 14px;
            margin: 16px auto 0;
            border: 3px solid var(--MCM-bg);
            border-radius: 50%;
            background: var(--MCM-muted);
            box-shadow: 0 0 0 5px rgba(107, 114, 128, 0.12);
        }

        .MCM-timeline-dot.MCM-active {
            background: var(--MCM-blue);
            box-shadow: 0 0 0 5px rgba(34, 90, 167, 0.16);
        }

        .MCM-event-card {
            padding: 15px;
            border: 1px solid rgba(15, 23, 42, 0.08);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.86);
            box-shadow: var(--MCM-shadow-sm);
        }

        .MCM-event-label {
            color: var(--MCM-muted);
            font-size: 12px;
            font-weight: 850;
        }

        .MCM-event-title {
            margin: 4px 0 0;
            color: var(--MCM-text);
            font-size: 16px;
            font-weight: 900;
            line-height: 1.2;
        }

        .MCM-columns {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .MCM-info-card,
        .MCM-plan-card,
        .MCM-partner-card {
            border: 1px solid rgba(15, 23, 42, 0.08);
            border-radius: var(--MCM-radius-lg);
            background: var(--MCM-card-bg);
            box-shadow: var(--MCM-shadow-sm);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }

        .MCM-info-card {
            padding: 20px;
        }

        .MCM-info-card h3,
        .MCM-plan-card h3,
        .MCM-partner-card h3 {
            margin: 0 0 8px;
            color: var(--MCM-purple);
            font-size: 20px;
            font-weight: 900;
            line-height: 1.15;
        }

        .MCM-info-card p,
        .MCM-plan-card p,
        .MCM-partner-card p {
            margin: 0;
            color: var(--MCM-body-text);
            font-size: 15px;
            line-height: 1.45;
        }

        .MCM-partner-hero {
            padding: 54px 0 42px;
        }

        .MCM-partner-shell {
            display: grid;
            gap: 18px;
            align-items: center;
        }

        .MCM-partner-copy {
            padding: 10px 4px;
        }

        .MCM-partner-copy h1,
        .MCM-partner-copy h2 {
            margin: 8px 0 12px;
            color: var(--MCM-text);
            font-family: var(--MCM-font-head);
            font-size: clamp(32px, 9vw, 58px);
            font-weight: 950;
            letter-spacing: -0.06em;
            line-height: 0.96;
        }

        .MCM-partner-copy p {
            margin: 0 0 18px;
            color: var(--MCM-body-text);
            font-size: 16px;
            line-height: 1.5;
        }

        .MCM-partner-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .MCM-partner-actions > a {
            flex: 1 1 160px;
            width: auto;
        }

        .MCM-driver-value-grid {
            margin-top: 18px;
        }

        .MCM-partner-os {
            overflow: hidden;
            border-radius: 30px;
            background: #111827;
            color: #ffffff;
            box-shadow: var(--MCM-shadow-lg);
        }

        .MCM-partner-topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .MCM-window-dots {
            display: inline-flex;
            gap: 6px;
        }

        .MCM-window-dots span {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.28);
        }

        .MCM-os-label {
            color: rgba(255, 255, 255, 0.66);
            font-size: 12px;
            font-weight: 900;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .MCM-os-body {
            display: grid;
            gap: 14px;
            padding: 18px;
        }

        .MCM-os-stat-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .MCM-os-stat {
            padding: 14px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.08);
        }

        .MCM-os-stat strong {
            display: block;
            font-size: 24px;
            font-weight: 950;
            line-height: 1;
        }

        .MCM-os-stat span {
            display: block;
            margin-top: 6px;
            color: rgba(255, 255, 255, 0.68);
            font-size: 12px;
            font-weight: 750;
        }

        .MCM-os-list {
            display: grid;
            gap: 10px;
        }

        .MCM-os-row {
            display: grid;
            grid-template-columns: 38px minmax(0, 1fr) auto;
            align-items: center;
            gap: 10px;
            padding: 12px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.08);
        }

        .MCM-os-avatar {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: var(--MCM-gradient);
            font-size: 12px;
            font-weight: 950;
        }

        .MCM-os-row strong {
            display: block;
            overflow: hidden;
            font-size: 13px;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .MCM-os-row span {
            color: rgba(255, 255, 255, 0.64);
            font-size: 12px;
            font-weight: 650;
        }

        .MCM-os-pill {
            display: inline-flex;
            padding: 5px 9px;
            border-radius: 999px;
            background: rgba(34, 197, 94, 0.14);
            color: #86efac;
            font-size: 11px;
            font-weight: 900;
        }

        .MCM-plan-card {
            position: relative;
            display: flex;
            flex-direction: column;
            padding: 20px;
        }

        .MCM-plan-card.MCM-featured {
            border: 2px solid rgba(34, 90, 167, 0.68);
        }

        .MCM-plan-badge {
            display: inline-flex;
            width: fit-content;
            margin-bottom: 12px;
            padding: 5px 10px;
            border-radius: 999px;
            background: var(--MCM-blue);
            color: #ffffff;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .MCM-plan-price {
            margin: 8px 0 8px;
            color: var(--MCM-text);
            font-size: 42px;
            font-weight: 950;
            line-height: 1;
        }

        .MCM-plan-price span {
            color: var(--MCM-muted);
            font-size: 15px;
            font-weight: 650;
        }

        .MCM-plan-note {
            margin: 0 0 14px;
            color: #166534;
            font-size: 13px;
            font-weight: 800;
        }


        .MCM-plan-addons {
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-top: 10px;
            color: var(--MCM-text);
            font-size: 13px;
        }

        .MCM-plan-addons strong { font-weight: 850; }

        .MCM-plan-more-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            margin-top: 10px;
            color: var(--MCM-brand);
            font-size: 13px;
            font-weight: 800;
            text-decoration: none;
        }

        .MCM-plan-more-link:hover { text-decoration: underline; }
        .MCM-plan-features {
            display: grid;
            gap: 12px;
            margin: 18px 0 20px;
            padding: 0;
            list-style: none;
        }

        .MCM-plan-features li {
            display: grid;
            grid-template-columns: 20px minmax(0, 1fr);
            gap: 10px;
            color: var(--MCM-text);
            font-size: 14px;
            font-weight: 650;
        }

        .MCM-check {
            position: relative;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--MCM-blue);
        }

        .MCM-check::after {
            content: "";
            position: absolute;
            left: 7px;
            top: 4px;
            width: 5px;
            height: 9px;
            border: solid #ffffff;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .MCM-plan-cta {
            margin-top: auto;
        }

        .MCM-empty-state,
        .MCM-error-state {
            padding: 18px;
            color: var(--MCM-muted);
            text-align: center;
            font-size: 14px;
            font-weight: 700;
        }

        .MCM-skeleton-card {
            display: grid;
            grid-template-columns: 46px 1fr;
            gap: 10px;
            align-items: center;
            padding: 12px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.72);
        }

        .MCM-skeleton-shape {
            position: relative;
            overflow: hidden;
            border-radius: 999px;
            background: #e5e7eb;
        }

        .MCM-skeleton-shape::after {
            content: "";
            position: absolute;
            inset: 0;
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
            animation: MCM-shimmer 1.35s infinite;
        }

        @keyframes MCM-shimmer {
            100% { transform: translateX(100%); }
        }

        @media (max-width: 759px) {
            .MCM-mode-shell {
                top: 8px;
                width: calc(100% - 32px);
                margin: 0;
            }

            .MCM-map-hero {
                padding-top: 66px;
            }

            .MCM-planner-wrap {
                padding-left: 12px;
                padding-right: 12px;
            }
        }

        @media (max-width: 380px) {
            .MCM-date-grid {
                grid-template-columns: 1fr;
            }

        }

        @media (min-width: 760px) {
            .MCM-mode-shell {
                top: 12px;
            }

            .MCM-map-hero {
                min-height: 620px;
                padding: 76px 0 42px;
            }


            .MCM-planner-wrap {
                max-width: 560px;
                margin-left: max(16px, calc((100vw - 1180px) / 2));
                margin-right: auto;
            }

            .MCM-columns {
                grid-template-columns: 1fr 1fr;
                gap: 22px;
            }

            .MCM-partner-shell {
                grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
                gap: 34px;
            }

            .MCM-section {
                padding: 58px 0;
            }
        }

        @media (min-width: 980px) {
            .MCM-map-hero {
                min-height: 660px;
            }

            .MCM-planner-wrap {
                padding-left: 24px;
                padding-right: 24px;
            }
        }

        @media (prefers-color-scheme: dark) {
            :root {
                --MCM-bg: #000000;
                --MCM-card-bg: rgba(28, 28, 30, 0.84);
                --MCM-card-solid: #111827;
                --MCM-field-bg: rgba(118, 118, 128, 0.2);
                --MCM-text: #ffffff;
                --MCM-body-text: #d1d5db;
                --MCM-muted: #9ca3af;
                --MCM-soft-muted: #a1a1a6;
                --MCM-border: rgba(255, 255, 255, 0.14);
            }

            .MCM-mode-inner,
            .MCM-mode-btn.MCM-active,
            .MCM-planner-card,
            .MCM-event-card,
            .MCM-info-card,
            .MCM-plan-card {
                background: rgba(28, 28, 30, 0.94);
            }

            .MCM-secondary-btn {
                background: rgba(255, 255, 255, 0.08);
                color: #ffffff;
            }

            .MCM-skeleton-shape {
                background: #2c2c2e;
            }

        }



        /* MCM-driver marketplace discovery, unified Driver <-> Details architecture */
        .MCM-discovery-section {
            position: relative;
            overflow: hidden;
            padding: 40px 0 50px;
            background:
                radial-gradient(circle at 8% 0%, rgba(34, 90, 167, 0.08), transparent 30%),
                radial-gradient(circle at 96% 24%, rgba(153, 50, 204, 0.06), transparent 28%),
                var(--MCM-bg);
        }

        .MCM-discovery-section .MCM-container {
            max-width: 980px;
        }

        .MCM-discovery-head {
            display: grid;
            gap: 7px;
            margin-bottom: 16px;
        }

        .MCM-discovery-head .MCM-section-title {
            margin: 0;
            color: var(--MCM-text);
            text-align: left;
        }

        .MCM-discovery-copy {
            max-width: 680px;
            margin: 0;
            color: var(--MCM-body-text);
            font-size: 15px;
            font-weight: 650;
            line-height: 1.45;
        }

        .MCM-directory-filters-shell {
            position: sticky;
            top: calc(var(--MCM-header-height, 0px) + 8px);
            z-index: 35;
            margin: 0 -16px 22px;
            padding: 8px 0 10px;
            background: rgba(242, 242, 247, 0.88);
            backdrop-filter: blur(24px) saturate(160%);
            -webkit-backdrop-filter: blur(24px) saturate(160%);
        }

        .MCM-directory-filters-shell::after {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 4px;
            width: 46px;
            content: "";
            pointer-events: none;
            opacity: 0;
            background: linear-gradient(90deg, rgba(242, 242, 247, 0), rgba(242, 242, 247, 0.96) 72%);
            transition: opacity var(--MCM-transition);
        }

        .MCM-directory-filters-shell.MCM-can-scroll-right::after {
            opacity: 1;
        }

        .MCM-directory-filters {
            display: flex;
            gap: 8px;
            margin: 0;
            padding: 0 50px 4px 16px;
            overflow-x: auto;
            overscroll-behavior-inline: contain;
            scroll-snap-type: x proximity;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }

        .MCM-directory-filters::-webkit-scrollbar,
        .MCM-discovery-card-track::-webkit-scrollbar {
            display: none;
        }

        .MCM-directory-filter {
            flex: 0 0 auto;
            min-height: 44px;
            padding: 10px 16px;
            border: 1px solid rgba(60, 60, 67, 0.12);
            border-radius: var(--MCM-radius-pill);
            background: rgba(255, 255, 255, 0.92);
            color: var(--MCM-text);
            font-size: 13px;
            font-weight: 850;
            line-height: 1;
            white-space: nowrap;
            scroll-snap-align: start;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
            transition: transform 120ms cubic-bezier(0.32, 0.72, 0, 1), background var(--MCM-transition), color var(--MCM-transition), border-color var(--MCM-transition);
        }

        .MCM-directory-filter:active {
            transform: scale(0.96);
        }

        .MCM-directory-filter.MCM-active {
            border-color: var(--MCM-blue);
            background: var(--MCM-blue);
            color: #ffffff;
            box-shadow: 0 8px 18px rgba(34, 90, 167, 0.2);
        }

        .MCM-event-feature {
            display: grid;
            gap: 12px;
            margin-bottom: 22px;
        }

        .MCM-event-feature-head {
            display: grid;
            gap: 5px;
        }

        .MCM-event-feature-head .MCM-eyebrow {
            margin-bottom: 2px;
        }

        .MCM-event-feature-head .MCM-section-title {
            margin: 0;
            color: var(--MCM-text);
            font-size: clamp(21px, 6vw, 28px);
            text-align: left;
        }

        .MCM-event-feature-copy {
            margin: 0;
            color: var(--MCM-body-text);
            font-size: 13px;
            font-weight: 650;
            line-height: 1.4;
        }

        .MCM-event-feature-rail {
            display: flex;
            width: 100%;
            min-width: 0;
            gap: 12px;
            overflow-x: auto;
            overflow-y: hidden;
            overscroll-behavior-inline: contain;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-x pan-y;
        }

        .MCM-event-feature-rail::-webkit-scrollbar {
            display: none;
        }

        .MCM-event-feature-rail > .MCM-discovery-card {
            flex: 0 0 100%;
            width: 100%;
            scroll-snap-align: start;
            scroll-snap-stop: always;
        }

        .MCM-event-pager {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            min-height: 12px;
            margin-top: 10px;
        }

        .MCM-event-pager[hidden] { display: none !important; }

        .MCM-event-pager-dot {
            width: 6px;
            height: 6px;
            border-radius: 999px;
            background: rgba(60, 60, 67, 0.22);
            transition: width 160ms ease, background 160ms ease;
        }

        .MCM-event-pager-dot.MCM-active {
            width: 18px;
            background: var(--MCM-blue);
        }

        .MCM-driver-feed {
            display: grid;
            gap: 10px;
        }

        /* One component shell for Driver <-> Vehicle and Driver <-> Event. */
        .MCM-discovery-card {
            position: relative;
            width: 100%;
            min-width: 0;
            overflow: hidden;
            border: 1px solid rgba(60, 60, 67, 0.1);
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.055);
            backdrop-filter: blur(20px) saturate(145%);
            -webkit-backdrop-filter: blur(20px) saturate(145%);
            transform: translateZ(0);
        }

        .MCM-discovery-card--event {
            border-width: 1.5px;
            border-color: rgba(34, 90, 167, 0.42);
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(34, 90, 167, 0.11);
        }

        .MCM-discovery-card-track {
            display: grid;
            grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
            width: 100%;
            min-width: 0;
            overflow: visible;
        }

        .MCM-discovery-person-panel,
        .MCM-discovery-detail-panel {
            width: 100%;
            min-width: 0;
        }

        .MCM-discovery-person-panel {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding: 14px 12px 13px 14px;
            border-right: 1px solid rgba(60, 60, 67, 0.08);
            background: var(--MCM-card-solid);
            color: inherit;
        }

        .MCM-discovery-detail-panel {
            display: flex;
            flex-direction: column;
            gap: 7px;
            padding: 10px;
            background: rgba(118, 118, 128, 0.045);
            color: inherit;
        }

        .MCM-discovery-card--event .MCM-discovery-person-panel {
            min-height: 194px;
            padding: 14px 13px 13px 14px;
        }

        .MCM-discovery-card--event .MCM-discovery-detail-panel {
            min-height: 194px;
        }

        .MCM-discovery-card--driver .MCM-discovery-person-panel,
        .MCM-discovery-card--driver .MCM-discovery-detail-panel {
            min-height: 164px;
        }

        .MCM-discovery-panel-link {
            text-decoration: none;
            -webkit-tap-highlight-color: transparent;
        }

        .MCM-discovery-panel-link:active {
            background-color: rgba(118, 118, 128, 0.07);
        }

        .MCM-event-label {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            min-height: 26px;
            padding: 5px 9px;
            border-radius: var(--MCM-radius-pill);
            background: var(--MCM-blue);
            color: #ffffff;
            font-size: 10px;
            font-weight: 900;
            line-height: 1;
        }

        .MCM-driver-person {
            display: grid;
            grid-template-columns: 58px minmax(0, 1fr);
            align-items: center;
            gap: 9px;
            min-width: 0;
        }

        .MCM-driver-avatar-wrap {
            position: relative;
            width: 58px;
            height: 58px;
            flex: 0 0 auto;
        }

        .MCM-driver-avatar,
        .MCM-driver-avatar-fallback {
            width: 58px;
            height: 58px;
            border-radius: 50%;
        }

        .MCM-driver-avatar {
            display: block;
            object-fit: cover;
            background: #e5e7eb;
        }

        .MCM-driver-avatar-fallback {
            display: grid;
            place-items: center;
            overflow: hidden;
            background: linear-gradient(145deg, #eef1f6, #dfe5ed);
            color: #8e8e93;
        }

        .MCM-driver-avatar-fallback svg {
            width: 72%;
            height: 72%;
            fill: currentColor;
        }

        .MCM-driver-name-line {
            display: flex;
            align-items: center;
            gap: 5px;
            min-width: 0;
        }

        .MCM-driver-name {
            min-width: 0;
            overflow: hidden;
            color: var(--MCM-text);
            font-family: var(--MCM-font-head);
            font-size: 16px;
            font-weight: 950;
            letter-spacing: -0.035em;
            line-height: 1.08;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .MCM-driver-verified {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            width: 16px;
            height: 16px;
            color: var(--MCM-blue);
        }

        .MCM-driver-verified svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .MCM-driver-rating,
        .MCM-driver-location {
            display: flex;
            align-items: center;
            gap: 4px;
            min-width: 0;
            margin-top: 4px;
            color: var(--MCM-muted);
            font-size: 10px;
            font-weight: 750;
            line-height: 1.2;
        }

        .MCM-driver-rating svg,
        .MCM-driver-location svg {
            flex: 0 0 auto;
            width: 12px;
            height: 12px;
        }

        .MCM-driver-rating svg {
            color: #ffb400;
            fill: currentColor;
        }

        .MCM-driver-location svg {
            color: var(--MCM-blue);
        }

        .MCM-driver-location span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .MCM-driver-bio {
            display: -webkit-box;
            margin: 0;
            overflow: hidden;
            color: var(--MCM-body-text);
            font-size: 11px;
            font-weight: 650;
            line-height: 1.35;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .MCM-driver-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: auto;
        }

        .MCM-driver-tag {
            display: inline-flex;
            align-items: center;
            min-height: 24px;
            padding: 4px 7px;
            border: 1px solid rgba(60, 60, 67, 0.08);
            border-radius: var(--MCM-radius-pill);
            background: rgba(118, 118, 128, 0.08);
            color: var(--MCM-body-text);
            font-size: 9px;
            font-weight: 800;
            line-height: 1;
            white-space: nowrap;
        }

        /* Unified Driver -> Vehicle -> Price card. Event Transportation keeps its own swipe rail. */
        .MCM-driver-card-grid {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(240px, 280px) minmax(124px, 140px);
            align-items: stretch;
            min-width: 0;
        }

        .MCM-driver-card-profile {
            min-width: 0;
            padding: 18px;
            color: inherit;
            text-decoration: none;
            background: var(--MCM-card-solid);
        }

        .MCM-driver-card-vehicle {
            min-width: 0;
            margin: 12px 0;
            padding: 10px;
            border-radius: 16px;
            background: rgba(118, 118, 128, 0.08);
            color: inherit;
            text-decoration: none;
        }

        .MCM-driver-card-vehicle .MCM-vehicle-media {
            aspect-ratio: 1 / 1;
            min-height: 0;
            margin-bottom: 10px;
        }

        .MCM-driver-card-specs {
            display: grid;
            gap: 6px;
            margin-top: 8px;
        }

        .MCM-driver-card-spec {
            display: flex;
            align-items: flex-start;
            gap: 6px;
            min-width: 0;
            color: var(--MCM-muted);
            font-size: 11px;
            font-weight: 750;
            line-height: 1.25;
        }

        .MCM-driver-card-spec svg {
            flex: 0 0 auto;
            width: 14px;
            height: 14px;
            color: var(--MCM-blue);
        }

        .MCM-driver-card-commerce {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            gap: 10px;
            min-width: 0;
            padding: 16px 12px;
            border-left: 1px solid rgba(60, 60, 67, 0.08);
            background: var(--MCM-card-solid);
            color: inherit;
            text-decoration: none;
        }

        .MCM-driver-card-commerce .MCM-vehicle-price {
            display: grid;
            gap: 2px;
            min-width: 0;
        }

        .MCM-driver-card-commerce .MCM-vehicle-price-value {
            overflow-wrap: anywhere;
        }

        .MCM-driver-card-commerce .MCM-driver-action {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 44px;
            padding: 10px 8px;
            text-align: center;
        }

        .MCM-driver-trust-footer {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 14px;
            padding: 10px 18px 12px;
            border-top: 1px solid rgba(60, 60, 67, 0.08);
            background: rgba(118, 118, 128, 0.035);
        }

        .MCM-driver-trust-item {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: var(--MCM-muted);
            font-size: 10px;
            font-weight: 800;
        }

        .MCM-driver-trust-item svg {
            width: 13px;
            height: 13px;
            color: var(--MCM-blue);
        }

        @media (max-width: 767px) {
            .MCM-driver-card-grid {
                grid-template-columns: minmax(0, 1fr);
            }

            .MCM-driver-card-profile {
                padding: 16px 16px 12px;
            }

            .MCM-driver-card-vehicle {
                margin: 0 12px;
                padding: 12px;
            }

            .MCM-driver-card-vehicle .MCM-vehicle-media {
                width: min(100%, 280px);
                margin: 0 auto 10px;
            }

            .MCM-driver-card-commerce {
                display: grid;
                grid-template-columns: minmax(0, 1fr) minmax(120px, 44%);
                align-items: end;
                gap: 10px;
                padding: 12px 16px 14px;
                border-left: 0;
            }

            .MCM-driver-trust-footer {
                padding-inline: 16px;
            }
        }

        .MCM-event-detail-pane {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            grid-template-rows: auto auto;
            gap: 8px;
            align-items: stretch;
            padding: 9px;
        }

        .MCM-driver-vehicle-pane {
            display: grid;
            grid-template-columns: minmax(0, 38%) minmax(0, 62%);
            grid-template-rows: auto auto minmax(0, 1fr);
            gap: 7px 10px;
            align-items: stretch;
        }

        .MCM-event-detail-pane .MCM-event-media {
            grid-column: 1;
            grid-row: 1;
            min-height: 92px;
            aspect-ratio: 1 / 1;
        }

        .MCM-event-detail-pane .MCM-event-body {
            grid-column: 1;
            grid-row: 2;
            min-width: 0;
            padding-top: 0;
        }

        .MCM-driver-vehicle-pane .MCM-vehicle-media {
            grid-column: 1;
            grid-row: 1 / 4;
            aspect-ratio: 1 / 1;
            min-height: 0;
        }

        .MCM-driver-vehicle-pane .MCM-vehicle-title {
            grid-column: 2;
            grid-row: 1;
        }

        .MCM-driver-vehicle-pane .MCM-vehicle-meta {
            grid-column: 2;
            grid-row: 2;
        }

        .MCM-driver-vehicle-pane .MCM-vehicle-footer {
            grid-column: 2;
            grid-row: 3;
        }

        .MCM-event-media,
        .MCM-vehicle-media {
            position: relative;
            display: grid;
            width: 100%;
            min-height: 0;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            place-items: center;
            border-radius: 13px;
            background: linear-gradient(145deg, #eef1f6, #dfe5ed);
        }

        .MCM-event-media img,
        .MCM-vehicle-media img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .MCM-event-media img,
        .MCM-vehicle-media img {
            min-height: 100%;
            max-height: none;
        }

        .MCM-event-media-label {
            position: absolute;
            top: 7px;
            right: 7px;
            display: inline-flex;
            min-height: 24px;
            align-items: center;
            padding: 4px 7px;
            border: 1px solid rgba(255, 255, 255, 0.7);
            border-radius: var(--MCM-radius-pill);
            background: rgba(255, 255, 255, 0.9);
            color: var(--MCM-blue);
            font-size: 9px;
            font-weight: 900;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .MCM-event-body {
            display: grid;
            gap: 5px;
            padding: 9px 0 0;
        }

        .MCM-event-title {
            display: -webkit-box;
            margin: 0;
            overflow: hidden;
            color: var(--MCM-text);
            font-size: 14px;
            font-weight: 950;
            letter-spacing: -0.025em;
            line-height: 1.15;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .MCM-event-description {
            display: -webkit-box;
            margin: 0;
            overflow: hidden;
            color: var(--MCM-body-text);
            font-size: 10px;
            font-weight: 650;
            line-height: 1.28;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
        }

        .MCM-event-meta,
        .MCM-event-seat-line {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 7px;
            min-width: 0;
            color: var(--MCM-muted);
            font-size: 9px;
            font-weight: 800;
        }

        .MCM-event-meta span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .MCM-event-price {
            color: var(--MCM-blue);
            font-size: 12px;
            font-weight: 950;
            text-align: right;
        }

        .MCM-event-note {
            margin: 0;
            color: #166534;
            font-size: 9px;
            font-weight: 850;
            line-height: 1.2;
        }

        .MCM-event-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            min-height: 44px;
            margin-top: 1px;
            padding: 9px 10px;
            border: 0;
            border-radius: 11px;
            background: var(--MCM-gradient);
            color: #ffffff;
            font-size: 10px;
            font-weight: 950;
            line-height: 1;
        }

        .MCM-event-action:disabled {
            cursor: not-allowed;
            background: rgba(118, 118, 128, 0.18);
            color: var(--MCM-muted);
        }

        .MCM-vehicle-silhouette,
        .MCM-event-image-fallback {
            display: grid;
            width: 100%;
            height: 100%;
            min-height: inherit;
            place-items: center;
            color: #8e8e93;
        }

        .MCM-vehicle-silhouette svg {
            width: 72%;
            max-width: 112px;
            height: auto;
            fill: currentColor;
        }

        .MCM-event-image-fallback svg {
            width: 36px;
            height: 36px;
            color: var(--MCM-blue);
        }

        .MCM-vehicle-title {
            display: -webkit-box;
            margin: 0;
            overflow: hidden;
            color: var(--MCM-text);
            font-size: 12px;
            font-weight: 950;
            line-height: 1.14;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }

        .MCM-vehicle-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 4px 8px;
            color: var(--MCM-muted);
            font-size: 9px;
            font-weight: 800;
            line-height: 1.2;
        }

        .MCM-vehicle-footer {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 6px;
            margin-top: auto;
        }

        .MCM-vehicle-price {
            display: grid;
            min-width: 0;
            gap: 1px;
        }

        .MCM-vehicle-price-prefix {
            color: var(--MCM-muted);
            font-size: 8px;
            font-weight: 900;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

        .MCM-vehicle-price-value {
            overflow: hidden;
            color: var(--MCM-blue);
            font-size: 12px;
            font-weight: 950;
            line-height: 1.08;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .MCM-driver-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            min-height: 44px;
            padding: 8px 10px;
            border-radius: 10px;
            background: var(--MCM-blue);
            color: #ffffff;
            font-size: 9px;
            font-weight: 950;
            line-height: 1;
            white-space: nowrap;
        }

        .MCM-discovery-state {
            display: grid;
            justify-items: center;
            gap: 12px;
            padding: 28px 18px;
            border: 1px dashed rgba(60, 60, 67, 0.2);
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.62);
            color: var(--MCM-muted);
            font-size: 14px;
            font-weight: 700;
            text-align: center;
        }

        .MCM-discovery-reset,
        .MCM-discovery-more {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 10px 16px;
            border: 1px solid rgba(34, 90, 167, 0.18);
            border-radius: 13px;
            background: rgba(255, 255, 255, 0.92);
            color: var(--MCM-blue);
            font-size: 13px;
            font-weight: 850;
            box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
        }

        .MCM-discovery-more-wrap {
            display: flex;
            justify-content: center;
            margin-top: 14px;
        }

        .MCM-discovery-skeleton {
            min-height: 164px;
        }

        .MCM-discovery-card--event.MCM-discovery-skeleton {
            min-height: 194px;
        }

        .MCM-discovery-skeleton-profile {
            display: grid;
            grid-template-columns: 58px minmax(0, 1fr);
            gap: 9px;
            align-items: start;
        }

        .MCM-discovery-skeleton-shape {
            position: relative;
            overflow: hidden;
            background: #e5e7eb;
        }

        .MCM-discovery-skeleton-shape::after {
            position: absolute;
            inset: 0;
            content: "";
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
            animation: MCM-shimmer 1.35s infinite;
        }

        .MCM-discovery-skeleton-avatar {
            width: 58px;
            height: 58px;
            border-radius: 50%;
        }

        .MCM-discovery-skeleton-lines {
            display: grid;
            gap: 8px;
            padding-top: 5px;
        }

        .MCM-discovery-skeleton-line {
            height: 10px;
            border-radius: var(--MCM-radius-pill);
        }

        .MCM-discovery-skeleton-line:nth-child(1) {
            width: 74%;
            height: 16px;
        }

        .MCM-discovery-skeleton-line:nth-child(2) {
            width: 50%;
        }

        .MCM-discovery-skeleton-line:nth-child(3) {
            width: 88%;
        }

        .MCM-discovery-skeleton-media {
            width: 100%;
            min-height: 82px;
            border-radius: 13px;
        }

        @media (max-width: 380px) {
            .MCM-discovery-card-track {
                grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
            }

            .MCM-discovery-person-panel {
                padding: 12px 10px 11px 12px;
            }

            .MCM-discovery-detail-panel {
                padding: 9px;
            }

            .MCM-driver-person {
                grid-template-columns: 52px minmax(0, 1fr);
                gap: 8px;
            }

            .MCM-driver-avatar-wrap,
            .MCM-driver-avatar,
            .MCM-driver-avatar-fallback {
                width: 52px;
                height: 52px;
            }
        }

        @media (min-width: 768px) {
            .MCM-discovery-section {
                padding: 54px 0 64px;
            }

            .MCM-directory-filters-shell {
                margin-left: 0;
                margin-right: 0;
                border-radius: 18px;
            }

            .MCM-directory-filters {
                padding-left: 8px;
            }

            .MCM-driver-person {
                grid-template-columns: 76px minmax(0, 1fr);
                gap: 13px;
            }

            .MCM-driver-avatar-wrap,
            .MCM-driver-avatar,
            .MCM-driver-avatar-fallback {
                width: 76px;
                height: 76px;
            }

            .MCM-driver-name {
                font-size: 20px;
            }

            .MCM-driver-rating,
            .MCM-driver-location {
                font-size: 11px;
            }

            .MCM-driver-bio {
                font-size: 13px;
            }

            .MCM-driver-tag {
                min-height: 26px;
                font-size: 10px;
            }

            .MCM-discovery-card-track {
                grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
            }

            .MCM-discovery-card--driver .MCM-discovery-person-panel,
            .MCM-discovery-card--driver .MCM-discovery-detail-panel {
                min-height: 158px;
            }

            .MCM-discovery-card--event .MCM-discovery-person-panel,
            .MCM-discovery-card--event .MCM-discovery-detail-panel {
                min-height: 204px;
            }

            .MCM-event-detail-pane .MCM-event-media,
            .MCM-driver-vehicle-pane .MCM-vehicle-media {
                min-height: 0;
                aspect-ratio: 1 / 1;
            }
        }

        @media (prefers-color-scheme: dark) {
            .MCM-directory-filters-shell {
                background: rgba(0, 0, 0, 0.84);
            }

            .MCM-directory-filters-shell::after {
                background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.94) 72%);
            }

            .MCM-directory-filter,
            .MCM-discovery-card,
            .MCM-discovery-state,
            .MCM-discovery-more,
            .MCM-discovery-reset {
                background: rgba(28, 28, 30, 0.94);
                border-color: rgba(255, 255, 255, 0.12);
            }

            .MCM-discovery-card--event {
                border-color: rgba(76, 142, 241, 0.58);
            }

            .MCM-discovery-person-panel {
                background: rgba(28, 28, 30, 0.94);
                border-color: rgba(255, 255, 255, 0.08);
            }

            .MCM-discovery-detail-panel {
                background: rgba(118, 118, 128, 0.13);
            }

            .MCM-driver-tag {
                background: rgba(118, 118, 128, 0.16);
                border-color: rgba(255, 255, 255, 0.08);
            }

            .MCM-driver-avatar-fallback,
            .MCM-vehicle-media,
            .MCM-event-media {
                background: linear-gradient(145deg, #2c2c2e, #202124);
            }

            .MCM-discovery-skeleton-shape {
                background: #2c2c2e;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
            }
        }

        @media (min-width: 980px) {
            .MCM-driver-value-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (min-width: 1120px) {
            #MCM-pricing .MCM-columns {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

/* MCM- compact marketplace refinement v3.14.0 */
:root {
    --MCM-homepage-card-radius: 20px;
    --MCM-homepage-inset-radius: 14px;
    --MCM-homepage-avatar-size: 58px;
    --MCM-homepage-vehicle-size: 78px;
    --MCM-homepage-event-media-size: 132px;
    --MCM-homepage-card-gap: 10px;
    --MCM-homepage-card-padding: 14px;
    --MCM-homepage-control-height: 44px;
}

/* Driver business name is the marketplace identity. Never ellipsize it. */
.MCM-driver-name {
    display: block;
    min-width: 0;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Everything secondary stays compact and predictable. */
.MCM-driver-location span,
.MCM-vehicle-title,
.MCM-driver-card-spec span,
.MCM-driver-card-commerce .MCM-vehicle-price-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.MCM-driver-bio {
    -webkit-line-clamp: 2;
}

.MCM-driver-tags .MCM-driver-tag:nth-child(n + 2) {
    display: none;
}

.MCM-discovery-card--driver {
    border-radius: var(--MCM-homepage-card-radius);
}

.MCM-driver-card-profile {
    padding: var(--MCM-homepage-card-padding);
}

.MCM-driver-card-vehicle {
    border-radius: var(--MCM-homepage-inset-radius);
}

.MCM-driver-card-commerce .MCM-driver-action {
    min-height: var(--MCM-homepage-control-height);
}

/* Event Transportation keeps the existing card structure and swipe behavior.
   Only the square media is constrained so it no longer determines card height. */
.MCM-event-detail-pane .MCM-event-media {
    width: min(100%, var(--MCM-homepage-event-media-size));
    min-height: 0;
    justify-self: center;
    aspect-ratio: 1 / 1;
}

/* Phone: driver-first two-column card. Vehicle stays only slightly larger than avatar. */
@media (max-width: 479px) {
    :root {
        --MCM-homepage-avatar-size: 54px;
        --MCM-homepage-vehicle-size: 70px;
        --MCM-homepage-event-media-size: 118px;
        --MCM-homepage-card-padding: 12px;
    }

    .MCM-discovery-section {
        padding-top: 18px;
    }

    .MCM-event-feature {
        margin-bottom: 22px;
    }

    .MCM-driver-feed {
        gap: 10px;
    }

    .MCM-driver-card-grid {
        display: grid;
        grid-template-columns: minmax(0, 56%) minmax(0, 44%);
        grid-template-rows: auto auto;
        align-items: stretch;
        min-width: 0;
    }

    .MCM-driver-card-profile {
        grid-column: 1;
        grid-row: 1 / 3;
        padding: 12px 10px 10px 12px;
    }

    .MCM-driver-card-vehicle {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        margin: 8px 8px 0 0;
        padding: 8px;
    }

    .MCM-driver-card-vehicle .MCM-vehicle-media {
        width: var(--MCM-homepage-vehicle-size);
        max-width: 100%;
        margin: 0 auto 6px;
        aspect-ratio: 1 / 1;
    }

    .MCM-driver-card-vehicle .MCM-vehicle-title {
        margin-top: 0;
        font-size: 11px;
        line-height: 1.2;
    }

    .MCM-driver-card-specs {
        gap: 3px;
        margin-top: 4px;
    }

    .MCM-driver-card-spec {
        gap: 4px;
        font-size: 9px;
        line-height: 1.15;
    }

    .MCM-driver-card-spec svg {
        width: 11px;
        height: 11px;
    }

    .MCM-driver-card-commerce {
        grid-column: 2;
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: end;
        gap: 6px;
        padding: 7px 8px 10px 0;
        border-left: 0;
    }

    .MCM-driver-card-commerce .MCM-vehicle-price {
        gap: 0;
    }

    .MCM-driver-card-commerce .MCM-vehicle-price-prefix {
        font-size: 8px;
    }

    .MCM-driver-card-commerce .MCM-vehicle-price-value {
        font-size: 12px;
    }

    .MCM-driver-card-commerce .MCM-driver-action {
        min-height: 44px;
        padding: 8px 6px;
        font-size: 10px;
    }

    .MCM-driver-person {
        grid-template-columns: var(--MCM-homepage-avatar-size) minmax(0, 1fr);
        gap: 8px;
    }

    .MCM-driver-avatar-wrap,
    .MCM-driver-avatar,
    .MCM-driver-avatar-fallback {
        width: var(--MCM-homepage-avatar-size);
        height: var(--MCM-homepage-avatar-size);
    }

    .MCM-driver-name {
        font-size: 14px;
        line-height: 1.08;
    }

    .MCM-driver-rating,
    .MCM-driver-location {
        margin-top: 3px;
        font-size: 9px;
    }

    .MCM-driver-bio {
        margin-top: 7px;
        font-size: 10px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .MCM-driver-tags {
        margin-top: 7px;
    }

    .MCM-driver-tag {
        min-height: 22px;
        padding: 4px 6px;
        font-size: 8px;
    }

    .MCM-driver-trust-footer {
        min-height: 28px;
        padding: 6px 12px 7px;
    }

    .MCM-driver-trust-item {
        font-size: 9px;
    }

    .MCM-event-detail-pane {
        padding: 8px;
    }

    .MCM-event-detail-pane .MCM-event-media {
        width: min(100%, var(--MCM-homepage-event-media-size));
    }
}

/* Large phone / small tablet: keep the same mental model with slightly more breathing room. */
@media (min-width: 480px) and (max-width: 767px) {
    :root {
        --MCM-homepage-avatar-size: 58px;
        --MCM-homepage-vehicle-size: 84px;
        --MCM-homepage-event-media-size: 142px;
    }

    .MCM-driver-feed {
        gap: 12px;
    }

    .MCM-driver-card-grid {
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
        grid-template-rows: auto auto;
    }

    .MCM-driver-card-profile {
        grid-column: 1;
        grid-row: 1 / 3;
        padding: 14px;
    }

    .MCM-driver-card-vehicle {
        grid-column: 2;
        grid-row: 1;
        margin: 10px 10px 0 0;
        padding: 9px;
    }

    .MCM-driver-card-vehicle .MCM-vehicle-media {
        width: var(--MCM-homepage-vehicle-size);
        margin: 0 auto 7px;
    }

    .MCM-driver-card-commerce {
        grid-column: 2;
        grid-row: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
        padding: 8px 10px 12px 0;
        border-left: 0;
    }

    .MCM-driver-person {
        grid-template-columns: var(--MCM-homepage-avatar-size) minmax(0, 1fr);
    }

    .MCM-driver-avatar-wrap,
    .MCM-driver-avatar,
    .MCM-driver-avatar-fallback {
        width: var(--MCM-homepage-avatar-size);
        height: var(--MCM-homepage-avatar-size);
    }
}

/* Tablet / desktop: retain the 3-column marketplace card but reduce vehicle dominance. */
@media (min-width: 768px) {
    :root {
        --MCM-homepage-event-media-size: 162px;
    }

    .MCM-driver-feed {
        gap: 14px;
    }

    .MCM-driver-card-grid {
        grid-template-columns: minmax(0, 1fr) minmax(190px, 232px) minmax(118px, 132px);
    }

    .MCM-driver-card-profile {
        padding: 16px;
    }

    .MCM-driver-card-vehicle {
        margin: 10px 0;
        padding: 9px;
    }

    .MCM-driver-card-vehicle .MCM-vehicle-media {
        width: min(100%, 164px);
        margin: 0 auto 8px;
    }

    .MCM-driver-card-commerce {
        gap: 8px;
        padding: 14px 10px;
    }

    .MCM-event-detail-pane .MCM-event-media {
        width: min(100%, var(--MCM-homepage-event-media-size));
    }
}

@media (min-width: 1024px) {
    :root {
        --MCM-homepage-event-media-size: 184px;
    }

    .MCM-driver-card-grid {
        grid-template-columns: minmax(0, 1fr) minmax(208px, 244px) minmax(122px, 136px);
    }
}

/* MCM- content-driven event height and compact secondary text */
.MCM-driver-card-commerce .MCM-driver-action {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    .MCM-discovery-card--event .MCM-discovery-person-panel,
    .MCM-discovery-card--event .MCM-discovery-detail-panel {
        min-height: 0;
    }
}

@media (min-width: 768px) {
    .MCM-discovery-card--event .MCM-discovery-person-panel,
    .MCM-discovery-card--event .MCM-discovery-detail-panel {
        min-height: 0;
    }
}
