.reviews-section .section-heading { margin-bottom: 28px; }
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.review-ratings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
  gap: 12px;
}
.reviews-content { min-width: 0; }
.review-rating-card, .review-card, .reviews-fallback {
  border: 1px solid #b6a3ff37;
  border-radius: 21px;
  padding: clamp(19px, 2.5vw, 31px);
}
.reviews-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  background: radial-gradient(ellipse at bottom left, #392852, transparent 78%), #1d172b;
}
.review-rating-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background:
    radial-gradient(ellipse at 10% 110%, #6445ac69, transparent 72%),
    linear-gradient(145deg, #2c2047, #191724);
}
.review-score {
  margin-top: 16px;
  color: var(--text);
  font-size: clamp(2.9rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -.095em;
  line-height: 1;
}
.review-stars {
  width: max-content;
  color: #f7defa;
  font-size: 1.13rem;
  letter-spacing: .095em;
  line-height: 1.28;
}
@supports (background-clip: text) {
  .review-stars {
    background: linear-gradient(90deg, #f7defa var(--stars), #827995 var(--stars));
    background-clip: text;
    color: transparent;
  }
}
.review-rating-card .review-stars { margin-top: 10px; }
.review-rating-count { margin-top: 6px; color: var(--muted); font-size: .875rem; }
.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(90%, 28rem);
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0 0 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: #76629c #21182e;
  scrollbar-width: thin;
  scroll-snap-type: x mandatory;
  list-style: none;
}
.review-track:has(.review-card:only-child) { grid-auto-columns: 100%; }
.review-track:focus-visible { outline: 2px solid #92ecff; outline-offset: 5px; border-radius: 20px; }
.review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 215px;
  scroll-snap-align: start;
  background: radial-gradient(ellipse at 80% 6%, #392a54, transparent 83%), #21192f;
}
.review-card:nth-child(even) {
  border-color: #b0baff35;
  background: radial-gradient(ellipse at 93% 8%, #293c5b, transparent 91%), #201e36;
}
.review-quote { margin: 16px 0 21px; overflow-wrap: anywhere; }
.review-quote p { color: #f4efff; font-size: clamp(1.03rem, 2vw, 1.23rem); line-height: 1.47; font-weight: 650; letter-spacing: -.015em; }
.review-attribution { display: flex; flex-wrap: wrap; gap: 5px 13px; align-items: center; margin-top: auto; }
.review-name { font-weight: 800; font-size: .85rem; overflow-wrap: anywhere; }
.review-store { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.review-store-appStore img { filter: brightness(0) invert(.9); }
.review-excerpt-label { margin-top: 5px; color: var(--muted); font-size: .78rem; }
.review-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}
.review-source-links, .review-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.review-source-links { gap: 20px; }
.review-source, .reviews-fallback a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--light);
  font-size: .88rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.review-source:hover, .reviews-fallback a:hover { color: #fff; }
.review-controls[hidden] { display: none; }
.review-controls button {
  min-height: 44px;
  padding: 7px 10px;
  color: var(--light);
  border: 1px solid #e0cdff47;
  border-radius: 10px;
  background: #231b32;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.review-controls button:hover:not(:disabled) { background: #35284b; }
.review-controls button:disabled { color: #a9a0b7; border-color: #ffffff16; cursor: default; }
.review-controls button:focus-visible { outline: 2px solid #92ecff; outline-offset: 3px; }
.reviews-without-quotes {
  align-self: center;
  padding-inline: 4px;
}
@media (max-width: 629px) {
  .review-rating-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    align-items: center;
  }
  .review-rating-card .review-store,
  .review-rating-card .review-stars,
  .review-rating-count { grid-column: 2; }
  .review-rating-card .review-stars,
  .review-rating-count { margin-top: 3px; }
  .review-score { grid-area: 1 / 1 / span 3; margin-top: 0; }
}
@media (min-width: 630px) {
  .reviews-layout:has(.review-ratings) { grid-template-columns: minmax(168px, 1fr) minmax(0, 3.75fr); }
  .review-ratings { align-self: start; }
  .review-rating-card { min-height: 215px; }
  .review-track { grid-auto-columns: max(220px, calc((100% - 12px) / 2)); }
}
@media (forced-colors: active) {
  .review-stars { background: none; color: CanvasText; }
}
