/* Telegram Mini App tweaks over site.css (html.tg is set by tg.js). */
html.tg { overscroll-behavior-y: none; }
html.tg body { padding-bottom: var(--tg-safe-area-inset-bottom, 0px); }
html.tg .topbar { padding-top: calc(var(--tg-content-safe-area-inset-top, 0px) + var(--tg-safe-area-inset-top, 0px)); }
/* Sign-in is automatic; no VK button, no «Выйти». */
html.tg #session .btn-vk,
html.tg .logout { display: none !important; }
/* Telegram users don't have the VK bot link in the footer. */
html.tg #botLink { display: none; }
/* Native back button replaces the brand-as-home habit; keep tap targets roomy. */
html.tg .nav a { -webkit-tap-highlight-color: transparent; }
html.tg .sheet-panel { padding-bottom: calc(24px + var(--tg-safe-area-inset-bottom, 0px)); }
