#kagura-chat-launch{position:fixed;right:18px;bottom:18px;z-index:9000;border:1px solid #e5ca94;border-radius:40px;background:#32243d;color:#fff;padding:12px 18px;box-shadow:0 8px 28px #0005;font:15px sans-serif;cursor:pointer}#kagura-chat-panel{position:fixed;right:16px;bottom:76px;width:min(370px,calc(100vw - 32px));height:min(520px,calc(100dvh - 100px));z-index:9001;display:flex;flex-direction:column;background:#fffaf2;color:#292032;border:1px solid #bca17a;border-radius:18px;overflow:hidden;box-shadow:0 12px 44px #0006;font:14px/1.6 sans-serif}#kagura-chat-panel[hidden]{display:none!important}.kc-head{background:#352640;color:#fff;padding:12px 15px;display:flex;justify-content:space-between;align-items:center}.kc-head button{border:0;background:transparent;color:white;font-size:24px;cursor:pointer}.kc-log{padding:15px;overflow-y:auto;flex:1}.kc-msg{max-width:92%;padding:10px 12px;margin:0 0 12px;border-radius:14px;white-space:pre-wrap}.kc-bot{background:#f1e6d6}.kc-user{background:#e4d8f0;margin-left:auto}.kc-options{display:flex;gap:6px;flex-wrap:wrap;padding:8px 12px}.kc-options button{background:#fff;border:1px solid #b49b7c;border-radius:18px;padding:7px 10px;color:#352640;cursor:pointer}.kc-form{display:flex;gap:6px;padding:10px;border-top:1px solid #e4d7c5}.kc-form input{flex:1;min-width:0;border:1px solid #d5c7b4;border-radius:8px;padding:9px;background:white;color:#292032;font:14px sans-serif}.kc-form button{border:0;border-radius:8px;background:#352640;color:#fff;padding:9px 12px;cursor:pointer}.kc-note{font-size:10px;color:#746b73;padding:0 12px 8px}

/* The launcher is the actual Kagura portrait, cropped from the provided video. */
#kagura-chat-launch{width:88px;height:88px;padding:0;border-radius:50%;background:#fff5e6;border:3px solid #ead4a1;overflow:visible;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 18px #0005}
#kagura-chat-launch img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
#kagura-chat-launch .kc-launch-hint{position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#5c354f;color:#fff;border-radius:12px;padding:2px 8px;font-size:10px;line-height:1.4;pointer-events:none}
#kagura-chat-launch:focus-visible{outline:3px solid #a778bc;outline-offset:4px}
#kagura-chat-panel{bottom:120px}
@media(max-width:600px){#kagura-chat-launch{width:74px;height:74px;right:14px;bottom:22px}#kagura-chat-panel{bottom:112px;height:min(520px,calc(100dvh - 125px))}}

.kc-head-actions{display:flex;align-items:center;gap:8px}.kc-head-actions select{max-width:110px;background:#fffaf2;color:#352640;border:1px solid #b49b7c;border-radius:8px;padding:5px;font-size:12px}.kc-head strong{font-size:13px}.kc-head-actions button{line-height:1}
