.v9 #responseArea {
  display: flex;
  flex-direction: column;
}

.v9 #responseArea > .moon-response-anchor {
  order: 0;
}

.v9 #responseArea > .response-card {
  order: 1;
}

.v9 #responseArea > .conversation-stage {
  order: 2;
}

.v9 #responseArea > .conversation-next {
  order: 3;
}

.v9 #responseArea > .response-evening-step {
  order: 4;
}

.v9 #responseArea > .post-check,
.v9 #responseArea > [class*="post-check"],
.v9 #responseArea > .release-card.self-reflection {
  order: 5;
}

.v9 #responseArea > .public-context,
.v9 #responseArea > [class*="context"] {
  order: 6;
}

.v9 .response-card {
  padding-bottom: 20px;
}

.v9 .active-dialogue {
  display: grid;
  gap: 0;
  margin: 16px 0 12px;
}

.v9 .active-dialogue-turn {
  position: relative;
  margin: 0;
  padding: 12px 4px 12px 22px;
  color: #4d465e;
  font-size: 16px;
  font-weight: 520;
  line-height: 1.75;
}

.v9 .active-dialogue-turn::before {
  position: absolute;
  top: 22px;
  left: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #aaa2bd;
  content: "";
}

.v9 .active-dialogue-turn:not(:last-child)::after {
  position: absolute;
  top: 27px;
  bottom: -10px;
  left: 7px;
  width: 1px;
  background: rgba(139, 127, 174, 0.2);
  content: "";
}

.v9 .active-dialogue-turn.is-receive {
  color: #332c49;
  font-weight: 650;
}

.v9 .active-dialogue-turn.is-invite {
  color: #5c4a91;
}

.v9 .active-dialogue-turn.is-invite::before {
  background: #76b9ae;
  box-shadow: 0 0 0 5px rgba(118, 185, 174, 0.12);
}

.v9 .response-voice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(76, 64, 105, 0.1);
}

.v9 .response-voice-row small {
  grid-column: 1 / -1;
  color: #8a8494;
  font-size: 12px;
  line-height: 1.5;
}

.v9 .response-voice-button,
.v9 .response-voice-stop {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(92, 74, 145, 0.18);
  border-radius: 8px;
  background: rgba(102, 83, 160, 0.07);
  color: #554581;
  font: inherit;
  font-size: 14px;
  font-weight: 620;
}

.v9 .response-voice-button svg,
.v9 .response-voice-stop svg {
  width: 18px;
  height: 18px;
}

.v9 .response-voice-button.active {
  background: rgba(102, 83, 160, 0.14);
}

.v9 .response-voice-button:disabled {
  opacity: 0.45;
}

.v9 .conversation-exchanges {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  border-bottom: 1px solid rgba(76, 64, 105, 0.1);
}

.v9 .conversation-exchange {
  margin: 0;
  padding: 18px 0 20px;
  border: 0;
  border-top: 1px solid rgba(76, 64, 105, 0.1);
  border-radius: 0;
  background: transparent;
}

.v9 .conversation-exchange .user-turn {
  margin-left: 26px;
  padding: 11px 13px;
  border: 1px solid rgba(92, 74, 145, 0.1);
  border-radius: 7px;
  background: rgba(103, 86, 151, 0.055);
}

.v9 .conversation-exchange .user-turn span,
.v9 .conversation-exchange .holding-turn > span {
  display: block;
  margin-bottom: 5px;
  color: #8a8294;
  font-size: 12px;
  line-height: 1.45;
}

.v9 .conversation-exchange .user-turn p {
  margin: 0;
  color: #514a5c;
  font-size: 15px;
  line-height: 1.65;
}

.v9 .conversation-exchange .holding-turn {
  margin-top: 15px;
}

.v9 .conversation-exchange .holding-turn > span {
  color: #655686;
  font-weight: 620;
}

.v9 .conversation-exchange .active-dialogue {
  margin: 2px 0 4px;
}

.v9 .conversation-exchange .active-dialogue-turn {
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 15px;
}

.v9 .conversation-exchange .response-voice-row {
  margin-top: 8px;
  padding-top: 10px;
}

.v9 .toast {
  right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  left: auto;
  width: auto;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(38, 28, 52, 0.92);
  box-shadow: 0 8px 24px rgba(32, 24, 45, 0.16);
  pointer-events: none;
}

@media (max-width: 340px) {
  .v9 .active-dialogue-turn {
    font-size: 15px;
  }

  .v9 .conversation-exchange .user-turn {
    margin-left: 14px;
  }
}
