.tegos-vpn .tegos-telegram { margin: 24px 0; min-width: 0; }
.tegos-vpn .tegos-telegram__separator { text-align: center; color: #52627a; margin: 16px 0; }
.tegos-vpn .tegos-telegram__button { background: #087eb5; border-color: #087eb5; width: 100%; }
.tegos-vpn .tegos-telegram__button:hover { background: #086992; }
.tegos-vpn .tegos-telegram__widget { min-height: 42px; text-align: center; overflow-x: auto; }
.tegos-vpn .tegos-telegram [hidden] { display: none !important; }
.tegos-vpn .tegos-telegram__status { margin: 10px 0; overflow-wrap: anywhere; font-size: 14px; }
.tegos-vpn .tegos-telegram__status:empty { display: none; }
.tegos-vpn .tegos-telegram__status--error { color: #a31515; }
.tegos-vpn .tegos-telegram__actions { display: flex; gap: 12px 24px; flex-wrap: wrap; margin-top: 16px; }
.tegos-vpn .tegos-telegram .tegos-vpn__check { align-items: flex-start; }
.tegos-vpn .tegos-telegram a { overflow-wrap: anywhere; }

.tegos-vpn .tegos-telegram--signup{padding:24px;border:1px solid #d9e8f5;border-radius:18px;background:linear-gradient(135deg,#f1f9ff,#fbfdff);margin:24px 0 18px}
.tegos-vpn .tegos-telegram__heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.tegos-vpn .tegos-telegram__icon{display:grid;place-items:center;flex:0 0 52px;height:52px;border-radius:16px;color:#fff;background:#229ed9;box-shadow:0 6px 16px #229ed922}
.tegos-vpn .tegos-telegram__heading h3{margin:0;font-size:22px;line-height:1.3;font-weight:700;color:#172b4d}
.tegos-vpn .tegos-telegram__heading p{margin:4px 0 0;font-size:15px;color:#52627a}
.tegos-vpn .tegos-telegram__benefit{margin:0 0 18px;font-size:15px;color:#34445d}
.tegos-vpn .tegos-telegram--signup .tegos-telegram__button{border-radius:12px;min-height:52px;background:#168fce;border-color:#168fce;box-shadow:0 5px 12px #168fce16}
.tegos-vpn .tegos-telegram--signup .tegos-telegram__button:hover{background:#087eb5}
.tegos-vpn .tegos-telegram__caption,.tegos-vpn .tegos-telegram__legal{font-size:13px;line-height:1.55;color:#61728b;margin:10px 0 0}
.tegos-vpn .tegos-telegram__legal{padding-top:14px;margin-top:14px;border-top:1px solid #dce9f3}
.tegos-vpn .tegos-telegram__existing{font-size:13px;line-height:1.55;color:#61728b;margin:12px 0 0}
.tegos-vpn .tegos-telegram--signup a{color:#176ea4;text-underline-offset:3px}
.tegos-vpn .tegos-telegram button:focus-visible{outline:3px solid #65bdec;outline-offset:3px}
@media(max-width:480px){.tegos-vpn .tegos-telegram--signup{padding:18px 15px;border-radius:14px}.tegos-vpn .tegos-telegram__heading{gap:10px}.tegos-vpn .tegos-telegram__heading h3{font-size:19px}.tegos-vpn .tegos-telegram__icon{flex-basis:44px;height:44px;border-radius:13px}.tegos-vpn .tegos-telegram--signup .tegos-telegram__button{font-size:15px;line-height:1.4;padding:13px 10px}}

.tegos-vpn .tegos-telegram--signup .tegos-telegram__caption{padding:12px 14px;border-radius:10px;background:#e7f3fc;color:#345a76;line-height:1.55;margin-top:14px}

.tegos-vpn .tegos-telegram__switch{display:inline-block;margin:4px 0 0;padding:4px 0;border:0;background:transparent;color:#176ea4;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.tegos-vpn .tegos-telegram__switch:hover{color:#084c75}.tegos-vpn .tegos-telegram__switch:disabled{opacity:.6;cursor:wait}.tegos-vpn .tegos-telegram__switch-note{font-size:13px;line-height:1.5;color:#61728b;margin:6px 0 12px}

.tegos-vpn .tegos-telegram__selection{margin:14px 0;padding:16px;border:1px solid #b8daee;border-radius:12px;background:#f1f9ff;overflow-wrap:anywhere}.tegos-vpn .tegos-telegram__selection h3{margin:0 0 8px;font-size:20px}.tegos-vpn .tegos-telegram__selection p{margin:8px 0;font-size:14px}.tegos-vpn .tegos-telegram__selection .tegos-telegram__button{font-size:15px;white-space:normal;line-height:1.4}

.tegos-vpn .tegos-telegram-linked{display:flex;align-items:flex-start;gap:16px;margin:20px 0;padding:20px;border:1px solid #b9ddef;border-radius:16px;background:#f0f9ff;min-width:0}
.tegos-vpn .tegos-telegram-linked__icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:14px;background:#229ed9;color:#fff}
.tegos-vpn .tegos-telegram-linked__content{min-width:0;overflow-wrap:anywhere}
.tegos-vpn .tegos-telegram-linked h2{font-size:20px;line-height:1.3;margin:0 0 6px;color:#172b4d}
.tegos-vpn .tegos-telegram-linked p{margin:4px 0;font-size:15px;line-height:1.5}
.tegos-vpn .tegos-telegram-linked .tegos-telegram-linked__name{font-weight:700;color:#176ea4}
.tegos-vpn .tegos-telegram-linked a{display:inline-block;margin-top:8px;color:#176ea4;text-underline-offset:3px}
.tegos-vpn .tegos-telegram-linked .tegos-telegram-linked__warning{color:#8a4800}
.tegos-vpn #tegos-telegram-settings{scroll-margin-top:104px}
@media(max-width:480px){.tegos-vpn .tegos-telegram-linked{padding:16px;gap:12px}.tegos-vpn .tegos-telegram-linked__icon{flex-basis:40px;height:40px;border-radius:12px}.tegos-vpn .tegos-telegram-linked h2{font-size:18px}}

.tegos-vpn .tegos-bot-auth{margin:20px 0;min-width:0;overflow-wrap:anywhere}
.tegos-vpn .tegos-bot-auth [hidden]{display:none!important}
.tegos-vpn .tegos-bot-auth__waiting{margin:16px 0;padding:16px;border:1px solid #b9ddef;border-radius:12px;background:#f0f9ff}
.tegos-vpn .tegos-bot-auth__waiting [data-bot-code]{display:inline-block;padding:4px 10px;background:#fff;border-radius:8px;letter-spacing:3px;font-size:22px;color:#172b4d}
.tegos-vpn .tegos-bot-auth .tegos-telegram__button{white-space:normal;text-align:center;line-height:1.4}
.tegos-vpn .tegos-bot-auth__waiting a{display:block;text-decoration:none;margin:12px 0}
.tegos-vpn .tegos-bot-auth h2{font-size:24px;line-height:1.3}
@media(max-width:480px){.tegos-vpn .tegos-bot-auth{padding:18px 15px}.tegos-vpn .tegos-bot-auth h2{font-size:21px}}

.tegos-vpn .tegos-telegram-linked__settings{margin-top:16px;scroll-margin-top:104px}
.tegos-vpn .tegos-telegram-linked__settings>summary{display:list-item;cursor:pointer;color:#087daf;font-weight:600;padding:4px 0;width:fit-content}
.tegos-vpn .tegos-telegram-linked__settings>summary:focus-visible{outline:2px solid #2563eb;outline-offset:4px;border-radius:4px}
.tegos-vpn .tegos-telegram-linked__settings .tegos-bot-settings{padding-top:12px}
.tegos-vpn .tegos-telegram-linked__settings .tegos-telegram__actions{display:flex;gap:12px 24px;flex-wrap:wrap}
.tegos-vpn .tegos-telegram-linked__settings .tegos-bot-auth{margin-bottom:0}

@media(max-width:1023px){body:has(.tegos-vpn) header nav[aria-label="Основная навигация"]{display:none}}
@media(max-width:360px){body:has(.tegos-vpn) header>div{column-gap:8px}body:has(.tegos-vpn) header>div>a:last-child{padding-inline:10px}}
