/* Figma 节点 11012:1673 — 章节正文 text 区域 */
body:has(.figma-game-header) .figma-scene-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 0;
}

/* Figma 11012:1671 — 开篇视频（覆盖 style.min.css .scene-video） */
body:has(.figma-game-header) .figma-scene-content .scene-video {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  background-color: #000;
  box-shadow: none;
}

body:has(.figma-game-header) .figma-scene-content .scene-desc {
  width: 100%;
  margin: 0;
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  color: #d9d9d9;
}

body:has(.figma-game-header) .figma-scene-content .dialog-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 16px 24px;
  border: 1px solid rgba(136, 0, 221, 0.1);
  border-radius: 12px;
  background: rgba(136, 0, 221, 0.1);
}

body:has(.figma-game-header) .figma-scene-content .dialog-item {
  margin: 0;
  line-height: 24px;
}

body:has(.figma-game-header) .figma-scene-content .dialog-role {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #8800dd;
}

body:has(.figma-game-header) .figma-scene-content .dialog-content {
  font-family: 'Lexend', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
}

body:has(.figma-game-header) .figma-scene-content .figma-narration {
  width: 100%;
  margin: 0;
  padding: 0;
}

body:has(.figma-game-header) .figma-scene-content .ad-container {
  margin: 0;
  min-height: 250px;
}

/* Figma 11012:1715 items — 选项区 */
body:has(.figma-game-header) .figma-choice-section {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body:has(.figma-game-header) .figma-choice-section.choice-container {
  gap: 12px;
  margin: 0;
}

body:has(.figma-game-header) .figma-choice-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  height: 60px;
  min-height: 60px;
  margin: 0;
  padding: 0 24px !important;
  border: 2px solid rgba(136, 0, 221, 0.2) !important;
  border-radius: 12px !important;
  background: rgba(136, 0, 221, 0.1) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: visible;
  opacity: 1;
  transform: none;
  transition: none;
}

body:has(.figma-game-header) .figma-choice-btn::before,
body:has(.figma-game-header) .figma-choice-btn::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Figma 11012:1709 — 未选中默认态，无 hover 额外样式 */
body:has(.figma-game-header) .figma-choice-btn:not(.selected):hover,
body:has(.figma-game-header) .figma-choice-btn:not(.selected):active {
  background: rgba(136, 0, 221, 0.1) !important;
  border-color: rgba(136, 0, 221, 0.2) !important;
  box-shadow: none !important;
  transform: none;
}

body:has(.figma-game-header) .figma-choice-btn:not(.selected):hover::before,
body:has(.figma-game-header) .figma-choice-btn:not(.selected):hover::after {
  content: none !important;
  display: none !important;
}

body:has(.figma-game-header) .figma-choice-btn.selected {
  background: rgba(136, 0, 221, 0.5) !important;
  border: 2px solid #8800dd !important;
  box-shadow: 0 4px 32px 0 #8800dd !important;
  color: #ffffff !important;
}

body:has(.figma-game-header) .figma-choice-btn.selected:hover {
  background: rgba(136, 0, 221, 0.5) !important;
  border-color: #8800dd !important;
  box-shadow: 0 4px 32px 0 #8800dd !important;
}

body:has(.figma-game-header) .figma-choice-btn:disabled:not(.selected) {
  opacity: 0.45;
  border-color: rgba(136, 0, 221, 0.15) !important;
  background: rgba(136, 0, 221, 0.06) !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

.figma-choice-btn__icon {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  overflow: visible;
}

.figma-choice-btn__icon img {
  max-width: none;
}

body:has(.figma-game-header) .figma-choice-btn:not(.selected) .figma-choice-btn__icon-img--default {
  display: block;
  width: 24px;
  height: 24px;
}

body:has(.figma-game-header) .figma-choice-btn:not(.selected) .figma-choice-btn__icon-img--selected {
  display: none !important;
}

body:has(.figma-game-header) .figma-choice-btn.selected .figma-choice-btn__icon-img--default {
  display: none !important;
}

body:has(.figma-game-header) .figma-choice-btn.selected .figma-choice-btn__icon-img--selected {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  margin: auto;
  transform: none;
  top: 4.5px;
  left: -12px;
}

.figma-choice-btn__label {
  flex-shrink: 0;
  min-width: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  body:has(.figma-game-header) .figma-scene-content {
    padding: 20px 10px;
  }

  body:has(.figma-game-header) .figma-choice-section {
    padding: 40px 0;
  }
}