/* Nigeria only. Keep shared profiles and financial behavior unchanged. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video { max-width: 100%; }
input, select, textarea { max-width: 100%; }
.grid-container > *, .offer-card-top > *, .offer-summary > * { min-width: 0; }
.offer-card, .offer-summary, .history-item { overflow-wrap: break-word; }
#logout-modal { top: 0; right: 0; bottom: 0; left: 0; overflow-y: auto; }
#logout-modal > *, .modal-content { max-height: 85vh; max-height: 85dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 991px) {
  input:not([type=checkbox]):not([type=radio]):not([type=hidden]), select, textarea { font-size: 16px !important; }
  button, .nav-item, .offer-nav a, .menu-btn { min-height: 44px; }
  .bottom-nav { bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .content-wrapper { padding-bottom: 125px; padding-bottom: calc(125px + env(safe-area-inset-bottom, 0px)); }
  .offers-main { padding-bottom: 145px; padding-bottom: calc(145px + env(safe-area-inset-bottom, 0px)); }
  .offer-nav { padding: 14px 5px 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .offer-summary { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Four main actions remain evenly spaced on narrow Nigeria screens. */
@media (max-width: 767px) {
  .bottom-nav .nav-item { flex: 1; min-width: 0; padding: 6px 2px; }
  .bottom-nav .nav-item i { padding: 6px 10px; }
}
