/* TNKI.AM item page tap/press polish.
   Removes mobile blue tap highlight and adds subtle living press animation. */
html,
body,
:where(a,button,img,[role="button"],label,select,summary),
.tnki-item-page,
.tnki-item-page *,
.tnki-item-search-wrap *,
.tnki-share-modal *,
.tnki-item-modal *,
.tnki-photo-viewer *{
  -webkit-tap-highlight-color: transparent !important;
}
.tnki-item-page :where(a,button,[role="button"],input,select,textarea),
.tnki-share-modal :where(a,button,[role="button"]),
.tnki-item-modal :where(a,button,[role="button"]),
.tnki-photo-viewer :where(button,[role="button"]){
  touch-action: manipulation;
  -webkit-touch-callout: none;
}
.tnki-item-page :where(a,button,[role="button"]),
.tnki-share-modal :where(a,button,[role="button"]),
.tnki-item-modal :where(a,button,[role="button"]){
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, border-color .16s ease, background .16s ease;
}
.tnki-item-page :where(a,button,[role="button"]):active,
.tnki-share-modal :where(a,button,[role="button"]):active,
.tnki-item-modal :where(a,button,[role="button"]):active{
  transform: translateY(1px) scale(.985);
  filter: saturate(1.06);
}
.tnki-item-photoSlide,
.tnki-related-card__photo,
.tnki-related-card__body,
.tnki-list-card__photo,
.tnki-list-card__bodyLink{
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.tnki-item-photoSlide:active,
.tnki-related-card__photo:active,
.tnki-related-card__body:active,
.tnki-list-card__photo:active,
.tnki-list-card__bodyLink:active{
  transform: scale(.992);
  filter: saturate(1.04);
}
.tnki-item-mainPhoto,
.tnki-item-card,
.tnki-seller-card,
.tnki-listing-like-btn,
.tnki-item-shareBtn,
.tnki-item-action,
.tnki-related-card,
.tnki-item-pill,
.tnki-item-attr{
  -webkit-tap-highlight-color: transparent !important;
}
@media (hover:hover){
  .tnki-item-page :where(a,button,[role="button"]):hover,
  .tnki-share-modal :where(a,button,[role="button"]):hover{
    filter: saturate(1.04);
  }
  .tnki-item-photoSlide:hover,
  .tnki-related-card__photo:hover{
    filter: saturate(1.04) contrast(1.01);
  }
}
@media (prefers-reduced-motion: reduce){
  .tnki-item-page *,
  .tnki-share-modal *,
  .tnki-item-modal *,
  .tnki-photo-viewer *{
    transition: none !important;
    animation: none !important;
  }
}

/* Preserve centered arrow controls while still giving a press effect. */
.tnki-photo-viewer__prev:active{transform:translateY(-50%) scale(.985) !important;}
.tnki-photo-viewer__next:active{transform:translateY(-50%) scale(.985) !important;}
