:root,
html[data-charji-theme="light"] {
  color-scheme: light;
  --cj-bg: #ffffff;
  --cj-bg-elevated: #f8f9fb;
  --cj-surface: #ffffff;
  --cj-surface-2: #f1f3f6;
  --cj-surface-3: #e8eaed;
  --cj-border: #e0e0e0;
  --cj-border-subtle: rgba(0, 0, 0, 0.08);
  --cj-text: #1f2937;
  --cj-text-strong: #0f172a;
  --cj-text-muted: #6b7280;
  --cj-text-dim: #9aa3b2;
  --cj-accent: #22c98a;
  --cj-accent-soft: #ecfdf5;
  --cj-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  --cj-shadow-panel: 0 -8px 40px rgba(15, 23, 42, 0.18);
  --cj-rail-bg: rgba(255, 255, 255, 0.92);
  --cj-rail-border: rgba(15, 23, 42, 0.1);
  --cj-rail-text: #334155;
  --cj-rail-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
  --cj-pill-bg: #2ecc9a;
  --cj-pill-fg: #ffffff;
  --cj-meta-theme: #ffffff;
  --cj-backdrop: rgba(15, 23, 42, 0.28);
  --cj-grab-pill: #bdbdbd;
}

html[data-charji-theme="dark"] {
  color-scheme: dark;
  --cj-bg: #13161d;
  --cj-bg-elevated: #1a1f2b;
  --cj-surface: #1a1f2b;
  --cj-surface-2: #222836;
  --cj-surface-3: #2a3140;
  --cj-border: #343d4f;
  --cj-border-subtle: rgba(255, 255, 255, 0.08);
  --cj-text: #e8ecf2;
  --cj-text-strong: #e8ecf2;
  --cj-text-muted: #939bab;
  --cj-text-dim: #7a8494;
  --cj-accent: #2ecc9a;
  --cj-accent-soft: rgba(18, 185, 129, 0.14);
  --cj-shadow: 0 4px 16px rgba(0, 0, 0, 0.38);
  --cj-shadow-panel: 0 -8px 40px rgba(0, 0, 0, 0.42);
  --cj-rail-bg: rgba(26, 31, 43, 0.9);
  --cj-rail-border: rgba(255, 255, 255, 0.1);
  --cj-rail-text: #e8ecf2;
  --cj-rail-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
  --cj-pill-bg: #2ecc9a;
  --cj-pill-fg: #ffffff;
  --cj-meta-theme: #13161d;
  --cj-backdrop: rgba(0, 0, 0, 0.52);
  --cj-grab-pill: rgba(154, 163, 178, 0.72);
}

html,
body {
  background-color: var(--cj-bg);
  color: var(--cj-text);
}

html.charji-splash-active,
html.charji-splash-active body {
  background-color: var(--cj-bg, #ffffff) !important;
  overflow: hidden;
}

#charjiSplash.charji-splash-sk {
  --charji-sk-map: #e8edf2;
  --charji-sk-map-2: #dfe5ec;
  --charji-sk-road: rgba(255, 255, 255, 0.72);
  --charji-sk-block: rgba(255, 255, 255, 0.45);
  --charji-sk-surface: #ffffff;
  --charji-sk-border: rgba(15, 23, 42, 0.08);
  --charji-sk-chip: #f1f3f6;
  --charji-sk-shimmer-a: #e8edf2;
  --charji-sk-shimmer-b: #cfd6df;
  position: fixed;
  inset: 0;
  z-index: 99999;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--cj-bg, #ffffff) !important;
  transition: opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.5s step-end;
}

#charjiSplash.charji-splash-sk.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#charjiSplash .charji-splash-sk__map {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--charji-sk-map) 0%, var(--charji-sk-map-2) 48%, var(--charji-sk-map) 100%);
}

#charjiSplash .charji-splash-sk__road {
  position: absolute;
  border-radius: 999px;
  background: var(--charji-sk-road);
  opacity: 0.85;
}

#charjiSplash .charji-splash-sk__road--a {
  left: -8%;
  top: 34%;
  width: 72%;
  height: 10px;
  transform: rotate(-12deg);
}

#charjiSplash .charji-splash-sk__road--b {
  right: -6%;
  top: 48%;
  width: 58%;
  height: 9px;
  transform: rotate(18deg);
}

#charjiSplash .charji-splash-sk__road--c {
  left: 18%;
  top: 58%;
  width: 38%;
  height: 8px;
  transform: rotate(-4deg);
}

#charjiSplash .charji-splash-sk__block {
  position: absolute;
  border-radius: 10px;
  background: var(--charji-sk-block);
}

#charjiSplash .charji-splash-sk__block--1 {
  left: 12%;
  top: 22%;
  width: 26%;
  height: 14%;
}

#charjiSplash .charji-splash-sk__block--2 {
  right: 16%;
  top: 26%;
  width: 22%;
  height: 11%;
}

#charjiMapSkel.charji-map-sk {
  --charji-sk-map: #e8edf2;
  --charji-sk-map-2: #dfe5ec;
  --charji-sk-road: rgba(255, 255, 255, 0.72);
  --charji-sk-block: rgba(255, 255, 255, 0.45);
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(165deg, var(--charji-sk-map) 0%, var(--charji-sk-map-2) 48%, var(--charji-sk-map) 100%);
  transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

#charjiMapSkel.charji-map-sk.is-hide {
  opacity: 0;
}

#charjiMapSkel .charji-map-sk__road {
  position: absolute;
  border-radius: 999px;
  background: var(--charji-sk-road);
  opacity: 0.85;
}

#charjiMapSkel .charji-map-sk__road--a {
  left: -8%;
  top: 34%;
  width: 72%;
  height: 10px;
  transform: rotate(-12deg);
}

#charjiMapSkel .charji-map-sk__road--b {
  right: -6%;
  top: 48%;
  width: 58%;
  height: 9px;
  transform: rotate(18deg);
}

#charjiMapSkel .charji-map-sk__road--c {
  left: 18%;
  top: 58%;
  width: 38%;
  height: 8px;
  transform: rotate(-4deg);
}

#charjiMapSkel .charji-map-sk__block {
  position: absolute;
  border-radius: 10px;
  background: var(--charji-sk-block);
}

#charjiMapSkel .charji-map-sk__block--1 {
  left: 12%;
  top: 22%;
  width: 26%;
  height: 14%;
}

#charjiMapSkel .charji-map-sk__block--2 {
  right: 16%;
  top: 26%;
  width: 22%;
  height: 11%;
}

#charjiMapStateOverlay.charji-map-state {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 16px)) 16px max(16px, env(safe-area-inset-bottom, 16px));
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.28s step-end;
}

#charjiMapStateOverlay.charji-map-state.is-visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

#charjiMapStateOverlay.charji-map-state--elevated {
  position: fixed;
  inset: 0;
  z-index: 600;
}

#appPage .charji-status-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  top: max(10px, env(safe-area-inset-top, 10px));
  z-index: 640;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

#appPage .charji-status-banner__chip {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  background: var(--cj-surface, #ffffff);
  border: 1px solid var(--cj-border-subtle, rgba(0, 0, 0, 0.08));
  box-shadow: var(--cj-shadow, 0 4px 10px rgba(0, 0, 0, 0.1));
  color: var(--cj-text, #1f2937);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#appPage .charji-status-banner__chip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#appPage .charji-status-banner__chip--warn {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #92400e;
}

#appPage .charji-status-banner__chip--offline {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.28);
  color: #b91c1c;
}

#appPage .charji-apk-geo-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  top: calc(max(10px, env(safe-area-inset-top, 10px)) + 52px);
  z-index: 635;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

#appPage .charji-apk-geo-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#appPage .charji-apk-geo-banner__btn {
  pointer-events: auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(1, 242, 124, 0.35);
  background: linear-gradient(135deg, rgba(1, 242, 124, 0.14), rgba(255, 255, 255, 0.96));
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#appPage .charji-apk-geo-banner__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(1, 242, 124, 0.2);
  color: #047857;
}

#appPage .charji-apk-geo-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}

#appPage .charji-status-banner:not(:empty) + .charji-apk-geo-banner {
  top: calc(max(10px, env(safe-area-inset-top, 10px)) + 96px);
}

#appPage.is-map-degraded #overlayMobileRoot {
  opacity: 0.96;
}

#appPage.is-map-degraded #overlayMobileRoot .om-dest-pro__footer-route:not(.is-geo-blocked),
#appPage.is-map-degraded #overlayMobileRoot .om-station-sheet__routeBtn:not(.is-geo-blocked) {
  opacity: 0.5;
}

#charjiMapStateOverlay .charji-map-state__scrim {
  position: absolute;
  inset: 0;
  background: var(--cj-backdrop, rgba(15, 23, 42, 0.28));
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  backdrop-filter: blur(14px) saturate(1.05);
}

#charjiMapStateOverlay .charji-map-state__card {
  position: relative;
  z-index: 1;
  width: min(92vw, 320px);
  padding: 18px 16px 14px;
  border-radius: 18px;
  background: var(--cj-surface, #ffffff);
  border: 1px solid var(--cj-border-subtle, rgba(0, 0, 0, 0.08));
  box-shadow: var(--cj-shadow-panel, 0 -8px 40px rgba(15, 23, 42, 0.18));
  text-align: center;
}

#charjiMapStateOverlay .charji-map-state__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cj-accent, #22c98a);
}

#charjiMapStateOverlay .charji-map-state__icon--map {
  background: var(--cj-accent-soft, #ecfdf5);
}

#charjiMapStateOverlay .charji-map-state__icon--geo {
  background: rgba(251, 191, 36, 0.14);
  color: #d97706;
}

#charjiMapStateOverlay .charji-map-state__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--cj-text-strong, #0f172a);
}

#charjiMapStateOverlay .charji-map-state__msg {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--cj-text-muted, #6b7280);
}

#charjiMapStateOverlay .charji-map-state__actions {
  display: flex;
  gap: 8px;
}

#charjiMapStateOverlay .charji-map-state__btn {
  flex: 1;
  min-height: 40px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#charjiMapStateOverlay .charji-map-state__btn--ghost {
  background: var(--cj-surface-2, #f1f3f6);
  color: var(--cj-text, #1f2937);
}

#charjiMapStateOverlay .charji-map-state__btn--primary {
  background: linear-gradient(180deg, var(--cj-pill-bg, #2ecc9a) 0%, var(--cj-accent, #22c98a) 100%);
  color: var(--cj-pill-fg, #ffffff);
  box-shadow: 0 3px 12px rgba(34, 201, 138, 0.28);
}

#appPage .charji-geo-hint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(100% + 8px);
  z-index: 6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--cj-surface, #ffffff);
  border: 1px solid var(--cj-border-subtle, rgba(0, 0, 0, 0.08));
  box-shadow: var(--cj-shadow, 0 4px 10px rgba(0, 0, 0, 0.1));
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: auto;
}

#appPage .om-dest-pro__footer .charji-geo-hint,
#appPage .om-station-sheet__head .charji-geo-hint {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0 0 10px;
  transform: translateY(4px);
}

#appPage .om-dest-pro__footer .charji-geo-hint.is-visible,
#appPage .om-station-sheet__head .charji-geo-hint.is-visible {
  transform: translateY(0);
}

#appPage .charji-geo-hint.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#appPage .charji-geo-hint__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 191, 36, 0.14);
  color: #d97706;
}

#appPage .charji-geo-hint__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  line-height: 1.42;
  color: var(--cj-text, #1f2937);
  text-align: left;
}

#appPage .charji-geo-hint__tap {
  display: block;
  flex: 1 1 100%;
  margin: 2px 0 0 42px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--cj-text-dim, #9aa3b2);
}

#charjiSplash .charji-splash-sk__rail {
  position: absolute;
  right: max(14px, env(safe-area-inset-right, 14px));
  top: 44%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#charjiSplash .charji-splash-sk__btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--charji-sk-border);
  background: var(--charji-sk-surface);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

#charjiSplash .charji-splash-sk__dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

#charjiSplash .charji-splash-sk__floatBar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 8px;
  box-sizing: border-box;
}

#charjiSplash .charji-splash-sk__chip {
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--charji-sk-border);
  background: var(--charji-sk-chip);
}

#charjiSplash .charji-splash-sk__chip--wide {
  flex: 1 1 auto;
  min-width: 0;
}

#charjiSplash .charji-splash-sk__chip:not(.charji-splash-sk__chip--wide) {
  flex: 0 0 40px;
  width: 40px;
}

#charjiSplash .charji-splash-sk__sheet {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 24px 24px 0 0;
  background: var(--charji-sk-surface);
  border: none;
  border-top: 1px solid var(--charji-sk-border);
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.08);
}

#charjiSplash .charji-splash-sk__pill {
  display: block;
  width: 40px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
}

#charjiSplash .charji-splash-sk__search {
  display: block;
  width: 100%;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
}

#charjiSplash .charji-splash-sk__line {
  display: block;
  width: 100%;
  height: 12px;
  margin-bottom: 8px;
  border-radius: 8px;
}

#charjiSplash .charji-splash-sk__line--short {
  width: 62%;
  margin-bottom: 0;
}

#charjiSplash .charji-splash-sk__shimmer {
  background: linear-gradient(
    110deg,
    var(--charji-sk-shimmer-a) 8%,
    var(--charji-sk-shimmer-b) 18%,
    var(--charji-sk-shimmer-a) 28%
  );
  background-size: 200% 100%;
  animation: charji-splash-shimmer 1.2s ease-in-out infinite;
}

@keyframes charji-splash-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #charjiSplash .charji-splash-sk__shimmer {
    animation: none;
  }
}

html.charji-splash-active #appPage {
  visibility: hidden;
}

html.charji-splash-active #overlayMobileRoot {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#appPage .charji-route-overlay.charji-route-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  height: 0;
  overflow: hidden;
  z-index: 540;
  pointer-events: none;
}

#appPage .charji-route-overlay.charji-route-sheet.is-open {
  inset: 0;
  top: 0;
  height: auto;
  overflow: visible;
  pointer-events: none;
}

#appPage .charji-route-overlay:not(.is-open) .charji-route-sheet__backdrop,
#appPage .charji-route-overlay:not(.is-open) .charji-route-sheet__panel {
  pointer-events: none;
}

#appPage .charji-route-overlay[aria-hidden="true"] .charji-route-sheet__panel {
  visibility: hidden !important;
  pointer-events: none !important;
}

#appPage .charji-route-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

#appPage .charji-route-overlay.is-open .charji-route-sheet__backdrop {
  opacity: 0;
}

#appPage .charji-route-cancel {
  display: none !important;
}

#appPage .charji-route-panel.charji-route-sheet__panel {
  --cr-surface: var(--cj-surface, #ffffff);
  --cr-surface-2: var(--cj-surface-2, #f1f3f6);
  --cr-border: var(--cj-border-subtle, rgba(0, 0, 0, 0.08));
  --cr-text: var(--cj-text-strong, #0f172a);
  --cr-muted: var(--cj-text-muted, #64748b);
  --cr-dim: var(--cj-text-dim, #94a3b8);
  --cr-accent: var(--cj-accent, #22c98a);
  --cr-accent-soft: var(--cj-accent-soft, #ecfdf5);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: auto;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-height: min(74vh, 600px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 100%, 0);
  backface-visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

#appPage .charji-route-overlay.is-open .charji-route-sheet__panel {
  transform: translate3d(0, 0, 0);
}

#appPage .charji-route-overlay.is-closing .charji-route-sheet__panel {
  transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1);
}

#appPage .charji-route-overlay.is-closing .charji-route-sheet__backdrop {
  transition: opacity 0.22s ease;
}

#appPage .charji-route-overlay.is-hidden-for-station-peek.is-open .charji-route-sheet__panel {
  transform: translate3d(0, 100%, 0) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#appPage .charji-route-panel.charji-route-sheet__panel.charji-route-panel--has-hero,
#appPage .charji-route-panel.charji-route-sheet__panel.is-loading.charji-route-panel--has-hero {
  --cr-route-hero-h: 228px;
  --cr-route-body-h: 400px;
  max-height: min(78vh, calc(var(--cr-route-body-h) + var(--cr-route-hero-h)));
}

#appPage .charji-route-panel__grab {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 0 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

#appPage .charji-route-panel__grab::before {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  top: -12px;
  bottom: -18px;
  z-index: 0;
}

#appPage .charji-route-panel__grab:active {
  cursor: grabbing;
}

#appPage .charji-route-panel__grab--card {
  position: relative;
  flex-shrink: 0;
  padding: 10px 0 6px;
  background: var(--cr-surface, #ffffff);
}

#appPage .charji-route-panel__grab--card::before {
  top: -10px;
  bottom: -12px;
}

#appPage .charji-route-panel--has-hero .charji-route-panel__grab--card,
#appPage .charji-route-panel.is-loading .charji-route-panel__grab--card {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#appPage .charji-route-panel__pill {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: rgba(189, 189, 189, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 5px rgba(15, 23, 42, 0.28);
}

#appPage .charji-route-panel__hero .charji-route-panel__pill {
  background: rgba(203, 213, 225, 0.94);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.38);
}

#appPage .charji-route-sheet__panel.charji-route-sheet__panel--dragging {
  transition: none !important;
  will-change: transform;
}

#appPage .charji-route-panel__hero {
  position: relative;
  flex-shrink: 0;
  height: 204px;
  background: linear-gradient(145deg, rgba(18, 185, 129, 0.14) 0%, #dbeafe 48%, #1e293b 100%);
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

#appPage .charji-route-panel--has-hero .charji-route-panel__hero,
#appPage .charji-route-panel.is-loading .charji-route-panel__hero {
  height: var(--cr-route-hero-h, 228px);
}

#appPage .charji-route-panel__hero[hidden] {
  display: none !important;
}

#appPage .charji-route-panel__gallery {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#appPage .charji-route-panel__gallery[hidden] {
  display: none !important;
}

#appPage .charji-route-panel__hero .om-station-gallery__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#appPage .charji-route-panel__hero .om-station-gallery__track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

#appPage .charji-route-panel__hero .om-station-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

#appPage .charji-route-panel__hero .om-station-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#appPage .charji-route-panel__hero .om-station-gallery__img.is-broken {
  opacity: 0;
}

#appPage .charji-route-panel__hero .om-station-gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: auto;
}

#appPage .charji-route-panel__hero .om-station-gallery__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

#appPage .charji-route-panel__hero .om-station-gallery__dot.is-active {
  width: 20px;
  background: rgba(255, 255, 255, 0.95);
}

#appPage .charji-route-panel__hero .om-station-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(26, 31, 43, 0.88);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

#appPage .charji-route-panel__hero .om-station-gallery__nav--prev {
  left: 10px;
}

#appPage .charji-route-panel__hero .om-station-gallery__nav--next {
  right: 10px;
}

#appPage .charji-route-panel__hero .om-station-gallery__nav.is-available {
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  #appPage .charji-route-panel__hero .om-station-gallery:hover .om-station-gallery__nav.is-available,
  #appPage .charji-route-panel__hero:hover .om-station-gallery__nav.is-available {
    opacity: 1;
  }

  #appPage .charji-route-panel__hero .om-station-gallery__nav.is-available:active {
    transform: scale(0.94);
  }
}

#appPage .charji-route-panel__hero.om-station-gallery--touch.om-station-gallery--multi .om-station-gallery__nav.is-available {
  opacity: 0.88;
  pointer-events: auto;
}

#appPage .charji-route-panel__heroCount {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

#appPage .charji-route-panel__heroCount[hidden] {
  display: none !important;
}

#appPage .charji-route-panel__heroGrad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.12) 0%,
    rgba(15, 23, 42, 0) 28%,
    rgba(15, 23, 42, 0.72) 100%
  );
}

#appPage .charji-route-panel__heroOverlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 8px 10px 10px;
  pointer-events: none;
}

#appPage .charji-route-panel__heroOverlay[hidden] {
  display: none !important;
}

#appPage .charji-route-panel__heroOverlayRow {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

#appPage .charji-route-panel__heroOverlayText {
  flex: 1;
  min-width: 0;
}

#appPage .charji-route-panel__routeIco--hero {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

#appPage .charji-route-panel__routeIco--hero svg {
  display: block;
  opacity: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

#appPage .charji-route-panel__heroSkel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  background: linear-gradient(
    110deg,
    #e2e8f0 8%,
    #222836 18%,
    #e2e8f0 28%
  );
  background-size: 200% 100%;
  animation: charji-route-shimmer 1.2s ease-in-out infinite;
}

#appPage .charji-route-panel.is-loading .charji-route-panel__heroSkel {
  display: block;
}

#appPage .charji-route-panel.is-loading .charji-route-panel__gallery,
#appPage .charji-route-panel.is-loading .charji-route-panel__heroOverlay {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes charji-route-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

#appPage .charji-route-skel-shimmer,
#appPage .charji-route-skel-line {
  background: linear-gradient(
    110deg,
    #e8edf2 8%,
    #cfd6df 18%,
    #e8edf2 28%
  );
  background-size: 200% 100%;
  animation: charji-route-shimmer 1.2s ease-in-out infinite;
}

#appPage .charji-route-skel-line {
  display: block;
  height: 14px;
  border-radius: 8px;
  max-width: 100%;
}

#appPage .charji-route-panel.is-loading .charji-route-skel-line--title {
  width: 62%;
  height: 23px;
  border-radius: 9px;
}

#appPage .charji-route-panel.is-loading .charji-route-skel-line--sub {
  width: 92%;
  height: 34px;
  margin-top: 6px;
  border-radius: 7px;
}

#appPage .charji-route-panel.is-loading .charji-route-skel-line--hint {
  width: 86%;
  height: 15px;
  margin-top: 2px;
  border-radius: 6px;
}

#appPage .charji-route-skel-line--short {
  display: inline-block;
  width: 42%;
  height: 12px;
  margin-right: 8px;
  vertical-align: middle;
}

#appPage .charji-route-skel__badge {
  display: inline-block;
  height: 20px;
  border-radius: 999px;
  flex-shrink: 0;
}

#appPage .charji-route-skel__badge--wide {
  width: 128px;
}

#appPage .charji-route-skel__badge--pill {
  width: 54px;
}

#appPage .charji-route-skel__heroKm {
  display: inline-block;
  width: 68px;
  height: 28px;
  padding: 0 !important;
  border: none !important;
  border-radius: 999px !important;
  color: transparent !important;
  background: linear-gradient(
    110deg,
    rgba(15, 23, 42, 0.22) 8%,
    rgba(15, 23, 42, 0.38) 18%,
    rgba(15, 23, 42, 0.22) 28%
  ) !important;
  background-size: 200% 100% !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}

#appPage .charji-route-skel__rating {
  display: block;
  width: 136px;
  height: 32px;
  border-radius: 999px;
  margin-top: 10px;
}

#appPage .charji-route-skel__tripKm {
  display: inline-block;
  width: 58px;
  height: 24px;
  padding: 0 !important;
  border: none !important;
  border-radius: 999px !important;
  color: transparent !important;
  background: linear-gradient(
    110deg,
    #e8edf2 8%,
    #cfd6df 18%,
    #e8edf2 28%
  ) !important;
  background-size: 200% 100% !important;
  box-shadow: none !important;
}

#appPage .charji-route-panel.is-loading .charji-route-panel__placeBadges {
  display: none !important;
}

#appPage .charji-route-panel.is-loading .charji-route-panel__summary {
  display: none !important;
}

#appPage .charji-route-panel__stat.charji-route-skel {
  min-height: 36px;
  padding: 0;
  border: none;
  background: transparent;
}

#appPage .charji-route-skel__bar {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 36px;
  border-radius: 8px;
  background: linear-gradient(
    110deg,
    #e2e8f0 8%,
    #222836 18%,
    #e2e8f0 28%
  );
  background-size: 200% 100%;
  animation: charji-route-shimmer 1.2s ease-in-out infinite;
}

#appPage .charji-route-panel__heroTitle {
  margin: 0 0 1px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#appPage .charji-route-panel__heroDest {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(236, 253, 245, 0.95);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

#appPage .charji-route-panel__heroChip {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #6ee7b7;
  background: rgba(18, 185, 129, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#appPage .charji-route-panel__heroChip[hidden] {
  display: none !important;
}


#appPage .charji-route-panel__sheet {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background: var(--cr-surface, #ffffff);
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.14);
}

#appPage .charji-route-panel--has-hero .charji-route-panel__sheet {
  margin-top: -28px;
  overflow: visible;
}

#appPage .charji-route-panel__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 4px 16px 10px;
}

#appPage .charji-route-panel--has-hero .charji-route-panel__scroll {
  padding-top: 14px;
}

#appPage .charji-route-panel--has-hero .charji-route-panel__placeHead {
  padding-top: 0;
}

#appPage .charji-route-panel__dock {
  flex-shrink: 0;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    var(--cr-surface, #ffffff) 28%
  );
  border-top: 1px solid var(--cr-border, rgba(0, 0, 0, 0.06));
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}

#appPage .charji-route-panel--has-hero .charji-route-panel__summary {
  display: none !important;
}

#appPage .charji-route-panel__heroBadges {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  z-index: 4;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

#appPage .charji-route-panel__heroBadges[hidden] {
  display: none !important;
}

#appPage .charji-route-panel.is-loading .charji-route-panel__heroBadges {
  display: flex !important;
}

#appPage .charji-route-panel__heroBadges .charji-route-placeBadge {
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.22);
}

#appPage .charji-route-panel__heroBadges .charji-route-placeBadge--open,
#appPage .charji-route-panel__heroBadges .charji-route-placeBadge--closed {
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}

#appPage .charji-route-panel--has-hero .charji-route-panel__placeBadges {
  display: none !important;
}

#appPage .charji-route-panel__heroKm {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ecfdf5;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

#appPage .charji-route-panel__heroKm[hidden] {
  display: none !important;
}

#appPage .charji-route-panel__placeHead {
  padding: 2px 0 10px;
}

#appPage .charji-route-panel__placeBadges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

#appPage .charji-route-panel__placeBadges[hidden] {
  display: none !important;
}

#appPage .charji-route-placeBadge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #475569, #334155);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}

#appPage .charji-route-placeBadge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
}

#appPage .charji-route-placeBadge--hotel {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}
#appPage .charji-route-placeBadge--food {
  background: linear-gradient(135deg, #ea580c, #c2410c);
}
#appPage .charji-route-placeBadge--fuel,
#appPage .charji-route-placeBadge--station {
  background: linear-gradient(135deg, #059669, #047857);
}
#appPage .charji-route-placeBadge--shop,
#appPage .charji-route-placeBadge--store,
#appPage .charji-route-placeBadge--commerce {
  background: linear-gradient(135deg, #4f46e5, #3730a3);
}
#appPage .charji-route-placeBadge--health {
  background: linear-gradient(135deg, #e11d48, #be123c);
}
#appPage .charji-route-placeBadge--transit {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}
#appPage .charji-route-placeBadge--city {
  background: linear-gradient(135deg, #64748b, #475569);
}
#appPage .charji-route-placeBadge--pin,
#appPage .charji-route-placeBadge--park,
#appPage .charji-route-placeBadge--leisure,
#appPage .charji-route-placeBadge--culture,
#appPage .charji-route-placeBadge--worship {
  background: linear-gradient(135deg, #0d9488, #0f766e);
}
#appPage .charji-route-placeBadge--open {
  background: linear-gradient(135deg, #16a34a, #15803d);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}
#appPage .charji-route-placeBadge--closed {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}
#appPage .charji-route-placeBadge--open::before,
#appPage .charji-route-placeBadge--closed::before {
  background: currentColor;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

#appPage .charji-route-panel__placeTitle {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--cr-text, #0f172a);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

#appPage .charji-route-panel__placeSub {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--cr-muted, #64748b);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

#appPage .charji-route-panel__placeSub[hidden],
#appPage .charji-route-panel__placeSub:empty {
  display: none;
}

#appPage .charji-route-panel__placeRating {
  margin-top: 10px;
}

#appPage .charji-route-panel__placeRating[hidden] {
  display: none !important;
}

#appPage .charji-route-ratingPill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.14), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.28);
}

#appPage .charji-route-panel .om-station-stars.charji-route-stars {
  color: #f59e0b;
  font-size: 14px;
  gap: 1px;
}

#appPage .charji-route-panel .om-station-stars__star {
  opacity: 0.22;
  color: inherit;
}

#appPage .charji-route-panel .om-station-stars__star.is-full {
  opacity: 1;
}

#appPage .charji-route-panel .om-station-stars__star.is-half {
  opacity: 0.55;
}

#appPage .charji-route-ratingPill__score {
  font-size: 15px;
  font-weight: 900;
  color: var(--cr-text, #0f172a);
  line-height: 1;
}

#appPage .charji-route-ratingPill__sep {
  color: var(--cr-dim, #94a3b8);
  font-weight: 700;
}

#appPage .charji-route-ratingPill__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--cr-muted, #64748b);
}

#appPage .charji-route-panel__tripSection {
  margin: 12px 0 8px;
}

#appPage .charji-route-panel__tripHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

#appPage .charji-route-panel__tripLabel {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cr-dim, #94a3b8);
}

#appPage .charji-route-panel__tripKm {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: rgba(34, 201, 138, 0.14);
  border: 1px solid rgba(34, 201, 138, 0.32);
}

#appPage .charji-route-panel__tripKm[hidden] {
  display: none !important;
}

#appPage .charji-route-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 4px 0;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--cr-surface-2, #f4f6f9) 0%, var(--cr-surface, #fff) 100%);
  border: 1px solid var(--cr-border, rgba(0, 0, 0, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  overflow: hidden;
}

#appPage .charji-route-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 12px 4px 10px;
  min-width: 0;
  text-align: center;
}

#appPage .charji-route-metric:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 14px;
  width: 1px;
  background: var(--cr-border, rgba(0, 0, 0, 0.08));
}

#appPage .charji-route-metric__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
}

#appPage .charji-route-metric--dist .charji-route-metric__ico {
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
}
#appPage .charji-route-metric--time .charji-route-metric__ico {
  background: linear-gradient(145deg, #a855f7, #7e22ce);
}
#appPage .charji-route-metric--energy .charji-route-metric__ico {
  background: linear-gradient(145deg, #f59e0b, #d97706);
}
#appPage .charji-route-metric--battery .charji-route-metric__ico {
  background: linear-gradient(145deg, #22c98a, #059669);
}

#appPage .charji-route-metric.is-warn .charji-route-metric__ico {
  background: linear-gradient(145deg, #f97316, #ea580c);
}
#appPage .charji-route-metric.is-risk .charji-route-metric__ico {
  background: linear-gradient(145deg, #ef4444, #dc2626);
}

#appPage .charji-route-metric__data {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  min-height: 22px;
}

#appPage .charji-route-metric__num {
  font-size: 18px;
  font-weight: 900;
  color: var(--cr-text, #0f172a);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

#appPage .charji-route-metric__unit {
  font-size: 10px;
  font-weight: 800;
  color: var(--cr-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#appPage .charji-route-metric__name {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cr-dim, #94a3b8);
  line-height: 1.2;
}

#appPage .charji-route-metric__sub {
  font-size: 9px;
  font-weight: 700;
  color: var(--cr-muted, #64748b);
  margin-top: -2px;
}

#appPage .charji-route-tripAlert {
  grid-column: 1 / -1;
  margin: 0 8px 8px;
  padding: 8px 10px;
  border-radius: 12px;
  text-align: center;
}
#appPage .charji-route-tripAlert.is-risk {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.32);
}
#appPage .charji-route-tripAlert.is-warn {
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.32);
}
#appPage .charji-route-tripAlert__txt {
  font-size: 11px;
  font-weight: 800;
  color: var(--cr-text, #0f172a);
}

#appPage .charji-route-telemetry.charji-route-telemetry--skel {
  margin-top: 0;
}

#appPage .charji-route-panel.is-loading .charji-route-panel__tripSection {
  margin: 12px 0 8px;
}

#appPage .charji-route-metric.charji-route-metric--skel {
  padding: 12px 4px 10px;
  min-height: 92px;
}

#appPage .charji-route-metric.charji-route-metric--skel .charji-route-skel__ico {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

#appPage .charji-route-metric.charji-route-metric--skel .charji-route-skel__num {
  display: block;
  width: 30px;
  height: 16px;
  margin-top: 2px;
  border-radius: 6px;
}

#appPage .charji-route-metric.charji-route-metric--skel .charji-route-skel__name {
  display: block;
  width: 46px;
  height: 9px;
  margin-top: 2px;
  border-radius: 5px;
}

#appPage .charji-route-panel__legItem--skel {
  gap: 6px;
}

#appPage .charji-route-skel__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

#appPage .charji-route-skel__swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

#appPage .charji-route-skel-line--leg {
  display: inline-block;
  width: 72px;
  height: 10px;
  border-radius: 5px;
  vertical-align: middle;
}

#appPage .charji-route-panel__hd {
  display: none !important;
}

#appPage .charji-route-panel__hd-text {
  flex: 1;
  min-width: 0;
}

#appPage .charji-route-panel__titleRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
}

#appPage .charji-route-panel__routeIco {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #047857;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

#appPage .charji-route-panel__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#appPage .charji-route-panel__dest {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #0f766e;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#appPage .charji-route-panel__dest[hidden] {
  display: none !important;
}

#appPage .charji-route-panel__summary {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--cr-muted, #64748b);
}

#appPage .charji-route-panel__summary:empty {
  display: none;
}

#appPage .charji-route-panel__summary[hidden] {
  display: none !important;
}

#appPage .charji-route-panel__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 6px;
}

#appPage .charji-route-panel__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 0 10px;
  box-sizing: border-box;
}

#appPage .charji-route-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  padding: 4px 7px;
  min-height: 24px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e8edf2;
  font-size: 10.5px;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
  white-space: nowrap;
}

#appPage .charji-route-badge.is-muted {
  background: #f8fafc;
  border-color: #e8edf2;
  color: #939bab;
  font-weight: 600;
  font-size: 9.5px;
}

#appPage .charji-route-badge.is-ok {
  background: rgba(18, 185, 129, 0.12);
  border-color: #a7f3d0;
  color: #047857;
}

#appPage .charji-route-badge.is-warn {
  background: rgba(249, 115, 22, 0.12);
  border-color: #fed7aa;
  color: #c2410c;
}

#appPage .charji-route-badge.is-risk {
  background: rgba(239, 68, 68, 0.12);
  border-color: #fecaca;
  color: #dc2626;
  font-weight: 700;
}

#appPage .charji-route-badge__k {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #94a3b8;
}

#appPage .charji-route-badge.is-ok .charji-route-badge__k,
#appPage .charji-route-badge.is-warn .charji-route-badge__k {
  color: inherit;
  opacity: 0.75;
}

#appPage .charji-route-badge__v {
  font-weight: 700;
}

#appPage .charji-route-badge.charji-route-skel {
  padding: 0;
  border: none;
  background: transparent;
  width: auto;
}

#appPage .charji-route-skel__pill {
  display: block;
  width: auto;
  min-width: 40px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(
    110deg,
    #e2e8f0 8%,
    #222836 18%,
    #e2e8f0 28%
  );
  background-size: 200% 100%;
  animation: charji-route-shimmer 1.2s ease-in-out infinite;
}

#appPage .charji-route-panel__stats.charji-route-panel__stats--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 0 0 4px;
}

#appPage .charji-route-panel__stat {
  padding: 9px 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

#appPage .charji-route-panel__stats--compact .charji-route-panel__stat {
  padding: 5px 4px 4px;
  border-radius: 8px;
  text-align: center;
  min-width: 0;
}

#appPage .charji-route-panel__stat.is-ok {
  background: rgba(18, 185, 129, 0.12);
  border-color: #a7f3d0;
}

#appPage .charji-route-panel__stat.is-warn {
  background: rgba(249, 115, 22, 0.12);
  border-color: #fed7aa;
}

#appPage .charji-route-panel__statK {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  margin-bottom: 2px;
}

#appPage .charji-route-panel__stats--compact .charji-route-panel__statK {
  font-size: 9px;
  margin-bottom: 1px;
  letter-spacing: 0.02em;
}

#appPage .charji-route-panel__statV {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

#appPage .charji-route-panel__stats--compact .charji-route-panel__statV {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
}

#appPage .charji-route-panel__statSub {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #939bab;
  margin-top: 1px;
}

#appPage .charji-route-panel__statsNote {
  margin: 0 0 4px;
  font-size: 10px;
  line-height: 1.25;
  color: #939bab;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#appPage .charji-route-panel__statsNote:empty {
  display: none;
}

#appPage .charji-route-panel__statsNoteItem.is-ok {
  color: #047857;
  font-weight: 700;
}

#appPage .charji-route-panel__statsNoteItem.is-warn {
  color: #c2410c;
  font-weight: 700;
}

#appPage .charji-route-panel__hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--cr-dim, #94a3b8);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

#appPage .charji-route-panel__hint:empty {
  display: none;
  margin: 0;
}

#appPage .charji-route-panel__hint:empty + .charji-route-panel__miniLeg {
  margin-top: 0;
}

#appPage .charji-route-panel__miniLeg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 3px 0 0;
  padding: 0;
  align-items: center;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

#appPage .charji-route-panel__footPad {
  flex: 0 0 auto;
  min-height: 12px;
  width: 100%;
  pointer-events: none;
}

#appPage .charji-route-panel__miniLeg:empty {
  display: none;
}

#appPage .charji-route-panel__legItem {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #939bab;
  line-height: 1.3;
  white-space: normal;
  flex-shrink: 0;
}

#appPage .charji-route-panel__legSw {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

#appPage .charji-route-panel__close {
  display: none !important;
}

#appPage .charji-route-panel__chip--legacy {
  display: none !important;
}

#appPage .charji-route-panel__chip {
  display: none !important;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

#appPage .charji-route-panel__chip[hidden] {
  display: none !important;
}

#appPage .charji-route-panel__actions {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  margin: 0;
  padding: 0;
}

#appPage .charji-route-panel__mapBtn {
  display: flex;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 18px;
  cursor: pointer;
  border: 1px solid var(--cr-border, rgba(0, 0, 0, 0.1));
  background: var(--cr-surface-2, #f4f6f9);
  color: var(--cr-text, #0f172a);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

#appPage .charji-route-panel__mapBtn:active {
  transform: scale(0.96);
  background: var(--cr-surface, #eef1f5);
}

#appPage .charji-route-panel__mapBtnIco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

#appPage .charji-route-panel__mapBtnIco svg {
  display: block;
}

#appPage .charji-route-panel.is-loading .charji-route-panel__actions {
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

#appPage .charji-route-panel__mapBtn:disabled,
#appPage .charji-route-panel__mapBtn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

#appPage .charji-route-panel__go {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 16px 20px;
  min-height: 56px;
  box-sizing: border-box;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  cursor: pointer;
  border: none;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(135deg, #34d399 0%, #10b981 38%, #059669 100%);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 8px 28px rgba(16, 185, 129, 0.45),
    0 2px 6px rgba(5, 150, 105, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

#appPage .charji-route-panel__go:active:not(:disabled):not(.is-disabled) {
  transform: scale(0.985);
  filter: brightness(0.96);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 4px 14px rgba(16, 185, 129, 0.35);
}

#appPage .charji-route-panel__go.is-disabled,
#appPage .charji-route-panel__go:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
  background: linear-gradient(145deg, #94a3b8 0%, #64748b 100%);
}

#appPage .charji-route-panel__go.is-nav-launch-blocked {
  opacity: 0.38;
  filter: grayscale(1) saturate(0.2);
  color: #cbd5e1;
  background: #94a3b8;
}

#appPage .charji-route-panel__go.is-disabled[aria-disabled='true'] {
  pointer-events: auto;
}

#appPage .charji-route-panel__goInner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

#appPage .charji-route-panel__goIco {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

#appPage .charji-route-panel__refresh {
  display: none !important;
}

#appPage .charji-route-panel__peek {
  display: none;
  flex-shrink: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

#appPage .charji-route-peek__stretch {
  display: none;
  flex: 0 0 auto;
  order: 2;
  width: 100%;
  height: 0;
  background: var(--cr-surface, #ffffff);
  pointer-events: none;
}

#appPage .charji-route-peek__hud {
  --cr-peek-soc: 50;
  --cr-peek-accent: #22c98a;
  position: relative;
  flex: 0 0 auto;
  order: 1;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--cr-surface, #ffffff);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.14);
  overflow: visible;
}

#appPage .charji-route-peek__hud::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: env(safe-area-inset-bottom, 0px);
  background: var(--cr-surface, #ffffff);
  pointer-events: none;
}

#appPage .charji-route-peek__hud.is-ok {
  --cr-peek-accent: #22c98a;
}

#appPage .charji-route-peek__hud.is-warn {
  --cr-peek-accent: #f59e0b;
}

#appPage .charji-route-peek__hud.is-risk,
#appPage .charji-route-peek__hud.is-split {
  --cr-peek-accent: #ef4444;
}

#appPage .charji-route-panel__grab--peek {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 4px 0 4px;
  cursor: grab;
  background: transparent;
}

#appPage .charji-route-peek__body {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 2px;
}

#appPage .charji-route-peek__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

#appPage .charji-route-peek__expand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

#appPage .charji-route-peek__expand:active {
  opacity: 0.88;
}

#appPage .charji-route-peek__waveSq {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cr-peek-accent);
  border: none;
  box-shadow:
    0 4px 14px rgba(34, 201, 138, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: charji-route-peek-waveSq 3.2s ease-in-out infinite;
}

#appPage .charji-route-peek__hud.is-warn .charji-route-peek__waveSq {
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#appPage .charji-route-peek__hud.is-risk .charji-route-peek__waveSq,
#appPage .charji-route-peek__hud.is-split .charji-route-peek__waveSq {
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#appPage .charji-route-peek__waveSqGlow {
  position: absolute;
  inset: -4px;
  z-index: 0;
  background: var(--cr-peek-accent);
  opacity: 0.42;
  filter: blur(8px);
  animation: charji-route-peek-waveSqGlow 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes charji-route-peek-waveSq {
  0%,
  100% {
    border-radius: 22px 10px 20px 12px;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 11px 22px 14px 20px;
    transform: rotate(3deg) scale(1.04);
  }
  66% {
    border-radius: 18px 13px 22px 10px;
    transform: rotate(-2deg) scale(0.98);
  }
}

@keyframes charji-route-peek-waveSqGlow {
  0%,
  100% {
    border-radius: 22px 10px 20px 12px;
    opacity: 0.38;
  }
  50% {
    border-radius: 14px 20px 12px 22px;
    opacity: 0.62;
  }
}

#appPage .charji-route-peek__waveSqInner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

#appPage .charji-route-peek__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

#appPage .charji-route-peek__thumbSlot {
  flex: 0 0 auto;
  display: none;
  align-items: center;
}

#appPage .charji-route-peek__row.has-peek-photo .charji-route-peek__thumbSlot {
  display: flex;
}

#appPage .charji-route-peek__title {
  display: block;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cr-text, #0f172a);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#appPage .charji-route-peek__thumb {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  overflow: hidden;
  background: #e2e8f0;
  box-shadow:
    0 4px 14px color-mix(in srgb, var(--cr-peek-accent, #22c98a) 38%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: charji-route-peek-waveSq 3.2s ease-in-out infinite;
}

#appPage .charji-route-peek__thumb::before {
  content: '';
  position: absolute;
  inset: -5px;
  z-index: 0;
  background: var(--cr-peek-accent, #22c98a);
  opacity: 0.4;
  filter: blur(8px);
  animation: charji-route-peek-waveSqGlow 3.2s ease-in-out infinite;
  pointer-events: none;
}

#appPage .charji-route-peek__thumbInner {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#appPage .charji-route-peek__thumbImg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  animation: charji-route-peek-thumbKen 3.2s ease-in-out infinite;
}

@keyframes charji-route-peek-thumbKen {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.14);
  }
}

#appPage .charji-route-peek__stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

#appPage .charji-route-peek__meta {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cr-muted, #64748b);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#appPage .charji-route-peek__metaSoc {
  font-weight: 800;
  color: var(--cr-peek-accent);
}

#appPage .charji-route-peek__badges {
  display: none;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  line-height: 1;
}

#appPage .charji-route-peek__badges[hidden] {
  display: none !important;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-peek__badges:not([hidden]) {
  display: flex;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-panel__heroBadges {
  display: none !important;
}

#appPage .charji-route-peek__badges .charji-route-placeBadge {
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  gap: 3px;
  box-shadow: 0 1px 5px rgba(15, 23, 42, 0.16);
}

#appPage .charji-route-peek__badges .charji-route-placeBadge::before {
  width: 4px;
  height: 4px;
}

#appPage .charji-route-peek__badges .charji-route-placeBadge--open,
#appPage .charji-route-peek__badges .charji-route-placeBadge--closed {
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0;
}

#appPage .charji-route-peek__chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.2;
  background: transparent;
  border: 1.5px solid var(--cr-border, rgba(15, 23, 42, 0.12));
  color: var(--cr-muted, #64748b);
  box-shadow: none;
}

#appPage .charji-route-peek__chip--type {
  border-color: rgba(99, 102, 241, 0.35);
  color: #6366f1;
}

#appPage .charji-route-peek__chip--status.is-ok {
  border-color: rgba(34, 201, 138, 0.45);
  color: #22c98a;
}

#appPage .charji-route-peek__chip--status.is-warn {
  border-color: rgba(245, 158, 11, 0.5);
  color: #f59e0b;
}

#appPage .charji-route-peek__chip--status.is-risk,
#appPage .charji-route-peek__chip--status.is-split {
  border-color: rgba(239, 68, 68, 0.45);
  color: #ef4444;
}

#appPage .charji-route-peek__trace {
  display: none;
  align-items: stretch;
  gap: 3px;
  width: 100%;
  max-width: 120px;
  height: 3px;
  margin: 0;
  border-radius: 999px;
  overflow: hidden;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-peek__trace {
  display: flex;
}

#appPage .charji-route-peek__traceSeg {
  flex: 1 1 0;
  border-radius: 999px;
  opacity: 0.22;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#appPage .charji-route-peek__traceSeg--ok {
  background: #22c98a;
}

#appPage .charji-route-peek__traceSeg--warn {
  background: #f59e0b;
}

#appPage .charji-route-peek__traceSeg--risk {
  background: #ef4444;
}

#appPage .charji-route-peek__trace.is-active-ok .charji-route-peek__traceSeg--ok,
#appPage .charji-route-peek__trace.is-active-warn .charji-route-peek__traceSeg--warn,
#appPage .charji-route-peek__trace.is-active-risk .charji-route-peek__traceSeg--risk,
#appPage .charji-route-peek__trace.is-active-split .charji-route-peek__traceSeg--ok,
#appPage .charji-route-peek__trace.is-active-split .charji-route-peek__traceSeg--risk {
  opacity: 1;
  transform: scaleY(1.35);
}

#appPage .charji-route-peek__orbit {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
}

#appPage .charji-route-peek__socRing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

#appPage .charji-route-peek__socTrack {
  fill: none;
  stroke: rgba(15, 23, 42, 0.08);
  stroke-width: 3;
}

#appPage .charji-route-peek__socArc {
  fill: none;
  stroke: var(--cr-peek-accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--cr-peek-soc));
  transition: stroke-dashoffset 0.35s ease;
}

#appPage .charji-route-peek__go {
  position: absolute;
  inset: 7px;
  display: none;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--cr-peek-accent),
    color-mix(in srgb, var(--cr-peek-accent) 72%, #0f172a)
  );
  box-shadow:
    0 4px 18px color-mix(in srgb, var(--cr-peek-accent) 55%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -webkit-tap-highlight-color: transparent;
  animation: charji-route-peek-goPulse 2.6s ease-in-out infinite;
}

@keyframes charji-route-peek-goPulse {
  0%,
  100% {
    box-shadow:
      0 4px 18px color-mix(in srgb, var(--cr-peek-accent) 55%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 6px 24px color-mix(in srgb, var(--cr-peek-accent) 72%, transparent),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scale(1.04);
  }
}

#appPage .charji-route-peek__go svg {
  display: block;
  margin: 0;
  transform: translateX(1px);
}

#appPage .charji-route-peek__go.is-disabled,
#appPage .charji-route-peek__go:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  animation: none;
  background: #64748b;
  color: #1e293b;
  box-shadow: none;
}

#appPage .charji-route-peek__go.is-nav-launch-blocked {
  opacity: 0.36;
  filter: grayscale(1) saturate(0.15);
  background: #94a3b8;
  color: #cbd5e1;
  box-shadow: none;
}

#appPage .charji-route-peek__go.is-disabled[aria-disabled='true'] {
  pointer-events: auto;
}

#appPage .charji-route-peek__rail {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0 2px 2px;
}

#appPage .charji-route-peek__railTag {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cr-dim, #94a3b8);
}

#appPage .charji-route-peek__railItem {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--cr-muted, #64748b);
}

#appPage .charji-route-peek__railDot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cr-dot, #22c98a);
}

#appPage .charji-route-overlay.is-map-peek .charji-route-panel {
  max-height: none;
  height: auto;
  overflow: visible;
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 0;
  background: transparent;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-panel__hero,
#appPage .charji-route-overlay.is-map-peek .charji-route-panel__scroll,
#appPage .charji-route-overlay.is-map-peek .charji-route-panel__dock,
#appPage .charji-route-overlay.is-map-peek .charji-route-panel__grab--card {
  display: none !important;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-panel__sheet {
  margin-top: 0;
  padding: 0;
  width: 100%;
  flex: 0 0 auto;
  min-height: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-panel__peek {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  overflow: visible;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-peek__stretch {
  display: block;
}

#appPage .charji-route-overlay.is-map-peek.is-peek-expanding .charji-route-peek__hud {
  padding-bottom: 12px;
  box-shadow: none;
}

#appPage .charji-route-overlay.is-map-peek.is-peek-expanding .charji-route-peek__stretch {
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-peek__body {
  display: flex;
}

#appPage .charji-route-overlay.is-map-peek .charji-route-peek__go {
  display: flex;
}

#appPage .charji-route-overlay.is-navigating {
  pointer-events: none;
}

#appPage .charji-route-overlay.is-navigating .charji-route-sheet__panel {
  display: none;
}

#appPage .charji-route-legend,
#appPage .charji-route-legend[hidden] {
  display: none !important;
}

#appPage .charji-route-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: #939bab;
}

#appPage .charji-route-legend__swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

#appPage .charji-route-alts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#appPage .charji-route-alt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
}

#appPage .charji-route-alt.is-active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
}

#appPage .charji-route-alt__title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

#appPage .charji-route-alt__sub {
  font-size: 11px;
  line-height: 1.35;
  color: #939bab;
}

.charji-route-alert-pin {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.charji-route-alert-pin__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.35);
  animation: charji-route-alert-pulse 2s ease-in-out infinite;
}

#appPage .charji-route-opts-prompt {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#appPage .charji-route-opts-prompt.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#appPage .charji-route-opts-prompt__card {
  width: min(100%, 520px);
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #f1f5f9;
  box-shadow: 0 -10px 36px rgba(15, 23, 42, 0.26);
  transform: translateY(100%);
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#appPage .charji-route-opts-prompt.is-visible .charji-route-opts-prompt__card {
  transform: translateY(0);
}

#appPage .charji-route-opts-prompt__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

#appPage .charji-route-opts-prompt__titleRow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
}

#appPage .charji-route-opts-prompt__titleIco {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #2563eb;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.14) 0%, rgba(37, 99, 235, 0.08) 100%);
}

#appPage .charji-route-opts-prompt__msg {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #939bab;
}

#appPage .charji-route-opts-prompt__lbl {
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
}

#appPage .charji-route-opts-prompt__sel {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  margin: 0 0 12px;
  padding: 11px 44px 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(30, 41, 59, 0.16);
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  background-color: #f8fafc;
  background-image:
    linear-gradient(45deg, transparent 50%, #475569 50%),
    linear-gradient(135deg, #475569 50%, transparent 50%),
    linear-gradient(to right, rgba(148, 163, 184, 0.32), rgba(148, 163, 184, 0.32));
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 13px) 52%,
    calc(100% - 38px) 50%;
  background-size: 5px 5px, 5px 5px, 1px 58%;
  background-repeat: no-repeat;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

#appPage .charji-route-opts-prompt__sel:hover {
  border-color: rgba(37, 99, 235, 0.36);
  background-color: #f1f5f9;
}

#appPage .charji-route-opts-prompt__sel:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.64);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
  background-color: #f1f5f9;
}

#appPage .charji-route-opts-prompt__selNative {
  display: none;
}

#appPage .charji-route-opts-prompt__select {
  position: relative;
  margin: 0 0 12px;
}

#appPage .charji-route-opts-prompt__selectBtn {
  width: 100%;
  text-align: left;
  padding: 11px 40px 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(30, 41, 59, 0.16);
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  background: #f8fafc;
  cursor: pointer;
  position: relative;
}

#appPage .charji-route-opts-prompt__selectBtn::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid #475569;
  border-bottom: 1.8px solid #475569;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.16s ease;
}

#appPage .charji-route-opts-prompt__select.is-open .charji-route-opts-prompt__selectBtn {
  border-color: rgba(37, 99, 235, 0.64);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
  background: #f1f5f9;
}

#appPage .charji-route-opts-prompt__select.is-open .charji-route-opts-prompt__selectBtn::after {
  transform: translateY(-35%) rotate(225deg);
}

#appPage .charji-route-opts-prompt__selectMenu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #f1f5f9;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
  display: none;
  max-height: 180px;
  overflow: auto;
}

#appPage .charji-route-opts-prompt__select.is-open .charji-route-opts-prompt__selectMenu {
  display: block;
}

#appPage .charji-route-opts-prompt__selectOpt {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: #0f172a;
  font-size: 14px;
  padding: 8px 10px;
  cursor: pointer;
}

#appPage .charji-route-opts-prompt__selectOpt:hover {
  background: rgba(37, 99, 235, 0.1);
}

#appPage .charji-route-opts-prompt__selectOpt.is-selected {
  background: #2563eb;
  color: #fff;
}

#appPage .charji-route-opts-prompt__range {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

#appPage .charji-route-opts-prompt__range input[type='range'] {
  flex: 1;
}

#appPage .charji-route-opts-prompt__actions {
  display: flex;
  margin-top: 6px;
}

#appPage .charji-route-opts-prompt__go {
  flex: 1;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: #3b82f6;
  color: #fff;
}

#appPage .charji-link-skip,
.charji-link-skip {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 12px 16px;
  min-height: 44px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#appPage .charji-route-arrival-prompt {
  position: fixed;
  inset: 0;
  z-index: 720;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.5);
  pointer-events: auto;
}

#appPage .charji-route-arrival-prompt.is-visible {
  display: flex;
}

#appPage .charji-route-arrival-prompt__card {
  width: min(100%, 340px);
  padding: 18px 16px 10px;
  border-radius: 18px;
  background: #f1f5f9;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.28);
}

#appPage .charji-route-arrival-prompt__titleRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}

#appPage .charji-route-arrival-prompt__titleIcon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #22c98a, #059669);
  color: #fff;
}

#appPage .charji-route-arrival-prompt__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

#appPage .charji-route-arrival-prompt__msg {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #939bab;
}

#appPage .charji-route-arrival-prompt__q {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #334155;
  text-wrap: pretty;
}

#appPage .charji-route-arrival-prompt__skip.charji-link-skip {
  margin: 6px 0 0;
  padding: 6px 12px;
  min-height: 0;
}

#appPage .charji-route-arrival-prompt__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#appPage .charji-route-arrival-prompt__ok,
#appPage .charji-route-arrival-prompt__no {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#appPage .charji-route-arrival-prompt__ok {
  background: linear-gradient(145deg, #22c98a, #059669);
  color: #fff;
}

#appPage .charji-route-arrival-prompt__no {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.charji-route-alert-pin__ic {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.45);
}

@keyframes charji-route-alert-pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.2;
  }
}

.charji-route-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
  filter: drop-shadow(0 3px 8px rgba(15, 23, 42, 0.35));
}

.charji-route-pin--tap {
  pointer-events: auto !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.charji-route-pin--tap:active {
  transform: scale(0.94);
}

.charji-route-pin__lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(26, 31, 43, 0.92);
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
}

.charji-route-pin--origin .charji-route-pin__diamond {
  width: 22px;
  height: 22px;
  background: linear-gradient(145deg, #10b981, #059669);
  transform: rotate(45deg);
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.45);
}

.charji-route-pin--dest {
  position: relative;
  width: 28px;
  height: 28px;
}

.charji-route-pin--dest .charji-route-pin__lbl {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
}

.charji-route-pin--dest .charji-route-pin__dest-mark {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.charji-route-pin--dest .charji-route-pin__dest-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #7c3aed;
  background: rgba(124, 58, 237, 0.12);
}

.charji-route-pin--dest .charji-route-pin__dest-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #7c3aed;
  border: 2px solid #fff;
}

.charji-route-pin--dest.charji-route-pin--dest-photo {
  width: 34px;
  height: 34px;
}

.charji-route-pin--dest.charji-route-pin--dest-photo .charji-route-pin__dest-mark {
  width: 32px;
  height: 32px;
}

.charji-route-pin--dest.charji-route-pin--dest-photo .charji-route-pin__dest-ring {
  border-color: #fff;
  border-width: 2px;
  background: #e2e8f0;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.28);
}

.charji-route-pin--dest.charji-route-pin--dest-photo .charji-route-pin__dest-photo {
  position: absolute;
  inset: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-sizing: border-box;
  background: #e2e8f0;
}

.charji-route-pin--charge-pick {
  position: relative;
  transform: scale(1.02);
  gap: 3px;
}

.charji-route-pin--charge-pick .charji-route-pin__charge-crown {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #fbbf24;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(180, 83, 9, 0.32);
}

.charji-route-pin--charge-pick .charji-route-pin__charge-pick-bolt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2563eb, #1e40af);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.8), 0 5px 14px rgba(37, 99, 235, 0.5);
}

.charji-route-pin--charge {
  transform: scale(1.08);
}

.charji-route-pin--charge .charji-route-pin__bolt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.55);
}

.charji-route-pin--limit .charji-route-pin__limit-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #8b5cf6;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border: 2px solid #fff;
}

.charji-route-pin--route .charji-route-pin__mini-bolt,
.charji-route-pin--station_fast .charji-route-pin__mini-bolt {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.charji-route-pin--station_fast .charji-route-pin__mini-bolt {
  background: linear-gradient(145deg, #22c98a, #059669);
}

.charji-route-pin--station_bad .charji-route-pin__mini-bolt {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.charji-route-pin--station_busy .charji-route-pin__mini-bolt {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.charji-route-pin--charge-pick.charji-route-pin--v-alt1 .charji-route-pin__charge-pick-bolt {
  background: linear-gradient(145deg, #14b8a6, #0f766e);
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.88), 0 5px 14px rgba(20, 184, 166, 0.48);
}
.charji-route-pin--charge-pick.charji-route-pin--v-alt1 .charji-route-pin__charge-crown {
  background: #eab308;
  box-shadow: 0 2px 5px rgba(161, 98, 7, 0.35);
}
.charji-route-pin--v-alt1.charji-route-pin--route .charji-route-pin__mini-bolt {
  background: #14b8a6;
}
.charji-route-pin--v-alt1.charji-route-pin--station_fast .charji-route-pin__mini-bolt {
  background: linear-gradient(145deg, #14b8a6, #0d9488);
}
.charji-route-pin--v-alt1.charji-route-pin--station_bad .charji-route-pin__mini-bolt {
  background: #f472b6;
}
.charji-route-pin--v-alt1.charji-route-pin--station_busy .charji-route-pin__mini-bolt {
  background: #eab308;
}

.charji-route-pin--charge-pick.charji-route-pin--v-alt2 .charji-route-pin__charge-pick-bolt {
  background: linear-gradient(145deg, #4ade80, #16a34a);
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.88), 0 5px 14px rgba(74, 222, 128, 0.45);
}
.charji-route-pin--charge-pick.charji-route-pin--v-alt2 .charji-route-pin__charge-crown {
  background: #fb923c;
  box-shadow: 0 2px 5px rgba(194, 65, 12, 0.35);
}
.charji-route-pin--v-alt2.charji-route-pin--route .charji-route-pin__mini-bolt {
  background: #4ade80;
}
.charji-route-pin--v-alt2.charji-route-pin--station_fast .charji-route-pin__mini-bolt {
  background: linear-gradient(145deg, #4ade80, #22c55e);
}
.charji-route-pin--v-alt2.charji-route-pin--station_bad .charji-route-pin__mini-bolt {
  background: #fb7185;
}
.charji-route-pin--v-alt2.charji-route-pin--station_busy .charji-route-pin__mini-bolt {
  background: #fb923c;
}

@keyframes charji-route-origin-pulse {
  0%,
  100% {
    transform: scale(0.85);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.25;
  }
}

#appPage .charji-route-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom, 12px));
  z-index: 609;
  pointer-events: auto;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(26, 31, 43, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid #e2e8f0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

#appPage .charji-route-nav.is-geo-paused {
  border-color: rgba(251, 191, 36, 0.65);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.22);
}

#appPage .charji-route-nav__geo-pause {
  margin: -4px -2px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  text-align: left;
}

#appPage .charji-route-nav__geo-pause[hidden] {
  display: none !important;
}

#appPage .charji-route-nav__geo-pause-t {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 800;
  color: #fde68a;
  letter-spacing: -0.02em;
}

#appPage .charji-route-nav__geo-pause-d {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #fcd34d;
}

#appPage .charji-route-nav__geo-pause-btn {
  width: 100%;
  min-height: 36px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  color: #1f2937;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#appPage .charji-route-nav.is-geo-paused .charji-route-nav__battery,
#appPage .charji-route-nav.is-geo-paused .charji-route-nav__stop {
  opacity: 0.45;
  pointer-events: none;
}

#appPage .charji-route-nav__battery-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

#appPage .charji-route-nav__battery-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

#appPage .charji-route-nav__battery-val {
  font-size: 15px;
  font-weight: 800;
  color: #059669;
}

#appPage .charji-route-nav__soc-track {
  position: relative;
  height: 12px;
  border-radius: 8px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 6px;
}

#appPage .charji-route-nav__soc-margin {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: rgba(251, 146, 60, 0.45);
  border-radius: 8px 0 0 8px;
  pointer-events: none;
  transition: width 0.15s ease;
}

#appPage .charji-route-nav__soc-green {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(90deg, #34d399, #059669);
  border-radius: 8px 0 0 8px;
  transition: width 0.15s ease;
}

#appPage .charji-route-nav-alerts-top {
  position: fixed;
  left: 12px;
  right: 12px;
  top: max(10px, env(safe-area-inset-top, 10px));
  z-index: 650;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#appPage .charji-route-nav-alerts-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#appPage .charji-route-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  pointer-events: auto;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.18);
  border: 1px solid transparent;
  backdrop-filter: blur(10px);
}

#appPage .charji-route-alert__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

#appPage .charji-route-alert__body {
  flex: 1;
  min-width: 0;
}

#appPage .charji-route-alert__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

#appPage .charji-route-alert__text {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  opacity: 0.92;
}

#appPage .charji-route-alert--info {
  background: rgba(56, 189, 248, 0.12);
  border-color: #7dd3fc;
  color: #bae6fd;
}

#appPage .charji-route-alert--info .charji-route-alert__icon {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

#appPage .charji-route-alert--warn {
  background: rgba(249, 115, 22, 0.14);
  border-color: #fcd34d;
  color: #fde68a;
}

#appPage .charji-route-alert--warn .charji-route-alert__icon {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

#appPage .charji-route-alert--danger {
  background: rgba(239, 68, 68, 0.14);
  border-color: #fca5a5;
  color: #fecaca;
}

#appPage .charji-route-alert--danger .charji-route-alert__icon {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

#appPage .charji-route-alert--critical {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.18) 0%, #1a1f2b 55%);
  border-color: #f87171;
  color: #fecaca;
  box-shadow: 0 12px 36px rgba(220, 38, 38, 0.22);
}

#appPage .charji-route-alert--critical .charji-route-alert__icon {
  background: rgba(239, 68, 68, 0.22);
  color: #fca5a5;
}

#appPage .charji-route-sim-pedal {
  position: fixed;
  left: max(10px, env(safe-area-inset-left, 10px));
  right: auto;
  bottom: calc(198px + env(safe-area-inset-bottom, 0px));
  z-index: 607;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#appPage .charji-route-sim-pedal.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

#appPage .charji-route-sim-pedal__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 48px;
  padding: 6px 5px 8px;
  border-radius: 14px;
  background: rgba(26, 31, 43, 0.94);
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}

#appPage .charji-route-sim-pedal__tag {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #2563eb;
  line-height: 1;
}

#appPage .charji-route-sim-pedal__speed {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

#appPage .charji-route-sim-pedal__val {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

#appPage .charji-route-sim-pedal__unit {
  font-size: 9px;
  font-weight: 700;
  color: #939bab;
  margin-top: 1px;
}

#appPage .charji-route-sim-pedal__range {
  width: 38px;
  height: 56px;
  margin: 0;
  writing-mode: vertical-lr;
  direction: rtl;
  accent-color: #2563eb;
  cursor: pointer;
}

#appPage .charji-route-nav__live-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11px;
  color: #939bab;
}

#appPage .charji-route-nav__speed {
  font-weight: 800;
  color: #0f172a;
  font-size: 12px;
}

#appPage .charji-route-nav__meta {
  text-align: right;
  flex: 1;
  line-height: 1.3;
}

#appPage .charji-route-nav__soc-slider {
  width: 100%;
  margin: 4px 0 6px;
  accent-color: #059669;
}

#appPage .charji-route-nav__hint {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.35;
  color: #939bab;
}

#appPage .charji-route-nav__stop {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
