(function(){function boot(){if(document.getElementById('fi-telegram-promo'))return;var ru=document.documentElement.lang!=='en';var box=document.createElement('aside');box.id='fi-telegram-promo';box.style.cssText='margin:24px auto;padding:22px;width:100%;max-width:none;min-width:0;grid-column:1/-1;border:1px solid #cfe4f3;border-radius:18px;background:#edf7ff;color:#173d56;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;box-sizing:border-box';var text=document.createElement('div');var title=document.createElement('strong');title.textContent=ru?'FeisInfo в Telegram':'FeisInfo on Telegram';title.style.fontSize='20px';var p=document.createElement('p');p.textContent=ru?'Расписание, участники и результаты соревнований — в чатботе @feisagent.':'Timetables, participants and competition results in @feisagent.';p.style.margin='8px 0 0';text.append(title,p);var a=document.createElement('a');a.href='https://t.me/feisagent';a.target='_blank';a.rel='noopener';a.textContent=ru?'Открыть в Telegram':'Open in Telegram';a.style.cssText='display:inline-block;padding:12px 18px;border-radius:10px;background:#168dca;color:white;text-decoration:none;font-weight:600';box.append(text,a);document.body.appendChild(box);}if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',boot);else boot();})();