.fullscreen-transparent-viewer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  grid-template-rows: auto 1fr;
  background: transparent;
  color: var(--bs-body-color, #0f172a);
  pointer-events: auto;
}

body.fullscreen-transparent-viewer-open {
  overflow: hidden;
}

.fullscreen-transparent-viewer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) 0.75rem max(0.75rem, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bs-body-bg, #ffffff) 62%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--bs-border-color, #cbd5e1) 62%, transparent);
  backdrop-filter: blur(8px);
}

.fullscreen-transparent-viewer__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.fullscreen-transparent-viewer__close {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--bs-border-color, #cbd5e1) 76%, transparent);
  border-radius: 999px;
  color: inherit;
  background: color-mix(in srgb, var(--bs-body-bg, #ffffff) 72%, transparent);
  line-height: 1;
}

.fullscreen-transparent-viewer__body {
  min-width: 0;
  min-height: 0;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  display: grid;
}

.fullscreen-transparent-viewer__mount {
  min-width: 0;
  min-height: 0;
  display: grid;
}
