/* Wipye Ride v126 · nearby taxis, real cars per class, assigned driver's car. */
.wr-nearby-status.w126-nearby{padding:0;display:flex;flex-direction:column;overflow:hidden;max-width:min(330px,calc(100% - 32px));border-radius:22px}
.w126-nearby[data-open=true]{width:min(330px,calc(100% - 32px));border-radius:18px}
.w126-nearby-summary{display:flex;align-items:center;gap:8px;min-height:42px;width:100%;margin:0;padding:10px 14px;border:0;background:transparent;color:#173a5c;font:650 13px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;text-align:start;cursor:pointer;touch-action:manipulation}
.w126-nearby-summary:disabled{cursor:default}
.w126-nearby-summary:focus-visible{outline:2px solid #0b5cff;outline-offset:-2px;border-radius:18px}
.w126-nearby-text{flex:1;min-width:0}
.w126-nearby-dot{flex:none;width:9px;height:9px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 0 #16a34a66;animation:w126-pulse 2s infinite}
.w126-nearby[data-count="0"] .w126-nearby-dot{background:#94a3b8;animation:none}
.w126-nearby-chevron{flex:none;width:8px;height:8px;border-right:2px solid #5a7390;border-bottom:2px solid #5a7390;transform:rotate(-135deg);margin:3px 2px 0 4px;transition:transform .2s}
.w126-nearby[data-open=true] .w126-nearby-chevron{transform:rotate(45deg);margin-top:-3px}
.w126-nearby[data-count="0"] .w126-nearby-chevron{display:none}
.w126-nearby-list{border-top:1px solid #e3e9f1;padding:8px 12px 10px;max-height:min(230px,38vh);overflow:auto;overscroll-behavior:contain}
.w126-nearby-title{margin:0 0 6px;color:#64748b;font:600 11px/1.3 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.04em}
.w126-nearby-list ol{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.w126-nearby-list li{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:5px 2px;border-bottom:1px solid #f0f3f7;font:500 13px/1.2 system-ui,sans-serif;color:#1e3550}
.w126-nearby-list li:last-child{border-bottom:0}
.w126-nearby-car{display:block;line-height:0}.w126-nearby-car svg{width:34px;height:auto}
.w126-nearby-dist{color:#5b6c80;font-variant-numeric:tabular-nums}
.w126-nearby-eta{color:#0b5cff;font-variant-numeric:tabular-nums;min-width:52px;text-align:end}
.w126-nearby-note{margin:6px 0 0;color:#6b7c90;font:400 11px/1.35 system-ui,sans-serif}
@keyframes w126-pulse{0%{box-shadow:0 0 0 0 #16a34a66}70%{box-shadow:0 0 0 7px #16a34a00}100%{box-shadow:0 0 0 0 #16a34a00}}
@media (prefers-reduced-motion:reduce){.w126-nearby-dot{animation:none}}

/* Class cards: real consented car photo, or a neutral illustration per class. */
[data-ride-layout] .wr-choices .wr-car-picture{width:72px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:linear-gradient(180deg,#f3f6fa,#e8eef5);overflow:hidden}
[data-ride-layout] .wr-choices .wr-car-picture svg{width:64px;height:auto}
[data-ride-layout] .wr-choices .wr-car-picture.w126-has-photo{background:#e8eef5}
[data-ride-layout] .wr-choices .wr-car-picture img{display:block;width:100%;height:100%;object-fit:cover}
[data-ride-layout] .wr-choices .wr-car-copy{min-width:0;flex:1}
.w126-class-cars{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:3px;color:#0f7a43;font:600 12px/1.25 system-ui,sans-serif;overflow:hidden;overflow-wrap:anywhere}
.w126-class-cars[hidden]{display:none}
.w126-class-cars::before{content:'';display:inline-block;width:6px;height:6px;margin:0 5px 1px 0;border-radius:50%;background:#16a34a;vertical-align:middle}
@media(max-width:370px){[data-ride-layout] .wr-choices .wr-car-picture{width:60px;height:42px}[data-ride-layout] .wr-choices .wr-car-picture svg{width:54px}}

/* Assigned driver: real vehicle photo (identity) or a colour placeholder of the real car. */
body[data-ride-layout] .wr-driver-person>div.w126-car{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:center;height:104px;border-radius:15px;background:radial-gradient(120% 90% at 50% 100%,#dfe7f0,#f5f8fc 70%);line-height:0}
.wr-driver-person .w126-car svg{width:min(230px,80%);height:auto}
body[data-ride-layout] .wr-driver-person:has(.w81-vehicle-photo)>div.w126-car{display:none}
.wr-driver-person .w81-vehicle-photo{order:5}
.w126-swatch{display:inline-block;width:11px;height:11px;margin:0 6px 1px 0;border-radius:50%;border:1px solid #0f233833;vertical-align:middle}
.w126-class-badge{display:inline-block;margin:0 0 0 8px;padding:3px 9px;border-radius:999px;background:#111827;color:#f8d978;font:700 11px/1.4 system-ui,sans-serif;vertical-align:middle;letter-spacing:.02em}
/* v126: the release label ("Wipye · v126") must not float over the Ride map or an active ride. */
html body[data-ride-layout] .wipye-release-info{display:none!important}
/* v126: driver/vehicle photos keep their proportions (cover, fixed ratio) and open full screen on tap. */
html body[data-ride-layout] .wr-driver-person .w81-vehicle-photo{grid-column:1/-1;flex:1 1 100%;width:100%;height:auto;aspect-ratio:16/9;max-height:220px;border-radius:15px;overflow:hidden;background:#eaf0f5;line-height:0}
html body[data-ride-layout] .wr-driver-person .w81-vehicle-photo img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;cursor:zoom-in}
html body[data-ride-layout] .wr-driver-person img.w81-driver-photo{flex:none;width:76px;height:76px;aspect-ratio:1;object-fit:cover;object-position:center 30%;cursor:zoom-in}
@media(max-width:360px){html body[data-ride-layout] .wr-driver-person img.w81-driver-photo{width:64px;height:64px}}
.wr-driver-person img[data-zoomable]:focus-visible{outline:3px solid #78aafa;outline-offset:2px}
.w126-photo-viewer{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));background:#05090ef2;cursor:zoom-out}
.w126-photo-viewer img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:6px}
.w126-photo-close{position:absolute;top:max(12px,env(safe-area-inset-top));right:12px;width:44px;height:44px;min-height:0;padding:10px;border:0;border-radius:50%;background:#ffffff26;color:#fff;display:grid;place-items:center}
.w126-photo-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
/* v126 · real car photo: whole car (contain, no crop, no stretch) over a blurred copy of the same photo. */
html body[data-ride-layout] .wr-driver-person .w126-vehicle-frame{position:relative;aspect-ratio:16/10;max-height:none;background:#0f1a24;cursor:zoom-in;isolation:isolate}
html body[data-ride-layout] .wr-driver-person .w126-vehicle-frame .w126-vehicle-fill{position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);max-height:none;object-fit:cover;filter:blur(18px) saturate(1.1) brightness(.78);z-index:0;pointer-events:none}
html body[data-ride-layout] .wr-driver-person .w126-vehicle-frame img.w126-vehicle-main{position:relative;z-index:1;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;cursor:zoom-in}
