#hd-live-status{--hd-companion-color:#ffffff;--hd-eye-x:0px;--hd-eye-y:0px;--hd-antenna-tilt:0deg;--hd-wave-angle:135deg;--hd-wave-c1:rgba(255,255,255,0.2);--hd-wave-c2:rgba(255,255,255,0.82);--hd-wave-c3:rgba(255,255,255,0.45);position:fixed;right:18px;bottom:14px;max-width:min(680px,93vw);padding:11px 16px 11px 16px;border:1px solid rgba(255,255,255,0.24);border-radius:22px;background:#0a0e17e6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--hd-companion-color);text-shadow:0 1px 2px rgba(0,0,0,0.95),0 0 8px rgba(0,0,0,0.45);font:500 14.5px/1.35 'Geist',Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;letter-spacing:0.015em;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;z-index:9990;pointer-events:auto;cursor:grab;user-select:none;touch-action:none;box-shadow:0 6px 20px rgba(0,0,0,0.34),inset 0 1px 0 rgba(255,255,255,0.18);display:inline-flex;align-items:center;gap:12px;transition:border-color .35s,padding .18s}#hd-live-status:hover{border-color:rgba(255,255,255,0.45)}#hd-live-status.hd-dragging{cursor:grabbing;opacity:0.96;transition:none}#hd-live-status::before{content:"⋮⋮";opacity:0.65;color:currentColor;font-size:14px;letter-spacing:-1px;cursor:grab}#hd-live-status[data-jump="true"]::after{content:"↗ Ir";margin-left:3px;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,0.14);border:1px solid rgba(255,255,255,0.45);color:currentColor;font-size:12.5px;font-weight:600;white-space:nowrap;cursor:pointer}
#hd-live-status .hd-live-border-wave{position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--hd-wave-angle),var(--hd-wave-c1) 0%,var(--hd-wave-c2) 22%,var(--hd-wave-c3) 48%,var(--hd-wave-c1) 72%,var(--hd-wave-c2) 90%,var(--hd-wave-c1) 100%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:0.92;transition:opacity .3s}
#hd-live-status[data-mode=active],#hd-live-status.hd-speaking{--hd-wave-c1:rgba(255,255,255,0.24);--hd-wave-c2:rgba(251,146,60,0.92);--hd-wave-c3:rgba(56,189,248,0.82);border-color:rgba(251,146,60,0.35)}
#hd-live-status.hd-speaking .hd-live-border-wave,#hd-live-status[data-mode=active] .hd-live-border-wave{opacity:1}
#hd-live-status[data-mode=waiting]{--hd-wave-c1:rgba(255,255,255,0.22);--hd-wave-c2:rgba(250,204,21,0.88);--hd-wave-c3:rgba(255,255,255,0.65);border-color:rgba(250,204,21,0.32)}
#hd-live-status[data-mode=done]{--hd-companion-color:#4ade80;--hd-wave-c1:rgba(74,222,128,0.28);--hd-wave-c2:rgba(52,211,153,0.95);--hd-wave-c3:rgba(74,222,128,0.65);border-color:rgba(74,222,128,0.55)}
#hd-live-status[data-mode=paused]{--hd-wave-c1:rgba(161,161,170,0.18);--hd-wave-c2:rgba(255,255,255,0.38);--hd-wave-c3:rgba(161,161,170,0.25);border-color:rgba(161,161,170,0.25)}
.hd-live-updated{animation:hd-update 1.6s ease-out}@keyframes hd-update{from{box-shadow:inset 0 0 0 1.5px rgba(255,255,255,0.45)}to{box-shadow:inset 0 0 0 1.5px transparent}}@media(prefers-reduced-motion:reduce){.hd-live-updated,#hd-live-status .hd-live-border-wave{animation:none}}

/* Companion belongs to the UI only, never to the video/export composition. */
#hd-live-status .hd-live-robot{width:44px;height:44px;flex:0 0 44px;color:currentColor !important;filter:drop-shadow(0 1px 3px rgba(0,0,0,0.68));overflow:visible;pointer-events:none;transform-origin:center;transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
#hd-live-status .hd-live-message{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;overflow-wrap:anywhere;color:currentColor !important}
#hd-live-status .hd-live-line{display:block;line-height:1.32}
#hd-live-status .hd-live-channel{color:var(--hd-companion-color,#ffffff) !important;font-weight:800 !important;text-transform:uppercase !important;letter-spacing:0.04em;font-size:13.5px}
#hd-live-status .hd-live-tok{font-weight:600}
#hd-live-status .hd-live-collapse{order:10;appearance:none;border:1px solid rgba(255,255,255,0.32);background:rgba(255,255,255,0.08);color:currentColor !important;width:26px;height:26px;flex:0 0 26px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;line-height:1;cursor:pointer;opacity:0.88;margin-left:2px;padding:0;transition:opacity .15s,background .15s,border-color .15s}
#hd-live-status .hd-live-collapse:hover{opacity:1;background:rgba(255,255,255,0.2);border-color:currentColor}
#hd-live-status[data-collapsed="true"]{padding:8px;width:60px;height:60px;border-radius:999px;justify-content:center;gap:0;cursor:pointer}
#hd-live-status[data-collapsed="true"] .hd-live-message,#hd-live-status[data-collapsed="true"] .hd-live-collapse,#hd-live-status[data-collapsed="true"]::before,#hd-live-status[data-collapsed="true"]::after{display:none!important}
#hd-live-status .hd-robot-gaze{transform:translate(var(--hd-eye-x,0px),var(--hd-eye-y,0px));transition:transform 75ms ease-out}
#hd-live-status .hd-robot-antenna-group{transform-box:fill-box;transform-origin:20px 11px;transform:rotate(var(--hd-antenna-tilt,0deg));transition:transform 120ms ease-out}
#hd-live-status .hd-robot-eyes{transform-box:fill-box;transform-origin:center}
#hd-live-status[data-mode="active"] .hd-robot-eyes{animation:hd-robot-blink 5.5s infinite}
#hd-live-status[data-mode="active"] .hd-robot-signal{animation:hd-robot-signal 2.8s ease-in-out infinite}
#hd-live-status[data-mode="paused"] .hd-live-robot{opacity:.55}
#hd-live-status[data-mode="paused"] .hd-robot-eyes,#hd-live-status[data-mode="paused"] .hd-robot-signal{animation:none}

/* Playful robot tricks ("gracinhas") and attention-grabbing beacon */
#hd-live-status.hd-trick-spin .hd-live-robot{animation:hd-trick-spin 1.1s cubic-bezier(.34,1.56,.64,1)}
#hd-live-status.hd-trick-wink .hd-live-robot{animation:hd-trick-tilt .85s ease-in-out}
#hd-live-status.hd-trick-wink .hd-eye-right{transform-box:fill-box;transform-origin:center;animation:hd-trick-wink-eye .85s ease-in-out}
#hd-live-status.hd-trick-boogie .hd-live-robot{animation:hd-trick-boogie 1.15s ease-in-out}
#hd-live-status.hd-trick-curious .hd-live-robot{animation:hd-trick-curious 1.15s cubic-bezier(.34,1.56,.64,1)}
#hd-live-status.hd-trick-beacon .hd-live-robot{animation:hd-trick-beacon 1.6s cubic-bezier(.34,1.56,.64,1)}
#hd-live-status.hd-trick-beacon .hd-robot-ring{transform-box:fill-box;transform-origin:center;animation:hd-trick-ring 1.6s ease-out}

@keyframes hd-robot-blink{0%,44%,48%,92%,96%,100%{transform:scaleY(1)}46%,94%{transform:scaleY(.1)}}
@keyframes hd-robot-signal{0%,100%{opacity:.45;transform:scale(.92)}50%{opacity:1;transform:scale(1.18)}}
@keyframes hd-trick-spin{0%{transform:translateY(0) rotate(0deg) scale(1)}30%{transform:translateY(-6px) rotate(-18deg) scale(1.12)}75%{transform:translateY(-2px) rotate(370deg) scale(1.08)}100%{transform:translateY(0) rotate(360deg) scale(1)}}
@keyframes hd-trick-tilt{0%,100%{transform:rotate(0deg) scale(1)}35%,65%{transform:rotate(-12deg) translateY(-2px) scale(1.08)}}
@keyframes hd-trick-wink-eye{0%,20%,80%,100%{transform:scaleY(1)}35%,65%{transform:scaleY(.12)}}
@keyframes hd-trick-boogie{0%,100%{transform:translateY(0) rotate(0deg)}20%{transform:translateY(-6px) rotate(-14deg) scale(1.08)}45%{transform:translateY(-1px) rotate(14deg) scale(1.08)}70%{transform:translateY(-5px) rotate(-10deg) scale(1.05)}85%{transform:translateY(0) rotate(8deg)}}
@keyframes hd-trick-curious{0%,100%{transform:scale(1) rotate(0deg)}35%{transform:scale(1.22) rotate(9deg) translateY(-2px)}70%{transform:scale(1.18) rotate(-7deg) translateY(-1px)}}
@keyframes hd-trick-beacon{0%{transform:translateY(0) scale(1) rotate(0deg)}20%{transform:translateY(-9px) scale(1.18) rotate(-12deg)}45%{transform:translateY(0) scale(.95) rotate(12deg)}70%{transform:translateY(-7px) scale(1.15) rotate(360deg)}100%{transform:translateY(0) scale(1) rotate(360deg)}}
@keyframes hd-trick-ring{0%{stroke-opacity:.95;transform:scale(.75)}100%{stroke-opacity:0;transform:scale(1.55)}}
@media(prefers-reduced-motion:reduce){#hd-live-status .hd-robot-eyes,#hd-live-status .hd-robot-signal,#hd-live-status .hd-live-robot{animation:none!important}}
