/* Host page around the Galaxia del Amor editor frame. */
.lumina-view { padding: 16px; }
.lumina-toolbar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 12px; }
.lumina-toolbar h1 { margin: 0; font-size: 1.5rem; }
.lumina-toolbar p { flex-basis: 100%; margin: 0; }
#lumina-link { flex-basis: 100%; overflow-wrap: anywhere; }
#lumina-stage iframe { display: block; width: 100%; height: calc(100dvh - 180px); min-height: 480px; border: 0; border-radius: 12px; background: #0c0d13; }
/* Full screen like every other template; the shell returns only when the editor failed to open. */
body:has(#lumina-view:not([hidden]) #lumina-frame) { overflow: hidden; }
body:has(#lumina-view:not([hidden]) #lumina-frame) :is(.site-header, .site-footer, .lumina-toolbar) { display: none; }
#lumina-view:has(#lumina-frame) { padding: 0; }
#lumina-stage iframe { position: fixed; inset: 0; z-index: 1000; height: 100dvh; min-height: 0; border-radius: 0; }

/* A published gift fills the screen; loading, error and retry states keep the site around them. */
body:has(#lumina-public-frame) { overflow: hidden; }
body:has(#lumina-public-frame) :is(.site-header, .site-footer, .gift-toolbar) { display: none; }
#lumina-public-frame { position: fixed; inset: 0; z-index: 1000; display: block; width: 100%; height: 100dvh; border: 0; background: #0c0d13; }
