/* Compact one-review / one-product-clip cards. No continuous effects. */
.review-card-media {
  --review-media-accent: #087ca7;
  --review-media-dark: #075e80;
  --review-media-soft: #eefaff;
  width: 100%;
  min-width: 0;
  margin: 0;
  border-bottom: 1px solid #d5e7ed;
  background: linear-gradient(145deg, #f8fdff, #edf8fb);
}

.review-card-media.is-basketball {
  --review-media-accent: #f12682;
  --review-media-dark: #ad1459;
  --review-media-soft: #fff0f7;
}

.review-card-media.is-shooters {
  --review-media-accent: #009a5b;
  --review-media-dark: #007546;
  --review-media-soft: #edfbf5;
}

.review-card-media__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07151c;
}

.review-card-media__stage.is-buffering::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 18, 25, .78);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  content: 'Loading clip…';
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .04em;
  pointer-events: none;
}

.review-card-media__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #07151c;
}

.review-card-media__video:focus-visible {
  outline: 3px solid #62c5e5;
  outline-offset: -3px;
}

.review-card-media__direct-link {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 6;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 7px;
  color: #fff;
  background: rgba(2, 18, 25, .8);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
  font-size: 8px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.review-card-media__direct-link:hover,
.review-card-media__direct-link:focus-visible {
  background: rgba(2, 18, 25, .96);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.review-card-media__caption {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 11px;
  color: #5d737c;
  background: linear-gradient(90deg, var(--review-media-soft), rgba(255, 255, 255, .96));
  font-size: 8.5px;
  font-weight: 800;
}

.review-card-media__caption span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card-media__caption span::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--review-media-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--review-media-accent) 13%, transparent);
}

.review-card-media__caption small {
  flex: 0 0 auto;
  color: var(--review-media-dark);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.review-card-disclosure,
.product-review-disclosure {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  color: #607985;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.45;
}

.review-card-disclosure::before,
.product-review-disclosure::before {
  content: 'i';
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #b7dce8;
  border-radius: 50%;
  color: #087ca7;
  background: #eefaff;
  font: 900 10px/1 Georgia, serif;
}

/* Homepage: all three cards use the same media-first anatomy. */
body.home-shine .review-grid {
  min-height: 0;
  align-items: stretch;
  gap: 16px;
}

body.home-shine .review-item--has-media {
  min-height: 0;
  padding: 0;
  border: 1px solid #cfe3ea;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .995), rgba(244, 251, 253, .97));
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px rgba(7, 94, 128, .08);
}

body.home-shine .review-item--basketball {
  --review-accent: #f12682;
  --review-tint: #fff0f7;
}

body.home-shine .review-item--shooters {
  --review-accent: #009a5b;
  --review-tint: #edfbf5;
}

body.home-shine .review-item--has-media > .review-item-head {
  margin: 17px 18px 0;
}

body.home-shine .review-item--has-media > .review-item-stars {
  margin: 16px 18px 0;
}

body.home-shine .review-item--has-media > blockquote {
  flex: 1;
  margin: 11px 18px 17px;
  color: #263942;
  font-size: 13px;
  line-height: 1.55;
}

body.home-shine .review-item--has-media > footer {
  margin: auto 18px 17px;
  padding-top: 12px;
  border-top-color: #dce9ee;
}

body.home-shine .review-progress span { background: #087ca7; }

/* Keep review navigation beside the filters so the fixed help launcher cannot cover it. */
body.home-shine .review-toolbar { justify-content: flex-start; }
body.home-shine .review-controls { margin-left: 0; }

/* Product pages use the identical pairing while preserving page identity. */
.product-reviews.is-basketball {
  --product-review-accent: #f12682;
  --product-review-ink: #ad1459;
  --product-review-tint: #fff0f7;
}

.product-reviews.is-shooters {
  --product-review-accent: #009a5b;
  --product-review-ink: #007546;
  --product-review-tint: #edfbf5;
}

.product-review-grid { align-items: stretch; }

.product-review-report--has-media {
  min-height: 0;
  padding: 0;
  border: 1px solid #cfe3ea;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .995), rgba(244, 251, 253, .97));
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px rgba(7, 94, 128, .08);
}

.product-review-report--has-media::before { z-index: 5; pointer-events: none; }

.product-review-report--has-media > header { margin: 17px 18px 0; }
.product-review-report--has-media > .product-review-rating { margin: 16px 18px 9px; }
.product-review-report--has-media > blockquote {
  flex: 1;
  margin: 0 18px;
  color: #263942;
  font-size: 13px;
  line-height: 1.55;
}
.product-review-report--has-media > footer {
  margin: 17px 18px 18px;
  padding-top: 12px;
  border-top-color: #dce9ee;
}

@supports not (color: color-mix(in srgb, #000 50%, transparent)) {
  .review-card-media__caption span::before { box-shadow: none; }
}

@media (max-width: 980px) and (min-width: 681px) {
  .product-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body.home-shine .review-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-card-disclosure,
  .product-review-disclosure {
    align-items: flex-start;
    font-size: 10px;
  }

  body.home-shine .review-grid,
  .product-review-grid { grid-template-columns: minmax(0, 1fr); }

  body.home-shine .review-item--has-media,
  .product-review-report--has-media { min-height: 0; }

  .review-card-media__caption { min-height: 32px; padding: 6px 10px; }
  .review-card-media__caption span { white-space: normal; }
}

@media (max-width: 390px) {
  body.home-shine .review-item--has-media > .review-item-head,
  .product-review-report--has-media > header { margin-right: 15px; margin-left: 15px; }
  body.home-shine .review-item--has-media > .review-item-stars,
  body.home-shine .review-item--has-media > blockquote,
  .product-review-report--has-media > .product-review-rating,
  .product-review-report--has-media > blockquote { margin-right: 15px; margin-left: 15px; }
  body.home-shine .review-item--has-media > footer,
  .product-review-report--has-media > footer { margin-right: 15px; margin-left: 15px; }
}

@media (hover: none), (pointer: coarse) {
  body.home-shine .review-item--has-media:hover,
  .product-review-report--has-media:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.home-shine .review-item--has-media,
  .product-review-report--has-media { transition: none; }
}
