.speech-replay-slot {
  margin-bottom: 20px;
}

.speech-replay-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 24% 0%, rgba(167, 139, 250, 0.14), transparent 34%),
    rgba(13, 13, 24, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.speech-replay-card-header {
  padding: 18px 18px 12px;
}

.speech-replay-card-kicker {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.speech-replay-card-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.speech-replay-card-subtitle {
  margin: 6px 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
  line-height: 1.45;
}

.speech-replay-video-wrap {
  position: relative;
  margin: 0 14px 14px;
  overflow: hidden;
  border-radius: 18px;
  background: #05050b;
}

.speech-replay-video {
  display: block;
  width: 100%;
  max-height: min(68vh, 620px);
  background: #05050b;
  object-fit: contain;
}

.speech-replay-audio-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 16px 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.speech-replay-audio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.32);
  background: rgba(167, 139, 250, 0.16);
  color: rgba(214, 198, 255, 0.92);
}

.speech-replay-audio-icon svg {
  width: 18px;
  height: 18px;
}

.speech-replay-audio {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 38px;
}

.speech-replay-audio::-webkit-media-controls-panel {
  background-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 640px) {
  .speech-replay-card {
    border-radius: 20px;
  }

  .speech-replay-card-header {
    padding: 16px 16px 10px;
  }

  .speech-replay-video-wrap {
    margin: 0 10px 10px;
    border-radius: 15px;
  }

  .speech-replay-audio-wrap {
    margin: 0 12px 12px;
    padding: 12px 14px;
    border-radius: 16px;
    gap: 12px;
  }

  .speech-replay-audio-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
}
