button.koa-chat-btn{position:fixed;right:18px;bottom:18px;z-index:9000;width:56px;height:56px;border-radius:50%;border:2px solid #000;background:#FFDD00;color:#000;font:24px/1 Anton,Impact,sans-serif;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.45)}
button.koa-chat-btn:hover,button.koa-chat-btn:focus-visible{background:#000;color:#FFDD00;border-color:#FFDD00}
.koa-chat{position:fixed;right:18px;bottom:84px;z-index:9000;width:340px;max-width:calc(100vw - 24px);max-height:min(520px,calc(100vh - 110px));display:none;flex-direction:column;background:#000;color:#fff;border:2px solid #FFDD00;border-radius:12px;overflow:hidden;font-family:inherit;box-shadow:0 8px 30px rgba(0,0,0,.6)}
.koa-chat.open{display:flex}
.koa-chat{height:min(520px,calc(100vh - 110px))}
.koa-chat-h{display:flex;justify-content:center;text-align:center;align-items:center;background:#FFDD00;color:#000;padding:10px 12px;font:20px/1 Anton,Impact,sans-serif;letter-spacing:.5px}
.koa-chat-log{flex:1 1 auto;min-height:120px;overflow-y:auto;padding:10px 12px;font-size:14px;line-height:1.45}
.koa-chat-m{margin:0 0 10px;padding:8px 10px;border-radius:8px;background:#1a1a1a;white-space:pre-line}
.koa-chat-m.u{background:#fff;color:#000;margin-left:30px}
.koa-chat-m b{display:block;font-family:Anton,Impact,sans-serif;font-weight:400;color:#FFDD00;margin-bottom:4px}
.koa-chat-q{flex:0 1 auto;max-height:38%;overflow-y:auto;border-top:1px solid #333;padding-top:8px !important;display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px}
.koa-chat-q button,.koa-chat-d{background:#000;color:#FFDD00;border:1px solid #FFDD00;border-radius:14px;padding:5px 10px;font-size:12px;cursor:pointer;text-decoration:none;display:inline-block}
.koa-chat-q button:hover,.koa-chat-d:hover,.koa-chat-q button:focus-visible,.koa-chat-d:focus-visible{background:#FFDD00;color:#000}
.koa-chat-f{display:flex;border-top:1px solid #333}
.koa-chat-f input{flex:1;min-width:0;background:#000;color:#fff;border:0;padding:10px 12px;font-size:16px}
.koa-chat-f button{background:#FFDD00;color:#000;border:0;padding:0 14px;font-family:Anton,Impact,sans-serif;cursor:pointer}
.koa-chat-f button:hover{background:#fff;color:#000}
@media (max-width:600px){.koa-chat{right:12px;bottom:80px}button.koa-chat-btn{right:12px;bottom:12px}}
button.koa-chat-btn{position:fixed;overflow:hidden}
.koa-chat-i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;transition:transform .2s ease,opacity .2s ease}
.koa-chat-i.x{font-size:30px;opacity:0;transform:rotate(-90deg) scale(.5)}
button.koa-chat-btn.on .koa-chat-i.q{opacity:0;transform:rotate(90deg) scale(.5)}
button.koa-chat-btn.on .koa-chat-i.x{opacity:1;transform:none}
button.koa-chat-btn .koa-chat-i{font-size:26px !important;font-family:Anton,Impact,sans-serif !important}button.koa-chat-btn .koa-chat-i.x{font-size:28px !important}
