#modal:has(.broadcast-composer){width:min(1120px,calc(100% - 32px));max-width:1120px}.broadcast-composer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:26px;align-items:start}.broadcast-composer form{min-width:0}.broadcast-photo-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.broadcast-photo-controls input{max-width:100%;width:100%}.broadcast-counter{display:block;margin-top:6px;color:var(--muted,#91a6b6)}.broadcast-counter.is-over{color:#ff8a8a}.tg-preview{min-width:0}.tg-preview-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:12px}.tg-preview-controls label{display:flex;align-items:center;gap:6px;font-size:12px;color:#a8bac9}.tg-preview-controls select{min-width:0;width:auto;padding:7px 8px}.tg-preview-stage{max-width:100%;overflow:auto;padding:4px 2px 12px}.tg-phone{box-sizing:border-box;width:var(--tg-width);border-radius:26px;overflow:hidden;background:#e1e8d9;border:1px solid #293d4b;box-shadow:0 10px 28px #0003;color:#101820;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;margin:auto}.tg-status{height:29px;background:#f6f7f8;display:flex;align-items:center;justify-content:space-between;padding:0 24px;font-size:12px;font-weight:600}.tg-chat-head{display:flex;gap:10px;align-items:center;background:#f6f7f8;border-bottom:1px solid #c6d0d9;padding:8px 14px;min-height:60px;box-sizing:border-box}.tg-back{font-size:36px;line-height:24px;color:#2481cc}.tg-avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(140deg,#72c4e2,#268cb6);display:grid;place-items:center;color:white;font-size:21px;flex:none}.tg-chat-head b{font-size:16px;color:inherit;display:block}.tg-chat-head small{font-size:13px;color:#7f8a93;display:block}.tg-chat-menu{margin-left:auto;font-size:26px;color:#2481cc}.tg-chat{padding:16px 12px 28px;min-height:360px;background:radial-gradient(ellipse at top left,#f4eadd77,transparent 65%),#dee8d6}.tg-date{display:block;width:max-content;margin:0 auto 18px;border-radius:14px;padding:4px 10px;background:#8f9e8977;color:white;font-size:12px}.tg-bubble{box-sizing:border-box;background:white;border-radius:14px 14px 14px 5px;width:calc(100% - 24px);overflow:hidden;box-shadow:0 1px 2px #0002;padding:8px 11px 5px}.tg-bubble.tg-with-photo{padding:0 0 5px}.tg-bubble img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain;background:#d8d8d8}.tg-bubble img[hidden]{display:none}.tg-caption{font-size:16px;line-height:1.32;white-space:pre-wrap;overflow-wrap:anywhere;color:inherit}.tg-with-photo .tg-caption{padding:8px 11px 0}.tg-caption a{color:#168acd;text-decoration:none}.tg-time{display:block;text-align:right;font-size:11px;line-height:1.2;margin-top:5px;color:#82919b}.tg-with-photo .tg-time{margin-right:10px}.tg-input{display:flex;align-items:center;gap:12px;background:#f6f7f8;padding:14px;color:#939da5;font-size:14px}.tg-input span:nth-child(2){flex:1;border-radius:20px;background:#fff;padding:8px 12px}.tg-input span:last-child{color:#168acd}.tg-preview-note{font-size:12px;line-height:1.5;color:#91a6b6;margin:8px 0}.tg-phone[data-theme=dark]{background:#0e1621;color:#f4f6f8}.tg-phone[data-theme=dark] .tg-status,.tg-phone[data-theme=dark] .tg-chat-head,.tg-phone[data-theme=dark] .tg-input{background:#17212c;border-color:#1c2b3c}.tg-phone[data-theme=dark] .tg-chat{background:radial-gradient(ellipse at top left,#142b2b77,transparent 65%),#0e1621}.tg-phone[data-theme=dark] .tg-bubble{background:#182533}.tg-phone[data-theme=dark] .tg-input span:nth-child(2){background:#243448}@media(max-width:800px){.broadcast-composer{grid-template-columns:minmax(0,1fr)}.tg-preview-controls{justify-content:flex-start}.tg-preview-stage{margin-top:4px}} 
