/* Shared public assistant, aligned opposite the social links. */
#guy-ai-launcher{position:absolute;left:max(5%,calc((100% - 1180px)/2));top:50%;transform:translateY(-50%);z-index:5;width:34px;height:36px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink,#f5ecd6);box-shadow:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;cursor:pointer}
#guy-ai-launcher svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
#guy-ai-launcher span{font:700 10px/1.1 Arial,sans-serif;letter-spacing:.1em;color:var(--accent,#e4bc74)}
#guy-ai-launcher:hover{color:var(--accent,#e4bc74)}
#guy-ai-launcher:focus-visible,#guy-ai-dialog button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#guy-ai-dialog{padding:0;border:1px solid var(--accent,#e4bc74);border-radius:8px;width:min(480px,calc(100vw - 24px));height:min(740px,calc(100dvh - 32px));max-width:none;max-height:none;position:fixed;inset:auto auto 16px 68px;margin:0;background:#0d2038;color:#f5ecd6;box-shadow:0 12px 50px #0006;overflow:hidden}
#guy-ai-dialog::backdrop{background:rgb(0 0 0/.3)}
.guy-ai-dialog-bar{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 12px 0 18px;font:15px Arial,sans-serif;border-bottom:1px solid #53677e;background:#1a324e;color:#f5ecd6}
#guy-ai-dialog .guy-ai-close{font:30px/1 Arial,sans-serif;width:36px;height:36px;min-height:0;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
#guy-ai-dialog iframe{display:block;width:100%;height:calc(100% - 48px);border:0;background:#0d2038}
@media(max-width:700px){#guy-ai-launcher{left:4%;top:8px;width:32px;height:32px;min-height:0}#guy-ai-launcher svg{width:22px;height:22px}#guy-ai-launcher span{font-size:9px}#guy-ai-dialog{inset:12px;width:calc(100vw - 24px);height:calc(100dvh - 24px);margin:0}}
@media print{#guy-ai-launcher,#guy-ai-dialog{display:none!important}}

.ux-social-links.guy-ai-social-host{position:relative}
.ux-home-social-anchor>#guy-ai-launcher{top:8px;transform:none}
.guy-ai-standalone-host{position:relative;height:48px;width:100%;color:var(--ink,#243854)}
@media(max-width:700px){.ux-social-links.guy-ai-social-host>#guy-ai-launcher{top:50%}.ux-home-social-anchor>#guy-ai-launcher{top:8px}}

.guy-ai-standalone-host>#guy-ai-launcher{top:50%}

.archive-toolbar.guy-ai-social-host{position:relative;padding-inline-start:54px}.archive-toolbar>#guy-ai-launcher{left:10px;top:50%}

/* Approved Guybrush portrait: exact vector from the selected draft. */
#guy-ai-launcher svg .face,#guy-ai-launcher svg .hair,#guy-ai-launcher svg .spark{transform-box:fill-box;transform-origin:center;transition:transform .28s ease,opacity .2s ease,fill-opacity .25s ease}
#guy-ai-launcher svg .hair,#guy-ai-launcher svg .ponytail{stroke:var(--accent,#e4bc74);fill:var(--accent,#e4bc74);fill-opacity:.16}
#guy-ai-launcher svg .beard{stroke:var(--accent,#e4bc74)}
#guy-ai-launcher svg .spark{opacity:0}
#guy-ai-launcher:is(:hover,:focus-visible) svg .face{transform:rotate(-6deg) translateY(-1px)}
#guy-ai-launcher:is(:hover,:focus-visible) svg .spark{opacity:1}
#guy-ai-launcher:is(:hover,:focus-visible) svg .hair{fill-opacity:.4}
@media(prefers-reduced-motion:reduce){#guy-ai-launcher svg *{transition:none!important}#guy-ai-launcher:is(:hover,:focus-visible) svg .face{transform:none}}
