.block {
  margin: 0;
}

.summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  user-select: none;
  font-weight: 500;
  color: #7c6a9a;
}

.summary::-webkit-details-marker {
  display: none;
}

.summary::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid #a894c6;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform 0.15s ease;
}

.block[open] > .summary::before {
  transform: rotate(90deg);
}

.summaryLabel {
  flex-shrink: 0;
  font-size: inherit;
  letter-spacing: 0.02em;
}

.summaryText {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: italic;
  color: #8b7aa8;
}

.detail {
  margin: 0;
  padding: 6px 10px 8px;
  border-top: 1px solid #ece6f5;
}

.body {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: inherit;
  line-height: inherit;
  font-style: italic;
  color: #6f5f8d;
}

.streaming::after {
  content: "▊";
  animation: blink 0.8s step-end infinite;
  color: #8b6fd4;
  margin-left: 1px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
