.anna-voice-panel {
  display: none !important;
}

.featured-profile {
  position: relative;
}

.voice-pill {
  position: absolute;
  left: 14px;
  bottom: 76px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 28px);
  min-height: 38px;
  padding: 9px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 8, 10, .84);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  isolation: isolate;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.voice-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(13, 13, 16, .9);
}

.voice-pill:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .92);
  outline-offset: 3px;
}

.voice-pill__icon,
.voice-pill__label,
.voice-pill__time,
.voice-pill__lock {
  position: relative;
  z-index: 2;
}

.voice-pill__icon {
  display: grid;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #f72b54, #c80932);
  box-shadow: 0 5px 13px rgba(225, 22, 63, .28);
  font-size: .66rem;
  font-weight: 900;
  line-height: 1;
}

.voice-pill__label {
  min-width: 0;
  overflow: hidden;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-pill__time {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .72);
  font-size: .65rem;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.voice-pill__lock {
  flex: 0 0 auto;
  font-size: .65rem;
  opacity: .82;
}

.voice-pill__progress {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.voice-pill__progress-bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(229, 9, 20, .22), rgba(255, 67, 103, .34));
  transition: width .08s linear;
}

.voice-pill__audio {
  display: none;
}

.voice-pill.is-playing {
  border-color: rgba(255, 79, 113, .48);
  box-shadow: 0 14px 34px rgba(225, 22, 63, .28), 0 12px 28px rgba(0, 0, 0, .36);
}

.voice-pill.is-playing .voice-pill__icon {
  animation: voicePillPulse 1.15s ease-in-out infinite;
}

.voice-pill.is-complete {
  border-color: rgba(88, 224, 150, .38);
}

.voice-pill.is-complete .voice-pill__icon {
  background: linear-gradient(135deg, #35c979, #148f50);
  box-shadow: 0 5px 13px rgba(53, 201, 121, .25);
}

.voice-pill.voice-focus {
  animation: voicePillFocus 1.4s ease;
}

@keyframes voicePillPulse {
  50% { transform: scale(1.08); }
}

@keyframes voicePillFocus {
  0%, 100% { box-shadow: 0 12px 28px rgba(0, 0, 0, .38); }
  45% { box-shadow: 0 0 0 6px rgba(241, 35, 75, .18), 0 16px 36px rgba(225, 22, 63, .36); }
}

[dir="rtl"] .voice-pill {
  right: 14px;
  left: auto;
}

[dir="rtl"] .voice-pill__progress-bar {
  margin-left: auto;
}

@media (max-width: 760px) {
  .mobile-sticky {
    display: none !important;
  }

  .voice-pill {
    left: 12px;
    bottom: 72px;
    max-width: calc(100% - 24px);
    min-height: 36px;
    padding: 8px 10px;
    gap: 6px;
  }

  [dir="rtl"] .voice-pill {
    right: 12px;
    left: auto;
  }

  .voice-pill__label {
    font-size: .68rem;
  }
}

@media (max-width: 390px) {
  .voice-pill {
    bottom: 68px;
  }

  .voice-pill__label {
    max-width: 150px;
  }

  .voice-pill__lock {
    display: none;
  }
}

/* Keep the funnel simple: one text message on the main card, no duplicate text inside the opened profile. */
.profile-preview-message-box {
  display: none !important;
}
