:root {
  --background: #0a0f1e;
  --foreground: #e2e8f0;
  --primary: #22d3ee;
  --primary-strong: #00e5ff;
  --secondary: #1e293b;
  --muted-foreground: #64748b;
  --card: #0f172a;
  --border: #1e293b;
  --success: #10b981;
  --warning: #f59e0b;
  --panel-border: rgba(34, 211, 238, 0.15);
  --nav-height: 64px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.app-shell { min-height: 100svh; background: var(--background); }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1120px) / 2));
  z-index: 20;
  background: linear-gradient(to bottom, rgba(10, 15, 30, .96), rgba(10, 15, 30, .72), transparent);
  pointer-events: none;
}

.brand, .topbar-actions { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--foreground); text-decoration: none; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(34, 211, 238, .36); border-radius: 10px; color: var(--primary); background: rgba(15, 23, 42, .74); box-shadow: 0 0 20px rgba(34, 211, 238, .08); }
.brand-mark svg { width: 23px; height: 23px; }
.brand-copy { display: grid; gap: 1px; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.brand-name span { color: var(--primary); }
.brand-caption { color: var(--muted-foreground); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.install-app-button { padding: 8px 11px; border: 1px solid rgba(34, 211, 238, .3); border-radius: 9px; color: var(--primary); background: rgba(34, 211, 238, .09); font-size: 10px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.install-app-button:hover { border-color: var(--primary); background: rgba(34, 211, 238, .16); transform: translateY(-1px); }
.install-app-button[hidden] { display: none; }
.connection-status { display: flex; align-items: center; gap: 6px; color: #86efac; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.gps-control { padding: 4px 0; border: 0; color: #86efac; background: transparent; cursor: pointer; }
.gps-control:hover { color: var(--foreground); }
.gps-control.error { color: #fda4af; }
.gps-control .status-dot { background: #64748b; box-shadow: none; animation: none; }
.gps-control.active .status-dot { background: var(--success); box-shadow: 0 0 0 3px rgba(16, 185, 129, .12); animation: live-pulse 2.2s ease-in-out infinite; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(16, 185, 129, .12); animation: live-pulse 2.2s ease-in-out infinite; }
.icon-button, .small-icon-button { display: grid; place-items: center; border: 1px solid var(--border); color: var(--muted-foreground); background: rgba(15, 23, 42, .72); cursor: pointer; transition: .2s ease; }
.icon-button { width: 34px; height: 34px; border-radius: 10px; }
.icon-button:hover, .small-icon-button:hover { border-color: var(--primary); color: var(--primary); }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

.main-content { min-height: 100svh; padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); }
.view { min-height: 100svh; }
.view[hidden] { display: none; }

.map-stage {
  position: relative;
  min-height: 59svh;
  overflow: hidden;
  background: #101b2d;
  isolation: isolate;
}
.osm-map[hidden] { display: none; }
.osm-map { position: absolute; inset: 0; z-index: 0; background: #d8e3e7; }
.osm-map.is-ready { opacity: 1; }
.leaflet-container { font: 11px var(--font-sans); }
.leaflet-control-attribution { padding: 2px 4px; color: #475569; background: rgba(255, 255, 255, .78); font-size: 8px; }
.map-fallback { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #101b2d; }
.map-fallback[hidden] { display: none; }
.map-loading { position: absolute; top: 126px; left: 18px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(148, 163, 184, .2); border-radius: 9px; color: #cbd5e1; background: rgba(15, 23, 42, .88); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-size: 10px; font-weight: 650; }
.map-loading[hidden] { display: none; }
.loading-spinner { width: 11px; height: 11px; border: 2px solid rgba(34, 211, 238, .25); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
.map-status-cluster { position: absolute; top: 87px; left: 18px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; max-width: calc(100% - 36px); }
.map-provider-control { position: relative; }
.map-provider-toggle { display: inline-flex; align-items: center; gap: 7px; height: 31px; padding: 0 9px; border: 1px solid rgba(148, 163, 184, .25); border-radius: 9px; color: #e2e8f0; background: rgba(15, 23, 42, .9); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-size: 10px; font-weight: 700; cursor: pointer; }
.map-provider-toggle:hover { border-color: rgba(34, 211, 238, .55); }
.provider-chevron { color: #94a3b8; font-size: 13px; line-height: 1; }
.map-provider-menu { position: absolute; top: 38px; right: 0; z-index: 12; display: grid; width: 206px; padding: 5px; border: 1px solid rgba(148, 163, 184, .22); border-radius: 11px; background: rgba(15, 23, 42, .98); box-shadow: 0 15px 35px rgba(0, 0, 0, .34); }
.map-provider-menu[hidden] { display: none; }
.map-provider-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 9px 8px; border: 0; border-radius: 8px; color: #cbd5e1; background: transparent; text-align: left; cursor: pointer; }
.map-provider-menu button:hover, .map-provider-menu button.selected { background: rgba(34, 211, 238, .1); }
.map-provider-menu strong, .map-provider-menu small { display: block; }
.map-provider-menu strong { color: #f1f5f9; font-size: 10px; }
.map-provider-menu small { margin-top: 2px; color: #64748b; font-size: 9px; }
.provider-swatch { display: block; flex: 0 0 auto; width: 21px; height: 21px; border-radius: 6px; }
.osm-swatch { border: 1px solid rgba(16, 185, 129, .38); background: linear-gradient(135deg, #d5f5e3, #76c893); }
.satellite-swatch { border: 1px solid rgba(245, 158, 11, .42); background: linear-gradient(135deg, #486a50, #d39b5b 48%, #223b56); }
.map-pick-hint { position: absolute; top: 128px; left: 50%; z-index: 6; display: flex; align-items: center; gap: 9px; padding: 8px 9px 8px 12px; border: 1px solid rgba(34, 211, 238, .42); border-radius: 9px; color: #cffafe; background: rgba(8, 47, 73, .92); box-shadow: 0 10px 25px rgba(0, 0, 0, .22); font-size: 10px; font-weight: 700; transform: translateX(-50%); }
.map-pick-hint[hidden] { display: none; }
.map-pick-hint button { padding: 4px 7px; border: 1px solid rgba(165, 243, 252, .35); border-radius: 6px; color: #cffafe; background: transparent; font-size: 10px; cursor: pointer; }
.map-pick-hint button:hover { background: rgba(34, 211, 238, .14); }
.map-stage.pick-mode .osm-map { cursor: crosshair; }
.map-fallback-card { position: absolute; left: 18px; right: 18px; bottom: 28%; z-index: 4; display: flex; align-items: center; gap: 10px; width: min(340px, calc(100% - 36px)); margin: auto; padding: 12px; border: 1px solid rgba(34, 211, 238, .2); border-radius: 12px; color: var(--foreground); background: rgba(10, 15, 30, .82); box-shadow: 0 14px 36px rgba(0, 0, 0, .25); backdrop-filter: blur(8px); }
.map-fallback-card strong, .map-fallback-card small { display: block; }
.map-fallback-card strong { font-size: 11px; }
.map-fallback-card small { margin-top: 3px; color: var(--muted-foreground); font-size: 10px; line-height: 1.35; }
.fallback-icon { display: grid; flex: 0 0 auto; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: var(--primary); background: rgba(34, 211, 238, .1); font-size: 18px; }
.map-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(10, 15, 30, .24), transparent 32%, rgba(10, 15, 30, .10)); }
.map-grid { position: absolute; inset: -10%; opacity: .48; background-image: linear-gradient(38deg, transparent 0 18%, rgba(44, 71, 94, .55) 18.3% 18.65%, transparent 19% 43%, rgba(44, 71, 94, .48) 43.3% 43.6%, transparent 44%), linear-gradient(136deg, transparent 0 26%, rgba(42, 69, 92, .48) 26.2% 26.5%, transparent 26.9% 67%, rgba(47, 74, 98, .52) 67.3% 67.7%, transparent 68%), linear-gradient(90deg, rgba(18, 38, 58, .6) 1px, transparent 1px), linear-gradient(rgba(18, 38, 58, .6) 1px, transparent 1px); background-size: 360px 230px, 410px 290px, 80px 80px, 80px 80px; transform: rotate(-9deg) scale(1.3); }
.map-water { position: absolute; z-index: -1; background: rgba(5, 31, 62, .8); filter: blur(.4px); }
.water-one { width: 55%; height: 140%; top: -24%; right: -10%; transform: rotate(30deg); border-left: 6px solid rgba(33, 74, 103, .42); }
.water-two { width: 25%; height: 100%; top: 30%; left: -7%; transform: rotate(-29deg); border-right: 5px solid rgba(33, 74, 103, .38); }
.road { position: absolute; z-index: 1; height: 6px; border-radius: 99px; background: #33465b; box-shadow: 0 0 0 1px rgba(82, 107, 125, .18); }
.road::after { content: ""; position: absolute; inset: 2px 0; border-top: 1px dashed rgba(199, 219, 226, .18); }
.road-one { width: 125%; left: -10%; top: 46%; transform: rotate(-24deg); }
.road-two { width: 110%; left: 6%; top: 28%; transform: rotate(20deg); }
.road-three { width: 94%; left: 16%; top: 67%; transform: rotate(12deg); }
.road-four { width: 100%; left: -22%; top: 80%; transform: rotate(-56deg); }
.road-five { width: 90%; left: 45%; top: 64%; transform: rotate(-72deg); opacity: .65; }
.road-label { position: absolute; z-index: 2; color: rgba(147, 180, 195, .68); font-size: 8px; letter-spacing: .14em; font-weight: 700; transform: rotate(-24deg); }
.label-one { left: 26%; top: 39%; }.label-two { right: 19%; top: 54%; transform: rotate(20deg); }.label-three { left: 20%; top: 67%; transform: rotate(-56deg); color: #8b9fab; }
.map-zoom { position: absolute; top: 87px; right: 18px; z-index: 5; display: grid; overflow: hidden; border: 1px solid rgba(148, 163, 184, .22); border-radius: 9px; background: rgba(15, 23, 42, .88); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.map-zoom button { width: 33px; height: 32px; border: 0; border-bottom: 1px solid rgba(148, 163, 184, .14); color: #cbd5e1; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; }.map-zoom button:last-child { border-bottom: 0; }.map-zoom button:hover { color: var(--primary); background: rgba(34, 211, 238, .08); }
.locate-button { position: absolute; right: 18px; bottom: 22px; z-index: 5; display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(148, 163, 184, .22); border-radius: 10px; color: var(--primary); background: rgba(15, 23, 42, .88); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: transform .2s ease, border-color .2s ease; }.locate-button:hover { border-color: var(--primary); transform: scale(1.04); }.locate-button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.6; }
.vehicle-marker { position: absolute; top: 44%; left: 51%; z-index: 4; width: 22px; height: 22px; }.marker-pulse { position: absolute; inset: -19px; border: 2px solid rgba(124, 58, 237, .56); border-radius: 50%; background: rgba(124, 58, 237, .12); animation: marker-ring 1.7s ease-out infinite; }.marker-core { position: absolute; top: 4px; left: 4px; display: block; width: 14px; height: 14px; border: 3px solid #f5f3ff; border-radius: 50%; background: #7c3aed; box-shadow: 0 0 0 2px rgba(91, 33, 182, .34), 0 0 18px rgba(124, 58, 237, .95); animation: location-blink 1.2s ease-in-out infinite; }.marker-core svg { display: none; }
.osm-stop-marker-wrap, .osm-vehicle-marker-wrap { border: 0; background: transparent; }
.osm-stop-marker { display: grid; width: 26px; height: 26px; place-items: center; border: 2px solid #e0fbff; border-radius: 50% 50% 50% 0; color: #06202d; background: var(--primary); box-shadow: 0 3px 9px rgba(0, 0, 0, .36), 0 0 13px rgba(34, 211, 238, .38); font-size: 9px; font-weight: 800; transform: rotate(-45deg); }
.osm-stop-marker b { transform: rotate(45deg); font-size: 9px; font-weight: 800; }
.osm-vehicle-marker { position: relative; display: block; width: 22px; height: 22px; }
.map-attribution { position: absolute; right: 7px; bottom: 5px; z-index: 3; color: rgba(148, 163, 184, .58); font-size: 8px; }
.route-overlay { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route-overlay polyline { fill: none; stroke: #5b21b6; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px rgba(91, 33, 182, .72)); vector-effect: non-scaling-stroke; stroke-dasharray: .018 .010; animation: route-flow 2.8s linear infinite; }
.route-markers { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.route-point-marker { position: absolute; display: grid; width: 23px; height: 23px; place-items: center; border: 2px solid #dffcff; border-radius: 50% 50% 50% 0; color: #05212e; background: var(--primary); box-shadow: 0 3px 9px rgba(0, 0, 0, .36), 0 0 13px rgba(34, 211, 238, .38); font-size: 9px; font-weight: 800; transform: translate(-50%, -100%) rotate(-45deg); }
.route-point-marker span { transform: rotate(45deg); }
.route-point-marker.start { width: 14px; height: 14px; border: 3px solid #dffcff; border-radius: 50%; background: #0f172a; box-shadow: 0 0 0 5px rgba(34, 211, 238, .2), 0 0 16px rgba(34, 211, 238, .72); transform: translate(-50%, -50%); }

.live-drawer { position: relative; z-index: 8; max-width: 820px; margin: -1px auto 0; padding: 12px 20px 25px; border-top: 1px solid rgba(34, 211, 238, .12); background: var(--background); }
.drawer-handle { display: none; width: 34px; height: 3px; margin: 0 auto 17px; border-radius: 99px; background: #334155; }
.route-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.route-heading h1 { margin: 0; color: var(--foreground); font-size: 24px; font-weight: 650; letter-spacing: -.045em; }
.share-route-button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid rgba(34, 211, 238, .28); border-radius: 9px; color: var(--primary); background: rgba(34, 211, 238, .08); font-size: 11px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.share-route-button:hover { border-color: var(--primary); background: rgba(34, 211, 238, .15); transform: translateY(-1px); }
.share-route-button svg { width: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.route-summary-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.route-summary-text { color: var(--muted-foreground); font-size: 11px; font-weight: 600; white-space: nowrap; }
.route-stops { position: relative; display: grid; gap: 0; margin-top: 13px; }
.route-stops::before { content: ""; position: absolute; top: 26px; bottom: 26px; left: 12px; width: 1px; background: linear-gradient(var(--primary), #64748b 65%, var(--primary)); opacity: .5; }
.route-stop-row { position: relative; display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 45px; padding: 4px 0; }
.route-stop-dot { position: relative; z-index: 1; display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--muted-foreground); background: var(--card); font-size: 10px; font-weight: 800; }
.route-stop-row.start .route-stop-dot { border-color: rgba(16, 185, 129, .38); color: #86efac; background: rgba(16, 185, 129, .1); }
.route-stop-content { display: grid; min-width: 0; gap: 2px; }
.route-stop-content strong { overflow: hidden; color: var(--foreground); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.route-stop-content small { overflow: hidden; color: var(--muted-foreground); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.route-stop-content .route-stop-status { color: var(--muted-foreground); font-size: 9px; }
.route-stop-content .route-stop-eta { color: #c4b5fd; font-weight: 700; }
.route-stop-controls { display: flex; align-items: center; gap: 2px; }
.stop-control { display: grid; width: 23px; height: 23px; place-items: center; border: 0; border-radius: 6px; color: #64748b; background: transparent; font-size: 15px; cursor: pointer; }.stop-control:hover { color: var(--primary); background: rgba(34, 211, 238, .09); }.stop-control:disabled { cursor: default; opacity: .35; }.stop-control.reached { color: #86efac; font-size: 13px; }.stop-control.reached:hover:not(:disabled) { color: #bbf7d0; background: rgba(16, 185, 129, .12); }.stop-control.remove:hover { color: #fda4af; background: rgba(244, 63, 94, .1); }
.add-stop-row { display: flex; gap: 8px; margin-top: 9px; }
.add-stop-field { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; padding: 0 11px; border: 1px solid var(--border); border-radius: 9px; background: var(--card); transition: border-color .2s ease, box-shadow .2s ease; }.add-stop-field:focus-within { border-color: rgba(34, 211, 238, .65); box-shadow: 0 0 0 3px rgba(34, 211, 238, .08); }.add-stop-field svg { flex: 0 0 auto; width: 16px; fill: none; stroke: var(--primary); stroke-linecap: round; stroke-width: 1.7; }.add-stop-field input { width: 100%; min-width: 0; height: 39px; border: 0; outline: 0; color: var(--foreground); background: transparent; font-size: 12px; }.add-stop-field input::placeholder { color: #64748b; }.add-stop-button { align-self: stretch; padding: 0 13px; border: 1px solid rgba(34, 211, 238, .28); border-radius: 9px; color: var(--primary); background: rgba(34, 211, 238, .08); font-size: 11px; font-weight: 700; cursor: pointer; }.add-stop-button:hover:not(:disabled) { background: rgba(34, 211, 238, .16); }.add-stop-button:disabled { cursor: not-allowed; opacity: .45; }
.place-autocomplete { display: block; flex: 1; min-width: 0; height: 39px; }
.pick-map-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 58px; padding: 0 10px; border: 1px solid rgba(139, 92, 246, .34); border-radius: 9px; color: #c4b5fd; background: rgba(139, 92, 246, .10); font-size: 11px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.pick-map-button svg { width: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.pick-map-button:hover, .pick-map-button.active { border-color: rgba(167, 139, 250, .75); color: #ede9fe; background: rgba(139, 92, 246, .22); }
.search-note { margin: 6px 2px 0; color: var(--muted-foreground); font-size: 9px; line-height: 1.35; }
.route-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; color: var(--muted-foreground); font-size: 10px; }.route-footer strong { color: var(--primary); font-size: 12px; }.start-route-button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 9px; color: #05151e; background: var(--primary); font-size: 12px; font-weight: 800; cursor: pointer; transition: .2s ease; }.start-route-button:hover { background: #67e8f9; transform: translateY(-1px); }.start-route-button.active { color: #fee2e2; background: #be123c; }.start-route-button.active:hover { background: #e11d48; }.start-route-icon { font-size: 9px; }
.route-chat { margin-top: 16px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.route-chat-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--foreground); font-size: 11px; }.route-chat-heading small { color: var(--muted-foreground); font-size: 9px; }
.chat-messages { display: grid; gap: 7px; max-height: 190px; margin-top: 10px; overflow-y: auto; padding-right: 2px; }
.chat-message { max-width: 86%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: rgba(148, 163, 184, .06); }.chat-message.driver { justify-self: end; border-color: rgba(34, 211, 238, .23); background: rgba(34, 211, 238, .08); }.chat-message.watcher { justify-self: start; border-color: rgba(139, 92, 246, .24); background: rgba(139, 92, 246, .09); }
.chat-message-meta { display: flex; align-items: center; gap: 8px; }.chat-message-meta strong { color: var(--foreground); font-size: 9px; }.chat-message-meta time { color: var(--muted-foreground); font-size: 8px; }.chat-message p { margin: 3px 0 0; color: var(--foreground); font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }.chat-message audio { display: block; width: min(220px, 100%); height: 31px; margin-top: 5px; }.chat-empty { margin: 4px 0; color: var(--muted-foreground); font-size: 10px; }
.route-chat.new-message { animation: chat-alert .38s ease-in-out 3; }
.chat-form { display: flex; gap: 7px; margin-top: 10px; }.chat-form input { min-width: 0; flex: 1; height: 35px; padding: 0 9px; border: 1px solid var(--border); border-radius: 8px; outline: 0; color: var(--foreground); background: var(--background); font-size: 11px; }.chat-form input:focus { border-color: var(--primary); }.chat-form button { padding: 0 12px; border: 1px solid rgba(34, 211, 238, .3); border-radius: 8px; color: var(--primary); background: rgba(34, 211, 238, .09); font-size: 10px; font-weight: 700; cursor: pointer; }.chat-form button:hover:not(:disabled) { background: rgba(34, 211, 238, .17); }.chat-form button:disabled { cursor: wait; opacity: .55; }.chat-form .voice-button { display: inline-flex; align-items: center; gap: 4px; padding-inline: 8px; }.voice-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }.voice-button.recording { color: #fda4af; border-color: rgba(244, 63, 94, .55); background: rgba(244, 63, 94, .12); animation: voice-recording 1s ease-in-out infinite; }
.live-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.eyebrow { margin: 0 0 5px; color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: .18em; }.live-heading h1, .panel-inner h1 { margin: 0; color: var(--foreground); font-size: 24px; font-weight: 650; letter-spacing: -.045em; }.live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(16, 185, 129, .24); border-radius: 99px; color: #86efac; background: rgba(16, 185, 129, .08); font-size: 11px; font-weight: 600; }.location-line { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: #cbd5e1; font-size: 13px; }.location-icon { display: grid; width: 22px; height: 22px; place-items: center; color: var(--primary); border-radius: 7px; background: rgba(34, 211, 238, .10); }.location-icon svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }.location-time { margin-left: auto; color: var(--muted-foreground); font-size: 11px; }.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }.stat { display: grid; gap: 5px; min-width: 0; padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(15, 23, 42, .56); }.stat-label { color: var(--muted-foreground); font-size: 9px; font-weight: 700; letter-spacing: .13em; }.stat strong { color: var(--foreground); font-size: 17px; font-weight: 600; }.stat small { color: var(--muted-foreground); font-size: 10px; font-weight: 500; }

.panel-view { padding: 106px 20px calc(40px + var(--nav-height)); }.panel-inner { width: min(100%, 640px); margin: 0 auto; }.panel-inner h1 { margin-bottom: 26px; font-size: 32px; }.profile-card, .radio-card, .points-hero { display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--border); border-radius: 13px; background: var(--card); }.profile-card strong, .radio-card strong, .points-hero strong { display: block; color: var(--foreground); font-size: 14px; }.profile-card span:not(.avatar), .radio-card small { display: block; margin-top: 4px; color: var(--muted-foreground); font-size: 12px; }.avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: #07202e; background: linear-gradient(135deg, var(--primary), #8b5cf6); font-size: 13px; font-weight: 800; }.small-icon-button { width: 30px; height: 30px; margin-left: auto; border-radius: 8px; font-size: 16px; }.settings-list { margin-top: 16px; border: 1px solid var(--border); border-radius: 13px; overflow: hidden; background: var(--card); }.settings-list button { display: flex; align-items: center; width: 100%; gap: 12px; padding: 15px 16px; border: 0; border-bottom: 1px solid var(--border); color: var(--foreground); background: transparent; text-align: left; cursor: pointer; }.settings-list button:last-child { border-bottom: 0; }.settings-list button:hover { background: rgba(34, 211, 238, .04); }.list-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; font-size: 18px; }.list-icon.cyan { color: var(--primary); background: rgba(34, 211, 238, .10); }.list-icon.violet { color: #c4b5fd; background: rgba(139, 92, 246, .12); }.list-icon.amber { color: #fcd34d; background: rgba(245, 158, 11, .11); }.settings-list strong, .settings-list small { display: block; }.settings-list strong { font-size: 13px; font-weight: 600; }.settings-list small { margin-top: 2px; color: var(--muted-foreground); font-size: 11px; }.list-arrow { margin-left: auto; color: #475569; font-size: 22px; }.radio-card { justify-content: space-between; }.radio-visual { display: flex; align-items: center; gap: 3px; width: 42px; height: 32px; padding: 5px 8px; border-radius: 8px; background: rgba(34, 211, 238, .10); }.radio-visual span { width: 3px; border-radius: 9px; background: var(--primary); }.radio-visual span:nth-child(1), .radio-visual span:nth-child(5) { height: 8px; }.radio-visual span:nth-child(2), .radio-visual span:nth-child(4) { height: 16px; }.radio-visual span:nth-child(3) { height: 21px; }.radio-toggle { position: relative; width: 42px; height: 24px; padding: 3px; border: 1px solid rgba(34, 211, 238, .35); border-radius: 99px; background: rgba(34, 211, 238, .16); cursor: pointer; }.radio-toggle span { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); transition: transform .2s ease; }.radio-toggle.off { border-color: var(--border); background: var(--secondary); }.radio-toggle.off span { transform: translateX(0); background: #64748b; }.radio-toggle:not(.off) span { transform: translateX(17px); }.empty-state { margin-top: 80px; text-align: center; }.empty-icon { display: grid; width: 48px; height: 48px; margin: 0 auto 14px; place-items: center; border: 1px solid var(--border); border-radius: 14px; color: var(--muted-foreground); background: var(--card); font-size: 24px; }.empty-state h2 { margin: 0; color: var(--foreground); font-size: 15px; }.empty-state p { max-width: 280px; margin: 7px auto 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.55; }.points-hero { align-items: flex-start; gap: 14px; }.points-pin { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--primary); background: rgba(34, 211, 238, .10); }.points-pin svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }.points-hero p { margin: 6px 0 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.55; }.primary-button { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; padding: 13px 16px; border-radius: 10px; color: #07131d; background: var(--primary); font-size: 13px; font-weight: 700; text-decoration: none; transition: .2s ease; }.primary-button:hover { background: #67e8f9; transform: translateY(-1px); }.primary-button span { font-size: 17px; }.language-options { overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: var(--card); }.language-option { display: flex; align-items: center; width: 100%; gap: 12px; padding: 16px; border: 0; border-bottom: 1px solid var(--border); color: var(--foreground); background: transparent; text-align: left; cursor: pointer; }.language-option:last-child { border-bottom: 0; }.language-option:hover, .language-option.selected { background: rgba(34, 211, 238, .05); }.language-flag { display: grid; width: 39px; height: 30px; place-items: center; border: 1px solid var(--border); border-radius: 7px; color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .05em; }.language-option strong, .language-option small { display: block; }.language-option strong { font-size: 13px; font-weight: 600; }.language-option small { margin-top: 2px; color: var(--muted-foreground); font-size: 11px; }.check { margin-left: auto; color: var(--primary); font-size: 18px; opacity: 0; }.language-option.selected .check { opacity: 1; }

.watcher-dashboard { width: min(100%, 820px); margin: 0 auto; padding: 18px 20px calc(32px + env(safe-area-inset-bottom)); background: var(--background); }
.watcher-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.watcher-heading h1 { margin: 0; color: var(--foreground); font-size: 24px; letter-spacing: -.04em; }
.watcher-updated { margin: 7px 0 0; color: var(--muted-foreground); font-size: 11px; }
.watcher-profile-card, .watcher-route-card { margin-top: 15px; padding: 14px; border: 1px solid var(--border); border-radius: 13px; background: var(--card); }
.watcher-profile-card { display: flex; align-items: center; gap: 11px; min-height: 74px; }
.watcher-vehicle-photo { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 11px; background: center / cover no-repeat #1e293b; }
.watcher-profile-copy { display: grid; min-width: 0; gap: 4px; }
.watcher-profile-copy strong { overflow: hidden; color: var(--foreground); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.watcher-profile-copy small { overflow: hidden; color: var(--muted-foreground); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.watcher-profile-copy a { color: #86efac; font-size: 10px; font-weight: 700; text-decoration: none; }.watcher-profile-copy a:hover { text-decoration: underline; }
.watcher-profile-copy [data-watcher-phone] { color: var(--foreground); font-size: 10px; font-weight: 650; }
.watcher-companies { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; margin-left: auto; }
.watcher-company { display: grid; justify-items: center; gap: 3px; min-width: 38px; color: var(--muted-foreground); }
.watcher-company img, .watcher-company-fallback { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--border); border-radius: 8px; object-fit: cover; color: #c4b5fd; background: rgba(139, 92, 246, .13); font-size: 16px; }
.watcher-company small { max-width: 74px; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.watcher-route-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted-foreground); font-size: 10px; }
.watcher-route-heading strong { overflow: hidden; color: #c4b5fd; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.watcher-stops { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.watcher-stop { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 9px; min-height: 40px; }
.watcher-stop-number { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--muted-foreground); background: var(--background); font-size: 10px; font-weight: 800; }
.watcher-stop-copy { display: grid; min-width: 0; gap: 2px; }
.watcher-stop-copy strong { overflow: hidden; color: var(--foreground); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.watcher-stop-copy small { overflow: hidden; color: var(--muted-foreground); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.watcher-stop-copy .watcher-stop-eta { color: #c4b5fd; font-weight: 700; }
.watcher-stop em { color: var(--muted-foreground); font-size: 9px; font-style: normal; white-space: nowrap; }
.watcher-stop.current .watcher-stop-number { border-color: #8b5cf6; color: #ede9fe; background: #5b21b6; box-shadow: 0 0 0 4px rgba(91, 33, 182, .15); }
.watcher-stop.current em { color: #c4b5fd; font-weight: 700; }
.watcher-stop.completed .watcher-stop-number { border-color: rgba(16, 185, 129, .5); color: #86efac; background: rgba(16, 185, 129, .12); }
.watcher-stop.completed em { color: #86efac; }
.driver-profile-form { display: grid; gap: 13px; margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 13px; background: var(--card); }
.profile-field { display: grid; gap: 6px; color: var(--muted-foreground); font-size: 10px; font-weight: 700; }
.profile-field input[type="text"], .profile-field input[type="tel"] { width: 100%; height: 39px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; outline: 0; color: var(--foreground); background: var(--background); font-size: 12px; }
.profile-field input:focus { border-color: var(--primary); }
.profile-field small { color: var(--muted-foreground); font-size: 9px; font-weight: 500; }
.profile-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 3px; color: var(--foreground); font-size: 12px; }.profile-section-heading small { color: var(--muted-foreground); font-size: 9px; font-weight: 500; }
.company-editor-list { display: grid; gap: 8px; }
.company-editor { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 10px; border: 1px solid var(--border); border-radius: 9px; background: rgba(34, 211, 238, .03); }
.company-editor-heading { grid-column: 1 / -1; display: flex; justify-content: space-between; color: var(--muted-foreground); font-size: 9px; }.company-editor-heading span { color: #64748b; }
.company-editor > input { min-width: 0; height: 34px; padding: 0 8px; border: 1px solid var(--border); border-radius: 7px; outline: 0; color: var(--foreground); background: var(--background); font-size: 11px; }
.file-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 8px; border: 1px solid rgba(139, 92, 246, .34); border-radius: 7px; color: #c4b5fd; background: rgba(139, 92, 246, .10); font-size: 9px; font-weight: 700; cursor: pointer; }.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.company-logo-preview { grid-column: 1 / -1; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 8px; object-fit: cover; }
.vehicle-photo-preview { height: 150px; border: 1px solid var(--border); border-radius: 9px; background: center / cover no-repeat; }
.profile-save-button { width: 100%; margin: 0; border: 0; cursor: pointer; }
.watcher-mode .topbar-actions, .watcher-mode .map-pick-hint, .watcher-mode .map-zoom, .watcher-mode .locate-button { display: none; }
.watcher-mode .map-stage { min-height: 64svh; }

.bottom-nav { position: fixed; inset: auto 0 0; z-index: 30; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--border); background: rgba(15, 23, 42, .97); }.nav-items { display: flex; align-items: center; justify-content: center; height: var(--nav-height); gap: 2px; padding: 0 8px; }.nav-item { position: relative; display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: clamp(64px, 17vw, 90px); height: 54px; padding: 5px 7px; border: 0; border-radius: 11px; color: var(--muted-foreground); background: transparent; text-decoration: none; cursor: pointer; transition: color .2s ease, background .2s ease, transform .15s ease; }.nav-item:hover { color: var(--foreground); background: rgba(148, 163, 184, .06); }.nav-item:active { transform: scale(.96); }.nav-item.active { color: var(--primary); }.nav-item.active::before { content: ""; position: absolute; top: 0; width: 22px; height: 2px; border-radius: 99px; background: var(--primary); box-shadow: 0 0 10px rgba(34, 211, 238, .7); }.nav-item svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }.nav-item:first-child svg { fill: currentColor; stroke: none; }.nav-item span { max-width: 60px; overflow: hidden; font-size: 10px; font-weight: 600; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }.toast { position: fixed; left: 50%; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 14px); z-index: 40; max-width: calc(100% - 40px); padding: 9px 13px; border: 1px solid rgba(34, 211, 238, .2); border-radius: 9px; color: var(--foreground); background: #111c30; box-shadow: 0 12px 30px rgba(0, 0, 0, .32); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }.toast.alert { border-color: rgba(139, 92, 246, .72); box-shadow: 0 0 0 4px rgba(139, 92, 246, .12), 0 12px 30px rgba(0, 0, 0, .32); animation: toast-alert .38s ease-in-out 3; }

html.light { --background: #f0f4f8; --foreground: #0f172a; --primary: #0891b2; --primary-strong: #0891b2; --secondary: #e2e8f0; --muted-foreground: #475569; --card: #fff; --border: #cbd5e1; --panel-border: rgba(8, 145, 178, .25); --success: #059669; }.light .topbar { background: linear-gradient(to bottom, rgba(240, 244, 248, .96), rgba(240, 244, 248, .72), transparent); }.light .brand-mark, .light .icon-button, .light .install-app-button, .light .map-zoom, .light .locate-button, .light .stat, .light .radio-toggle, .light .toast { background: rgba(255, 255, 255, .84); }.light .map-stage { background: #d5e3e7; }.light .map-grid { opacity: .6; filter: sepia(.25) saturate(.65); }.light .map-water { background: rgba(160, 204, 219, .78); }.light .road { background: #fff; box-shadow: 0 0 0 1px rgba(108, 145, 156, .28); }.light .road::after { border-color: rgba(94, 126, 136, .36); }.light .map-stage::after { background: linear-gradient(to bottom, rgba(240, 244, 248, .16), transparent 32%, rgba(240, 244, 248, .08)); }.light .bottom-nav { background: rgba(255, 255, 255, .96); }.light .nav-item:hover { background: rgba(15, 23, 42, .05); }.light .marker-core { color: #fff; }.light .panel-inner h1, .light .live-heading h1, .light .stat strong { color: var(--foreground); }

@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes marker-ring { 0% { transform: scale(.45); opacity: .85; } 75%, 100% { transform: scale(1.45); opacity: 0; } }
@keyframes location-blink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .56; transform: scale(.82); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-alert { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes chat-alert { 0%, 100% { border-color: var(--border); } 50% { border-color: #a78bfa; box-shadow: 0 0 0 4px rgba(139, 92, 246, .14); } }
@keyframes voice-recording { 0%, 100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, .12); } 50% { box-shadow: 0 0 0 4px rgba(244, 63, 94, .18); } }

@media (min-width: 720px) {
  .topbar { height: 82px; }
  .map-stage { min-height: 64svh; }
  .live-drawer { margin: -64px auto 0; padding: 18px 28px 28px; border: 1px solid rgba(34, 211, 238, .13); border-bottom: 0; border-radius: 16px 16px 0 0; background: rgba(10, 15, 30, .93); backdrop-filter: blur(13px); }
  .drawer-handle { display: block; }
  .panel-view { padding-top: 130px; }
}

@media (max-width: 410px) {
  .topbar { padding-inline: 14px; }.connection-status:not(.gps-control) { display: none; }.gps-control { display: flex; }.brand-name { font-size: 14px; }.nav-items { gap: 0; padding-inline: 3px; }.nav-item { width: 20vw; padding-inline: 3px; }.nav-item span { font-size: 9px; }.stats-row { gap: 6px; }.stat { padding: 10px 8px; }.stat strong { font-size: 15px; }.location-time { font-size: 10px; }
}

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

.share-modal { position: fixed; inset: 0; z-index: 80; display: grid; align-items: end; }
.share-modal[hidden] { display: none; }
.share-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .72); backdrop-filter: blur(4px); }
.share-sheet { position: relative; width: min(100%, 510px); margin: 0 auto; padding: 25px 20px calc(22px + env(safe-area-inset-bottom)); border: 1px solid rgba(34, 211, 238, .18); border-bottom: 0; border-radius: 20px 20px 0 0; background: #0f172a; box-shadow: 0 -20px 55px rgba(0, 0, 0, .28); animation: sheet-in .22s ease-out; }
.modal-close { position: absolute; top: 15px; right: 16px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--muted-foreground); background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }.modal-close:hover { color: var(--foreground); border-color: var(--primary); }
.share-sheet h2 { margin: 0; color: var(--foreground); font-size: 25px; letter-spacing: -.04em; }.share-intro { max-width: 360px; margin: 8px 0 17px; color: var(--muted-foreground); font-size: 12px; line-height: 1.5; }
.share-route-preview { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--border); border-radius: 11px; background: rgba(34, 211, 238, .05); }.share-preview-icon { display: grid; flex: 0 0 auto; width: 35px; height: 35px; place-items: center; border-radius: 9px; color: var(--primary); background: rgba(34, 211, 238, .11); }.share-preview-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }.share-route-preview strong, .share-route-preview small { display: block; }.share-route-preview strong { color: var(--foreground); font-size: 12px; }.share-route-preview small { overflow: hidden; max-width: 360px; margin-top: 3px; color: var(--muted-foreground); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.watcher-list { margin-top: 16px; }.watcher-list-heading { display: flex; justify-content: space-between; color: var(--foreground); font-size: 11px; font-weight: 700; }.watcher-count { color: var(--success); font-weight: 600; }.watchers { display: flex; align-items: center; margin-top: 9px; }.watcher-avatar { display: grid; width: 27px; height: 27px; margin-right: -5px; place-items: center; border: 2px solid #0f172a; border-radius: 50%; color: white; font-size: 9px; font-weight: 800; }.watcher-one { background: #8b5cf6; }.watcher-two { background: #f97316; }.watcher-three { background: #0ea5e9; }.watcher-label { margin-left: 13px; color: var(--muted-foreground); font-size: 10px; }
.share-link-label { display: block; margin: 17px 0 6px; color: var(--muted-foreground); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.share-link-row { display: flex; gap: 7px; }.share-link-row input { min-width: 0; flex: 1; height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 8px; outline: 0; color: var(--muted-foreground); background: #0a0f1e; font-size: 11px; }.share-link-row button { padding: 0 13px; border: 1px solid rgba(34, 211, 238, .3); border-radius: 8px; color: var(--primary); background: rgba(34, 211, 238, .09); font-size: 11px; font-weight: 700; cursor: pointer; }.share-link-row button:hover { background: rgba(34, 211, 238, .17); }
.share-actions { display: grid; grid-template-columns: 1fr 84px; gap: 8px; margin-top: 16px; }.share-actions .primary-button { margin: 0; border: 0; cursor: pointer; }.share-actions .primary-button svg { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }.secondary-button { border: 1px solid var(--border); border-radius: 10px; color: var(--foreground); background: transparent; font-size: 12px; font-weight: 650; cursor: pointer; }.secondary-button:hover { border-color: var(--primary); color: var(--primary); }

.radio-page h1 { margin-bottom: 18px; }
.radio-now-playing { min-width: 0; flex: 1; }
.radio-now-playing strong, .radio-now-playing small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-browser-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 9px; margin-top: 14px; }
.radio-search, .radio-country { display: grid; gap: 5px; color: var(--muted-foreground); font-size: 10px; font-weight: 700; }
.radio-search input, .radio-country select { width: 100%; height: 38px; padding: 0 10px; border: 1px solid var(--border); border-radius: 9px; outline: 0; color: var(--foreground); background: var(--card); font-size: 11px; }
.radio-search input:focus, .radio-country select:focus { border-color: var(--primary); }
.radio-stations { display: grid; gap: 8px; margin-top: 14px; }
.radio-loading, .radio-empty, .radio-error { padding: 24px 12px; border: 1px dashed var(--border); border-radius: 11px; color: var(--muted-foreground); background: rgba(148, 163, 184, .04); font-size: 11px; text-align: center; }
.radio-station { display: flex; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--border); border-radius: 11px; color: inherit; background: var(--card); text-align: left; cursor: pointer; transition: .2s ease; }
.radio-station:hover, .radio-station.active { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .06); }
.radio-station-logo { display: grid; flex: 0 0 auto; width: 39px; height: 39px; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; color: var(--primary); background: rgba(34, 211, 238, .08); font-size: 16px; font-weight: 800; }
.radio-station-logo img { width: 100%; height: 100%; object-fit: cover; }
.radio-station-copy { min-width: 0; flex: 1; }
.radio-station-copy strong, .radio-station-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio-station-copy strong { color: var(--foreground); font-size: 12px; }
.radio-station-copy small { margin-top: 3px; color: var(--muted-foreground); font-size: 9px; }
.radio-station-play { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(34, 211, 238, .3); border-radius: 50%; color: var(--primary); background: rgba(34, 211, 238, .09); font-size: 12px; }
.radio-player { display: grid; gap: 10px; margin-top: 14px; padding: 13px; border: 1px solid rgba(139, 92, 246, .3); border-radius: 12px; background: rgba(139, 92, 246, .08); }
.radio-player[hidden] { display: none; }
.radio-player-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.radio-player-heading > div { display: grid; min-width: 0; gap: 3px; }
.radio-player-heading strong { overflow: hidden; color: var(--foreground); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.radio-player-heading .eyebrow { margin: 0; font-size: 8px; }
.radio-stop-button { padding: 6px 9px; border: 1px solid rgba(244, 63, 94, .35); border-radius: 7px; color: #fda4af; background: rgba(244, 63, 94, .09); font-size: 10px; font-weight: 700; cursor: pointer; }
.radio-load-more { width: 100%; padding: 10px; border: 1px solid rgba(34, 211, 238, .3); border-radius: 9px; color: var(--primary); background: rgba(34, 211, 238, .07); font-size: 10px; font-weight: 700; cursor: pointer; }
.radio-load-more:hover:not(:disabled) { background: rgba(34, 211, 238, .14); }
.radio-load-more:disabled { cursor: wait; opacity: .55; }
.radio-player audio { width: 100%; height: 35px; }
.radio-credit { margin: 12px 0 0; color: var(--muted-foreground); font-size: 9px; line-height: 1.45; }
.radio-page, .radio-card, .radio-browser-toolbar, .radio-stations, .radio-player { width: 100%; min-width: 0; max-width: 100%; }
.radio-page { overflow-x: hidden; }
.radio-station { width: 100%; min-width: 0; max-width: 100%; overflow: hidden; }
.radio-search, .radio-country, .radio-search input, .radio-country select, .radio-player audio { min-width: 0; max-width: 100%; }
.radio-card.is-playing .radio-visual span { animation: radio-wave .8s ease-in-out infinite alternate; }
.radio-card.is-playing .radio-visual span:nth-child(2), .radio-card.is-playing .radio-visual span:nth-child(4) { animation-delay: .12s; }
.radio-card.is-playing .radio-visual span:nth-child(3) { animation-delay: .24s; }
@keyframes radio-wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }

@keyframes route-flow { to { stroke-dashoffset: -.028; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 720px) { .share-modal { align-items: center; padding: 20px; }.share-sheet { border-bottom: 1px solid rgba(34, 211, 238, .18); border-radius: 18px; } }
@media (max-width: 410px) { .route-summary-text { font-size: 10px; }.route-stop-content { display: block; }.route-stop-content small { display: block; margin-top: 2px; }.share-route-button span, .pick-map-button span { display: none; }.pick-map-button { min-width: 39px; padding-inline: 8px; } }
.light .share-sheet { background: #fff; }.light .watcher-avatar { border-color: #fff; }.light .share-link-row input { color: #334155; background: #f1f5f9; }.light .route-point-marker.start { background: #fff; }
