:root{--bg-primary: #ffffff;--bg-secondary: #f8f9fa;--bg-card: #ffffff;--text-primary: #1a1a1a;--text-secondary: #6c757d;--border-color: #dee2e6;--shadow: 0 2px 8px rgba(0, 0, 0, .1);--shadow-lg: 0 4px 16px rgba(0, 0, 0, .15);--telegram-blue: #0088cc;--telegram-blue-dark: #006699;--telegram-blue-light: #33a3d8;--success: #28a745;--error: #dc3545;--warning: #ffc107;--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--spacing-2xl: 3rem;--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--radius-full: 9999px;--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--font-mono: "Courier New", monospace;--transition: all .3s cubic-bezier(.4, 0, .2, 1)}@media(prefers-color-scheme:dark){:root{--bg-primary: #1a1a1a;--bg-secondary: #2d2d2d;--bg-card: #2d2d2d;--text-primary: #ffffff;--text-secondary: #a0a0a0;--border-color: #404040;--shadow: 0 2px 8px rgba(0, 0, 0, .3);--shadow-lg: 0 4px 16px rgba(0, 0, 0, .4)}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:var(--font-family);background:linear-gradient(135deg,var(--bg-primary) 0%,var(--bg-secondary) 100%);color:var(--text-primary);min-height:100vh;display:flex;align-items:center;justify-content:center;padding:var(--spacing-md);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;max-width:1200px}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fade-in{animation:fadeIn .5s ease-out}.telegram-login-container{display:flex;justify-content:center;align-items:center;padding:var(--spacing-md)}.telegram-widget{display:flex;justify-content:center;align-items:center}.telegram-widget iframe{border-radius:var(--radius-md)!important;box-shadow:var(--shadow);transition:var(--transition)}.telegram-widget iframe:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.user-profile{width:100%;max-width:500px;margin:0 auto}.profile-card{background:var(--bg-card);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);padding:var(--spacing-2xl);border:1px solid var(--border-color);transition:var(--transition)}.profile-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0088cc26}.profile-header{display:flex;align-items:center;gap:var(--spacing-lg);margin-bottom:var(--spacing-2xl)}.profile-avatar{flex-shrink:0}.profile-avatar img,.avatar-placeholder{width:80px;height:80px;border-radius:var(--radius-full);object-fit:cover;border:3px solid var(--telegram-blue);box-shadow:0 4px 12px #08c3}.avatar-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--telegram-blue) 0%,var(--telegram-blue-light) 100%);color:#fff;font-size:1.75rem;font-weight:700}.profile-info{flex:1}.profile-name{font-size:1.75rem;font-weight:700;color:var(--text-primary);margin-bottom:var(--spacing-xs);line-height:1.2}.profile-username{font-size:1rem;color:var(--telegram-blue);font-weight:500;margin-bottom:var(--spacing-xs)}.profile-id{font-size:.875rem;color:var(--text-secondary);font-family:var(--font-mono)}.profile-actions{border-top:1px solid var(--border-color);padding-top:var(--spacing-lg);display:flex;justify-content:center}.logout-button{display:flex;align-items:center;gap:var(--spacing-sm);padding:var(--spacing-md) var(--spacing-xl);background:transparent;color:var(--error);border:2px solid var(--error);border-radius:var(--radius-md);font-size:1rem;font-weight:600;cursor:pointer;transition:var(--transition);font-family:var(--font-family)}.logout-button:hover{background:var(--error);color:#fff;transform:translateY(-2px);box-shadow:0 4px 12px #dc35454d}.logout-button:active{transform:translateY(0)}.success-message{margin-top:var(--spacing-lg);padding:var(--spacing-md) var(--spacing-lg);background:linear-gradient(135deg,#28a7451a,#28a7450d);border:1px solid rgba(40,167,69,.3);border-radius:var(--radius-md);color:var(--success);text-align:center;font-weight:500;animation:fadeIn .5s ease-out .3s backwards}@media(max-width:600px){.profile-header{flex-direction:column;text-align:center}.profile-name{font-size:1.5rem}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:var(--spacing-lg);background:linear-gradient(135deg,var(--bg-primary) 0%,var(--bg-secondary) 50%,var(--bg-primary) 100%);position:relative;overflow:hidden}.login-page:before{content:"";position:absolute;width:500px;height:500px;background:radial-gradient(circle,rgba(0,136,204,.1) 0%,transparent 70%);top:-250px;right:-250px;animation:pulse 4s ease-in-out infinite}.login-page:after{content:"";position:absolute;width:500px;height:500px;background:radial-gradient(circle,rgba(51,163,216,.1) 0%,transparent 70%);bottom:-250px;left:-250px;animation:pulse 4s ease-in-out infinite 2s}.login-container{background:var(--bg-card);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);padding:var(--spacing-2xl);max-width:480px;width:100%;border:1px solid var(--border-color);position:relative;z-index:1}.login-header{text-align:center;margin-bottom:var(--spacing-2xl)}.logo{display:inline-block;margin-bottom:var(--spacing-lg);animation:fadeIn .6s ease-out}.logo svg{filter:drop-shadow(0 4px 12px rgba(0,136,204,.3));transition:var(--transition)}.logo:hover svg{transform:scale(1.05) rotate(5deg)}.login-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:var(--spacing-sm);background:linear-gradient(135deg,var(--telegram-blue) 0%,var(--telegram-blue-light) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.login-subtitle{font-size:1rem;color:var(--text-secondary);line-height:1.5}.login-content{margin:var(--spacing-2xl) 0;padding:var(--spacing-lg) 0;border-top:1px solid var(--border-color);border-bottom:1px solid var(--border-color)}.login-footer{text-align:center;margin-top:var(--spacing-lg)}.footer-text{font-size:.875rem;color:var(--text-secondary);display:flex;align-items:center;justify-content:center;gap:var(--spacing-sm)}@media(max-width:600px){.login-container{padding:var(--spacing-lg)}.login-title{font-size:1.5rem}.login-subtitle{font-size:.875rem}}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacing-lg);padding:var(--spacing-2xl)}.spinner{width:50px;height:50px;border:4px solid var(--border-color);border-top:4px solid var(--telegram-blue);border-radius:var(--radius-full);animation:spin 1s linear infinite}.loading-text{color:var(--text-secondary);font-size:.875rem;font-weight:500}.error-message{margin-top:var(--spacing-lg);padding:var(--spacing-md) var(--spacing-lg);background:linear-gradient(135deg,#dc35451a,#dc35450d);border:1px solid rgba(220,53,69,.3);border-radius:var(--radius-md);color:var(--error);text-align:center;font-weight:500}
