/* Embedded live-demo iframe on the home page.
   Full-bleed: breaks out of mdBook's narrow centered content column so the
   wide TUI (≈96 cols) gets room, while prose stays in the readable column. */
.sirbone-demo-embed {
  width: 92vw;
  max-width: 1200px;
  margin: 1rem auto 1.5rem;
  /* center the wider block relative to the viewport, not the content column */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.sirbone-demo-embed iframe {
  display: block;
  width: 100%;
  height: min(72vh, 620px);
  border: 1px solid var(--sidebar-active, #ffb454);
  border-radius: 10px;
  background: #14141b;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.sirbone-demo-cap {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
}

.sirbone-demo-cap kbd {
  padding: 0.05em 0.35em;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 0.85em;
}
