.bloom-dialog {
  inset: 0; margin: auto; padding: 0; position: fixed; overflow: auto;
  width: min(900px,calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px);
  color: #fff; background: #09090b; border: 1px solid #424247;
}
.bloom-dialog::backdrop { background: #070709cf; }
.bloom-frame { position: relative; }
.bloom-frame video { display: block; width: 100%; height: auto; max-height: 66dvh; object-fit: contain; background: #101013; }
.bloom-close, .bloom-launcher { font: inherit; cursor: pointer; }
.bloom-close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  background: #08080aec; color: #fff; border: 1px solid #888; font-size: 25px;
}
.bloom-footer {
  display: flex; align-items: end; justify-content: space-between; gap: 14px;
  padding: clamp(15px,3vw,28px); border-top: 1px solid #333;
}
.bloom-footer h2 { width: min(100%,420px); font-size: clamp(20px,4vw,38px); font-weight: 400; margin: 0; }
[data-bloom-glyph] svg { display: block; width: 100%; height: auto; }
.bloom-report, .bloom-launcher {
  color: #09090b; background: #f4f4f4; border: 1px solid #f4f4f4;
  min-height: 44px; padding: 10px 14px; font-size: 13px;
}
.bloom-report { display: flex; align-items: center; gap: .6em; white-space: nowrap; }
.bloom-report:hover { background: #09090b; color: #fff; }
.bloom-launcher {
  position: fixed; bottom: max(12px,env(safe-area-inset-bottom)); right: max(12px,env(safe-area-inset-right)); z-index: 9;
  background: #141418; color: #fff; border-color: #666;
}
html:has(.bloom-dialog[open]) { overflow: hidden; }
@media(max-width: 620px) {
  .bloom-footer { display: grid; }
  .bloom-report { justify-self: end; }
}
