    /* ============================================
       IDA & VOLTA GPS v6.0 — Stylesheet
       Aesthetic: Luxury dark, editorial, gold accent
       ============================================ */

    @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

    /* --- CSS Variables --- */
    :root {
      --deep: #07070d;
      --bg: #0c0c15;
      --card: #12121c;
      --card-hover: #171722;
      --surface: #1c1c2a;
      --border: rgba(255, 255, 255, 0.055);
      --border-hi: rgba(255, 255, 255, 0.10);
      --text: #eee9df;
      --text2: rgba(238, 233, 223, 0.55);
      --text3: rgba(238, 233, 223, 0.30);
      --gold: #c9a84c;
      --gold-dim: rgba(201, 168, 76, 0.13);
      --gold-glow: rgba(201, 168, 76, 0.25);
      --en2: #e07a3a;
      --rn: #4a9eda;
      --cp: #5db87c;
      --custom: #b47cf4;
      --red: #e05555;
      --radius: 16px;
      --radius-sm: 10px;
      --safe-b: env(safe-area-inset-bottom, 0px);
      --safe-t: env(safe-area-inset-top, 0px);
      --f-display: 'Cormorant Garamond', Georgia, serif;
      --f-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
      --f-mono: 'JetBrains Mono', 'Fira Code', monospace;
    }

    /* --- Reset --- */
    *, *::before, *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
      width: 100%;
      overflow: hidden;
      font-family: var(--f-body);
      font-weight: 400;
      background: var(--deep);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }

    button {
      font-family: var(--f-body);
      cursor: pointer;
      border: none;
      background: none;
      color: inherit;
    }

    a { color: var(--gold); text-decoration: none; }

    ::-webkit-scrollbar { width: 3px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

    /* --- Animations --- */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes shimmer {
      0% { background-position: -200% center; }
      100% { background-position: 200% center; }
    }
    @keyframes slideUp {
      from { opacity: 0; transform: translateY(60px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes pulseRing {
      0%, 100% { box-shadow: 0 0 0 0 var(--gold-glow); }
      50% { box-shadow: 0 0 24px 6px rgba(201, 168, 76, 0.10); }
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    @keyframes dotPulse {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(2.2); opacity: 0; }
    }

    /* --- Screen System --- */
    .screen {
      position: fixed;
      inset: 0;
      display: none;
      flex-direction: column;
      overflow: hidden;
      z-index: 100;
    }
    .screen.active {
      display: flex;
    }
    .screen-scroll {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

    /* --- Grain Overlay --- */
    .grain {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 99999;
      opacity: 0.4;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
    }

    /* --- Language Switcher --- */
    .lang-bar {
      position: absolute;
      top: calc(var(--safe-t) + 14px);
      right: 14px;
      z-index: 9000;
      display: flex;
      gap: 4px;
    }
    .lang-btn {
      padding: 4px 10px;
      border-radius: 100px;
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.025);
      color: var(--text3);
      font-size: 0.6rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      transition: all 0.2s;
    }
    .lang-btn:hover,
    .lang-btn.active {
      border-color: var(--gold);
      color: var(--gold);
      background: var(--gold-dim);
    }

    /* =====================
       SPLASH SCREEN
       ===================== */
    #splash {
      z-index: 9000;
      background: var(--deep);
      align-items: center;
      justify-content: center;
    }
    .splash-inner {
      text-align: center;
      padding: 2rem;
      animation: fadeUp 0.9s ease both;
    }
    .splash-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 6px 18px;
      border-radius: 100px;
      background: var(--gold-dim);
      border: 1px solid rgba(201,168,76,0.18);
      font-size: 0.62rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 2.4rem;
    }
    .splash-logo {
      margin-bottom: 1.8rem;
    }
    .splash-logo .word {
      display: block;
      font-family: var(--f-display);
      font-size: clamp(3.5rem, 12vw, 6rem);
      font-weight: 700;
      letter-spacing: 0.06em;
      line-height: 0.88;
    }
    .splash-logo .word-ida {
      background: linear-gradient(135deg, var(--text) 0%, var(--gold) 50%, var(--text) 100%);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: shimmer 5s ease infinite;
    }
    .splash-logo .amp {
      display: block;
      font-family: var(--f-display);
      font-style: italic;
      font-size: clamp(1rem, 3vw, 1.5rem);
      color: var(--gold);
      opacity: 0.5;
      margin: 0.4rem 0;
    }
    .splash-tagline {
      font-size: 0.88rem;
      font-weight: 300;
      color: var(--text2);
      line-height: 1.7;
      max-width: 280px;
      margin: 0 auto 2.5rem;
    }
    .splash-stats {
      display: flex;
      gap: 2.8rem;
      justify-content: center;
      margin-bottom: 3rem;
      animation: fadeIn 0.8s 0.3s ease both;
    }
    .splash-stat-num {
      font-family: var(--f-mono);
      font-size: 1.5rem;
      font-weight: 500;
      color: var(--gold);
    }
    .splash-stat-label {
      font-size: 0.58rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text3);
      margin-top: 3px;
    }
    .splash-cta {
      animation: fadeIn 0.8s 0.5s ease both;
    }
    .btn-gold {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 40px;
      border-radius: 100px;
      border: 1px solid var(--gold);
      background: linear-gradient(135deg, rgba(201,168,76,0.14), rgba(201,168,76,0.03));
      color: var(--gold);
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.03em;
      transition: all 0.3s;
      animation: pulseRing 3s ease infinite;
    }
    .btn-gold:hover {
      background: rgba(201,168,76,0.18);
      transform: translateY(-2px);
    }

    /* =====================
       ROUTE SELECTOR
       ===================== */
    #routes {
      z-index: 8000;
      background: var(--deep);
    }
    .rs-header {
      padding: calc(var(--safe-t) + 1.8rem) 1.5rem 1.2rem;
      text-align: center;
    }
    .rs-header h2 {
      font-family: var(--f-display);
      font-size: 1.6rem;
      font-weight: 700;
    }
    .rs-header p {
      color: var(--text2);
      font-size: 0.78rem;
      font-weight: 300;
      margin-top: 0.3rem;
    }
    .rs-list {
      padding: 0.8rem 1.2rem 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    /* Route Card */
    .route-card {
      position: relative;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: var(--card);
      padding: 1.5rem;
      cursor: pointer;
      transition: all 0.25s;
      overflow: hidden;
    }
    .route-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
    }
    .route-card[data-route="en2"]::before { background: var(--en2); }
    .route-card[data-route="rn"]::before { background: var(--rn); }
    .route-card[data-route="cp"]::before { background: var(--cp); }
    .route-card[data-route="custom"]::before { background: var(--custom); }
    .route-card:active { transform: scale(0.985); }
    .route-card:hover {
      border-color: var(--border-hi);
      background: var(--card-hover);
    }
    .rc-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 0.8rem;
    }
    .rc-icon {
      width: 44px; height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
    }
    .route-card[data-route="en2"] .rc-icon { background: rgba(224,122,58,0.10); }
    .route-card[data-route="rn"] .rc-icon { background: rgba(74,158,218,0.10); }
    .route-card[data-route="cp"] .rc-icon { background: rgba(93,184,124,0.10); }
    .route-card[data-route="custom"] .rc-icon { background: rgba(180,124,244,0.10); }
    .rc-km {
      font-family: var(--f-mono);
      font-size: 0.68rem;
      color: var(--text3);
      padding: 4px 11px;
      border-radius: 100px;
      background: rgba(255,255,255,0.03);
    }
    .rc-name {
      font-family: var(--f-display);
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 0.25rem;
    }
    .rc-desc {
      font-size: 0.78rem;
      font-weight: 300;
      color: var(--text2);
      margin-bottom: 1rem;
    }
    .rc-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .rc-tag {
      font-size: 0.6rem;
      padding: 3px 10px;
      border-radius: 100px;
      background: rgba(255,255,255,0.03);
      color: var(--text2);
      border: 1px solid var(--border);
    }
    .rc-arrow {
      position: absolute;
      right: 1.5rem; bottom: 1.5rem;
      width: 32px; height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.03);
      color: var(--text3);
      font-size: 0.9rem;
      transition: all 0.3s;
    }
    .route-card:hover .rc-arrow {
      background: var(--gold-dim);
      color: var(--gold);
    }

    /* =====================
       BOTTOM SHEET (Plan)
       ===================== */
    .sheet-overlay {
      position: fixed;
      inset: 0;
      z-index: 8500;
      display: none;
      align-items: flex-end;
      justify-content: center;
      background: rgba(0,0,0,0.50);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .sheet-overlay.active { display: flex; }

    .sheet {
      width: 100%;
      max-width: 460px;
      background: var(--card);
      border-radius: var(--radius) var(--radius) 0 0;
      padding: 1.4rem 1.6rem calc(1.6rem + var(--safe-b));
      animation: slideUp 0.35s ease;
      max-height: 88vh;
      overflow-y: auto;
    }
    .sheet-handle {
      width: 38px; height: 4px;
      border-radius: 2px;
      background: rgba(255,255,255,0.12);
      margin: 0 auto 1.3rem;
    }
    .sheet-title {
      font-family: var(--f-display);
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 0.2rem;
    }
    .sheet-subtitle {
      font-size: 0.72rem;
      font-weight: 300;
      color: var(--text2);
      margin-bottom: 1.4rem;
    }

    .section-label {
      font-size: 0.6rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text3);
      margin-bottom: 0.7rem;
    }

    /* Vehicle Grid */
    .vehicle-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-bottom: 1.5rem;
    }
    .vehicle-opt {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
      padding: 15px 8px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      background: var(--surface);
      transition: all 0.2s;
      font-size: 0.75rem;
      font-weight: 400;
      color: var(--text2);
    }
    .vehicle-opt .vehicle-emoji { font-size: 1.5rem; }
    .vehicle-opt:hover,
    .vehicle-opt.selected {
      border-color: var(--gold);
      background: var(--gold-dim);
      color: var(--gold);
    }

    /* Day Planner */
    .day-planner {
      margin-bottom: 1.5rem;
      display: none;
    }
    .day-planner.visible { display: block; }

    .day-suggestion {
      font-size: 0.72rem;
      color: var(--gold);
      background: var(--gold-dim);
      padding: 9px 14px;
      border-radius: var(--radius-sm);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .day-counter {
      display: flex;
      align-items: center;
      gap: 12px;
      justify-content: center;
      margin-bottom: 1.2rem;
    }
    .day-counter button {
      width: 48px; height: 48px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--text);
      font-size: 1.3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s;
    }
    .day-counter button:hover {
      border-color: var(--gold);
      color: var(--gold);
    }
    .day-counter-value {
      text-align: center;
      min-width: 80px;
    }
    .day-counter-num {
      font-family: var(--f-mono);
      font-size: 2.4rem;
      font-weight: 500;
      line-height: 1;
    }
    .day-counter-unit {
      font-size: 0.65rem;
      color: var(--text3);
      margin-top: 4px;
    }

    /* Day Preview Cards */
    .day-preview {
      max-height: 200px;
      overflow-y: auto;
      margin-bottom: 1.2rem;
      display: none;
    }
    .day-preview.visible { display: block; }

    .day-preview-card {
      padding: 10px 12px;
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.018);
      border: 1px solid var(--border);
      margin-bottom: 6px;
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }
    .dpc-badge {
      font-family: var(--f-mono);
      font-size: 0.62rem;
      font-weight: 600;
      color: var(--gold);
      background: var(--gold-dim);
      padding: 3px 9px;
      border-radius: 6px;
      white-space: nowrap;
      margin-top: 2px;
    }
    .dpc-info {
      flex: 1;
      font-size: 0.7rem;
      font-weight: 300;
      color: var(--text2);
      line-height: 1.55;
    }
    .dpc-info strong {
      color: var(--text);
      font-weight: 500;
    }
    .dpc-km {
      font-family: var(--f-mono);
      font-size: 0.6rem;
      color: var(--text3);
      white-space: nowrap;
      margin-top: 2px;
    }

    .btn-start {
      width: 100%;
      padding: 15px;
      border-radius: 100px;
      border: none;
      background: var(--gold);
      color: var(--deep);
      font-size: 0.88rem;
      font-weight: 700;
      transition: all 0.2s;
      letter-spacing: 0.02em;
      margin-top: 0.5rem;
    }
    .btn-start:hover { filter: brightness(1.1); }
    .btn-start:disabled { opacity: 0.3; cursor: default; }

    /* =====================
       MAP VIEW
       ===================== */
    #mapView {
      z-index: 500;
      display: none;
      position: fixed;
      inset: 0;
    }
    #mapView.active { display: block; }
    #map { width: 100%; height: 100%; }

    /* Leaflet overrides */
    .leaflet-control-zoom { display: none !important; }
    .leaflet-control-attribution {
      background: rgba(12,12,21,0.82) !important;
      color: var(--text3) !important;
      font-size: 9px !important;
      backdrop-filter: blur(6px);
    }
    .leaflet-control-attribution a { color: var(--text2) !important; }
    .leaflet-popup-content-wrapper {
      background: var(--card) !important;
      color: var(--text) !important;
      border-radius: 12px !important;
      border: 1px solid var(--border-hi) !important;
      box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
    }
    .leaflet-popup-tip { background: var(--card) !important; }
    .leaflet-popup-content {
      font-family: var(--f-body) !important;
      font-size: 0.8rem;
      margin: 12px 16px !important;
    }
    .leaflet-popup-close-button {
      color: var(--text2) !important;
      font-size: 20px !important;
    }

    /* Top Bar */
    .map-topbar {
      position: absolute;
      top: 0; left: 0; right: 0;
      z-index: 1000;
      padding: calc(var(--safe-t) + 10px) 12px 10px;
      display: flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(to bottom, rgba(7,7,13,0.90), transparent);
      pointer-events: none;
    }
    .map-topbar > * { pointer-events: auto; }

    .topbar-btn {
      width: 42px; height: 42px;
      border-radius: 12px;
      border: 1px solid var(--border-hi);
      background: rgba(12,12,21,0.72);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text);
      font-size: 1.1rem;
      transition: all 0.2s;
    }
    .topbar-btn:hover { background: rgba(20,20,30,0.88); }

    .topbar-info {
      flex: 1;
      text-align: center;
      padding: 8px 14px;
      border-radius: 12px;
      background: rgba(12,12,21,0.72);
      backdrop-filter: blur(14px);
      border: 1px solid var(--border-hi);
    }
    .topbar-route-name {
      font-family: var(--f-display);
      font-size: 0.88rem;
      font-weight: 700;
    }
    .topbar-route-sub {
      font-size: 0.58rem;
      font-weight: 300;
      color: var(--text2);
      margin-top: 1px;
    }

    /* Day Chips */
    .day-chips {
      position: absolute;
      top: calc(var(--safe-t) + 62px);
      left: 12px;
      right: 62px;
      z-index: 1000;
      display: flex;
      gap: 5px;
      overflow-x: auto;
      padding-bottom: 6px;
      -webkit-overflow-scrolling: touch;
      pointer-events: auto;
    }
    .day-chips::-webkit-scrollbar { display: none; }

    .day-chip {
      padding: 5px 13px;
      border-radius: 100px;
      font-size: 0.62rem;
      font-weight: 600;
      border: 1px solid var(--border);
      background: rgba(12,12,21,0.72);
      backdrop-filter: blur(12px);
      color: var(--text2);
      cursor: pointer;
      transition: all 0.2s;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .day-chip.active {
      border-color: var(--gold);
      color: var(--gold);
      background: var(--gold-dim);
    }
    .day-chip:hover {
      border-color: var(--border-hi);
      color: var(--text);
    }

    /* Map Controls (Right) */
    .map-controls {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .map-ctrl-btn {
      width: 44px; height: 44px;
      border-radius: 13px;
      border: 1px solid var(--border-hi);
      background: rgba(12,12,21,0.72);
      backdrop-filter: blur(14px);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text2);
      font-size: 1.1rem;
      transition: all 0.2s;
    }
    .map-ctrl-btn:hover {
      color: var(--text);
      background: rgba(20,20,30,0.88);
    }
    .map-ctrl-btn.active {
      border-color: var(--gold);
      color: var(--gold);
    }

    /* Bottom HUD */
    .hud-wrap {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      z-index: 1000;
      padding: 0 12px calc(var(--safe-b) + 12px);
    }
    .hud {
      background: rgba(12,12,21,0.88);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-radius: var(--radius);
      border: 1px solid var(--border-hi);
      padding: 16px;
    }
    .hud-speed-display {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 6px;
      margin-bottom: 12px;
    }
    .hud-speed-val {
      font-family: var(--f-mono);
      font-size: 3rem;
      font-weight: 500;
      line-height: 1;
    }
    .hud-speed-unit {
      font-size: 0.62rem;
      color: var(--text3);
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
    .hud-metrics {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1px;
      background: var(--border);
      border-radius: var(--radius-sm);
      overflow: hidden;
      margin-bottom: 12px;
    }
    .hud-metric {
      background: rgba(255,255,255,0.018);
      padding: 10px 6px;
      text-align: center;
    }
    .hud-metric-val {
      font-family: var(--f-mono);
      font-size: 0.95rem;
      font-weight: 500;
    }
    .hud-metric-label {
      font-size: 0.5rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text3);
      margin-top: 2px;
    }
    .hud-progress {
      margin-bottom: 12px;
    }
    .hud-progress-bar {
      height: 4px;
      border-radius: 2px;
      background: rgba(255,255,255,0.05);
      overflow: hidden;
    }
    .hud-progress-fill {
      height: 100%;
      border-radius: 2px;
      background: var(--gold);
      transition: width 0.5s ease;
      width: 0%;
    }
    .hud-progress-text {
      display: flex;
      justify-content: space-between;
      font-size: 0.56rem;
      color: var(--text3);
      margin-top: 4px;
    }
    .hud-actions {
      display: flex;
      gap: 7px;
    }
    .hud-btn {
      flex: 1;
      padding: 10px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.02);
      color: var(--text2);
      font-size: 0.7rem;
      font-weight: 500;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      transition: all 0.2s;
    }
    .hud-btn:hover {
      background: rgba(255,255,255,0.05);
      color: var(--text);
    }
    .hud-btn.active {
      border-color: var(--gold);
      background: var(--gold-dim);
      color: var(--gold);
    }
    .hud-btn.primary {
      border-color: var(--gold);
      background: var(--gold);
      color: var(--deep);
      font-weight: 700;
    }

    /* =====================
       ELEVATION PANEL
       ===================== */
    #elevationPanel {
      position: absolute;
      bottom: calc(var(--safe-b) + 215px);
      left: 12px; right: 12px;
      z-index: 1001;
      background: rgba(12,12,21,0.92);
      backdrop-filter: blur(18px);
      border-radius: var(--radius);
      border: 1px solid var(--border-hi);
      padding: 14px;
      display: none;
    }
    #elevationPanel.active { display: block; }

    .elev-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    .elev-title {
      font-family: var(--f-display);
      font-size: 0.9rem;
      font-weight: 700;
    }
    .elev-close {
      width: 28px; height: 28px;
      border-radius: 8px;
      border: none;
      background: rgba(255,255,255,0.05);
      color: var(--text2);
      cursor: pointer;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .elev-canvas-wrap {
      height: 95px;
      border-radius: var(--radius-sm);
      overflow: hidden;
      background: rgba(255,255,255,0.015);
    }
    #elevationCanvas { width: 100%; height: 100%; display: block; }
    .elev-stats {
      display: flex;
      justify-content: space-around;
      margin-top: 8px;
    }
    .elev-stat-val {
      font-family: var(--f-mono);
      font-size: 0.78rem;
      font-weight: 500;
      text-align: center;
    }
    .elev-stat-label {
      font-size: 0.48rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text3);
      margin-top: 1px;
      text-align: center;
    }

    /* =====================
       SIDEBAR
       ===================== */
    #sidebarOverlay {
      position: fixed; inset: 0;
      z-index: 99990;
      background: rgba(0,0,0,0.45);
      backdrop-filter: blur(5px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.35s;
    }
    #sidebarOverlay.active { opacity: 1; pointer-events: auto; }

    #sidebar {
      position: fixed;
      top: 0; left: 0; bottom: 0;
      width: min(310px, 85vw);
      z-index: 99991;
      background: var(--bg);
      border-right: 1px solid var(--border);
      transform: translateX(-100%);
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }
    #sidebar.open { transform: translateX(0); }

    .sb-header {
      padding: calc(var(--safe-t) + 1.6rem) 1.5rem 1rem;
      border-bottom: 1px solid var(--border);
    }
    .sb-logo {
      font-family: var(--f-display);
      font-size: 1.4rem;
      font-weight: 700;
    }
    .sb-logo span { color: var(--gold); }
    .sb-version {
      font-size: 0.58rem;
      color: var(--text3);
      margin-top: 2px;
    }
    .sb-section {
      padding: 0.8rem 1.5rem;
    }
    .sb-section-title {
      font-size: 0.52rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text3);
      margin-bottom: 0.6rem;
    }
    .sb-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 0;
      cursor: pointer;
      color: var(--text2);
      font-size: 0.82rem;
      font-weight: 400;
      transition: color 0.2s;
    }
    .sb-item:hover { color: var(--text); }
    .sb-item-icon {
      font-size: 1.05rem;
      width: 24px;
      text-align: center;
    }
    .sb-divider {
      height: 1px;
      background: var(--border);
      margin: 0 1.5rem;
    }
    .sb-footer {
      margin-top: auto;
      padding: 1.5rem;
      border-top: 1px solid var(--border);
      text-align: center;
    }
    .sb-footer p {
      font-size: 0.58rem;
      color: var(--text3);
      line-height: 1.7;
    }

    /* =====================
       PASSPORT MODAL
       ===================== */
    #passportOverlay {
      position: fixed; inset: 0;
      z-index: 8000;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(0,0,0,0.60);
      backdrop-filter: blur(8px);
      padding: 1rem;
    }
    #passportOverlay.active { display: flex; }

    .passport {
      width: 100%;
      max-width: 390px;
      background: var(--card);
      border-radius: var(--radius);
      border: 1px solid var(--border-hi);
      overflow: hidden;
      animation: slideUp 0.35s ease;
    }
    .passport-header {
      padding: 1.5rem;
      text-align: center;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(135deg, rgba(201,168,76,0.05), transparent);
    }
    .passport-header h3 {
      font-family: var(--f-display);
      font-size: 1.2rem;
      font-weight: 700;
    }
    .passport-header p {
      font-size: 0.68rem;
      color: var(--text2);
      margin-top: 4px;
    }
    .passport-list {
      padding: 1rem;
      max-height: 350px;
      overflow-y: auto;
    }
    .passport-day-header {
      padding: 6px 0;
      margin-top: 6px;
    }
    .passport-day-header span {
      font-size: 0.58rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--gold);
      background: var(--gold-dim);
      padding: 3px 11px;
      border-radius: 100px;
    }
    .passport-stamp {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid var(--border);
    }
    .passport-stamp:last-child { border-bottom: none; }
    .passport-stamp-icon {
      width: 36px; height: 36px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      background: var(--gold-dim);
      flex-shrink: 0;
    }
    .passport-stamp-icon.visited { background: rgba(93,184,124,0.12); }
    .passport-stamp-info { flex: 1; }
    .passport-stamp-name {
      font-size: 0.84rem;
      font-weight: 500;
    }
    .passport-stamp-detail {
      font-size: 0.6rem;
      color: var(--text3);
      margin-top: 2px;
    }
    .passport-stamp-check {
      font-size: 0.95rem;
      color: var(--text3);
    }
    .passport-stamp-check.visited { color: var(--cp); }
    .passport-footer {
      padding: 0.9rem 1.5rem;
      border-top: 1px solid var(--border);
      display: flex;
      gap: 8px;
    }
    .passport-footer button {
      flex: 1;
      padding: 11px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      background: rgba(255,255,255,0.025);
      color: var(--text2);
      font-size: 0.78rem;
      font-weight: 400;
    }
    .passport-footer button.primary {
      border-color: var(--gold);
      background: var(--gold);
      color: var(--deep);
      font-weight: 600;
    }

    /* =====================
       POI & USER MARKERS
       ===================== */
    .poi-marker {
      width: 32px; height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      border: 2px solid;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
      cursor: pointer;
      transition: transform 0.2s;
    }
    .poi-marker:hover { transform: scale(1.18); }
    .poi-marker.visited { opacity: 0.4; filter: grayscale(0.5); }

    .user-dot {
      width: 16px; height: 16px;
      border-radius: 50%;
      background: #3b82f6;
      border: 3px solid white;
      box-shadow: 0 0 0 3px rgba(59,130,246,0.30), 0 2px 10px rgba(0,0,0,0.3);
    }
    .user-dot-pulse {
      position: absolute;
      width: 40px; height: 40px;
      border-radius: 50%;
      background: rgba(59,130,246,0.18);
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      animation: dotPulse 2s ease infinite;
    }

    /* =====================
       TOAST & LOADING
       ===================== */
    .toast {
      position: fixed;
      bottom: calc(var(--safe-b) + 80px);
      left: 50%;
      transform: translateX(-50%) translateY(18px);
      z-index: 99998;
      padding: 10px 22px;
      border-radius: 100px;
      background: var(--card);
      border: 1px solid var(--border-hi);
      color: var(--text);
      font-size: 0.78rem;
      font-weight: 500;
      box-shadow: 0 10px 36px rgba(0,0,0,0.4);
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s;
      white-space: nowrap;
    }
    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    #loadingOverlay {
      position: fixed; inset: 0;
      z-index: 9500;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(7,7,13,0.88);
      backdrop-filter: blur(10px);
    }
    #loadingOverlay.active { display: flex; }
    .loading-spinner {
      width: 38px; height: 38px;
      border: 3px solid var(--border);
      border-top-color: var(--gold);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin: 0 auto 16px;
    }
    .loading-text {
      font-size: 0.82rem;
      color: var(--text2);
      text-align: center;
    }

    /* =====================
       WEATHER PANEL
       ===================== */
    #weatherPanel {
      position: fixed;
      bottom: calc(var(--safe-b) + 210px);
      left: 12px; right: 12px;
      z-index: 5000;
      background: rgba(12,12,21,0.92);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-radius: var(--radius);
      border: 1px solid var(--border-hi);
      padding: 14px 14px 10px;
      display: none;
    }
    #weatherPanel.active { display: block; }

    .wx-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    .wx-title {
      font-family: var(--f-display);
      font-size: 0.9rem;
      font-weight: 700;
    }
    .wx-close {
      width: 28px; height: 28px;
      border-radius: 8px;
      border: none;
      background: rgba(255,255,255,0.05);
      color: var(--text2);
      cursor: pointer;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .wx-scroll {
      display: block;
      overflow-y: auto;
      max-height: 260px;
      -webkit-overflow-scrolling: touch;
    }
    .wx-scroll::-webkit-scrollbar { display: none; }

    .wx-card {
      flex-shrink: 0;
      width: 86px;
      border-radius: var(--radius-sm);
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      padding: 10px 8px;
      text-align: center;
    }
    .wx-card-day {
      font-size: 0.5rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--gold);
      margin-bottom: 4px;
      line-height: 1.4;
    }
    .wx-card-icon { font-size: 1.5rem; line-height: 1; margin: 4px 0; }
    .wx-card-temp {
      font-family: var(--f-mono);
      font-size: 0.7rem;
      font-weight: 500;
    }
    .wx-card-desc {
      font-size: 0.5rem;
      color: var(--text2);
      margin-top: 3px;
      line-height: 1.3;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .wx-card-rain {
      font-size: 0.5rem;
      color: #4a9eda;
      margin-top: 2px;
    }
    .wx-loading {
      font-size: 0.75rem;
      color: var(--text2);
      text-align: center;
      padding: 14px 0;
      width: 100%;
    }

    /* =====================
       INSTALL BANNER
       ===================== */
    #installBanner {
      position: fixed;
      bottom: 0; left: 0; right: 0;
      z-index: 9997;
      background: var(--card);
      border-top: 1px solid var(--border-hi);
      padding: 14px 16px calc(14px + var(--safe-b));
      display: none;
      align-items: center;
      gap: 12px;
      animation: slideUp 0.35s ease;
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
    }
    #installBanner.show { display: flex; }
    .ib-icon { font-size: 1.4rem; flex-shrink: 0; }
    .ib-text { flex: 1; min-width: 0; }
    .ib-title {
      font-size: 0.82rem;
      font-weight: 600;
      margin-bottom: 2px;
    }
    .ib-sub {
      font-size: 0.65rem;
      color: var(--text2);
    }
    .ib-btns { display: flex; gap: 7px; flex-shrink: 0; }
    .ib-btn-install {
      padding: 8px 16px;
      border-radius: 100px;
      border: 1px solid var(--gold);
      background: var(--gold);
      color: var(--deep);
      font-size: 0.72rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      font-family: var(--f-body);
    }
    .ib-btn-dismiss {
      padding: 8px 12px;
      border-radius: 100px;
      border: 1px solid var(--border);
      background: none;
      color: var(--text2);
      font-size: 0.72rem;
      cursor: pointer;
      white-space: nowrap;
      font-family: var(--f-body);
    }

    /* Date input */
    .date-input-wrap {
      margin-bottom: 1.2rem;
    }
    .date-input-wrap input[type="date"] {
      width: 100%;
      padding: 12px 14px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      background: var(--surface);
      color: var(--text);
      font-family: var(--f-body);
      font-size: 0.82rem;
      outline: none;
      cursor: pointer;
      -webkit-appearance: none;
    }
    .date-input-wrap input[type="date"]:focus {
      border-color: var(--gold);
    }
    .date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
      filter: invert(0.6);
      cursor: pointer;
    }

    /* Custom route upload area */
    .custom-upload-hint {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 0.6rem;
      padding: 8px 12px;
      border-radius: var(--radius-sm);
      background: rgba(180,124,244,0.07);
      border: 1px solid rgba(180,124,244,0.18);
    }
    .custom-upload-hint span {
      font-size: 0.68rem;
      color: var(--custom);
    }

    /* --- Responsive --- */
    @media (min-width: 768px) {
      .hud { max-width: 440px; margin: 0 auto; }
      #elevationPanel, #weatherPanel {
        max-width: 520px;
        left: 50%; right: auto;
        transform: translateX(-50%);
        width: calc(100% - 24px);
      }
    }

    /* ============================================================
       NEW FEATURES — v7.0
       SOS Modal, About Screen, GPX compact card
       ============================================================ */

    /* --- Compact GPX card (route list) --- */
    .route-card-gpx {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 16px;
      background: rgba(180,124,244,0.06);
      border: 1px solid rgba(180,124,244,0.2);
      border-radius: var(--radius-sm);
      cursor: pointer;
      margin-bottom: 10px;
      transition: background 0.15s;
    }
    .route-card-gpx:active { background: rgba(180,124,244,0.12); }
    .rcg-name { flex: 1; font-size: 0.82rem; color: var(--custom); }
    .rcg-arrow { color: var(--custom); opacity: 0.6; }

    /* --- HUD SOS Button --- */
    .hud-sos-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(224,85,85,0.12);
      border: 1px solid rgba(224,85,85,0.28);
      color: var(--red);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      cursor: pointer;
      flex-shrink: 0;
    }
    .hud-sos-btn:active { background: rgba(224,85,85,0.28); }

    /* --- SOS Modal --- */
    .sos-overlay {
      position: fixed;
      inset: 0;
      background: rgba(7,7,13,0.88);
      z-index: 98000;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }
    .sos-overlay.active {
      opacity: 1;
      pointer-events: all;
    }
    .sos-sheet {
      background: var(--card);
      border: 1px solid rgba(224,85,85,0.25);
      border-radius: var(--radius) var(--radius) 0 0;
      padding: 20px 20px calc(28px + var(--safe-b)) 20px;
      width: 100%;
      max-width: 480px;
      animation: slideUp 0.28s ease;
    }
    .sos-handle {
      width: 36px;
      height: 3px;
      background: var(--border-hi);
      border-radius: 2px;
      margin: 0 auto 18px;
    }
    .sos-title {
      font-family: var(--f-display);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--red);
      text-align: center;
      letter-spacing: 0.04em;
      margin-bottom: 4px;
    }
    .sos-coords {
      text-align: center;
      font-family: var(--f-mono);
      font-size: 0.68rem;
      color: var(--text3);
      margin-bottom: 18px;
    }
    .sos-actions {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .sos-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 14px;
      border-radius: var(--radius-sm);
      font-size: 0.9rem;
      font-weight: 500;
      font-family: var(--f-body);
      cursor: pointer;
      border: none;
      transition: opacity 0.15s, transform 0.1s;
      width: 100%;
    }
    .sos-btn:active { opacity: 0.75; transform: scale(0.98); }
    .sos-btn-call {
      background: var(--red);
      color: #fff;
      font-size: 1.05rem;
      padding: 18px;
    }
    .sos-btn-share {
      background: rgba(201,168,76,0.10);
      border: 1px solid rgba(201,168,76,0.28);
      color: var(--gold);
    }
    .sos-btn-wa {
      background: rgba(37,211,102,0.08);
      border: 1px solid rgba(37,211,102,0.22);
      color: #25d366;
    }
    .sos-btn-dismiss {
      background: var(--surface);
      color: var(--text2);
      font-size: 0.82rem;
    }

    /* --- About Screen --- */
    #about {
      background: var(--bg);
      overflow: hidden;
    }
    .about-scroll {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .about-header {
      background: linear-gradient(180deg, var(--deep) 0%, var(--bg) 100%);
      padding: calc(var(--safe-t) + 52px) 24px 32px;
      text-align: center;
      position: relative;
    }
    .about-back {
      position: absolute;
      top: calc(var(--safe-t) + 14px);
      left: 16px;
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 50%;
      color: var(--text);
      cursor: pointer;
      font-size: 1rem;
    }
    .about-logo {
      font-family: var(--f-display);
      font-size: 2.6rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      line-height: 1;
      color: var(--text);
      margin-bottom: 6px;
    }
    .about-logo span { color: var(--gold); }
    .about-tagline {
      font-size: 0.78rem;
      color: var(--text2);
      letter-spacing: 0.04em;
    }
    .about-version {
      display: inline-block;
      margin-top: 10px;
      font-family: var(--f-mono);
      font-size: 0.62rem;
      color: var(--text3);
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 3px 10px;
      letter-spacing: 0.08em;
    }
    .about-body {
      padding: 0 16px 48px;
    }
    .about-section {
      margin-bottom: 28px;
    }
    .about-section-label {
      font-size: 0.6rem;
      letter-spacing: 0.14em;
      color: var(--gold);
      text-transform: uppercase;
      font-family: var(--f-mono);
      margin-bottom: 12px;
      padding-top: 4px;
    }
    .about-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      margin-bottom: 10px;
    }
    .about-card-icon { font-size: 1.4rem; margin-bottom: 8px; display: block; }
    .about-card-title {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 4px;
    }
    .about-card-text {
      font-size: 0.76rem;
      color: var(--text2);
      line-height: 1.65;
    }
    .about-feature-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }
    .about-feat {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 14px 12px;
      text-align: center;
    }
    .about-feat .fi { font-size: 1.5rem; display: block; margin-bottom: 5px; }
    .about-feat .fl { font-size: 0.7rem; color: var(--text2); }
    .about-credit-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      font-size: 0.8rem;
    }
    .about-credit-row:last-child { border-bottom: none; }
    .about-credit-name { color: var(--text); font-weight: 500; }
    .about-credit-role { color: var(--text3); font-size: 0.7rem; }
    .about-credit-icon { font-size: 1.1rem; }
    .about-footer-text {
      text-align: center;
      font-size: 0.72rem;
      color: var(--text3);
      margin-top: 8px;
      line-height: 1.8;
    }

    /* --- Weather panel improvements --- */
    .wx-now-card {
      background: var(--surface);
      border: 1px solid var(--border-hi);
      border-radius: var(--radius-sm);
      padding: 14px 16px;
      margin-bottom: 12px;
    }
    .wx-now-label {
      font-size: 0.65rem;
      letter-spacing: 0.08em;
      color: var(--text3);
      text-transform: uppercase;
      font-family: var(--f-mono);
      margin-bottom: 6px;
    }
    .wx-now-main {
      font-size: 1.6rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 4px;
    }
    .wx-now-detail {
      font-size: 0.75rem;
      color: var(--text2);
    }
    .wx-section-label {
      font-size: 0.58rem;
      letter-spacing: 0.12em;
      color: var(--gold);
      text-transform: uppercase;
      font-family: var(--f-mono);
      margin: 12px 0 8px;
    }
    .wx-stop-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 9px 0;
      border-bottom: 1px solid var(--border);
      gap: 8px;
    }
    .wx-stop-row:last-of-type { border-bottom: none; }
    .wx-stop-name {
      font-size: 0.8rem;
      color: var(--text);
      font-weight: 500;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .wx-stop-wx {
      font-size: 0.72rem;
      color: var(--text2);
      flex-shrink: 0;
    }
    .wx-day-scroll {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 4px;
      -webkit-overflow-scrolling: touch;
    }
    .wx-day-scroll::-webkit-scrollbar { height: 2px; }

    /* --- Routes screen header --- */
    .rs-topbar-btn {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--surface);
      border: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      cursor: pointer;
      color: var(--text);
      touch-action: manipulation;
      pointer-events: auto;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }
    .rs-topbar-btn:active { background: var(--card-hover); }
    .rs-gpx-link {
      text-align: center;
      padding: 10px 0 4px;
      font-size: 0.76rem;
      color: var(--custom);
      cursor: pointer;
      opacity: 0.8;
    }
    .rs-gpx-link:active { opacity: 1; }

    /* --- HUD toggle --- */
    .hud-wrap.hud-hidden .hud { display: none; }
    #hudPeek {
      position: absolute;
      bottom: calc(16px + var(--safe-b));
      right: 16px;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--card);
      border: 1px solid var(--border-hi);
      color: var(--text2);
      font-size: 1rem;
      display: none;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 1002;
      box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    }
    #hudPeek.visible { display: flex; }

    /* --- Voice button --- */
    .map-ctrl-btn.active { color: var(--gold); background: var(--gold-dim); }

    /* --- Weather badge (routes screen + map topbar) --- */
    .wx-badge {
      font-size: 0.78rem;
      color: var(--text2);
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 100px;
      padding: 5px 10px;
      white-space: nowrap;
      cursor: pointer;
      line-height: 1;
      flex-shrink: 0;
      touch-action: manipulation;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }
    /* map topbar variant — matches other topbar buttons */
    #wxBadgeMap {
      background: rgba(12,12,21,0.72);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border-color: var(--border-hi);
    }

    /* --- Routes topbar fix --- */
    .rs-topbar {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 8px;
      padding: calc(var(--safe-t) + 12px) 16px 0;
      position: relative;
      z-index: 9001;
      pointer-events: auto;
    }
