#chat-toggle{position:fixed;right:24px;bottom:24px;z-index:90;display:flex;align-items:center;gap:10px;background:#148cf0;color:#fff;padding:14px 18px;border:1px solid #72c5ff;border-radius:28px;font:600 15px "Segoe UI",sans-serif;box-shadow:0 6px 24px #0006}#support-chat[hidden]{display:none}#support-chat{position:fixed;right:24px;bottom:88px;z-index:91;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 120px);overflow:auto;border:1px solid #476680;border-radius:16px;background:#152334;color:#edf5ff;box-shadow:0 12px 48px #0009;font:15px/1.6 "Segoe UI",sans-serif}#support-chat header{position:sticky;top:0;background:#1c344c;display:flex;justify-content:space-between;align-items:center;padding:18px;z-index:1}#support-chat header small{display:block;color:#c1d4e8}#chat-close{padding:8px;color:white}#support-chat .chat-body{padding:20px}#support-chat p{font-size:15px;color:#d5e1ef;margin-bottom:16px}#support-chat label{font-size:15px;margin:16px 0}#support-chat textarea{width:100%;font:15px/1.5 "Segoe UI",sans-serif;box-sizing:border-box;color:white;min-height:90px}#support-chat .btn{font:600 14px "Segoe UI",sans-serif;min-height:42px;margin:6px 0;clip-path:none;border-radius:8px}#support-chat small{font-size:12px;color:#b7c8db}.chat-discord{display:flex;gap:8px;color:#7accff;margin-top:20px}.chat-entry{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:10px;background:#21394f;padding:12px;margin:10px 0}.chat-entry.reply{background:#17444a}#chat-count{border-radius:20px;padding:0 6px;background:white;color:#124268}body[data-page="admin"] #chat-toggle{font-size:14px}@media(max-width:600px){#chat-toggle{bottom:14px;right:14px}#support-chat{right:16px;bottom:78px}}

.chat-admin-thread summary{display:flex;align-items:center;gap:16px;flex-wrap:wrap;cursor:pointer}.chat-admin-history{max-height:480px;overflow:auto;margin:20px 0}.chat-admin-history small{display:block}.chat-admin-history .chat-entry{white-space:normal}#support-chat input{width:100%;box-sizing:border-box;font-size:15px}.chat-admin-thread{margin-bottom:20px}
