
/* Discover Actions Row v5
   Keep Pass / Info / Match on one single horizontal row. */

@media (min-width: 761px) {
  .swipe-deck .swipe-controls {
    position: relative !important;
    inset: auto !important;
    transform: none !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: none !important;
    margin: 14px 0 0 !important;
  }

  .swipe-deck .swipe-controls > * {
    grid-row: 1 !important;
    margin: 0 !important;
  }

  .swipe-deck .swipe-pass {
    grid-column: 1 !important;
    width: 100% !important;
    height: 58px !important;
    min-width: 0 !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }

  .swipe-deck .swipe-info,
  .swipe-deck [data-swipe-info],
  .swipe-deck .swipe-controls .info-button {
    grid-column: 2 !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    justify-self: center !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }

  .swipe-deck .swipe-match {
    grid-column: 3 !important;
    width: 100% !important;
    height: 58px !important;
    min-width: 0 !important;
    position: relative !important;
    inset: auto !important;
    transform: none !important;
  }
}

/* Mobile: same idea, but more compact. */
@media (max-width: 760px) {
  .swipe-deck .swipe-controls {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: center !important;
    width: 100% !important;
  }

  .swipe-deck .swipe-pass {
    grid-column: 1 !important;
    width: 100% !important;
  }

  .swipe-deck .swipe-info,
  .swipe-deck [data-swipe-info],
  .swipe-deck .swipe-controls .info-button {
    grid-column: 2 !important;
    width: 46px !important;
    min-width: 46px !important;
    justify-self: center !important;
  }

  .swipe-deck .swipe-match {
    grid-column: 3 !important;
    width: 100% !important;
  }
}
