/* Lady Hawk Extempore Express — editorial dark stage.
   Near-black background, a faint pink/lavender/peach glow, no page scroll. */
/* The dark backdrop is painted on .lhe-bg-stage (a layer we fully control) AND
   on the body with !important, so a light theme can never bleed through. */
html.lhe-html, body.lhe-page-body{margin:0;padding:0;height:100%}
.lhe-page-body{
	--bg-0:#262733;--bg-1:#1c1d28;--bg-2:#15161f;
	--accent:#b89aff;
	height:100vh;height:100dvh;width:100%;
	display:flex;flex-direction:column;position:fixed;inset:0;overflow:hidden;
	font-family:'Outfit',-apple-system,BlinkMacSystemFont,sans-serif;
	background:#1c1d28 !important;background-color:#1c1d28 !important;
	color:#fff;
	padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.lhe-page-body *{box-sizing:border-box}
.lhe-page-body #wpadminbar{display:none}

/* full-screen backdrop layer — owns the gradient + glows so no theme css can
   override it. Sits behind all content (content is z-index 2+). */
.lhe-bg-stage{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;
	background:
		radial-gradient(1100px 700px at 84% -22%, rgba(199,155,255,.18), transparent 56%),
		radial-gradient(900px 620px at 4% 8%, rgba(255,143,180,.12), transparent 52%),
		radial-gradient(900px 640px at 98% 108%, rgba(255,176,138,.12), transparent 54%),
		linear-gradient(165deg,#2a2b38 0%,#1f202b 55%,#16171f 100%)}
.lhe-orb{position:absolute;border-radius:50%;filter:blur(130px);opacity:.22}
.lhe-orb-1{width:560px;height:560px;background:radial-gradient(circle,#c79bff,transparent 68%);top:-240px;right:-200px;animation:lhe-float1 24s ease-in-out infinite}
.lhe-orb-2{width:520px;height:520px;background:radial-gradient(circle,#ff8fb4,transparent 68%);bottom:-260px;left:-200px;animation:lhe-float2 28s ease-in-out infinite}
.lhe-orb-3{width:360px;height:360px;background:radial-gradient(circle,#ffb08a,transparent 70%);top:50%;left:64%;opacity:.12;animation:lhe-float3 21s ease-in-out infinite}
@keyframes lhe-float1{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-50px,40px) scale(1.1)}}
@keyframes lhe-float2{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(60px,-30px) scale(1.08)}}
@keyframes lhe-float3{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-30px,-50px) scale(.9)}}
.lhe-grid-overlay{position:absolute;inset:0;opacity:.028;
	background-image:linear-gradient(rgba(199,155,255,.7) 1px,transparent 1px),linear-gradient(90deg,rgba(199,155,255,.7) 1px,transparent 1px);
	background-size:64px 64px;mask-image:radial-gradient(ellipse at center,#000 20%,transparent 70%)}
.lhe-bg-stage::after{content:"";position:absolute;inset:0;pointer-events:none;
	background:radial-gradient(130% 120% at 50% 40%,transparent 64%,rgba(8,8,14,.5) 100%)}
/* fine film grain for depth (subtle, premium) */
.lhe-bg-stage::before{content:"";position:absolute;inset:-50%;pointer-events:none;opacity:.04;mix-blend-mode:overlay;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
@media(prefers-reduced-motion:reduce){.lhe-orb{animation:none!important}.lhe-title{animation:none!important}}

/* floating close button — top right */
.lhe-close{position:absolute;top:clamp(12px,2vh,20px);right:clamp(12px,2vw,24px);z-index:20;
	width:clamp(38px,4.8vh,46px);height:clamp(38px,4.8vh,46px);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;
	background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px);
	transition:transform .4s cubic-bezier(.2,.9,.2,1),background .3s,border-color .3s,color .3s}
.lhe-close svg{width:44%;height:44%}
.lhe-close:hover{background:#fff;border-color:#fff;color:#0c0a10;transform:rotate(90deg) scale(1.06)}
.lhe-close:focus-visible{outline:none;box-shadow:0 0 0 4px rgba(199,155,255,.45)}

/* stage fills the viewport; the app renders inside */
.lhe-stage{position:relative;z-index:2;flex:1 1 auto;min-height:0;display:flex;width:100%}
.lhe-stage .lhe-app{width:100%;height:100%;max-height:100%;display:flex;min-height:0}

/* boot spinner */
.lhe-boot{display:flex;align-items:center;justify-content:center;flex:1;width:100%;min-height:40vh}
.lhe-boot-spin{width:58px;height:58px;border-radius:50%;border:3px solid rgba(255,255,255,.12);border-top-color:var(--accent);animation:lhe-spin .8s linear infinite}
@keyframes lhe-spin{to{transform:rotate(360deg)}}

/* shortcode overlay mode */
.lhe-overlay{position:fixed;inset:0;z-index:999999}
.lhe-overlay .lhe-bg-stage{position:absolute}
