#scr-talk {
  overflow: hidden !important;
}

.talk-voice-wrap {
  background: #fffefa;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 18px;
}

.talk-voice-wrap .iframe-loader,
.talk-voice-wrap .csp-fallback,
.talk-voice-wrap #delphi-container,
.talk-voice-wrap .talk-chat-body,
.talk-voice-wrap .talk-chat-prompts,
.talk-voice-wrap .talk-chat-form {
  display: none !important;
}

.talk-voice-shell {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  text-align: center;
}

.talk-voice-copy {
  margin: 0 0 28px;
  max-width: 315px;
}

.talk-voice-copy h2 {
  color: #17262e;
  font: 700 42px/0.98 "Playfair Display", serif;
  letter-spacing: 0;
  margin: 0;
}

.talk-voice-copy h2 span {
  display: block;
}

.talk-voice-copy h2 span:first-child {
  color: #d9b671;
}

.talk-voice-copy p {
  color: rgba(23, 38, 46, 0.66);
  font: 800 13px/1.5 "DM Sans", sans-serif;
  margin: 12px auto 0;
  max-width: 285px;
}

.talk-voice-stage {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.talk-orb {
  align-items: center;
  background: transparent;
  border: 0;
  color: #17262e;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: 900 15px/1 "DM Sans", sans-serif;
  gap: 13px;
  justify-content: center;
  padding: 0;
  text-transform: uppercase;
  transition: transform 140ms ease, opacity 140ms ease;
  width: 218px;
}

.talk-avatar-frame {
  background:
    conic-gradient(from 0deg, #9a6f2d, #ecd08e, #fff6cf, #d9b671, #8e5d24, #f0ca82, #9a6f2d);
  border: 0;
  border-radius: 50%;
  box-shadow:
    0 22px 46px rgba(23, 38, 46, 0.16),
    0 0 0 12px rgba(217, 182, 113, 0.1);
  display: block;
  height: 204px;
  isolation: isolate;
  overflow: visible;
  padding: 5px;
  position: relative;
  transition: box-shadow 180ms ease, transform 180ms ease;
  width: 204px;
}

.talk-avatar-frame::before {
  animation: talkGlimmer 4.5s linear infinite;
  background: conic-gradient(from 0deg, transparent 0deg 110deg, rgba(255, 255, 255, 0.95) 138deg, rgba(236, 208, 142, 0.98) 158deg, transparent 190deg 360deg);
  border-radius: 50%;
  content: "";
  inset: -7px;
  opacity: 0.88;
  position: absolute;
  z-index: 0;
}

.talk-avatar-frame::after {
  background: #17262e;
  border: 2px solid #fffefa;
  border-radius: 50%;
  bottom: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  content: "";
  height: 18px;
  position: absolute;
  right: 19px;
  width: 18px;
  z-index: 2;
}

.talk-avatar-frame img {
  border-radius: 50%;
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  position: relative;
  width: 100%;
  z-index: 1;
}

.talk-call-label {
  background: #17262e;
  border: 1px solid rgba(217, 182, 113, 0.58);
  border-radius: 999px;
  color: #f0ca82;
  display: inline-flex;
  justify-content: center;
  letter-spacing: 1.9px;
  min-width: 108px;
  padding: 12px 20px;
  text-align: center;
  text-shadow: none;
}

.talk-orb:active {
  transform: scale(0.98);
}

.talk-orb.is-recording .talk-avatar-frame {
  animation: talkPulseYou 1.25s ease-in-out infinite;
  background: conic-gradient(from 0deg, #3d8e6b, #a7efd2, #fffefa, #79c4a7, #3d8e6b);
  box-shadow:
    0 22px 46px rgba(23, 38, 46, 0.16),
    0 0 0 18px rgba(121, 196, 167, 0.16);
}

.talk-orb.is-recording .talk-avatar-frame::after {
  background: #79c4a7;
  border-color: rgba(244, 235, 224, 0.86);
}

.talk-orb.is-speaking .talk-avatar-frame,
.talk-orb.is-call-active:not(.is-recording):not(.is-speaking) .talk-avatar-frame {
  animation: talkPulseKaramo 1.05s ease-in-out infinite;
  box-shadow:
    0 22px 46px rgba(23, 38, 46, 0.16),
    0 0 0 18px rgba(217, 182, 113, 0.18);
}

.talk-orb.is-speaking .talk-avatar-frame::after,
.talk-orb.is-call-active:not(.is-recording) .talk-avatar-frame::after {
  background: #d9b671;
}

.talk-orb.is-call-active .talk-call-label {
  background: rgba(111, 34, 57, 0.94);
  border-color: rgba(217, 182, 113, 0.42);
  color: #fffefa;
}

.talk-orb[disabled] {
  cursor: progress;
  opacity: 0.7;
}

@keyframes talkPulseKaramo {
  0%, 100% {
    box-shadow: 0 22px 46px rgba(23, 38, 46, 0.16), 0 0 0 12px rgba(217, 182, 113, 0.16);
  }
  50% {
    box-shadow: 0 22px 46px rgba(23, 38, 46, 0.16), 0 0 0 30px rgba(217, 182, 113, 0.03);
  }
}

@keyframes talkPulseYou {
  0%, 100% {
    box-shadow: 0 22px 46px rgba(23, 38, 46, 0.16), 0 0 0 12px rgba(121, 196, 167, 0.16);
  }
  50% {
    box-shadow: 0 22px 46px rgba(23, 38, 46, 0.16), 0 0 0 30px rgba(121, 196, 167, 0.03);
  }
}

@keyframes talkGlimmer {
  to { transform: rotate(360deg); }
}

.talk-turn-indicator {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  max-width: 332px;
  width: 100%;
}

.talk-turn-pill {
  background: #f7f1e8;
  border: 1px solid rgba(217, 182, 113, 0.3);
  border-radius: 999px;
  color: rgba(23, 38, 46, 0.54);
  display: block;
  font: 900 10px/1.1 "DM Sans", sans-serif;
  letter-spacing: 0.7px;
  min-height: 34px;
  padding: 10px 8px;
  text-transform: uppercase;
}

.talk-voice-shell.is-speaking .talk-turn-karamo,
.talk-voice-shell.is-connecting .talk-turn-karamo,
.talk-voice-shell.is-thinking .talk-turn-karamo {
  background: rgba(217, 182, 113, 0.22);
  border-color: rgba(217, 182, 113, 0.58);
  color: #7a491f;
}

.talk-voice-shell.is-listening .talk-turn-you {
  background: rgba(121, 196, 167, 0.16);
  border-color: rgba(121, 196, 167, 0.58);
  color: #286b50;
}

.talk-voice-player {
  background: #fffefa;
  border: 1px solid rgba(217, 182, 113, 0.22);
  border-radius: 18px;
  box-sizing: border-box;
  margin-top: 14px;
  max-width: 330px;
  padding: 12px;
  width: 100%;
}

.talk-voice-player[hidden] {
  display: none;
}

.talk-voice-player strong,
.talk-voice-player span {
  display: block;
}

.talk-voice-player strong {
  color: #d9b671;
  font: 900 11px/1 "DM Sans", sans-serif;
  letter-spacing: 1px;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.talk-voice-player span {
  color: #17262e;
  font: 700 12px/1.45 "DM Sans", sans-serif;
  margin-bottom: 10px;
  text-align: left;
}

.talk-voice-player audio {
  display: none;
  width: 100%;
}

@media (max-height: 760px) {
  .talk-voice-copy {
    margin-bottom: 16px;
  }

  .talk-voice-copy h2 {
    font-size: 34px;
  }

  .talk-voice-copy p {
    display: none;
  }

  .talk-avatar-frame {
    height: 182px;
    width: 182px;
  }

  .talk-turn-indicator {
    margin-top: 18px;
  }
}
