.tw-hero .tw-shot--interactive {
  width: min(1680px, calc(100vw - 64px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.tw-demo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2412 / 1454;
}
.tw-demo-stage > .tw-shot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tw-demo-stage[data-ready='true'][data-expanded='false'] > .tw-shot__img {
  visibility: hidden;
}
.tw-demo-launch-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 22px 0 5px;
}
.tw-demo-launch {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  color: inherit;
}
.tw-demo-launch:hover {
  background: #80808015;
}
.tw-demo-launch:focus-visible {
  outline: 2px solid #7196e9;
  outline-offset: 5px;
}
.tw-demo-launch-note {
  font-size: 11px;
  opacity: 0.6;
}
.tw-demo-dialog {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 1px solid #6668;
  border-radius: 14px;
  background: #171717;
  color: #eee;
  overflow: hidden;
  text-align: left;
}
.tw-demo-stage[data-ready='false'] .tw-demo-dialog[data-expanded='false'] {
  visibility: hidden;
  pointer-events: none;
}
.tw-demo-dialog[data-expanded='true'] {
  position: fixed;
  inset: 16px;
  margin: auto;
  width: calc(100vw - 32px);
  max-width: 2200px;
  height: calc(100dvh - 32px);
  box-shadow: 0 25px 120px #0008;
}
.tw-demo-dialog::backdrop {
  background: #0a101ce6;
}
.tw-demo-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.tw-demo-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  background: #171717;
  font:
    14px -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.tw-demo-loading a {
  color: #b1c8ff;
  font-size: 12px;
}
.tw-demo-loading button {
  padding: 8px 18px;
  border: 1px solid #666;
  border-radius: 7px;
  background: #292929;
  color: #eee;
  cursor: pointer;
}
@media (max-width: 700px) {
  .tw-hero .tw-shot--interactive {
    width: calc(100vw - 24px);
  }
  .tw-demo-dialog[data-expanded='true'] {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
}
