/* Mobile coaches row: cards 84% wide so the next card peeks; a text
   "Swipe for more" hint (no pill) nudges once, then hides after the
   first swipe; a small 1 / N counter. Vertical fit is unchanged. v1.
   Bump the filename rather than editing in place. */

@media (max-width: 899px){
  .d-coaches-row .d-coach{
    width: 84vw;
    max-width: 84vw;
  }
  /* Thin orange strip under the height-fitted cards for the hint + counter. */
  .d-coaches-row .d-co-row{
    padding-bottom: 28px;
    box-sizing: border-box;
  }

  .d-co-swipe-hint,
  .d-co-count{
    position: absolute;
    z-index: 6;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    pointer-events: none;
    color: #003CD5;
    font-family: Akrobat, "Akrobat", sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 1px rgba(255,255,255,.35);
  }

  .d-co-swipe-hint{
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: 7px;
    left: auto;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .d-co-swipe-hint.is-nudge{
    animation: co-swipe-nudge .9s ease-out 1;
  }

  .d-co-swipe-hint.is-hidden{
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
  }

  .d-co-count{
    left: max(12px, env(safe-area-inset-left, 0px));
    bottom: 7px;
    font-size: 12px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
  }
}

@keyframes co-swipe-nudge{
  0%{ transform: translateX(0); opacity: .7; }
  35%{ transform: translateX(8px); opacity: 1; }
  70%{ transform: translateX(0); opacity: 1; }
  100%{ transform: translateX(0); opacity: 1; }
}

@media (min-width: 900px){
  .d-co-swipe-hint,
  .d-co-count{ display: none !important; }
}

@media (prefers-reduced-motion: reduce){
  .d-co-swipe-hint.is-nudge{ animation: none; }
}
