/**
 * Exact 1280 only: /events/ + /collaborations/ list cards —
 * shrink stars + action icons so rating and buttons fit one row
 * (same approach as cotinder-tablet-card-stars.css for ≤1180).
 *
 * Scope: .events-page-cards / .collaborations-page-cards (public lists).
 * Other widths untouched. Does not edit custom.css / mobile-card-fixes / footer.php.
 * Marker: evcolstars128020260815a
 */

@media (min-width: 1280px) and (max-width: 1280.98px) {
  .events-page-cards:not(.personal-events__list) .index__events_event,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card {
    overflow: visible !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom),
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2px 4px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) > .entity-star-rating,
  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) > .card-stars,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) > .entity-star-rating,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) > .card-stars {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
    gap: 1px !important;
    overflow: visible !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .entity-star-rating .star,
  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .card-stars .star,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .entity-star-rating .star,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .card-stars .star {
    flex-shrink: 0 !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .entity-star-rating .star svg,
  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .card-stars .star svg,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .entity-star-rating .star svg,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .card-stars .star svg {
    width: 14px !important;
    height: 12px !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .entity-star-rating__avg,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .entity-star-rating__avg {
    display: inline-block !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) > .card__buttons,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) > .card__buttons {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 2px !important;
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
    box-sizing: border-box !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .card__action,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .card__action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 1px !important;
    flex: 0 0 auto !important;
    min-width: auto !important;
    width: auto !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .card__action-cnt,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .card__action-cnt {
    font-size: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .card__action .icon,
  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .card__action .vs-likeit.icon-heart,
  .events-page-cards:not(.personal-events__list) .index__events_event > .card-stars__wrapper:not(.index__events_bottom) .card__action svg,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .card__action .icon,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .card__action .vs-likeit.icon-heart,
  .collaborations-page-cards:not(.personal-collaborations__list) .index__collaborations_card > .card-stars__wrapper:not(.index__collaborations_bottom) .card__action svg {
    width: 14px !important;
    height: 12px !important;
    min-width: 14px !important;
    min-height: 12px !important;
    max-width: 14px !important;
    max-height: 12px !important;
    box-sizing: border-box !important;
  }
}
