/* LIVE HUD CONTRACT (Maestro, 2026-10-22). One layer, one job per slot, nothing pasted on anything.
   Rooted in docs/design/lovebird-ui-language-2026-10-01.md (slot grid + Aura tokens) and
   ui-registry.json. Cameron 2026-10-22: "No UI can just be fucking pasted on top of other UI."
   Slots:  TL mark (official wordmark)  ·  TR broadcast bug  ·  BL control capsule  ·  BC subtitle/hint lane
           chat = a drawer that exists only while open.  No on-screen D-pad, no +/- zoom: gestures + keys. */
:root{--hud-gut:24px;--hud-glass:rgba(16,10,24,.56);--hud-edge:rgba(255,255,255,.14);--hud-ink:#f5eef4;--hud-ink2:#c3b4c6;--hud-rose:#ff86be;--hud-mint:#8ff0d6;--hud-heart:#ff4f7e}
@media (max-width:760px){:root{--hud-gut:16px}}
/* TL: the official wordmark, nothing on top of it */
#wishlist-top,.legacy-header-wishlist,header #live-modes,header #connection,header #control-toggle,header>span{display:none!important}
header{position:fixed!important;left:var(--hud-gut)!important;top:var(--hud-gut)!important;right:auto!important;width:auto!important;height:auto!important;padding:0!important;background:none!important;pointer-events:none!important;z-index:30!important}
header img{display:block!important;width:112px!important;height:auto!important;opacity:.86!important;margin:0!important;filter:none!important}
@media (max-width:760px){header img{width:88px!important}}
/* TR: one broadcast truth. On air = tally lamp. Off air = draw nothing; the absent lamp is the state (Maestro 2026-11-03, HQ 44c21edb) */
#lbg .lbg-bug{top:var(--hud-gut)!important;right:var(--hud-gut)!important}
#lbg .lbg-bug.is-off{display:none!important}
/* BL: one capsule. Map · Sound · Chat · Cast · Step in. No second sign-in, no Watch/Play pill */
#visitor-controls #wishlist-bar,#visitor-controls #v2-modes,#visitor-controls .v2-modes-btn{display:none!important}
#visitor-controls{left:var(--hud-gut)!important;bottom:calc(var(--hud-gut) + env(safe-area-inset-bottom,0px))!important;gap:8px!important}
#visitor-controls #identity.v2-cast-btn{width:42px!important;min-width:42px!important;padding:0!important;justify-content:center!important;font-size:0!important}
#visitor-controls #identity.v2-cast-btn svg{width:20px;height:20px}
#visitor-controls #identity.v2-cast-btn>:not(svg){display:none!important}
#hud-step-in{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border-radius:999px;background:linear-gradient(100deg,#ff86be,#c3a6ff);color:#1a0d1f;font:500 14px/1 Inter,system-ui,sans-serif;letter-spacing:.01em;text-decoration:none;border:0;box-shadow:0 0 22px rgba(255,134,190,.35);white-space:nowrap}
#hud-step-in:hover{filter:brightness(1.06)}
#hud-step-in:focus-visible{outline:2px solid #8fd7ff;outline-offset:3px}
/* Chat: off by default; a drawer above the capsule only while open */
#live-chat{display:none!important}
html.hud-chat-open #live-chat{display:block!important;left:var(--hud-gut)!important;bottom:calc(var(--hud-gut) + 58px + env(safe-area-inset-bottom,0px))!important;max-width:min(360px,calc(100vw - 2*var(--hud-gut)))!important;max-height:28vh!important;overflow:hidden!important;padding:12px 14px!important;border-radius:22px!important;background:var(--hud-glass)!important;border:1px solid var(--hud-edge)!important;backdrop-filter:blur(22px) saturate(1.3);-webkit-backdrop-filter:blur(22px) saturate(1.3)}
/* No on-screen D-pad / +- ever (taste rule onscreen-dpad-zoom-buttons) */
#viewer-flight .viewer-fly-pad{display:none!important}
#viewer-flight{right:var(--hud-gut)!important;bottom:calc(var(--hud-gut) + env(safe-area-inset-bottom,0px))!important}
/* One hint, once: bottom-centre lane, fades */
#hud-hint{position:fixed;left:50%;bottom:calc(var(--hud-gut) + 64px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);padding:8px 16px;border-radius:999px;background:var(--hud-glass);border:1px solid var(--hud-edge);color:var(--hud-ink2);font:400 12px/1.2 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .6s cubic-bezier(.2,.8,.2,1);z-index:31}
#hud-hint.on{opacity:1}
@media (max-width:760px){#hud-hint{bottom:calc(var(--hud-gut) + 58px + env(safe-area-inset-bottom,0px));font-size:11px;letter-spacing:.08em}}
