html.lemy-demo-open { overflow: hidden; }
.lemy-demo-dialog {
  box-sizing: border-box; width: min(1180px, calc(100vw - 48px));
  height: min(860px, calc(100dvh - 48px)); max-width: none; max-height: none;
  margin: auto; padding: 0; overflow: hidden;
  border: 1px solid #ffffff24; border-radius: 20px;
  background: #0b0b12; color: #f8edf3;
  box-shadow: 0 28px 100px #0009;
  font: 14px/1.4 Manrope, system-ui, sans-serif;
}
.lemy-demo-dialog:not([open]) { display: none; }
.lemy-demo-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lemy-demo-dialog::backdrop { background: #05040bbd; backdrop-filter: blur(6px); }
.lemy-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px 10px 22px; border-bottom: 1px solid #ffffff14; }
.lemy-demo-head h2 { margin: 0; color: inherit; font: 600 16px/1.35 Manrope, system-ui, sans-serif; }
.lemy-demo-close { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; padding: 0; border: 1px solid #ffffff25; border-radius: 50%; color: #fff; background: #ffffff0c; cursor: pointer; font: 28px/1 system-ui, sans-serif; }
.lemy-demo-close:hover { background: #ffffff20; }
.lemy-demo-close:focus-visible { outline: 3px solid #ffafcf; outline-offset: 3px; }
.lemy-demo-stage { position: relative; min-height: 0; overflow: hidden; }
.lemy-demo-frame { display: block; width: 100%; height: 100%; border: 0; background: #0b0b12; }
.lemy-demo-frame[aria-busy="true"] { visibility: hidden; }
.lemy-demo-loading { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: #f8edf3; background: radial-gradient(ellipse at 50% 42%, #6d244429, transparent 60%), #0c0811; }
.card-actions a.card-demo-btn { text-decoration: none; }
@media (max-width: 959px) {
  .lemy-demo-dialog { width: calc(100vw - 24px); height: calc(100dvh - 24px); border-radius: 14px; }
}
