#loult-game-stage { position:fixed; inset:0; z-index:40; background:#100d18; display:block; animation:loult-game-enter .55s ease both; }
#loult-game-stage[hidden], #loult-game-loader[hidden], #loult-game-controls[hidden] { display:none; }
#loult-game-stage iframe { width:100%; height:100%; border:0; display:block; }
#loult-game-loader { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; color:#f6edff; background:radial-gradient(ellipse at center,#38214d,#100d18 70%); text-align:center; padding:30px; }
#loult-game-loader h1 { font:700 clamp(24px,4vw,48px) Verdana,sans-serif; }
#loult-game-progress { width:min(360px,75vw); height:7px; accent-color:#bf8bfa; }
#loult-game-error { max-width:540px; color:#ffb6bc; }
.game-orbit { font-size:72px; color:#d4a3ff; animation:loult-game-pulse 1.5s ease-in-out infinite; }
#loult-game-controls { position:fixed; right:16px; top:12px; z-index:110; display:flex; gap:8px; flex:none; }
#loult-game-controls button { border:1px solid #ffffff38; border-radius:20px; padding:9px 16px; color:#fff; background:#20182bdd; cursor:pointer; }
body.loult-gaming #head, body.loult-gaming #userlist, body.loult-gaming #underlay { display:none !important; }
body.loult-gaming #main { position:fixed !important; left:14px; bottom:150px; width:min(360px,36vw); height:42vh; max-height:430px; z-index:100; display:block; flex:none; min-height:0; background:#130f20c9; border:1px solid #ffffff24; border-radius:14px 14px 0 0; backdrop-filter:blur(12px); opacity:0; pointer-events:none; transform:translateX(-16px); transition:opacity .3s,transform .3s; }
body.loult-gaming #chat { width:100% !important; height:100% !important; padding:12px; box-sizing:border-box; overflow:auto; background:transparent !important; }
body.loult-gaming #foot { position:fixed !important; left:14px; bottom:58px; width:min(360px,36vw); height:92px; z-index:100; opacity:0; pointer-events:none; background:#130f20ec; border-radius:0 0 14px 14px; transition:opacity .3s; padding:6px; box-sizing:border-box; }
body.loult-gaming #room-options, body.loult-gaming #chat-controls { display:none !important; }
body.loult-gaming.loult-chat-visible #main, body.loult-gaming.loult-chat-visible #foot, body.loult-gaming #main:hover, body.loult-gaming #foot:focus-within { opacity:1; pointer-events:auto; transform:none; }
@keyframes loult-game-enter { from { opacity:0; transform:scale(.94); } to { opacity:1; transform:scale(1); } }
@keyframes loult-game-pulse { 50% { transform:rotate(18deg) scale(1.15); opacity:.6; } }
@media(max-width:650px) { body.loult-gaming #main,body.loult-gaming #foot { width: min(320px,76vw); } }
@media(prefers-reduced-motion:reduce) { #loult-game-stage,.game-orbit { animation:none; } body.loult-gaming #main,body.loult-gaming #foot { transition:none; } }
