/* Lady Hawk Extempore — immersive full-screen stage (unified indigo + amber theme) */
html.lhe-html, body.lhe-page-body{margin:0;padding:0;height:100%}
.lhe-page-body{
	/* ONE theme: deep indigo base, single warm amber accent */
	--bg-0:#120c2e;--bg-1:#1b1244;--bg-2:#0d0822;
	--accent:#ffb84d;--accent-2:#ff9e2c;
	--ink:#1a1336;--paper:#f5f2ff;--line:rgba(26,19,54,.12);
	min-height:100vh;display:flex;flex-direction:column;position:relative;overflow-x:hidden;
	font-family:'Outfit',-apple-system,BlinkMacSystemFont,sans-serif;
	background:
		radial-gradient(1100px 700px at 78% -12%, rgba(124,92,255,.34), transparent 60%),
		radial-gradient(900px 600px at 12% 112%, rgba(124,92,255,.22), transparent 58%),
		linear-gradient(165deg,var(--bg-0) 0%,var(--bg-1) 52%,var(--bg-2) 100%);
	color:#fff;
}
.lhe-page-body *{box-sizing:border-box}

/* animated ambient background — single hue family (violet) + amber spark */
.lhe-bg-stage{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.lhe-orb{position:absolute;border-radius:50%;filter:blur(90px);opacity:.45;mix-blend-mode:screen}
.lhe-orb-1{width:600px;height:600px;background:radial-gradient(circle,#7c5cff,transparent 70%);top:-180px;right:-140px;animation:lhe-float1 20s ease-in-out infinite}
.lhe-orb-2{width:540px;height:540px;background:radial-gradient(circle,#9b7bff,transparent 70%);bottom:-200px;left:-140px;animation:lhe-float2 24s ease-in-out infinite}
.lhe-orb-3{width:380px;height:380px;background:radial-gradient(circle,#ffb84d,transparent 72%);top:42%;left:58%;opacity:.25;animation:lhe-float3 18s ease-in-out infinite}
@keyframes lhe-float1{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-60px,50px) scale(1.12)}}
@keyframes lhe-float2{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(70px,-40px) scale(1.1)}}
@keyframes lhe-float3{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-40px,-60px) scale(.9)}}
.lhe-grid-overlay{position:absolute;inset:0;opacity:.045;
	background-image:linear-gradient(rgba(255,255,255,.6) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.6) 1px,transparent 1px);
	background-size:56px 56px;mask-image:radial-gradient(ellipse at center,#000 30%,transparent 75%)}

/* top bar holds just the close button */
.lhe-topbar{position:relative;z-index:5;display:flex;align-items:center;justify-content:flex-end;padding:20px 26px 0}
.lhe-close{width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px);transition:transform .35s cubic-bezier(.2,.9,.2,1),background .3s}
.lhe-close svg{width:20px;height:20px}
.lhe-close:hover{background:var(--accent);border-color:var(--accent);color:var(--bg-0);transform:rotate(90deg) scale(1.06)}

/* GRAND centered masthead */
.lhe-masthead{position:relative;z-index:4;text-align:center;padding:14px 20px 6px}
.lhe-brand-logo{display:block;width:clamp(96px,13vw,150px);height:auto;margin:0 auto;filter:drop-shadow(0 8px 26px rgba(255,184,77,.35));animation:lhe-hover 4s ease-in-out infinite}
@keyframes lhe-hover{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
.lhe-brand{font-family:'Fraunces',serif;font-weight:600;font-size:clamp(2.4rem,6vw,4rem);letter-spacing:-.02em;margin:10px 0 0;line-height:1;
	background:linear-gradient(180deg,#fff 0%,#d9ccff 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.lhe-brand em{font-style:italic;font-weight:500;
	background:linear-gradient(135deg,var(--accent) 0%,var(--accent-2) 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.lhe-brand-rule{width:84px;height:4px;border-radius:4px;margin:18px auto 0;background:linear-gradient(90deg,var(--accent),var(--accent-2));box-shadow:0 4px 16px rgba(255,184,77,.5)}

/* stage centers the game card */
.lhe-stage{position:relative;z-index:2;flex:1;display:flex;align-items:flex-start;justify-content:center;padding:30px 20px 50px;width:100%}
.lhe-stage-foot{position:relative;z-index:2;text-align:center;padding:20px;font-family:'Spline Sans Mono',monospace;font-size:12px;letter-spacing:.14em;color:rgba(255,255,255,.45)}

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

.lhe-stage .lhe-app{width:100%;max-width:780px}

@media(max-width:600px){
	.lhe-topbar{padding:16px 16px 0}
	.lhe-masthead{padding:8px 16px 2px}
	.lhe-stage{padding:20px 14px 36px}
}
