.er-tg-panel{position:fixed;right:18px;top:116px;width:308px;z-index:90;border:1px solid #3b4261;border-radius:16px;background:#1b1e35;color:#e9edf7;box-shadow:0 12px 36px #05091b35;font:14px/1.5 system-ui,sans-serif;overflow:hidden}
.er-tg-header{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;background:#232943;border-bottom:1px solid #3b4261}.er-tg-title{display:flex;align-items:center;gap:10px;font-size:16px}.er-tg-icon{background:#259ec9;border-radius:50%;width:29px;height:29px;text-align:center;line-height:29px;color:white}.er-tg-toggle{border:0;border-radius:7px;background:#363f60;color:white;font-size:22px;line-height:26px;width:29px;cursor:pointer}.er-tg-content{padding:17px;max-height:calc(100vh - 200px);overflow:auto}.er-tg-content[hidden]{display:none}.er-tg-preview{font-size:10px;letter-spacing:1px;color:#9ba9ca}.er-tg-content h2{font-size:17px;margin:6px 0 2px}.er-tg-subtitle{font-size:12px;color:#b6c1d9;margin:0 0 16px}.er-tg-message{padding:12px;border-radius:12px;background:#252c47;margin:0 0 10px;border:1px solid #35405b}.er-tg-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px}.er-tg-meta strong{color:#71d0ed}.er-tg-meta time{font-size:10px;color:#aeb9d1;white-space:nowrap}.er-tg-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;font-size:13px;line-height:1.55}.er-tg-more{padding:5px 0 0;color:#71d0ed;background:none;border:0;cursor:pointer;font-size:12px}.er-tg-join{display:block;width:100%;background:linear-gradient(120deg,#4f46e5,#149eb9);color:white;padding:11px 10px;border:0;border-radius:9px;font-weight:650;margin-top:15px}.er-tg-join:disabled{opacity:.8;cursor:not-allowed}.er-tg-note{font-size:12px;color:#c1cbe0;margin:11px 0 0}.er-tg-pending{font-size:10px;color:#929fbd;margin:7px 0 0}.er-tg-empty{color:#b6c1d9;font-size:13px}.er-tg-collapsed{width:180px}.er-tg-preview-open #content{padding-right:340px}
.er-tg-channel{display:block;width:100%;background:#2b3c56;color:#d9eef7;padding:11px 10px;border:1px solid #41627e;border-radius:9px;font-weight:650;margin-top:15px}.er-tg-channel:disabled{opacity:.8;cursor:not-allowed}
@media(max-width:1100px){.er-tg-panel{right:12px;width:280px}.er-tg-preview-open #content{padding-right:306px}}
@media(max-width:800px){.er-tg-preview-open #content{padding-right:0}.er-tg-panel{position:relative;top:auto;right:auto;width:auto;max-width:540px;margin:20px auto;z-index:1}.er-tg-content{max-height:500px}.er-tg-collapsed{width:180px}}
.er-tg-content{display:flex;flex-direction:column;height:calc(100vh - 200px);max-height:600px;overflow:hidden}.er-tg-content>h2,.er-tg-content>p,.er-tg-content>button,.er-tg-preview{flex-shrink:0}.er-tg-messages{flex:1 1 auto;min-height:100px;overflow-y:auto;padding-right:5px;scrollbar-width:thin}
@media(max-width:800px){.er-tg-content{height:520px;max-height:75vh}}
