﻿/**
 * Tablet 768–912 — fit stars + like/comment/share in one row.
 * Only post-card footers inside .index__posts / .another-pet lists.
 * Does NOT touch owner/pet HEADER (.profile-detail-page / .pet-detail-page / .pet__top).
 */
@media (min-width: 768px) and (max-width: 912.98px) {
  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper,
  .cotinder-index-feed .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2px 3px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper > .entity-star-rating,
  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper > .card-stars,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper > .entity-star-rating,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper > .card-stars,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper > .entity-star-rating,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper > .card-stars,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper > .entity-star-rating,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper > .card-stars {
    display: flex !important;
    flex: 0 1 auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1px !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: visible !important;
  }

  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating .star,
  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .card-stars .star,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating .star,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating .star {
    flex-shrink: 0 !important;
  }

  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating .star svg,
  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .card-stars .star svg,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating .star svg,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating .star svg {
    width: 12px !important;
    height: 11px !important;
  }

  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating__avg,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper .entity-star-rating__avg,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating__avg,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper .entity-star-rating__avg {
    display: none !important;
  }

  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper > .card__buttons,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper > .card__buttons,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper > .card__buttons,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper > .card__buttons {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 1px !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper .card__action,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action {
    display: inline-flex !important;
    align-items: center !important;
    gap: 1px !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action-cnt,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper .card__action-cnt,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action-cnt,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action-cnt {
    font-size: 9px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action .icon,
  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action .vs-likeit.icon-heart,
  .tabs__content .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action svg,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper .card__action .icon,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper .card__action .vs-likeit.icon-heart,
  .tabs__content .index__posts .index__post .user-slide.index__community-card .card-stars__wrapper .card__action svg,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action .icon,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action .vs-likeit.icon-heart,
  .cotinder-index-feed .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action svg,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action .icon,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action .vs-likeit.icon-heart,
  .another-pet .index__posts .index__post .card.user-slide .card-stars__wrapper .card__action svg {
    width: 12px !important;
    height: 11px !important;
    min-width: 12px !important;
    min-height: 11px !important;
    max-width: 12px !important;
    max-height: 11px !important;
    box-sizing: border-box !important;
  }
}
