/* V15.2 simple entry: keep the first screen quiet while leaving demo and QA tools reachable. */
body.v15 .demo-scene-toggle {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  min-height: 32px;
  margin: 0 0 8px;
  padding: 5px 10px;
  color: #756b80;
  border: 1px solid rgba(106, 83, 126, 0.14);
  border-radius: 999px;
  background: rgba(248, 243, 247, 0.78);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

body.v15 .demo-scene-toggle[hidden],
body.v15 #demoScenes[hidden] {
  display: none !important;
}

body.v15 .demo-scene-toggle svg:first-child {
  width: 14px;
  height: 14px;
  color: #b28d54;
  stroke-width: 2.1;
}

body.v15 .demo-scene-toggle [data-demo-scene-chevron] {
  width: 14px;
  height: 14px;
  color: #988da0;
  stroke-width: 1.9;
  transition: transform 180ms ease;
}

body.v15 .demo-scene-toggle [data-demo-scene-chevron].is-open {
  transform: rotate(180deg);
}

body.v15[data-mode="demo"] .demo-scenes,
body.v15[data-mode="qa"] .demo-scenes {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

body.v15[data-mode="demo"] .demo-scenes::-webkit-scrollbar,
body.v15[data-mode="qa"] .demo-scenes::-webkit-scrollbar {
  display: none;
}

body.v15[data-mode="live"] #demoSceneToggle,
body.v15[data-mode="live"] #demoScenes {
  display: none !important;
}

body.v15 .demo-scenes button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 10px;
  color: #766b7c;
  border: 1px solid rgba(106, 83, 126, 0.12);
  border-radius: 999px;
  background: rgba(248, 243, 247, 0.86);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

body.v15 .talk-box textarea {
  min-height: 184px;
  max-height: 36svh;
}

body.v15 .voice-strip:not(.unavailable) p {
  display: none;
}

body.v15 .voice-strip.unavailable {
  gap: 0;
  padding-top: 11px;
}

body.v15 .voice-strip.unavailable p {
  display: block;
  margin: 0;
  padding: 0 8px;
  color: #817989;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 350px) {
  body.v15 .demo-scene-toggle {
    min-height: 30px;
    margin-bottom: 6px;
    font-size: 11px;
  }

  body.v15 .demo-scenes button {
    min-height: 30px;
    padding-inline: 9px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v15 .demo-scene-toggle [data-demo-scene-chevron] {
    transition: none;
  }
}
