/*
 * Toura Passport v3.37.17 - UX / Mobile Finish C2
 * Narrow-screen touch-target and containment corrections only.
 * Desktop geometry and application behavior are intentionally untouched.
 */
@media (max-width: 620px) {
  /* Community: higher-specificity media layout was defeating the existing mobile stack. */
  .story-body.has-media {
    grid-template-columns: 1fr !important;
  }

  .back-top {
    width: 44px;
    height: 44px;
  }

  .world-btn,
  .world-option.live,
  .partner-update-actions a,
  .marketplace-update-actions a,
  .story-actions .action {
    min-height: 44px;
    box-sizing: border-box;
  }

  .world-btn,
  .partner-update-actions a,
  .marketplace-update-actions a,
  .story-actions .action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .partner-update-head,
  .marketplace-update-head {
    flex-wrap: wrap;
  }

  .partner-update-time {
    white-space: normal;
  }

  /* Rewards: close/search controls meet the same mobile target floor as checkout actions. */
  body.rewards-page.marketplace-v396 .reward-detail-close {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;
  }

  body.rewards-page.marketplace-v396 .intent-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
  }

  body.rewards-page.marketplace-v396 .market-search button {
    min-height: 44px;
  }

  /* Supplier public/application surfaces. */
  body.supplier-page .supplier-primary,
  body.supplier-page .supplier-secondary,
  body.supplier-page .supplier-signin,
  body.supplier-page .password-toggle,
  body.supplier-page .supplier-forgot {
    min-height: 44px;
    box-sizing: border-box;
  }

  body.supplier-page .supplier-primary,
  body.supplier-page .supplier-secondary,
  body.supplier-page .supplier-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.supplier-page .password-toggle {
    min-width: 44px;
  }

  body.supplier-page .supplier-application input:not([type="checkbox"]),
  body.supplier-page .supplier-application select {
    min-height: 44px;
  }

  /* Partner onboarding guided-tour close/navigation control. */
  body.partner-onboarding-page .po-guided-tour-progress button {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  /* Member Journey / memory and announcement controls. */
  #memberPage .member-announcement-nav-v3636 {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  #memberPage .member-announcement-pause-v3636 {
    min-height: 44px;
    height: 44px;
  }

  #memberPage .passport-memory-dismiss,
  #memberPage .passport-experience-close,
  #memberPage .passport-stamp-memory-peek-close,
  #memberPage .passport-memory-stamp-close {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  /* Partner Workspace: remaining compact controls in network/settings/team tooling. */
  body.partner-ops-costa-rica .network-member-preview-modal-bar-v356 button,
  body.partner-ops-costa-rica #networkUpdatesPanel .updates-v3400-source button,
  body.partner-ops-costa-rica #networkHomeWorkspace .members-only-v3405 .network-update-actions button,
  body.partner-ops-costa-rica .settings-actions-v371 .ops-action,
  body.partner-ops-costa-rica .settings-country-button-v373,
  body.partner-ops-costa-rica #homeDisconnectModal .home-disconnect-actions button,
  body.partner-ops-costa-rica .settings-team-invite-fields-v331 button,
  body.partner-ops-costa-rica .settings-team-cancel-v331,
  body.partner-ops-costa-rica .settings-team-access-v331 {
    min-height: 44px !important;
    box-sizing: border-box;
  }

  body.partner-ops-costa-rica #homeDisconnectModal .home-disconnect-close,
  body.partner-ops-costa-rica .public-presence-preview-modal-head button,
  body.partner-ops-costa-rica .network-studio-drawer-close,
  body.partner-ops-costa-rica .photo-locator-modal-close-v379 {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}
