.about-replay-page .inner-section-heading {
  margin-inline: auto;
  max-width: 760px;
  text-align: center;
}

.about-replay-page .inner-section-heading::before {
  color: #aaa0a4;
  content: "✣  STORY REPLAY  ✣";
  display: block;
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
  letter-spacing: .18em;
  margin-bottom: 12px;
}

.about-replay {
  margin: 0 auto;
  max-width: 900px;
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.about-replay__scene {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.78)), var(--about-scene) center / cover;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 36px;
  box-shadow: 0 28px 80px rgba(58,47,50,.12), inset 0 1px 0 #fff;
  height: 330px;
  inset: 0 0 auto;
  position: absolute;
}

.about-replay__window {
  backdrop-filter: blur(26px) saturate(145%);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
  background: linear-gradient(145deg, rgba(246,247,249,.92), rgba(239,239,242,.82));
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 26px;
  box-shadow: 0 26px 72px rgba(48,43,50,.17), inset 0 1px 0 rgba(255,255,255,.95);
  margin: 76px auto 0;
  max-width: 720px;
  min-height: 580px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.about-replay__header {
  align-items: center;
  background: linear-gradient(180deg, rgba(215,239,255,.68), rgba(246,247,249,.2));
  display: flex;
  justify-content: space-between;
  min-height: 80px;
  padding: 16px 22px;
}

.about-replay__identity {
  align-items: center;
  display: flex;
  gap: 12px;
}

.about-replay__identity img,
.about-replay__row > img {
  background: #fff;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(40,44,53,.12);
  height: 42px;
  object-fit: cover;
  width: 42px;
}

.about-replay__identity span,
.about-replay__identity strong,
.about-replay__identity small {
  display: block;
}

.about-replay__identity strong {
  color: #292c33;
  font-size: 15px;
}

.about-replay__identity small {
  color: #7b8088;
  font-size: 11px;
  margin-top: 3px;
}

.about-replay__identity small i {
  background: #35c85a;
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  margin-right: 4px;
  width: 7px;
}

.about-replay__header > button,
.about-replay__controls button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #34363d;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  justify-content: center;
}

.about-replay__header > button {
  border-radius: 50%;
  font-size: 24px;
  height: 40px;
  transition: background .2s ease, transform .2s ease;
  width: 40px;
}

.about-replay__header > button:hover {
  background: rgba(255,255,255,.7);
  transform: rotate(8deg);
}

.about-replay__messages {
  height: 430px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px 24px 86px;
  scrollbar-color: rgba(59,64,72,.18) transparent;
  scrollbar-width: thin;
}

.about-replay__row {
  align-items: flex-end;
  display: flex;
  gap: 9px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translate3d(-12px, 6px, 0) scale(.98);
  transition: opacity .38s cubic-bezier(.2,.75,.2,1), transform .45s cubic-bezier(.2,.75,.2,1);
}

.about-replay__row.is-visible {
  opacity: 1;
  transform: none;
}

.about-replay__row.is-boy {
  flex-direction: row-reverse;
  transform: translate3d(12px, 6px, 0) scale(.98);
}

.about-replay__row.is-boy.is-visible { transform: none; }

.about-replay__row > img {
  flex: 0 0 auto;
  height: 34px;
  width: 34px;
}

.about-replay__row p {
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px 18px 18px 5px;
  box-shadow: 0 8px 18px rgba(51,53,61,.06);
  color: #373940;
  line-height: 1.65;
  margin: 0;
  max-width: 72%;
  padding: 11px 15px;
}

.about-replay__row.is-boy p {
  background: linear-gradient(135deg, #1587ff, #0877eb);
  border-color: rgba(255,255,255,.4);
  border-radius: 18px 18px 5px 18px;
  color: #fff;
}

.about-replay__empty {
  color: #858891;
  padding: 80px 20px;
  text-align: center;
}

.about-replay__controls {
  align-items: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  bottom: 20px;
  box-shadow: 0 14px 32px rgba(48,50,58,.13);
  display: flex;
  gap: 3px;
  left: 50%;
  padding: 6px;
  position: absolute;
  transform: translateX(-50%);
  z-index: 4;
}

.about-replay__controls button {
  border-radius: 50%;
  font-size: 17px;
  height: 40px;
  transition: background .2s ease, transform .15s ease;
  width: 40px;
}

.about-replay__controls button:hover { background: rgba(32,35,41,.07); }
.about-replay__controls button:active { transform: scale(.9); }
.about-replay__controls .about-replay__play {
  background: #22242a;
  color: #fff;
  font-size: 20px;
}
.about-replay__controls .about-replay__speed {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  width: 52px;
}

@media (max-width: 760px) {
  .about-replay-page .inner-main { padding-inline: 15px; }
  .about-replay { min-height: 690px; }
  .about-replay__scene {
    border-radius: 26px;
    height: 220px;
  }
  .about-replay__window {
    border-radius: 24px;
    margin-top: 34px;
    min-height: 610px;
    width: 100%;
  }
  .about-replay__header { min-height: 72px; padding: 13px 16px; }
  .about-replay__messages { height: 474px; padding: 20px 14px 90px; }
  .about-replay__row { gap: 7px; margin-bottom: 15px; }
  .about-replay__row p { font-size: 13px; max-width: 77%; padding: 10px 13px; }
  .about-replay__row > img { height: 31px; width: 31px; }
  .about-replay__controls { bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .about-replay__row { opacity: 1; transform: none; transition: none; }
}
