#ninja-nina-chat{--nn-orange:#ff791f;--nn-dark:#17191c;--nn-border:#3a3d43;font:15px/1.5 system-ui,-apple-system,sans-serif;color:#f8f6f2;position:fixed;z-index:99999;right:24px;bottom:24px;text-align:left;color-scheme:dark}
#ninja-nina-chat *{box-sizing:border-box}
#ninja-nina-chat [hidden]{display:none!important}
#ninja-nina-chat button,#ninja-nina-chat textarea{font:inherit}
#ninja-nina-chat button{cursor:pointer;border:1px solid var(--nn-border);border-radius:10px;padding:9px 12px;background:#26292e;color:#fff;line-height:1.4}
#ninja-nina-chat button:disabled{opacity:.6;cursor:wait}
#ninja-nina-chat button:focus-visible,#ninja-nina-chat textarea:focus-visible,#ninja-nina-chat a:focus-visible{outline:3px solid #fff;outline-offset:3px}
#ninja-nina-chat #nn-launch{border:0;background:var(--nn-orange);color:#17191c;border-radius:99px;font-weight:800;padding:14px 22px;box-shadow:0 5px 28px #0005}
#ninja-nina-chat #nn-panel{position:absolute;right:0;bottom:64px;width:380px;max-width:calc(100vw - 32px);height:570px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;background:var(--nn-dark);border:1px solid var(--nn-border);border-radius:20px;box-shadow:0 12px 60px #0008;overflow:hidden}
#ninja-nina-chat .nn-head{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--nn-border)}
#ninja-nina-chat .nn-avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:var(--nn-orange);color:#17191c;font-weight:900;font-size:24px}
#ninja-nina-chat .nn-heading{flex:1}#ninja-nina-chat h2{font:800 19px/1.2 system-ui;margin:0;color:#fff}#ninja-nina-chat #nn-status{color:#c5c6ca;font-size:12px;margin-top:4px}
#ninja-nina-chat #nn-log{padding:16px;overflow-y:auto;flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}
#ninja-nina-chat .nn-bubble{padding:12px 14px;border-radius:14px;background:#272a2f;white-space:pre-wrap;overflow-wrap:anywhere;max-width:94%;align-self:flex-start}
#ninja-nina-chat .nn-user{background:#ff791f;color:#17191c;align-self:flex-end}
#ninja-nina-chat .nn-bubble a{color:#ffab71;text-decoration:underline}#ninja-nina-chat .nn-user a{color:#17191c}
#ninja-nina-chat #nn-notice{margin:0;padding:0 16px 8px;color:#ffb785;font-size:13px}
#ninja-nina-chat .nn-actions{display:flex;gap:8px;padding:8px 16px;border-top:1px solid var(--nn-border)}#ninja-nina-chat .nn-actions button{font-size:12px;padding:6px 9px}
#ninja-nina-chat form{padding:8px 16px 12px;display:flex;gap:8px;align-items:flex-end}
#ninja-nina-chat textarea{resize:none;min-height:54px;max-height:110px;width:100%;border:1px solid #555961;border-radius:10px;padding:10px;background:#23262b;color:#fff}
#ninja-nina-chat #nn-send{background:var(--nn-orange);color:#17191c;font-weight:800;border:0;min-height:54px}
#ninja-nina-chat .nn-foot{font-size:11px;color:#bfc2c7;padding:0 16px 12px;margin:0}#ninja-nina-chat .nn-foot a{color:#ffab71}
#ninja-nina-chat .nn-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:480px){#ninja-nina-chat{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}#ninja-nina-chat #nn-panel{width:calc(100vw - 32px);height:620px;max-height:calc(100dvh - 106px)}#ninja-nina-chat #nn-launch{padding:12px 18px}}
