/* APD 187.0.0 — mobile live destination autocomplete. */
@media (max-width: 767px) {
  /* Several legacy APD mobile rules use display:grid !important. Those rules
     were overriding the HTML hidden attribute and leaving unrelated places
     visible while the traveler typed. */
  html body.apd187-destination-live #apd5-search .apd5-destination-option[hidden],
  html body.apd187-destination-live #apd5-search .apd26-recent-destinations[hidden],
  html body.apd187-destination-live #apd5-search .apd26-destination-section-title[hidden],
  html body.apd187-destination-live #apd5-search .apd40-world-option[hidden],
  html body.apd187-destination-live #apd5-search .apd40-world-message[hidden],
  html body.apd187-destination-live #apd5-search .apd40-world-results[hidden] {
    display: none !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-results {
    width: 100% !important;
    margin: 2px 0 18px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid #e5e5e5 !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-heading {
    min-height: 34px !important;
    padding: 0 0 10px !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    color: #424242 !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-list {
    display: grid !important;
    gap: 14px !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-option {
    min-height: 74px !important;
    padding: 0 !important;
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 16px !important;
    border-radius: 16px !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-icon {
    width: 74px !important;
    height: 74px !important;
    border-radius: 18px !important;
    background: #f2f4f7 !important;
    color: #222 !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-icon svg {
    width: 30px !important;
    height: 30px !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-option strong {
    display: block !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    font-size: 20px !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;
    color: #111 !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-option small {
    display: block !important;
    margin-top: 4px !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    font-size: 17px !important;
    line-height: 1.28 !important;
    color: #666 !important;
  }

  html body.apd187-destination-live.apd186-search-modal-open .apd186-search-portal #apd5-search .apd40-world-message {
    padding: 12px 0 !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    color: #666 !important;
  }

  html body.apd187-destination-live.apd187-destination-typing .apd186-search-portal #apd5-search .apd5-destination-option.is-nearby {
    display: none !important;
  }
}
