/* Homepage ride-day map demo. The real map and the static fallback share the same phone footprint. */
.app-visual{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}
.app-device{flex:none;border:0;border-radius:0;background:transparent;box-shadow:none}
.app-live-preview{position:absolute;inset:0;z-index:2}
.app-live-viewport{position:absolute;inset:1.4% 3.3% 1.2%;overflow:hidden;border-radius:42px;background:#101827;color:#fff;outline-offset:4px}
.app-live-viewport:focus-visible{outline:3px solid #356bf4}
.app-map-fallback{position:absolute;inset:0;background:#151d2a url('/assets/home-refresh/kentwood-map-fallback.svg') center / cover no-repeat}
.app-live-viewport>.app-live-map{position:absolute;inset:0;width:100%;height:100%;background:#151d2a;opacity:0;transition:opacity .35s ease}
.app-device.is-map-ready .app-live-map{opacity:1}
.app-live-map .mapboxgl-canvas{cursor:grab;touch-action:none}
.app-live-map.is-dragging .mapboxgl-canvas{cursor:grabbing}
.app-live-map .mapboxgl-ctrl-bottom-left{left:7px;bottom:12.8%;z-index:3}
.app-live-map .mapboxgl-ctrl-bottom-right{right:6px;bottom:12.8%;z-index:3}
.app-live-map .mapboxgl-ctrl-attrib{max-width:145px;font-size:8px}
.app-live-frame{position:absolute;inset:0;z-index:8;width:100%;height:100%;pointer-events:none;object-fit:fill}
.app-live-status{position:absolute;z-index:4;top:3.1%;left:6.3%;right:6%;display:flex;justify-content:space-between;align-items:center;font-size:11px;line-height:1;font-weight:800;text-shadow:0 1px 2px #000b;pointer-events:none}
.app-status-indicators{display:flex;align-items:center;gap:2px;font-size:8px}
.app-status-indicators i{display:block;width:3px;background:#fff;border-radius:1px}
.app-status-indicators i:nth-of-type(1){height:4px}.app-status-indicators i:nth-of-type(2){height:6px}.app-status-indicators i:nth-of-type(3){height:8px}.app-status-indicators i:nth-of-type(4){height:10px}
.app-status-indicators b{margin-left:3px;padding:2px 4px;border-radius:3px;background:#fff;color:#111;font-size:9px}
.app-live-guidance{position:absolute;z-index:4;top:9%;left:2.6%;right:2.6%;min-height:15%;display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;background:#1862ef;box-shadow:0 4px 13px #06143277;pointer-events:none}
.app-guidance-icon{display:grid;place-items:center;flex:none;width:28px;height:31px;border:2px solid #fff;border-radius:5px;font-size:25px;line-height:1}
.app-guidance-icon svg,.app-live-start svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.app-live-guidance strong,.app-live-guidance b,.app-live-guidance small{display:block;line-height:1.13}
.app-live-guidance strong{font-size:20px;letter-spacing:-.035em}.app-live-guidance b{font-size:12px}.app-live-guidance small{margin-top:3px;font-size:9px;font-weight:700;opacity:.92}
.app-live-controls{position:absolute;z-index:4;top:28%;right:2.8%;display:grid;gap:6px;justify-items:center;pointer-events:none}
.app-compass,.app-control-tile{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#0b101bdc;box-shadow:0 2px 7px #0008;color:#fff;font-size:18px;font-weight:700}
.app-compass{display:flex;flex-direction:column;gap:0;border-radius:50%;line-height:1}.app-compass small{font-size:6px;font-weight:800}.app-compass svg{width:20px;height:20px}
.app-control-tile svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.app-live-start{position:absolute;z-index:4;bottom:14%;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;min-width:56%;padding:8px 14px;border-radius:13px;background:#1660eb;box-shadow:0 5px 13px #0713279c;color:white;white-space:nowrap;pointer-events:none}
.app-live-start>span{font-size:25px;line-height:1}.app-live-start strong{font-size:11px;line-height:1.1;letter-spacing:.02em}.app-live-start small{display:block;margin-top:3px;font-size:7px;font-weight:700;letter-spacing:.03em}
.app-live-tabs{position:absolute;z-index:4;inset:auto 0 0;min-height:10.5%;display:grid;grid-template-columns:repeat(5,1fr);align-items:start;padding:7px 2px 10px;background:#fff;color:#777e8a;box-shadow:0 -2px 4px #0004;pointer-events:none}
.app-live-tabs span{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;font-size:7px;line-height:1.1;font-weight:700;white-space:nowrap}
.app-live-tabs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.app-live-tabs .is-selected{color:#2871f2}.app-live-tabs .is-selected svg{fill:#2871f2;stroke:none}
.app-map-hint{position:relative;z-index:1;margin:0;color:#627184;font-size:12px;font-weight:650;text-align:center}
.app-map-hint[hidden]{display:none}
.app-motion-toggle{display:none;margin:10px auto 0;padding:8px 14px;border:1px solid #a6b8d9;border-radius:999px;background:#fff;color:#1749b6;font:inherit;font-size:12px;cursor:pointer}
.app-motion-toggle[hidden]{display:none}
.app-motion-toggle:focus-visible{outline:3px solid #356bf4;outline-offset:3px}
.app-motion-status{display:block;min-height:1em;margin-top:4px;font-size:11px}
.map-demo-stop,.map-demo-control{display:block;width:33px;height:43px;pointer-events:none}
.map-demo-stop svg,.map-demo-control svg{display:block;width:100%;height:100%}
.map-demo-control img{display:block;width:33px;height:33px;object-fit:contain}
.map-demo-puck{display:grid;place-items:center;width:25px;height:25px;border:3px solid #fff;border-radius:50%;background:#246cf5;box-shadow:0 3px 9px #0008}
.map-demo-puck svg{width:16px;height:16px;fill:#fff;stroke:#fff;stroke-width:1.3}
@media(max-width:650px){.app-live-viewport{border-radius:36px}.app-live-guidance{gap:8px;padding:9px}.app-live-guidance strong{font-size:17px}.app-live-guidance b{font-size:10px}.app-live-guidance small{font-size:8px}.app-live-start{padding:7px 10px}.app-map-hint{font-size:11px}.app-motion-toggle:not([hidden]){display:inline-flex}}
@media(prefers-reduced-motion:reduce){.app-live-viewport>.app-live-map{transition:none}}
