/* Use the approved offer yellow for the bonus balance in both locations. */
body.ev-map-proposal #map-wallet .ev-map-bonus-r8 > .ev-map-bonus-amount-r8,
body.profile-screen .ev-profile-wallet .ev-map-bonus-r8 > .ev-map-bonus-amount-r8 {
  background: linear-gradient(125deg, #fff36a, #ffc345);
  color: #182316;
  box-shadow: 0 0 10px #ffc34555, inset 0 1px 0 #fffbc999;
}

/* Keep the navigation against the bottom edge with a full touch area per tab. */
body:not(.auth-screen),
body.charging-screen.ev-charge-layout-r10:not(.auth-screen) {
  --nav: calc(54px + env(safe-area-inset-bottom, 0px));
}

body:not(.auth-screen) #tabs {
  padding-block: 3px calc(5px + env(safe-area-inset-bottom, 0px));
}

body:not(.auth-screen) #tabs button,
body.charging-screen.ev-charge-layout-r10:not(.auth-screen) #tabs button {
  min-height: 44px;
  gap: 2px;
  font-size: clamp(10px, 2.8vw, 12px);
}

body:not(.auth-screen) #tabs .ev-nav-art,
body.charging-screen.ev-charge-layout-r10:not(.auth-screen) #tabs .ev-nav-art {
  transform: scale(.68);
  margin-block: -7px;
}

@media (max-width: 520px) {
  .ev-map-proposal #station-sheet { bottom: 2px; }
  .station-sheet.ev-station-reference-surface { max-height: calc(100dvh - var(--nav) - 4px); }
  .station-sheet.ev-station-reference-surface > .sheet-ports { max-height: none; }
}
