/* Заставка страницы входа Telegram Mini App (/tg, pages/tg.html) */
:root{--bg:#f2f4f3;--text:#17221c;--muted:#5d6b63;--accent:#2f8a7a}
:root[data-theme=dark]{--bg:#141a18;--text:#e8efe9;--muted:#9aa8a0;--accent:#5cc2ab}
html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif}
.tg-splash{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;text-align:center}
.tg-logo{width:72px;height:72px;border-radius:50%}
.tg-splash h1{margin:14px 0 0;font-size:26px;font-weight:800}
.tg-tagline{margin:0 0 22px;color:var(--muted);font-size:14px}
.tg-bar{width:160px;height:6px;border-radius:99px;background:color-mix(in srgb,var(--accent) 18%,transparent);overflow:hidden}
.tg-bar span{display:block;width:40%;height:100%;border-radius:inherit;background:var(--accent);animation:tg-load 1.1s ease-in-out infinite}
@keyframes tg-load{0%{transform:translateX(-100%)}100%{transform:translateX(250%)}}
.tg-status{min-height:3em;margin:18px 0 0;color:var(--muted);font-size:15px;max-width:320px}
.tg-splash:has(.tg-status:not(:empty)) .tg-bar{display:none}
.tg-status a{color:var(--accent);font-weight:700}
html.tg-fullscreen .tg-splash{padding-top:calc(24px + var(--tg-top,0px));padding-bottom:calc(24px + var(--tg-bottom,0px))}
