       /* ===== ТЕЛЕГРАМ АВТОРИЗАЦИЯ (из index_1) ===== */
        .telegram-btn {
            background: #2a9fd8;
            color: #fff;
            border: none;
            padding: 0.5rem 1.4rem;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .telegram-btn:hover {
            background: #3bb3e8;
            transform: scale(1.02);
        }
        .telegram-btn .icon {
            font-size: 1.2rem;
        }
        .telegram-btn.logged {
            background: #1a4a1a;
            border: 1px solid #2a6a2a;
        }
        .telegram-btn.logged:hover {
            background: #2a5a2a;
        }
        .auth-popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(8px);
            justify-content: center;
            align-items: center;
            z-index: 2000;
            padding: 1rem;
        }
        .auth-popup.active {
            display: flex;
        }
        .auth-box {
            background: #141414;
            border: 1px solid #2a2a2a;
            border-radius: 24px;
            max-width: 480px;
            width: 100%;
            padding: 2rem;
            position: relative;
            box-shadow: 0 0 60px rgba(42, 159, 216, 0.15);
        }
        .auth-box .close {
            background: none;
            border: none;
            color: #666;
            font-size: 1.5rem;
            cursor: pointer;
            position: absolute;
            top: 1rem;
            right: 1.5rem;
        }
        .auth-box .close:hover {
            color: #fff;
        }
        .auth-box h2 {
            color: #fff;
            font-weight: 700;
            font-size: 1.3rem;
            margin-bottom: 0.3rem;
        }
        .auth-box .subtitle {
            color: #888;
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
        }
        .auth-box .telegram-login {
            background: #2a9fd8;
            color: #fff;
            border: none;
            width: 100%;
            padding: 0.8rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.7rem;
        }
        .auth-box .telegram-login:hover {
            background: #3bb3e8;
            transform: scale(1.01);
        }
        .auth-box .telegram-login .tg-icon {
            font-size: 1.5rem;
        }
        .plans {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.8rem;
            margin: 1.5rem 0;
        }
        .plan-card {
            background: #0b0b0b;
            border: 1px solid #222;
            border-radius: 14px;
            padding: 1.2rem;
            text-align: center;
            transition: 0.2s;
            cursor: pointer;
        }
        .plan-card:hover {
            border-color: #444;
        }
        .plan-card.selected {
            border-color: #f77f00;
            background: #1a1a1a;
            box-shadow: 0 0 20px rgba(247, 127, 0, 0.1);
        }
        .plan-card .name {
            font-weight: 700;
            color: #eee;
            font-size: 1rem;
        }
        .plan-card .price {
            color: #f77f00;
            font-size: 1.4rem;
            font-weight: 700;
            margin: 0.3rem 0;
        }
        .plan-card .price .period {
            font-size: 0.7rem;
            color: #666;
            font-weight: 400;
        }
        .plan-card .features {
            font-size: 0.7rem;
            color: #888;
            line-height: 1.8;
        }
        .plan-card .features .check {
            color: #6bff6b;
        }
        .plan-card .badge {
            display: inline-block;
            background: #f77f00;
            color: #0b0b0b;
            font-size: 0.6rem;
            font-weight: 700;
            padding: 0.15rem 0.6rem;
            border-radius: 20px;
            margin-top: 0.3rem;
        }
        .plan-card.free .price {
            color: #888;
        }
        .auth-box .continue-btn {
            background: #f77f00;
            color: #0b0b0b;
            border: none;
            width: 100%;
            padding: 0.8rem;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 0.5rem;
        }
        .auth-box .continue-btn:hover {
            background: #ff9500;
            transform: scale(1.01);
        }
        .auth-box .continue-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        .auth-box .user-info {
            display: none;
            background: #0b0b0b;
            border: 1px solid #1a1a1a;
            border-radius: 12px;
            padding: 1rem;
            margin-top: 1rem;
            align-items: center;
            gap: 1rem;
        }
        .auth-box .user-info.active {
            display: flex;
        }
        .auth-box .user-info .avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: #2a9fd8;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
        }
        .auth-box .user-info .details {
            flex: 1;
        }
        .auth-box .user-info .details .name {
            color: #eee;
            font-weight: 600;
        }
        .auth-box .user-info .details .plan {
            color: #f77f00;
            font-size: 0.8rem;
        }
        .auth-box .user-info .logout-btn {
            background: #4a1a1a;
            border: 1px solid #6a2a2a;
            color: #ff6b6b;
            padding: 0.3rem 0.8rem;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.75rem;
        }