/* Figma 节点 11012:1702 — 旁白 quote + textbox + quote */
.figma-narration {
  display: flex;
  align-items: stretch;
  gap: 12px;
  box-sizing: border-box;
  width: calc(100% - 40px);
  margin: 15px 20px;
}

.figma-narration__quote-col {
  display: flex;
  flex-shrink: 0;
  width: 16px;
}

.figma-narration__quote-col--start {
  align-items: flex-start;
  padding-top: 2px;
}

.figma-narration__quote-col--end {
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 2px;
}

.figma-narration__quote {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 12px;
  pointer-events: none;
}

.figma-narration__quote--close {
  transform: scaleX(-1);
}

.figma-narration__box {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  min-width: 0;
  padding: 16px 24px;
  border: 0 solid #00ddff;
  border-left-width: 4px;
  border-right-width: 4px;
  border-radius: 12px;
  background-color: rgba(0, 221, 255, 0.1);
}

.figma-narration__text {
  width: 100%;
  margin: 0;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  line-height: 24px;
  color: #00ddff;
  word-break: break-word;
  white-space: pre-wrap;
}

/* 覆盖旧旁白引号与灰底样式 */
body:has(.figma-game-header) .figma-narration::before,
body:has(.figma-game-header) .figma-narration::after {
  content: none;
  display: none;
}

body:has(.figma-game-header) .figma-narration .figma-narration__text {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
