.telegram-heading{padding-block:32px 24px;overflow-wrap:anywhere}
.telegram-heading h1{font-size:clamp(28px,4vw,46px);line-height:1.15;letter-spacing:-.03em;margin:0}
.telegram-heading p{color:var(--muted);margin:10px 0 0}
.telegram-list-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.telegram-list-heading .button{flex-shrink:0}
.telegram-list,.telegram-post{padding-bottom:48px}
.telegram-list{max-width:780px}
.telegram-card{display:block;max-width:680px;margin:0 auto 24px;padding:0;background:#fff;border:1px solid #dce5ed;border-radius:14px;box-shadow:0 2px 5px #192d4008;overflow:hidden;overflow-wrap:anywhere}
.telegram-message-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}
.telegram-message-channel{display:flex;align-items:center;gap:10px;color:#427ba7;font-size:15px;font-weight:600}
.telegram-message-channel img{border-radius:50%;flex-shrink:0}
.telegram-message-origin{font-size:23px;color:#7195ae;line-height:1;padding:6px}
.telegram-message-body{font-size:16px;line-height:1.5;color:#182533}
.telegram-caption,.telegram-poll,.telegram-preview{margin:0 18px 14px}
.telegram-caption+.telegram-caption{margin-top:14px}
.telegram-caption a,.telegram-preview a,.telegram-message-footer a{color:#427ba7;text-decoration:none}
.telegram-caption a:hover,.telegram-preview a:hover,.telegram-message-footer a:hover{text-decoration:underline}
.telegram-caption blockquote{margin:8px 0;background:#edf5fa;border-left:3px solid #6b9fc2;border-radius:4px;padding:8px 12px}
.telegram-caption pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f1f5f8;padding:12px;border-radius:6px}
.telegram-caption code{font-size:.92em}
.telegram-media{display:grid;gap:3px;margin-bottom:14px}
.telegram-media a{display:block;min-width:0;background:#f2f5f7}
.telegram-media img,.telegram-media video{display:block;width:100%;height:auto;max-height:640px;object-fit:contain}
.telegram-media audio{display:block;width:calc(100% - 36px);margin:8px 18px}
.telegram-album{grid-template-columns:repeat(2,minmax(0,1fr))}
.telegram-album a{display:flex;align-items:center;justify-content:center;aspect-ratio:1}
.telegram-album img{height:100%;object-fit:contain}
.telegram-album>a:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:2}
.telegram-poll{padding:14px;background:#f2f7fa;border-radius:8px}
.telegram-poll ul{list-style:none;padding:0;margin:12px 0 0}
.telegram-poll li{padding:9px 0;border-top:1px solid #dae6ef}
.telegram-poll li:before{content:'○';color:#6d9cbd;margin-right:9px}
.telegram-preview{border-left:3px solid #6b9fc2;background:#f1f6fa;padding:10px 12px;border-radius:4px}
.telegram-message-footer{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px;padding:0 18px 15px;font-size:12px;line-height:1.5;color:#7190a5}
.telegram-message-footer .telegram-message-date{color:#7190a5}
.telegram-pagination,.telegram-pagination ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.telegram-pagination{max-width:680px;margin:28px auto 0}
.telegram-pagination ol{margin:0;padding:0;list-style:none}
.telegram-pagination a,.telegram-pagination [aria-current]{background:#fff;border:1px solid var(--line);border-radius:5px;color:var(--ink);display:inline-grid;min-width:36px;min-height:40px;padding:0 9px;place-items:center;font-size:14px}
.telegram-pagination a:hover,.telegram-pagination [aria-current]{background:var(--ink);border-color:var(--ink);color:#fff}
.telegram-post{padding-top:24px}
.telegram-neighbors{max-width:680px;margin:20px auto 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;font-size:14px;color:#427ba7}
.telegram-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:650px){
 .telegram-heading{padding-block:24px 20px}
 .telegram-list-heading{flex-wrap:wrap;align-items:start;gap:16px}
 .telegram-card{border-radius:12px;margin-bottom:20px}
 .telegram-message-header{padding:12px 14px}
 .telegram-message-channel{font-size:14px}
 .telegram-caption,.telegram-poll,.telegram-preview{margin-inline:14px}
 .telegram-message-footer{padding:0 14px 13px;font-size:11px}
 .telegram-message-body{font-size:15px}
 .telegram-post{padding-top:20px}
}

.telegram-message-views{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#7190a5}
.telegram-message-views svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}
.telegram-media [data-telegram-image]{cursor:zoom-in}
body.telegram-lightbox-open{overflow:hidden}
.telegram-lightbox{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#fff;overflow:hidden}
.telegram-lightbox::backdrop{background:rgba(5,12,20,.94)}
.telegram-lightbox-stage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:64px 56px}
.telegram-lightbox-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.telegram-lightbox button{position:absolute;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #ffffff50;border-radius:50%;background:#162332b3;color:#fff;cursor:pointer;font-family:inherit;font-size:32px;line-height:1}
.telegram-lightbox button:hover{background:#344c66}
.telegram-lightbox button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.telegram-lightbox-close{top:16px;right:16px}
.telegram-lightbox-prev{top:calc(50% - 24px);left:8px}
.telegram-lightbox-next{top:calc(50% - 24px);right:8px}
.telegram-lightbox-counter{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);font-size:14px;color:#fff}
.telegram-lightbox [hidden]{display:none!important}
@media(max-width:650px){.telegram-lightbox-stage{padding:70px 12px}.telegram-lightbox button{width:42px;height:42px}.telegram-lightbox-prev{top:auto;bottom:10px;left:calc(50% - 95px)}.telegram-lightbox-next{top:auto;bottom:10px;right:calc(50% - 95px)}}
