/* Shared caption treatment for the eight illustrative demos. Placement belongs to each scene. */
.ts-demo-caption {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: min(760px, calc(100vw - 28px));
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 13px;
  background: #171923;
  box-shadow: 0 14px 34px -19px rgba(15, 18, 28, .65);
  color: #fff;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: clamp(14px, 1.45vw, 18px);
  font-weight: 550;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
}
.ts-demo-caption__label {
  flex: none;
  color: #cbb9ff;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ts-demo-caption__text {
  min-width: 0;
}
@media (max-width: 600px) {
  .ts-demo-caption {
    gap: 7px;
    min-height: 40px;
    max-width: calc(100vw - 24px);
    padding: 9px 11px;
    font-size: 14px;
    line-height: 1.3;
  }
  .ts-demo-caption__label {
    font-size: 9px;
    letter-spacing: .07em;
  }
}
