#c28-home-chat{--hc-accent:#187a98;--hc-soft:#eef8fc;--hc-bg:#fff;--hc-ink:#173b4e;--hc-border:#d6e8ef;box-sizing:border-box;position:relative;min-width:0;max-width:100%;align-self:start;border:1px solid var(--hc-border);border-radius:20px;overflow:hidden;background:var(--hc-bg);color:var(--hc-ink);box-shadow:0 8px 26px #102b4610;font-family:inherit;text-align:left;scroll-margin-top:90px;font-size:14px;line-height:1.5}
#c28-home-chat *{box-sizing:border-box}#c28-home-chat [hidden]{display:none!important}#c28-home-chat .hc-heading{padding:18px 18px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--hc-soft);border-bottom:1px solid var(--hc-border)}#c28-home-chat .hc-heading h2{color:var(--hc-ink);font-size:22px;line-height:1.3;letter-spacing:.02em;margin:2px 0 0;font-weight:800}#c28-home-chat .hc-eyebrow{font-size:11px;color:var(--hc-accent);font-weight:700;letter-spacing:.12em}#c28-home-chat a{color:var(--hc-accent);text-decoration:none;font-size:12px;font-weight:700}#c28-home-chat .hc-connection{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;font-size:12px;border-bottom:1px solid var(--hc-border)}#c28-home-chat .hc-connection [data-role=connection]:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#9a7785;margin-right:7px}#c28-home-chat[data-connected=true] .hc-connection [data-role=connection]:before{background:#23966b}#c28-home-chat .hc-announcement{font-size:12px;line-height:1.5;margin:0;padding:10px 16px;color:var(--hc-ink);opacity:.8;overflow-wrap:anywhere;border-bottom:1px solid var(--hc-border)}#c28-home-chat .hc-list{height:330px;min-height:180px;overflow:auto;overscroll-behavior:contain;padding:14px 12px;background:var(--hc-soft);scrollbar-width:thin}#c28-home-chat .chat-message{display:flex;align-items:start;gap:8px;margin:0 0 15px}#c28-home-chat .avatar{width:30px;height:30px;flex:0 0 30px;border-radius:11px;display:grid;place-items:center;background:var(--hc-accent);color:#fff;font-size:12px;font-weight:800}#c28-home-chat .message-main{min-width:0;flex:1}#c28-home-chat .message-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:10px;line-height:1.4;margin-bottom:5px;color:var(--hc-ink)}#c28-home-chat .message-meta strong{font-size:12px;font-weight:700;overflow-wrap:anywhere}#c28-home-chat .message-meta time{opacity:.6;font-size:10px}#c28-home-chat .bubble{background:var(--hc-bg);border:1px solid var(--hc-border);border-radius:0 12px 12px 12px;padding:8px 10px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:13px;line-height:1.65;color:var(--hc-ink)}#c28-home-chat .own .bubble{border-color:var(--hc-accent)}#c28-home-chat .empty{margin:45px 0;text-align:center;color:var(--hc-ink);opacity:.7;font-size:13px}#c28-home-chat button{font:inherit;cursor:pointer;min-height:32px;padding:5px 9px;border:1px solid var(--hc-border);border-radius:9px;background:var(--hc-bg);color:var(--hc-accent);box-shadow:none;white-space:normal;line-height:1.3;letter-spacing:normal}#c28-home-chat button:disabled{cursor:default;opacity:.45}#c28-home-chat button:focus-visible,#c28-home-chat a:focus-visible,#c28-home-chat input:focus-visible,#c28-home-chat textarea:focus-visible,#c28-home-chat .hc-list:focus-visible{outline:2px solid var(--hc-accent);outline-offset:2px}#c28-home-chat .hc-latest{display:block;margin:8px auto;background:var(--hc-soft);font-size:12px}#c28-home-chat .hc-composer{margin:0;padding:14px 14px 12px;border-top:1px solid var(--hc-border);position:relative}#c28-home-chat .hc-nickname{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:10px}#c28-home-chat .hc-nickname label{display:flex;align-items:center;gap:6px;min-width:0;flex:1;font-size:12px;color:var(--hc-ink)}#c28-home-chat .hc-nickname input{font:inherit;font-size:16px;min-width:0;width:90px;flex:1;max-width:160px;height:36px;border:1px solid var(--hc-border);border-radius:8px;padding:4px 8px;background:var(--hc-bg);color:var(--hc-ink)}#c28-home-chat [data-role=nick-policy]{display:none}#c28-home-chat .hc-input-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#c28-home-chat textarea{display:block;width:100%;max-width:100%;min-height:76px;margin:0;padding:10px 12px;font:inherit;font-size:16px;line-height:1.5;border:1px solid var(--hc-border);border-radius:10px;resize:vertical;background:var(--hc-bg);color:var(--hc-ink)}#c28-home-chat textarea::placeholder{color:var(--hc-ink);opacity:.55}#c28-home-chat .hc-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 0 0}#c28-home-chat [data-role=count]{font-size:11px;opacity:.6}#c28-home-chat [data-role=send-btn]{background:var(--hc-accent);color:#fff;border-color:var(--hc-accent);font-weight:700;padding:9px 24px;min-height:38px}#c28-home-chat [data-role=status]{font-size:11px;min-height:17px;margin:7px 0 0;color:var(--hc-ink)}#c28-home-chat .error{color:#c83b3b!important}#c28-home-chat .hc-composer small{display:block;opacity:.55;font-size:10px;margin:2px 0 0}#c28-home-chat .hc-emoji{position:absolute;bottom:180px;left:10px;right:10px;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;padding:10px;border:1px solid var(--hc-border);border-radius:12px;background:var(--hc-bg);box-shadow:0 4px 18px #0002;z-index:5}#c28-home-chat .hc-emoji button{font-size:20px;padding:6px 2px}#c28-home-chat .hc-storage{font-size:11px;padding:0 14px;margin:0 0 8px}#c28-home-chat .hc-storage:empty{display:none}#c28-home-chat .delete-button{font-size:10px;min-height:24px;padding:2px 5px}
@media(max-width:767px){#c28-home-chat .hc-list{height:260px}#c28-home-chat{border-radius:16px}#c28-home-chat .hc-heading{padding:14px 16px}#c28-home-chat .hc-heading h2{font-size:20px}#c28-home-chat [data-role=send-btn]{min-height:44px}#c28-home-chat .hc-nickname input{max-width:none}}
@media(prefers-reduced-motion:reduce){#c28-home-chat *{scroll-behavior:auto!important;transition:none!important}}
/* Keep the emoji controls in document flow so they cannot cover their own toggle. */
#c28-home-chat .hc-emoji{position:static;margin:0 0 10px;box-shadow:none}
