/* Compact edge controls leave the mobile preview and its copy unobstructed. */
@media (max-width: 600px) {
  .discovery-home .swipe-actions {
    top: calc(var(--swipe-image-height) / 2);
    bottom: auto;
    left: -10px;
    right: -10px;
    z-index: 5;
    gap: 0;
    transform: translateY(-50%);
    pointer-events: none;
  }
  .discovery-home .swipe-actions button {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    box-shadow: 0 4px 15px #4c285624;
    transform: none;
    pointer-events: auto;
  }
  .discovery-home .swipe-actions button > span { display: none; }
  .discovery-home .swipe-actions .swipe-action-icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.9;
  }
  .discovery-home .swipe-actions button:active:not(:disabled) { transform: scale(.95); }
  .discovery-home .swipe-copy { position: static; padding-bottom: 22px; }
  .discovery-home .swipe-copy .swipe-meta { display: none !important; }
  .discovery-home .swipe-copy > [data-swipe-summary],
  .discovery-home .swipe-copy > .toy-highlights { margin-bottom: 0; }

  /* A native link covers the card. The gesture controller cancels drag clicks. */
  .discovery-home .swipe-copy > [data-swipe-link] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: inherit;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background: transparent;
    -webkit-user-drag: none;
    touch-action: pan-y;
  }
  .discovery-home [data-swipe-link] > span { display: none; }
  .discovery-home .swipe-copy > [data-swipe-link]:focus-visible {
    outline: 3px solid #8f6ba2;
    outline-offset: -4px;
  }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .discovery-home .swipe-actions button:active:not(:disabled) { transform: none; }
}
