*{box-sizing:border-box;margin:0;padding:0}:root{--tg-theme-bg-color:#fff;--tg-theme-text-color:#222;--tg-theme-hint-color:#999;--tg-theme-link-color:#3390ec;--tg-theme-button-color:#3390ec;--tg-theme-button-text-color:#fff;--tg-theme-secondary-bg-color:#f4f5f7;--tg-theme-header-bg-color:#fff;--tg-theme-accent-text-color:#3390ec;--tg-theme-section-bg-color:#fff;--tg-theme-section-header-text-color:#707579;--tg-theme-subtitle-text-color:#8e8e93;--tg-theme-destructive-text-color:#ff3b30;--tg-gradient-start:#54a3ff;--tg-gradient-end:#3390ec;--tg-card-shadow:0 2px 12px #0000000f;--tg-card-shadow-hover:0 8px 24px #0000001f;--tg-button-gradient:linear-gradient(135deg, #54a3ff 0%, #3390ec 100%);--tg-nav-bg:#ffffffd9;--tg-border-color:#00000014;--tg-success-bg:#34c7591f;--tg-success-fg:#34c759;--tg-danger-bg:#ff3b301a;--tg-gold:gold;--tg-orange:#f59e0b;--tg-orange-dark:#d97706;--tg-green-500:#10b981;--tg-green-600:#059669;--tg-gradient-gold:linear-gradient(135deg, var(--tg-orange), var(--tg-orange-dark));--tg-radius-sm:10px;--tg-radius-md:12px;--tg-radius-lg:16px;--tg-radius-xl:20px;--tg-radius-pill:999px;--tg-safe-area-top:0px;--tg-safe-area-bottom:0px;--tg-safe-area-left:0px;--tg-safe-area-right:0px}body.dark-theme{--tg-theme-bg-color:#18222d;--tg-theme-text-color:#fff;--tg-theme-hint-color:#8b939b;--tg-theme-link-color:#5eb3ff;--tg-theme-button-color:#5eb3ff;--tg-theme-secondary-bg-color:#131e29;--tg-theme-section-bg-color:#232e3c;--tg-gradient-start:#5eb3ff;--tg-gradient-end:#3d9aed;--tg-card-shadow:0 2px 12px #0000004d;--tg-card-shadow-hover:0 8px 24px #00000080;--tg-button-gradient:linear-gradient(135deg, #5eb3ff 0%, #3d9aed 100%);--tg-nav-bg:#1d2936d9;--tg-border-color:#ffffff14}body.panel-mode{background:var(--tg-theme-bg-color);padding-bottom:0;overflow-x:auto}html,body,#root{min-height:100vh}body{background:linear-gradient(180deg, var(--tg-theme-bg-color) 0%, var(--tg-theme-secondary-bg-color) 100%);color:var(--tg-theme-text-color);padding-bottom:100px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;transition:background-color .3s,color .3s;overflow-x:hidden}.grid-spinner{border:3px solid var(--tg-theme-hint-color);border-top-color:var(--tg-theme-button-color);border-radius:50%;width:32px;height:32px;margin:0 auto;animation:.8s linear infinite grid-spin}@keyframes grid-spin{to{transform:rotate(360deg)}}.loader-screen{justify-content:center;align-items:center;min-height:100vh;padding-bottom:0;display:flex}.loader-wrap{text-align:center;flex-direction:column;align-items:center;gap:24px;padding:0 24px;display:flex}.loader-logo{border-radius:50%;width:72px;height:72px;animation:1.8s ease-in-out infinite loader-breathe}.loader-logo.error{opacity:.5;animation:none}@keyframes loader-breathe{0%,to{opacity:1;transform:scale(1)}50%{opacity:.65;transform:scale(.9)}}.loader-progress{background:var(--tg-theme-hint-color);opacity:.25;border-radius:2px;width:120px;height:3px;position:relative;overflow:hidden}.loader-progress-fill{background:var(--tg-theme-button-color);border-radius:2px;width:40%;height:100%;animation:1.1s ease-in-out infinite loader-slide;position:absolute;top:0;left:0}@keyframes loader-slide{0%{left:-40%}to{left:100%}}.loader-text{color:var(--tg-theme-text-color);font-size:15px;font-weight:500}.loader-hint{color:var(--tg-theme-hint-color);font-size:13px}.loader-hint.error{color:var(--tg-theme-destructive-text-color)}.not-found{text-align:center;min-height:60vh;color:var(--tg-theme-text-color);flex-direction:column;flex:1;justify-content:center;align-items:center;padding:24px;display:flex}.not-found-code{background:var(--tg-button-gradient);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:72px;font-weight:800;line-height:1}.not-found-title{margin-top:12px;font-size:20px;font-weight:700}.not-found-text{color:var(--tg-theme-hint-color);max-width:320px;margin-top:8px;font-size:14px}.not-found-link{border-radius:var(--tg-radius-md);background:var(--tg-button-gradient);color:#fff;align-items:center;margin-top:24px;padding:11px 20px;font-size:13.5px;font-weight:600;text-decoration:none;display:inline-flex;box-shadow:0 4px 14px #3390ec4d}
