/* A 9:16 reel stays contained on desktop, portrait phones and short screens. */
html.dsit-reel-open { overflow: hidden; }
.dsit-showreel.dsit-reel {
  box-sizing: border-box;
  width: min(440px, calc(100vw - 24px), calc((100dvh - 170px) * .5625 + 34px));
  min-width: min(234px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 16px;
  border: 1px solid #ffffff24;
  border-radius: 18px;
  background: #101820;
  color: #fff;
  box-shadow: 0 24px 100px #0008;
  overflow: auto;
}
.dsit-reel::backdrop { background: #000d; backdrop-filter: blur(8px); }
.dsit-reel .dsit-showreel-heading { position: sticky; top: 0; z-index: 2; background: #101820; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 12px; }
.dsit-reel .dsit-showreel-heading h2 { margin: 0; font-size: 16px; line-height: 1.3; white-space: nowrap; }
.dsit-reel .dsit-showreel-close { width: 36px; height: 36px; font-size: 17px; background: #ffffff08; }
.dsit-reel .dsit-showreel-close:hover { color: #7dccff; border-color: #7dccff; }
.dsit-reel-frame { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: #000; }
.dsit-reel-frame iframe { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dsit-reel a:focus-visible, .dsit-reel button:focus-visible { outline: 2px solid #7dccff; outline-offset: 3px; }
