        @font-face {
            font-family: 'SF Pro Text';
            font-weight: 400;
            src: local('.SFNSText-Regular'), local('.HelveticaNeueDeskInterface-Regular'), local('-apple-system'), local('sans-serif');
        }
        @font-face {
            font-family: 'SF Pro Text';
            font-weight: 500;
            src: local('.SFNSText-Medium'), local('.HelveticaNeueDeskInterface-Medium'), local('-apple-system'), local('sans-serif');
        }
        @font-face {
            font-family: 'SF Pro Text';
            font-weight: 600;
            src: local('.SFNSText-Semibold'), local('.HelveticaNeueDeskInterface-Bold'), local('-apple-system'), local('sans-serif');
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }

        /* Адаптивная центровка на ПК с премиальным фоном */
        body {
            background-color: #0F0F10;
            color: #FFFFFF;
            font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            overflow: hidden; 
            width: 100vw;
            height: 100vh;
            user-select: none;
            -webkit-user-select: none;
            overscroll-behavior: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Премиальный мобильный фрейм на десктопе, растягивающийся до fullsize на смартфонах */
        .app-window {
            width: 100%;
            height: 100%;
            position: relative;
            background-color: #1C1C1E;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        @media (min-width: 481px) {
            .app-window {
                max-width: 460px;
                height: 95vh;
                max-height: 900px;
                border-radius: 32px;
                border: 8px solid #2C2C2E;
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
            }
        }

        #loader {
            position: fixed; 
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #1C1C1E;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999; 
            opacity: 1;
            transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
        }

        #loader.fade-out {
            opacity: 0;
            visibility: hidden;
        }

        #lottie-loader {
            width: 150px;
            height: 150px;
        }

        .fallback-loader {
            width: 50px;
            height: 50px;
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-top: 4px solid #FFFFFF;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            display: none;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        #app-content {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-left: 17px;
            padding-right: 17px;
            padding-top: calc(var(--tg-safe-area-inset-top, 0px) + 110px); 
            padding-bottom: 120px; 
            box-sizing: border-box;
            overflow-y: auto;
            overflow-x: hidden;
            scrollbar-width: none;
            -ms-overflow-style: none;
            position: relative;
            opacity: 0;
            transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding-bottom 0.3s ease;
        }

        #app-content.visible {
            opacity: 1;
        }

        #app-content::-webkit-scrollbar {
            display: none;
        }

        /* Хедер */
        .header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: calc(var(--tg-safe-area-inset-top, 0px) + 48px) 17px 10px 17px;
            height: calc(var(--tg-safe-area-inset-top, 0px) + 98px);
            z-index: 1000;
            background: transparent !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
            box-shadow: none !important;
            opacity: 0;
            transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            pointer-events: auto;
        }

        #app-content.visible ~ #app-header {
            opacity: 1;
        }

        /* Скрываем хедер при активации кошелька */
        .header.wallet-active {
            opacity: 0 !important;
            pointer-events: none !important;
        }

        /* Премиальные стеклянные пилюли */
        .top-pill {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 38px;
            min-width: 100px;
            padding: 0 14px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 19px;
            box-sizing: border-box;
            pointer-events: auto;
            z-index: 10;
            background-color: rgba(255, 255, 255, 0.1);
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
        }

        /* Кнопка Админ Панели */
        .admin-pill {
            display: none; /* Отобразится только для 6072119726 */
            align-items: center;
            justify-content: center;
            height: 38px;
            width: 38px;
            border-radius: 50%;
            background-color: rgba(255, 69, 58, 0.15);
            border: 1px solid rgba(255, 69, 58, 0.3);
            color: #FF453A;
            font-size: 16px;
            cursor: pointer;
            z-index: 15;
            transition: transform 0.2s, background-color 0.2s;
            box-shadow: 0 0 10px rgba(255, 69, 58, 0.2);
        }

        .admin-pill:active {
            transform: scale(0.9);
            background-color: rgba(255, 69, 58, 0.3);
        }

        #profile-pill {
            max-width: 150px;
            overflow: hidden;
            cursor: default;
        }

        #balance-pill {
            background-color: rgba(255, 195, 0, 0.12);
            cursor: pointer;
            transition: transform 0.15s ease, background-color 0.15s ease;
        }

        #balance-pill:active {
            transform: scale(0.96);
            background-color: rgba(255, 195, 0, 0.2);
        }

        .top-pill::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 19px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .avatar {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            margin-right: 8px;
            object-fit: cover;
            flex-shrink: 0;
            background-color: #3A3A3C;
        }

        .profile-label {
            font-size: 16px;
            font-weight: 600;
            color: #FFFFFF;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .balance-container {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 10px;
        }

        .coin-icon {
            width: 22px;
            height: 22px;
            margin-right: 8px !important; 
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .balance-val {
            font-size: 16px;
            font-weight: 600;
            color: #FFFFFF;
            white-space: nowrap;
        }

        .center-action-area {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            width: 100%;
            z-index: 20;
            margin-top: 10px; 
            flex-shrink: 0;
        }

        .clicker-wrapper {
            position: relative;
            width: 300px;
            height: 300px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Светящийся шейп за персонажем */
        .biceps-glow {
            position: absolute;
            width: 180px;
            height: 180px;
            background-color: #7596f9;
            border-radius: 50%;
            filter: blur(110px);
            opacity: 0.65;
            z-index: 1;
            pointer-events: none;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* Обертка персонажа */
        .clicker-button {
            position: relative;
            width: 200px;
            height: 200px;
            background: transparent;
            display: flex;
            justify-content: center;
            align-items: center;
            outline: none;
            border: none;
            transform: scale(0) rotate(-8deg);
            opacity: 0;
            z-index: 2;
            cursor: default;
        }

        #app-content.visible .clicker-button {
            animation: bicepsGrowth 1.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
            animation-delay: 0.3s;
        }

        @keyframes bicepsGrowth {
            0% { transform: scale(0) rotate(-45deg); opacity: 0; }
            100% { transform: scale(1) rotate(-8deg); opacity: 1; }
        }

        .clicker-coin-img {
            width: 180px;
            height: 180px;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Звезды */
        .star-wrapper {
            position: absolute;
            width: 20px;
            height: 20px;
            pointer-events: none;
            z-index: 5;
            opacity: 0;
            transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
        }

        .star-img {
            width: 100%;
            height: 100%;
            display: block;
            animation: floatSway 4s ease-in-out infinite alternate;
        }

        .star-left-1 { left: 55px; top: 40px; transform: translate(-30px, -10px) scale(0.3); }
        .star-left-2 { left: 0px; top: 85px; transform: translate(-80px, 0) scale(0.3); }   
        .star-left-3 { left: 45px; top: 140px; transform: translate(-60px, 10px) scale(0.3); } 
        .star-left-4 { left: 5px; top: 200px; transform: translate(-80px, 15px) scale(0.3); }  
        .star-left-5 { left: 75px; top: 250px; transform: translate(-30px, 10px) scale(0.3); }
        .star-left-6 { left: -30px; top: 145px; transform: translate(-90px, 10px) scale(0.3); } 

        .star-right-1 { right: 55px; top: 45px; transform: translate(30px, -10px) scale(0.3); }
        .star-right-2 { right: 0px; top: 90px; transform: translate(80px, 0) scale(0.3); }   
        .star-right-3 { right: 45px; top: 145px; transform: translate(60px, 10px) scale(0.3); } 
        .star-right-4 { right: 5px; top: 205px; transform: translate(80px, 15px) scale(0.3); }  
        .star-right-5 { right: 75px; top: 245px; transform: translate(30px, 10px) scale(0.3); }
        .star-right-6 { right: -30px; top: 150px; transform: translate(90px, 10px) scale(0.3); } 

        #app-content.visible .star-wrapper { opacity: 1; }
        #app-content.visible .star-left-1 { transform: translate(0, 0) scale(1.1); }
        #app-content.visible .star-left-2 { transform: translate(0, 0) scale(0.75); }
        #app-content.visible .star-left-3 { transform: translate(0, 0) scale(0.95); }
        #app-content.visible .star-left-4 { transform: translate(0, 0) scale(0.8); }
        #app-content.visible .star-left-5 { transform: translate(0, 0) scale(1.05); }
        #app-content.visible .star-left-6 { transform: translate(0, 0) scale(0.85); }

        #app-content.visible .star-right-1 { transform: translate(0, 0) scale(1.15); }
        #app-content.visible .star-right-2 { transform: translate(0, 0) scale(0.8); }
        #app-content.visible .star-right-3 { transform: translate(0, 0) scale(1); }
        #app-content.visible .star-right-4 { transform: translate(0, 0) scale(0.7); }
        #app-content.visible .star-right-5 { transform: translate(0, 0) scale(1.05); }
        #app-content.visible .star-right-6 { transform: translate(0, 0) scale(0.9); }

        /* Анимация звезд */
        .star-left-1 .star-img { animation-duration: 4.0s; animation-delay: 0.1s; }
        .star-left-2 .star-img { animation-duration: 5.0s; animation-delay: 0.3s; animation-direction: alternate-reverse; }
        .star-left-3 .star-img { animation-duration: 4.2s; animation-delay: 0.5s; }
        .star-left-4 .star-img { animation-duration: 4.8s; animation-delay: 0.2s; animation-direction: alternate-reverse; }
        .star-left-5 .star-img { animation-duration: 3.6s; animation-delay: 0.4s; }
        .star-left-6 .star-img { animation-duration: 4.6s; animation-delay: 0.15s; }

        .star-right-1 .star-img { animation-duration: 4.5s; animation-delay: 0.2s; }
        .star-right-2 .star-img { animation-duration: 3.8s; animation-delay: 0.4s; animation-direction: alternate-reverse; }
        .star-right-3 .star-img { animation-duration: 4.7s; animation-delay: 0.6s; }
        .star-right-4 .star-img { animation-duration: 4.1s; animation-delay: 0.3s; animation-direction: alternate-reverse; }
        .star-right-5 .star-img { animation-duration: 4.4s; animation-delay: 0.5s; }
        .star-right-6 .star-img { animation-duration: 4.3s; animation-delay: 0.25s; }

        .star-bright { opacity: 1.0; }
        .star-medium { opacity: 0.65; }
        .star-dim { opacity: 0.35; }

        @keyframes floatSway {
            0% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-8px) rotate(5deg); }
            100% { transform: translateY(4px) rotate(-5deg); }
        }

        /* Уровень пампера слева вверху */
        .pamper-level-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            z-index: 10;
        }

        .pamper-level-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.6);
            font-weight: 500;
        }

        .pamper-level-num {
            font-size: 32px;
            font-weight: 700;
            line-height: 1.1;
            background: linear-gradient(180deg, #ffffff 0%, #b0b0b0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Карточка питомца — ТЕПЕРЬ ЗАЛИТАЯ БЕЗ ПРОЗРАЧНОГО СТЕКЛА */
        .main-hero-card {
    background-color: #13151b;
    /* Добавляем картинку сюда */
    background-image: url('pat.svg'); 
    background-size: 50%; /* Настраивайте размер тут (например 50% от карточки) */
    background-position: center;
    background-repeat: no-repeat;
    /* Управляем прозрачностью только картинки через фильтр, 
       если браузер поддерживает, но надежнее — использовать доп. слой */
    
    border-radius: 32px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 346px;
    position: relative;
    z-index: 10;
    box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.42),
                inset -8px -6px 1px -8px rgba(255, 255, 255, 0.0),
                inset 8px 8px 30px rgba(0, 0, 0, 0.1),
                inset -8px -8px 30px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden; /* Важно, чтобы фон не вылезал за скругленные углы */
}

/* Слой для прозрачности картинки */
.main-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    background-image: url('pat.png');
    background-size: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    
    /* 1. Общая прозрачность всей картинки */
    opacity: 0.3; 
    
    /* 2. Добавляем маску для градиентного исчезновения по краям */
    /* Идея: маска черная в центре и прозрачная по краям */
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    
    z-index: 1;
    pointer-events: none;
}

/* Рамка остается нетронутой в ::before */
.main-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.0) 40%, 
        rgba(255, 255, 255, 0.0) 60%, 
        rgba(255, 255, 255, 0.0) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}
        
        .seriychik-info-block {
            width: 100%;
            max-width: 346px;
            margin-top: 15px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 30;
            box-sizing: border-box;
        }

        .seriychik-main-title {
            font-size: 26px;
            font-weight: 600;
            text-align: center;
            letter-spacing: -0.4px;
            color: #FFFFFF; 
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            position: relative;
        }

        .rename-trigger-btn {
            background: none;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #8E8E93;
            transition: color 0.2s ease, transform 0.1s ease;
        }

        .rename-trigger-btn:active {
            transform: scale(0.85);
            color: #FFFFFF;
        }

        /* Поле быстрого инлайн переименования без рамок */
        .inline-rename-input {
            background: transparent !important;
            border: none !important;
            border-bottom: 1.5px dashed rgba(255, 255, 255, 0.4) !important;
            border-radius: 0 !important;
            color: #FFFFFF !important;
            font-family: inherit;
            font-size: 20px;
            font-weight: 600;
            padding: 2px 0 !important;
            text-align: center;
            outline: none;
            width: 180px;
            box-shadow: none !important;
            caret-color: #5856d6;
        }

        .seriychik-main-desc {
            font-size: 14px;
            line-height: 1.5;
            color: #E5E5EA;
            text-align: left;
            font-weight: 400;
        }

        .seriychik-highlight {
            color: #FFFFFF;
            font-weight: 600;
        }

        /* Шторки */
        .info-trigger-item {
            background-color: #2C2C2E;
            border-radius: 16px;
            margin-bottom: 12px;
            width: 100%;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px;
            font-size: 14px;
            font-weight: 600;
            color: #FFFFFF;
            transition: background-color 0.2s ease, transform 0.1s ease;
        }

        .info-trigger-item:active {
            background-color: #3A3A3C;
            transform: scale(0.98);
        }

        .info-trigger-arrow {
            color: #C3C3C3;
            flex-shrink: 0;
            margin-left: 12px;
            transition: transform 0.2s ease;
        }

        .bottom-sheet-backdrop {
            position: absolute;
            inset: 0;
            background-color: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.24s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.24s;
        }

        .bottom-sheet-backdrop.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        /* Нижняя шторка */
        .bottom-sheet {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: #1C1C1E;
            border-top-left-radius: 32px; 
            border-top-right-radius: 32px;
            z-index: 2001;
            transform: translateY(110%);
            visibility: hidden; 
            transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.28s;
            padding: 18px 24px calc(24px + var(--tg-safe-area-inset-bottom, 0px)) 24px;
            box-sizing: border-box;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: none; 
            overflow-y: auto;
            max-height: 90vh;
        }

        .bottom-sheet.active {
            transform: translateY(0);
            visibility: visible;
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6); 
        }

        .sheet-handle {
            width: 36px;
            height: 4px;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 2px;
            margin: 0 auto 18px auto;
        }

        .sheet-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
        }

        .sheet-header h3 {
            font-size: 18px;
            font-weight: 600;
            color: #FFFFFF;
        }

        .sheet-close-btn {
            background: none;
            border: none;
            color: #8E8E93;
            font-size: 28px;
            cursor: pointer;
            line-height: 1;
            padding: 4px;
            margin-top: -12px; 
        }

        .sheet-body {
            font-size: 14.5px;
            line-height: 1.5;
            color: #E5E5EA;
        }

        /* Форма внутри Админской шторки */
        .admin-form-group {
            margin-bottom: 15px;
            width: 100%;
        }

        .admin-form-group label {
            font-size: 12px;
            font-weight: 600;
            color: #8E8E93;
            text-transform: uppercase;
            margin-bottom: 6px;
            display: block;
        }

        .admin-input {
            width: 100%;
            height: 44px;
            background-color: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: #FFFFFF;
            padding: 0 14px;
            font-size: 15px;
            outline: none;
            font-family: inherit;
        }

        .admin-input:focus {
            border-color: #008BFF;
        }

        .admin-checkbox-label {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            cursor: pointer;
            margin-top: 10px;
        }

        /* Карточка премиум-статистики */
        .stats-premium-card {
            position: relative;
            width: 100%;
            max-width: 352px;
            height: 120px;
            border-radius: 30px;
            overflow: hidden;
            background-color: #1C1C1E;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            padding: 25px;
            box-sizing: border-box;
            margin-bottom: 20px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.35),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.35);
        }

        .stats-premium-card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 30px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .stats-card-tag {
            font-family: 'SF Pro Text', -apple-system, sans-serif;
            font-weight: 600;
            font-size: 10px;
            color: #888888;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            line-height: 1.2;
            margin-bottom: 6px;
            z-index: 5;
        }

        .stats-card-title {
            font-family: 'SF Pro Text', -apple-system, sans-serif;
            font-weight: 700;
            font-size: 20px;
            color: #FFFFFF;
            line-height: 1.15;
            text-align: left;
            z-index: 5;
            white-space: pre-line;
        }

        .stats-switcher {
            position: relative;
            width: 100%;
            max-width: 352px;
            height: 48px;
            background-color: rgba(58, 58, 60, 0.35);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            display: flex;
            align-items: center;
            padding: 4px;
            box-sizing: border-box;
            margin-bottom: 20px;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
        }

        .stats-switcher::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 24px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .stats-switcher-indicator {
            position: absolute;
            height: 40px;
            width: calc((100% - 12px) / 2);
            background-color: rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            top: 4px;
            left: 6px;
            z-index: 1;
            pointer-events: none;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15);
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .stats-switcher-indicator::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .stats-switch-item {
            flex: 1;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13.5px;
            font-weight: 600;
            color: #C3C3C3;
            z-index: 2;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .stats-switch-item.active {
            color: #FFFFFF;
        }

        .stats-tab-content {
            display: none;
            flex-direction: column;
            align-items: center;
            width: 100%;
            opacity: 0;
            transform: scale(0.98);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .stats-tab-content.active {
            display: flex;
            opacity: 1;
            transform: scale(1);
        }

        .fade-line {
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        #app-content.visible .fade-line:nth-child(1) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
        #app-content.visible .fade-line:nth-child(2) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
        #app-content.visible .fade-line:nth-child(3) { transition-delay: 0.8s; opacity: 1; transform: translateY(0); }
        #app-content.visible .fade-line:nth-child(4) { transition-delay: 1.0s; opacity: 1; transform: translateY(0); }
        #app-content.visible .fade-line:nth-child(5) { transition-delay: 1.2s; opacity: 1; transform: translateY(0); }
        #app-content.visible .fade-line:nth-child(6) { transition-delay: 1.4s; opacity: 1; transform: translateY(0); }

        /* Синяя кнопка действия */
        .premium-action-btn {
            position: relative;
            width: 100%;
            max-width: 346px;
            height: 52px;
            background-color: #008BFF;
            border-radius: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 24px;
            cursor: pointer;
            border: none;
            outline: none;
            z-index: 35;
            flex-shrink: 0;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.45),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.45);
            opacity: 0;
            transform: translateY(20px);
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                        background-color 0.2s ease,
                        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                        transform-opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        #app-content.visible .premium-action-btn {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 1.6s;
        }

        .premium-action-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 26px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.45) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.45) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .premium-action-btn:active {
            transform: scale(0.97);
            background-color: #0076D6;
        }

        .btn-text {
            font-size: 15px;
            font-weight: 600;
            color: #FFFFFF;
            letter-spacing: -0.2px;
        }

        /* Навигационная панель */
        .bottom-nav {
            position: absolute;
            bottom: calc(20px + var(--tg-safe-area-inset-bottom, 0px));
            left: 50%;
            width: calc(100% - 34px);
            max-width: 402px;
            height: 62px;
            background-color: rgba(58, 58, 60, 0.35);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 31px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 6px;
            z-index: 100;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
            transform: translate(-50%, 0);
            opacity: 0;
            transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform, opacity;
        }

        .bottom-nav::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 31px;
            padding: 0.9px;
            background: linear-gradient(170deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        #app-content.visible ~ .bottom-nav {
            opacity: 1;
        }

        /* Класс скрытия нижней пилюли в разделе кошелька */
        .bottom-nav.wallet-hidden {
            opacity: 0 !important;
            pointer-events: none !important;
            transform: translate(-50%, 100px) !important;
        }

        /* Индикатор меню */
        .nav-indicator {
            position: absolute;
            height: 48px;
            width: calc((100% - 12px) / 5);
            background-color: rgba(255, 255, 255, 0.12);
            border-radius: 24px;
            top: 6px;
            left: 6px;
            z-index: 1;
            pointer-events: none;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.01),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.01);
            transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
            transform-origin: center;
        }

        .nav-indicator::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 24px;
            padding: 0.9px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .nav-item {
            flex: 1;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 2;
            cursor: pointer;
            color: #C3C3C3;
            transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .nav-item.active {
            color: #007AFF; 
        }

        .nav-item img {
            width: 17px;
            height: 17px;
            margin-bottom: 2px;
            object-fit: contain;
            transition: transform 0.2s ease;
        }

        .nav-item img.large-icon {
            width: 21px;
            height: 21px;
        }

        .nav-item.active img {
            filter: brightness(0) saturate(100%) invert(36%) sepia(84%) saturate(2311%) hue-rotate(202deg) brightness(101%) contrast(106%);
        }

        .nav-item:active img {
            transform: scale(0.9);
        }

        .nav-label {
            font-size: 9px;
            font-weight: 500;
            letter-spacing: -0.1px;
            transition: font-weight 0.3s ease;
        }

        .nav-item.active .nav-label {
            font-weight: 600;
        }

        /* Табы */
        .tab-view {
            display: none;
            width: 100%;
            flex-direction: column;
            align-items: center;
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.22s cubic-bezier(0.25, 1, 0.5, 1), transform 0.22s cubic-bezier(0.25, 1, 0.5, 1);
            will-change: transform, opacity;
        }

        .tab-view.active {
            display: flex;
            opacity: 1;
            transform: translateY(0);
        }

        .tab-placeholder {
            padding: 40px 20px;
            text-align: center;
            color: #8E8E93;
            font-size: 15px;
            line-height: 1.5;
        }
        .placeholder-icon {
            font-size: 48px;
            margin-bottom: 12px;
        }

        .stats-grid {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
            max-width: 352px;
            margin-top: 10px;
        }

        .stats-row-double {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            width: 100%;
        }

        .stats-block-premium {
            background-color: #2C2C2E;
            border-radius: 20px;
            padding: 16px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.03);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .stats-block-premium.full-width {
            width: 100%;
        }

        .stats-block-premium.level-premium-block {
            background: linear-gradient(135deg, #2c2c2e 0%, #1c2536 100%) !important;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .level-dots-pattern {
            position: absolute;
            inset: 0;
            background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
            background-size: 8px 8px;
            -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 100%);
            mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 1) 100%);
            pointer-events: none;
            z-index: 1;
        }

        .level-block-content {
            position: relative;
            z-index: 5;
            width: 100%;
        }

        .stats-block-title {
            font-size: 12px;
            font-weight: 500;
            color: #8E8E93;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-bottom: 8px;
        }

        .stats-block-value {
            font-size: 20px;
            font-weight: 700;
            color: #FFFFFF;
            display: flex;
            align-items: center;
            gap: 8px;
            word-break: break-all;
        }

        .stats-block-subtitle {
            font-size: 11px;
            color: #8E8E93;
            margin-top: 4px;
        }

        /* Шкала опыта */
        .pamper-xp-container {
            width: 100%;
            max-width: 240px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
        }

        .pamper-xp-track {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 100px;
            overflow: hidden;
            position: relative;
        }

        .pamper-xp-fill {
            height: 100%;
            background: linear-gradient(90deg, #008BFF, #00C6FF);
            border-radius: 100px;
            width: 0%;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .pamper-xp-text {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 500;
        }

        .xp-progress-container {
            width: 100%;
            height: 6px;
            background-color: rgba(255, 255, 255, 0.08);
            border-radius: 3px;
            margin-top: 10px;
            overflow: hidden;
            position: relative;
        }

        .xp-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #008BFF, #00C6FF);
            width: 0%;
            border-radius: 3px;
            transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        /* Индикатор предупреждений */
        .warns-indicator-container {
            display: flex;
            gap: 4px;
            margin-top: 8px;
            transition: opacity 0.3s ease;
        }

        .warns-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            transition: background-color 0.3s ease;
        }

        .warns-dot.active {
            background-color: #FF453A;
            box-shadow: 0 0 6px rgba(255, 69, 58, 0.5);
        }

        /* Скелетоны */
        .skeleton-text {
            position: relative;
            overflow: hidden;
            background-color: #3A3A3C !important;
            color: transparent !important;
            border-radius: 6px;
            display: inline-block;
            min-width: 65px;
            height: 22px;
            pointer-events: none;
        }

        .skeleton-text::after {
            content: "";
            position: absolute;
            inset: 0;
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
            animation: shimmerEffect 1.3s infinite;
        }

        .skeleton-progress {
            background: #3A3A3C !important;
            position: relative;
            overflow: hidden;
            width: 100% !important;
        }

        .skeleton-progress::after {
            content: "";
            position: absolute;
            inset: 0;
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
            animation: shimmerEffect 1.3s infinite;
        }

        .skeleton-card-premium {
            position: relative !important;
            overflow: hidden !important;
            background-image: none !important; 
            background-color: #2C2C2E !important; 
            border-color: rgba(255, 255, 255, 0.05) !important;
            pointer-events: none;
        }

        .skeleton-card-premium::after {
            content: "";
            position: absolute;
            inset: 0;
            transform: translateX(-100%);
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
            animation: shimmerEffect 1.3s infinite;
            z-index: 10;
        }

        .skeleton-card-premium * {
            opacity: 0 !important;
        }

        @keyframes shimmerEffect {
            100% { transform: translateX(100%); }
        }

        /* Кастомный тост */
        .toast-notification {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translate(-50%, 100px);
            background-color: #3A3A3C;
            color: #FFFFFF;
            font-size: 13px;
            font-weight: 600;
            padding: 10px 20px;
            border-radius: 20px;
            opacity: 0;
            z-index: 9999;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
            pointer-events: none;
            white-space: nowrap;
        }

        .toast-notification.active {
            transform: translate(-50%, 0);
            opacity: 1;
        }

        /* Карточка Ежедневных заданий с наслаиванием */
        .pamper-quest-card {
            background-color: #2C2C2E;
            border-radius: 32px;
            padding: 18px;
            width: 100%;
            max-width: 346px;
            
            /* Наслаивание под карточку пампера */
            margin-top: -60px; 
            padding-top: 74px; 
            position: relative;
            z-index: 5;
            
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            display: flex;
            flex-direction: column;
            gap: 12px;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.0),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.42),
                        inset 8px 8px 30px rgba(0, 0, 0, 0.1),
                        inset -8px -8px 30px rgba(0, 0, 0, 0.1);
            border: none;
        }
.pamper-quest-card::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 32px;
            padding: 1px;
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.0) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.4) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }
        .pamper-quest-header {
            font-size: 14px;
            font-weight: 600;
            color: #8E8E93;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 4px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            padding-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            text-align: left;
            
        }

        /* Строка задания */
        .task-item {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 16px;
            padding: 12px 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
        }

        /* Галочка слева */
        .task-checkbox {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.3s ease;
        }

        .task-checkbox.completed {
            background-color: #34c759 !important;
            border-color: #34c759 !important;
        }

        .task-checkbox svg {
            width: 12px;
            height: 12px;
            fill: none;
            stroke: #ffffff;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .task-checkbox.completed svg {
            opacity: 1;
        }

        /* Правая часть с названием и опытом */
        .task-content {
            display: flex;
            flex-direction: column;
            gap: 2px;
            flex: 1;
            text-align: left;
        }

        .task-name {
            font-size: 14px;
            font-weight: 500;
            color: #ffffff;
        }

        .task-xp-reward {
            font-size: 11px;
            font-weight: 600;
            color: #34c759;
            text-align: left;
        }

        .task-progress-badge {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.6);
            background: rgba(255, 255, 255, 0.05);
            padding: 3px 8px;
            border-radius: 8px;
            flex-shrink: 0;
            margin-left: auto;
        }
        
        /* Кнопка "Забрать" для заданий */
        .task-claim-btn {
            position: relative;
            background: linear-gradient(90deg, #34c759, #30D158);
            border: none;
            border-radius: 12px;
            color: #ffffff;
            font-weight: 700;
            font-size: 11px;
            padding: 6px 14px;
            cursor: pointer;
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
            flex-shrink: 0;
            margin-left: auto;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: inset 4px 3px 1px -4px rgba(255, 255, 255, 0.5),
                        inset -4px -3px 1px -4px rgba(255, 255, 255, 0.3),
                        inset 4px 4px 14px rgba(0, 0, 0, 0.15),
                        inset -4px -4px 14px rgba(0, 0, 0, 0.15);
        }

        .task-claim-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 12px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.5) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.5) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }
        
        .task-claim-btn:active {
            transform: scale(0.95);
        }

        .task-claim-btn:disabled {
            background: #3A3A3C;
            color: #8E8E93;
            cursor: not-allowed;
            box-shadow: none;
        }

        .task-claim-btn:disabled::before {
            display: none;
        }

        .team-view-container {
            width: 100%;
            max-width: 352px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-sizing: border-box;
            padding-top: 10px;
        }

        .team-title-text {
            font-size: 24px;
            font-weight: 700;
            color: #FFFFFF;
            margin-bottom: 14px;
            letter-spacing: -0.4px;
            text-align: center;
        }

        .team-desc-text {
            font-size: 14px;
            line-height: 1.6;
            color: #E5E5EA;
            font-weight: 400;
            margin-bottom: 26px;
            text-align: center;
        }

        .team-join-btn {
            position: relative;
            width: 100%;
            height: 50px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            border: none;
            outline: none;
            transition: background-color 0.2s, transform 0.1s;
            margin-bottom: 28px;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.1),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
        }

        .team-join-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 25px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .team-join-btn:active {
            transform: scale(0.98);
            background-color: rgba(255, 255, 255, 0.15);
        }

        .team-join-btn .btn-icon-img {
            width: 18px;
            height: 18px;
            object-fit: contain;
        }

        .team-join-btn .btn-icon-fallback {
            color: #008BFF;
            flex-shrink: 0;
        }

        .team-join-btn .btn-text-content {
            font-size: 15px;
            font-weight: 600;
            color: #FFFFFF;
            letter-spacing: -0.1px;
        }

        /* Разделитель "Вакансии" */
        .vacancies-divider {
            display: flex;
            align-items: center;
            text-align: center;
            width: 100%;
            margin-bottom: 20px;
        }

        .vacancies-divider::before,
        .vacancies-divider::after {
            content: '';
            flex: 1;
            border-bottom: 1.2px solid rgba(255, 255, 255, 0.12);
        }

        .vacancies-divider::before { margin-right: 16px; }
        .vacancies-divider::after { margin-left: 16px; }

        .vacancies-title {
            font-size: 14px;
            font-weight: 600;
            color: #8E8E93;
            text-transform: uppercase;
            letter-spacing: 1.2px;
        }

        .vacancies-empty-wrapper {
            width: 100%;
            padding: 24px 0px;
            text-align: center;
            color: #8E8E93;
            font-size: 14px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-top: 36px;
        }

        .vacancy-lottie-container {
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 8px;
        }

        .vacancy-empty-text {
            font-size: 14.5px;
            color: #8E8E93;
            font-weight: 500;
            letter-spacing: -0.1px;
        }

        /* Премиум-карточки вакансий */
        #vacancies-list-container {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 12px;
            box-sizing: border-box;
        }

        .vacancy-card {
            background-color: #2C2C2E;
            border-radius: 20px;
            padding: 18px;
            width: 100%;
            box-sizing: border-box;
            border: 1px solid rgba(255, 255, 255, 0.03);
            text-align: left;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .vacancy-name {
            font-size: 16px;
            font-weight: 700;
            color: #FFFFFF;
            margin-bottom: 8px;
        }

        .vacancy-desc {
            font-size: 13.5px;
            color: #C3C3C3;
            line-height: 1.45;
            margin-bottom: 14px;
        }

        .vacancy-apply-btn {
            background-color: rgba(0, 139, 255, 0.15);
            color: #008BFF;
            border: none;
            border-radius: 12px;
            padding: 10px 16px;
            font-size: 13.5px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s, transform 0.1s ease;
            width: 100%;
            text-align: center;
            box-sizing: border-box;
        }

        .vacancy-apply-btn:active {
            background-color: rgba(0, 139, 255, 0.3);
            transform: scale(0.98);
        }

        .wallet-container {
            width: 100%;
            max-width: 352px;
            display: flex;
            flex-direction: column;
            align-items: center;
            box-sizing: border-box;
            margin-top: -62px;
            padding-top: 0;
        }

        /* Премиум блок 352x170px */
        .deposit-premium-block {
            position: relative;
            width: 352px;
            height: 170px;
            background-color: #2C2C2E;
            border-radius: 30px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 22px;
            box-sizing: border-box;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.35),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.35);
        }

        /* Тройная обводка и внутренние тени */
        .deposit-premium-block::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 30px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        /* Премиальный текстурный паттерн */
        .wallet-arch-pattern {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 1;
            opacity: 0.22;
            background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><circle cx='15' cy='15' r='8' stroke='rgba(255, 195, 0, 0.35)' stroke-width='1.2' fill='none' /><circle cx='15' cy='15' r='5' stroke='rgba(255, 195, 0, 0.2)' stroke-width='0.8' fill='none' /><path d='M15 12v6M12 15h6' stroke='rgba(255, 195, 0, 0.25)' stroke-width='0.8' /><circle cx='45' cy='45' r='8' stroke='rgba(255, 195, 0, 0.35)' stroke-width='1.2' fill='none' /><circle cx='45' cy='45' r='5' stroke='rgba(255, 195, 0, 0.2)' stroke-width='0.8' fill='none' /><path d='M45 42v6M42 45h6' stroke='rgba(255, 195, 0, 0.25)' stroke-width='0.8' /><path d='M45 15l1 2 2 1-2 1-1 2-1-2-2-1 2-1z' fill='rgba(255,255,255,0.25)' /><path d='M15 45l1 2 2 1-2 1-1 2-1-2-2-1 2-1z' fill='rgba(255,255,255,0.25)' /></svg>");
            background-size: 38px 38px;
            background-repeat: repeat;
            -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1.0) 20%, rgba(0, 0, 0, 0.15) 90%);
            mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1.0) 20%, rgba(0, 0, 0, 0.15) 90%);
        }

        /* Золотистое размытое свечение */
        .wallet-gold-glow {
            position: absolute;
            width: 360px;
            height: 360px;
            background: radial-gradient(circle, rgba(255, 195, 0, 0.45) 0%, rgba(255, 195, 0, 0) 70%);
            border-radius: 50%;
            filter: blur(100px);
            right: -120px;
            bottom: -160px;
            pointer-events: none;
            z-index: 2;
        }

        .deposit-card-content {
            position: relative;
            z-index: 5;
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            justify-content: space-between;
        }

        .deposit-balance-center {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            text-align: center;
            margin-top: 5px;
        }

        .deposit-balance-title {
            font-size: 11px;
            font-weight: 600;
            color: #8E8E93;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-align: center;
        }

        .deposit-balance-section {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-top: 8px;
        }

        .deposit-lottie-coin {
            position: absolute;
            right: 100%;
            margin-right: 8px;
            width: 35px;
            height: 35px;
            flex-shrink: 0;
        }

        .deposit-balance-value {
            font-size: 42px;
            font-weight: 700;
            color: #FFFFFF;
            line-height: 1;
            letter-spacing: -0.5px;
        }

        .deposit-buttons-row {
            display: flex;
            gap: 10px;
            width: 100%;
        }

        /* Левая кнопка Депозит */
        .deposit-btn {
            flex: 1;
            height: 42px;
            border-radius: 21px; 
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
            border: none;
            outline: none;
            box-sizing: border-box;
        }

        .deposit-btn-solid {
            background-color: #FFFFFF;
            color: #000000;
        }

        .deposit-btn-solid:active {
            background-color: #E5E5EA;
            transform: scale(0.97);
        }

        .deposit-btn-solid img.deposit-btn-icon {
            filter: brightness(0); 
        }

        /* Правая кнопка Обменять */
        .deposit-btn-glass {
            position: relative;
            background-color: rgba(255, 255, 255, 0.08);
            color: #FFFFFF;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
        }

        .deposit-btn-glass::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 21px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .deposit-btn-glass:active {
            background-color: rgba(255, 255, 255, 0.16);
            transform: scale(0.97);
        }

        .deposit-btn-icon {
            width: 16px;
            height: 16px;
            object-fit: contain;
        }

        .history-controls-container {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 32px;
            box-sizing: border-box;
        }

        .history-filters-row {
            width: 100%;
            display: flex;
            gap: 8px;
            overflow-x: auto;
            scrollbar-width: none;
            -ms-overflow-style: none;
            padding: 2px;
            box-sizing: border-box;
        }
        
        .history-filters-row::-webkit-scrollbar {
            display: none;
        }
        
        /* Стилизация пилюлей-фильтров */
        .filter-chip {
            position: relative;
            flex-shrink: 0;
            height: 36px;
            padding: 0 14px;
            border-radius: 18px;
            background-color: rgba(255, 255, 255, 0.06);
            color: #C3C3C3;
            font-size: 13px;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: none;
            outline: none;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
        }

        .filter-chip::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 18px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }
        
        .filter-chip.active {
            background-color: rgba(255, 255, 255, 0.18);
            color: #FFFFFF;
            font-weight: 600;
        }

        .filter-chip:active {
            transform: scale(0.96);
        }

        /* Счетчик количества транзакций */
        .filter-badge {
            font-size: 10px;
            font-weight: 600;
            background-color: rgba(255, 255, 255, 0.12);
            color: #E5E5EA;
            padding: 1.5px 6px;
            border-radius: 10px;
            transition: all 0.2s ease;
        }

        .filter-chip.active .filter-badge {
            background-color: #008BFF;
            color: #FFFFFF;
        }

        /* Интерактивный блок поиска и сортировки */
        .search-sort-wrapper {
            display: flex;
            width: 100%;
            gap: 10px;
            box-sizing: border-box;
            align-items: center;
        }

        .search-input-container {
            flex: 1;
            position: relative;
            height: 38px;
            background-color: rgba(255, 255, 255, 0.06);
            border-radius: 20px; 
            display: flex;
            align-items: center;
            padding: 0 16px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
        }

        .search-input-container::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            padding: 0.9px;
            background: linear-gradient(170deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .search-input-field {
            width: 100%;
            height: 100%;
            background: transparent;
            border: none;
            outline: none;
            color: #FFFFFF;
            font-family: inherit;
            font-size: 13.5px;
            padding-left: 24px;
            z-index: 5;
        }

        .search-input-field::placeholder {
            color: #8E8E93;
        }

        .search-icon-svg {
            position: absolute;
            left: 16px;
            color: #8E8E93;
            pointer-events: none;
            z-index: 5;
        }

        .sort-toggle-btn {
            position: relative;
            height: 38px;
            width: 38px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #FFFFFF;
            transition: background-color 0.2s, transform 0.15s ease;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: none;
            outline: none;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
            z-index: 5;
            flex-shrink: 0;
        }

        .sort-toggle-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .sort-toggle-btn:active {
            transform: scale(0.95);
            background-color: rgba(255, 255, 255, 0.15);
        }

        .history-section-title {
            width: 100%;
            text-align: left;
            font-size: 17px;
            font-weight: 700;
            color: #FFFFFF;
            margin-top: 20px; 
            margin-bottom: 14px;
            padding-left: 2px;
        }

        .history-list {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 10px;
            box-sizing: border-box;
        }
        
        .transaction-card {
            background-color: #2C2C2E;
            border-radius: 18px;
            height: 60px;
            padding: 0 16px;
            width: 100%;
            box-sizing: border-box;
            border: 1px solid rgba(255, 255, 255, 0.03);
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
            animation: cardSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }
        
        @keyframes cardSlideIn {
            0% { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        .tx-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .tx-icon-wrapper {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            cursor: pointer;
            transition: transform 0.15s ease;
            background-color: transparent !important;
        }

        .tx-icon-wrapper:active {
            transform: scale(0.9);
        }

        .tx-icon-wrapper img {
            width: 22px; 
            height: 22px; 
            object-fit: contain;
        }
        
        .tx-info {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        
        .tx-title {
            font-size: 13.5px; 
            font-weight: 600;
            color: #FFFFFF;
        }
        
        .tx-date {
            font-size: 11.5px;
            color: #8E8E93;
        }
        
        .tx-right {
            text-align: right;
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
        
        .tx-amount {
            font-size: 14px; 
            font-weight: 700;
        }

        .tx-amount.positive {
            color: #30D158;
        }
        
        .tx-amount.negative {
            color: #FF453A;
        }
        
        .tx-status {
            font-size: 11px;
            color: #30D158;
            font-weight: 500;
        }

        .history-empty-wrapper {
            width: 100%;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px; 
            box-sizing: border-box;
        }

        .history-lottie-container {
            width: 90px;
            height: 90px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
        }

        .history-empty-text {
            font-size: 14.5px;
            color: #8E8E93;
            font-weight: 500;
            text-align: center;
        }

        /* ===== Депозитный переключатель и элементы ===== */
        .deposit-switcher {
            position: relative;
            width: 100%;
            height: 48px;
            background-color: rgba(58, 58, 60, 0.35);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            display: flex;
            align-items: center;
            padding: 4px;
            box-sizing: border-box;
            margin-bottom: 20px;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .deposit-switcher::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 24px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .deposit-switcher-indicator {
            position: absolute;
            height: 38px;
            width: calc((100% - 12px) / 2);
            background-color: rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            top: 4px;
            left: 6px;
            z-index: 1;
            pointer-events: none;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15);
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .deposit-switcher-indicator::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .deposit-switch-item {
            flex: 1;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13.5px;
            font-weight: 600;
            color: #C3C3C3;
            z-index: 2;
            cursor: pointer;
            transition: color 0.3s ease;
            gap: 8px;
        }

        .deposit-switch-item.active {
            color: #FFFFFF;
        }

        .deposit-switch-item img {
            width: 16px;
            height: 16px;
            object-fit: contain;
            vertical-align: middle;
        }

        .deposit-input-outside-label {
            font-size: 11px;
            font-weight: 600;
            color: #8E8E93;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
            display: block;
            width: 100%;
            text-align: left;
            padding-left: 4px;
        }

        /* Поле ввода депозита */
        .deposit-input-wrapper {
            position: relative;
            background-color: rgba(255, 255, 255, 0.06);
            border-radius: 20px; 
            padding: 10px 16px;
            margin-bottom: 10px;
            display: flex;
            flex-direction: column;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.15),
                        inset 8px 8px 28px rgba(0, 0, 0, 0.08),
                        inset -8px -8px 28px rgba(0, 0, 0, 0.08);
        }

        .deposit-input-wrapper::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 20px;
            padding: 0.9px;
            background: linear-gradient(170deg, 
                rgba(255, 255, 255, 0.35) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.35) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .deposit-input-row {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            width: 100%;
            z-index: 5;
        }

        .deposit-input-currency-icon-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            flex-shrink: 0;
        }

        .deposit-input-currency-icon-wrapper img {
            width: 24px;
            height: 24px;
            object-fit: contain;
        }

        .deposit-input-field {
            background: none;
            border: none;
            outline: none;
            color: #FFFFFF;
            font-size: 24px;
            font-weight: 700;
            flex: 1;
            font-family: inherit;
        }

        .deposit-limit-warn {
            font-size: 11px;
            color: #FF453A;
            margin-top: 4px;
            margin-bottom: 12px;
            font-weight: 500;
            display: none;
        }

        /* Премиум кнопка пополнения */
        .deposit-submit-btn {
            position: relative;
            width: 100%;
            height: 52px;
            background-color: #008BFF;
            border-radius: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 24px;
            cursor: pointer;
            border: none;
            outline: none;
            z-index: 35;
            flex-shrink: 0;
            box-shadow: inset 8px 6px 1px -8px rgba(255, 255, 255, 0.45),
                        inset -8px -6px 1px -8px rgba(255, 255, 255, 0.45);
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                        background-color 0.2s ease,
                        opacity 0.2s ease;
        }

        .deposit-submit-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 26px;
            padding: 0.9px;
            background: linear-gradient(165deg, 
                rgba(255, 255, 255, 0.45) 0%, 
                rgba(255, 255, 255, 0.0) 40%, 
                rgba(255, 255, 255, 0.0) 60%, 
                rgba(255, 255, 255, 0.45) 100%
            );
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 3;
        }

        .deposit-submit-btn:active {
            transform: scale(0.97);
            background-color: #0076D6;
        }

        .deposit-submit-btn-text {
            font-size: 15px;
            font-weight: 600;
            color: #FFFFFF;
            letter-spacing: -0.2px;
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
                        opacity 0.2s ease, 
                        filter 0.2s ease;
            display: inline-block;
        }

        .deposit-submit-btn-text.updating {
            opacity: 0;
            transform: translateY(-10px) scale(0.9);
            filter: blur(4px);
        }

        /* ===== Стили для интерактивной прокачки Пампера ===== */
        .pamper-active-screen {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }