:root{--tg-bg:#000;--tg-text:#fff;--tg-hint:#666;--tg-link:#fff;--tg-button:#0669f7;--tg-button-text:#000;--tg-secondary-bg:#111;--tg-section-bg:#1a1a1a;--tg-section-separator:#2a2a2a;--tg-destructive:#999;--tg-accent:#fff;--nav-height:56px;--header-height:48px;--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px}[data-theme=light]{--tg-bg:#fff;--tg-text:#000;--tg-hint:#999;--tg-link:#000;--tg-button:#000;--tg-button-text:#fff;--tg-secondary-bg:#f5f5f5;--tg-section-bg:#fafafa;--tg-section-separator:#e0e0e0;--tg-destructive:#666;--tg-accent:#000}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;min-height:100vh;width:100%;min-height:100dvh}#root{width:100%;height:100%}body{background:var(--tg-bg);color:var(--tg-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overscroll-behavior:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}a{color:var(--tg-link);text-decoration:none}button{cursor:pointer;font:inherit;color:inherit;-webkit-tap-highlight-color:transparent;background:0 0;border:none}input,textarea,select{font:inherit;color:inherit;background:var(--tg-secondary-bg);border-radius:var(--radius-sm);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;border:none;outline:none;width:100%;padding:12px 14px}[data-theme=light] input,[data-theme=light] textarea,[data-theme=light] select{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}textarea{resize:vertical;min-height:80px}input::placeholder,textarea::placeholder{color:var(--tg-hint)}.scrollable{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;overflow-y:auto}.scrollable::-webkit-scrollbar{width:4px}.scrollable::-webkit-scrollbar-track{background:0 0}.scrollable::-webkit-scrollbar-thumb{background:var(--tg-hint);border-radius:4px}.hide-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.hide-scrollbar::-webkit-scrollbar{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
