.scene-version #reviews {
  color: var(--forest);
  background-color: #dce6c9;
  background-image: url("chat-paper.svg"),
    radial-gradient(ellipse at 76% 18%, #eaf0ce 0, transparent 62%),
    linear-gradient(128deg, #cbdebe, #e9edcc 52%, #c9ddbc);
  background-size: 280px 240px, cover, cover;
  background-position: 7px 11px, center, center;
}

.reviews-conversation { width: min(100%, 1000px); margin: auto; }
#reviews h2 {
  font-size: clamp(34px, 4.6vw, 70px);
  line-height: 1.07;
  text-align: center;
  margin: 0 0 clamp(18px, 4vh, 42px);
}
.reviews-messages {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 2.8vh, 28px) clamp(12px, 2.1vw, 32px);
}
.chat-quote, .chat-voice {
  margin: 0;
  position: relative;
  padding: 17px 21px 19px;
  border-radius: 23px 23px 23px 6px;
  background: #fffefb;
  box-shadow: 0 2px 4px rgb(53 80 45 / 5%);
}
.chat-quote { grid-column: span 2; }
.chat-quote:nth-child(even) { border-radius: 23px 23px 6px; }
.chat-quote figcaption, .voice-caption {
  color: #526c52;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}
.chat-quote blockquote {
  margin: 6px 0 0;
  font-size: clamp(15px, 1.24vw, 19px);
  line-height: 1.3;
  text-wrap: pretty;
}
.chat-voice {
  grid-column: 1 / -1;
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 22px 28px 19px;
  background: #203629;
  color: #fffef9;
  border-radius: 28px 28px 8px 28px;
}
.voice-caption { color: #ccdbbf; font-weight: 400; }
.chat-voice h3 { margin: 4px 0 12px; font-size: 25px; line-height: 1.15; letter-spacing: -.025em; }
.chat-voice audio { width: 100%; max-width: 100%; }
.voice-controls { display: flex; align-items: center; gap: 15px; }
.voice-toggle {
  border: 0; padding: 0; width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  background: #dfedaa; border-radius: 50%; color: #203629;
}
.voice-toggle span {
  width: 0; height: 0; margin-left: 3px; border-block: 7px solid transparent; border-left: 11px solid currentColor;
}
.voice-toggle[data-playing] span {
  width: 12px; height: 14px; margin: 0; border: 0; border-inline: 4px solid currentColor;
}
.voice-track { flex: 1; min-width: 0; }
.voice-scrubber { position: relative; height: 35px; display: flex; align-items: center; }
.voice-wave {
  width: 100%; height: 26px; background: #839a85;
  mask: url("voice-wave.svg") center / 100% 100% no-repeat;
}
.voice-wave span { display: block; height: 100%; width: var(--played, 0%); background: #e3f4b3; }
.voice-position {
  position: absolute; inset: -3px 0; margin: 0; width: 100%; height: calc(100% + 6px);
  opacity: 0; cursor: pointer; touch-action: none;
}
.voice-scrubber:has(:focus-visible) { outline: 2px solid #e3f4b3; border-radius: 5px; }
.voice-times { display: flex; justify-content: space-between; font-size: 12px; font-variant-numeric: tabular-nums; color: #dae6d2; }
#reviews .voice-error { margin-top: 10px; font-size: 14px; }
.voice-error a { color: #e3f4b3; }
.voice-speed {
  flex: none; min-width: 46px; min-height: 44px; padding: 0 6px; border: 0;
  border-radius: 16px; background: #344d40; color: #e3f4b3;
  font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.review-open {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: transparent; border-radius: inherit; cursor: pointer;
}
.chat-quote:has(.review-open:focus-visible) { outline: 2px solid var(--forest); outline-offset: 2px; }
@media (hover: hover) {
  .chat-quote:has(.review-open:hover) { box-shadow: 0 3px 14px rgb(38 66 40 / 18%); }
}
#review-reader {
  width: min(620px, calc(100% - 32px)); max-height: min(80dvh, 760px);
  margin: auto; overflow: hidden; padding: 0; border: 0; border-radius: 24px; background: #fffefb;
}
#review-reader[open] { display: flex; flex-direction: column; }
#review-reader::backdrop { background: rgb(27 50 33 / 38%); backdrop-filter: blur(5px); }
.reader-header {
  display: flex; flex: none; justify-content: space-between; align-items: center;
  padding: 18px 24px 8px; gap: 12px;
}
.reader-header h3 { font-size: clamp(21px, 3vw, 30px); line-height: 1.16; }
.reader-close {
  width: 44px; height: 44px; flex: none; background: #eef2e7;
  border: 0; border-radius: 50%; color: var(--forest); font-size: 26px;
}
.reader-body { overflow-y: auto; overscroll-behavior: contain; padding: 7px 24px 28px; }
#reviews .reader-body p { font-size: 17px; line-height: 1.52; text-align: left; }
.reader-body p + p { margin-top: 1em; }
@media (max-width: 700px) {
  .voice-controls { gap: 8px; }
  .reader-header { padding: 14px 16px 5px; }
  .reader-body { padding: 7px 16px 22px; }
}

@media (min-width: 701px) {
  .chat-quote--2 { translate: 0 -9px; }
  .chat-quote--5 { translate: 0 9px; }
}
@media (max-width: 700px) {
  .scene-version #reviews { padding-inline: 14px; background-size: 207px 178px, cover, cover; }
  .reviews-conversation { max-width: 430px; }
  #reviews h2 { font-size: clamp(30px, 8vw, 42px); margin-bottom: 20px; }
  .reviews-messages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .chat-quote { grid-column: auto; padding: 10px 12px 12px; border-radius: 15px 15px 15px 4px; }
  .chat-quote:nth-child(even) { border-radius: 15px 15px 4px; }
  .chat-quote figcaption { font-size: 12px; }
  .chat-quote blockquote { font-size: 14px; line-height: 1.24; margin-top: 4px; }
  .chat-quote--3, .chat-quote--6 { grid-column: 1 / -1; width: 87%; }
  .chat-quote--3 { justify-self: end; }
  .chat-voice { grid-row: 3; width: min(100%, 300px); padding: 12px 17px; margin-block: 3px; }
  .chat-voice h3 { font-size: 22px; margin: 2px 0 5px; }
}
@media (max-width: 700px) and (max-height: 710px) {
  .scene-version #reviews { padding-top: 58px; padding-bottom: 9px; }
  #reviews h2 { margin-bottom: 11px; }
  .reviews-messages { gap: 6px; }
  .chat-quote { padding: 8px 10px; }
}
