/* Ports overview styles */
    .ports-overview { margin: 18px 0 24px; }
    .ports-intro p { margin: 0 0 12px; color: #333; }
    .ports-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
    .ports-item { background: #f7f9fb; border: 1px solid #e6eef6; border-radius: 8px; padding: 10px; text-align: center; }
    .ports-link { text-decoration: none; color: inherit; display: inline-block; width:100%; }
    .ports-num { display: inline-block; font-weight:700; font-size:18px; background:#0e87e6; color:#fff; padding:6px 8px; border-radius:6px; margin-bottom:6px; }
    .ports-meta { display:block; margin-top:6px; font-size:13px; color:#27506d; }
    .ports-legend { margin-top:10px; font-size:13px; color:#444; }
    .ports-faq { margin-top:14px; border-top:1px solid #eee; padding-top:12px; }
    .ports-faq dt { font-weight:700; margin-top:10px; }
    .ports-faq dd { margin:6px 0 0 0; color:#444; }
    @media (max-width:480px) { .ports-num { font-size:16px; padding:5px 6px; } }

/* Добавляем стили для модального окна */
        .modal {
            display: none;
            position: fixed;
            z-index: 10000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.7);
            backdrop-filter: blur(8px);
            animation: fadeIn 0.3s;
        }

        .modal-content {
            background-color: rgba(30,30,60,0.95);
            backdrop-filter: blur(20px);
            margin: 3% auto;
                color: #ffffff;
                font-size: 24px;
                font-weight: 600;
                margin-bottom: 16px;
            }

            .modal-content p, .modal-content strong {
                color: rgba(255,255,255,0.9);
                line-height: 1.6;
            }

            .ip-button {
                background-color: #f1f1f1;
                color: black;
                padding: 5px 10px;
                border: none;
                border-radius: 5px;
                cursor: pointer;
                display: inline-flex;
                align-items: center;
                transition: background-color 0.3s ease;
                position: relative;
            }

            .ip-button:hover {
                background-color: #dcdcdc;
            }

            .ip-button .flag {
                margin-right: 10px;
            }

            body { padding-top: 0 !important; }
            .lang-dropdown { position: relative; display: inline-flex; align-items: center; }
            .lang-dropdown-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; background: #f1f1f1; color: #333; font-weight: 600; border: 1px solid #d0d0d0; cursor: pointer; font-size: 13px; transition: background 0.2s; }
            .lang-dropdown-btn:hover { background: #e0e0e0; }
            .lang-dropdown-menu { display: none; position: absolute; top: 110%; right: 0; background: #fff; border: 1px solid #d0d0d0; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.15); min-width: 180px; z-index: 2000; overflow: hidden; }
            .lang-dropdown-menu.open { display: block; }
            .lang-dropdown-item { display: flex; align-items: center; gap: 6px; padding: 7px 12px; color: #333; text-decoration: none; font-size: 13px; font-weight: 500; white-space: nowrap; }
            .lang-dropdown-item:hover { background: #f0f0f0; }
            .lang-dropdown-item.active { background: #e8f4fd; color: #0e87e6; }
            .lang-code { font-size: 12px; }
            .top-bar { justify-content: flex-start !important; gap: 6px; }
            .topbar-nav-row { display: contents; }
            .topbar-right-row { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
            .topbar-right-row .lang-dropdown { margin-left: 0; }
            .nav-tb-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 6px; background: #f1f1f1; color: #333; font-weight: 600; border: 1px solid #d0d0d0; cursor: pointer; font-size: 13px; transition: background 0.2s, color 0.2s; text-decoration: none; }
            .nav-tb-btn:hover { background: #e0e0e0; color: #111; }
            .nav-tb-btn:active { background: #d4d4d4; }
            .nav-tb-btn.is-active,
            .nav-tb-btn.is-active:hover,
            .nav-tb-btn.is-active:active { background: #c7ced8; color: #0d2238; border-color: #aeb7c2; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35); }
            .nav-dropdown-wrap { position: relative; display: inline-flex; align-items: center; }
            .nav-more-btn { overflow: visible !important; }
            .nav-more-menu { display: none; position: absolute; top: 110%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #ccc; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.15); min-width: 180px; z-index: 2000; overflow: hidden; }
            .nav-more-menu.open { display: block; }
            .nav-more-item { display: block; padding: 9px 16px; color: #444; text-decoration: none; font-size: 13px; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
            .nav-more-item:last-child { border-bottom: none; }
            .nav-more-item:hover { background: #f5f5f5; color: #0e87e6; }
            .nav-more-item.is-active,
            .nav-more-item.is-active:hover { background: #e2e8f0; color: #0d2238; font-weight: 700; }
            .nav-more-label { display: block; padding: 10px 16px 6px; color: #7a7a7a; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: #f8f8f8; border-top: 1px solid #f0f0f0; }
            .nav-more-label:first-child { border-top: none; }
            .nav-more-ip-btn { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 6px; font-size: 13px; color: #444; padding: 9px 16px; border-top: 1px solid #f0f0f0; }
            .nav-more-ip-btn:hover { background: #f5f5f5; color: #0e87e6; }
            html, body { overflow-x: clip; }
            @media (max-width: 768px) { .nav-more-menu { left: 0 !important; right: auto !important; transform: none !important; } }
            @media (max-width: 768px) { body { padding: 0 !important; } .top-bar, .container, .good-proxies-container, .online-proxies-container, .flex-container, .slide-container { margin-left: 0 !important; margin-right: 0 !important; border-radius: 0 !important; max-width: 100% !important; width: 100% !important; } }
            .nav-hamburger-btn { display: none; background: #f1f1f1; border: 1px solid #d0d0d0; border-radius: 6px; padding: 4px 10px; font-size: 20px; cursor: pointer; color: #333; line-height: 1; }
            .nav-hamburger-sep { border: none; border-top: 2px solid #e8e8e8; margin: 4px 0; }
            .nav-hamburger-auth-btn { display: block; width: 100%; background: none; border: none; border-bottom: 1px solid #f0f0f0; padding: 9px 16px; color: #444; font-size: 13px; text-align: left; cursor: pointer; font-family: inherit; }
            .nav-hamburger-auth-btn:hover { background: #f5f5f5; color: #0e87e6; }
            #navHamburgerMenu { left: auto !important; right: 0 !important; transform: none !important; min-width: 220px; }
            .nav-hamburger-group-btn {
                display: flex;
                width: 100%;
                align-items: center;
                justify-content: space-between;
                background: #f8fafc;
                border: none;
                border-bottom: 1px solid #edf1f5;
                padding: 10px 14px;
                color: #1f2937;
                font-size: 13px;
                font-weight: 700;
                cursor: pointer;
                font-family: inherit;
            }
            .nav-hamburger-group-btn:hover { background: #eef4ff; color: #0e87e6; }
            .nav-hamburger-group-btn .caret { transition: transform .2s ease; }
            .nav-hamburger-group-btn.is-open .caret { transform: rotate(180deg); }
            .nav-hamburger-submenu {
                max-height: 0;
                overflow: hidden;
                opacity: 0;
                transform: translateY(-4px);
                transition: max-height .28s ease, opacity .22s ease, transform .22s ease;
                background: #ffffff;
            }
            .nav-hamburger-submenu.open {
                max-height: 540px;
                opacity: 1;
                transform: translateY(0);
            }
            .nav-hamburger-submenu .nav-more-item,
            .nav-hamburger-submenu .nav-hamburger-auth-btn {
                padding-left: 22px;
            }
            .nav-ham-proxy-sub-btn {
                display: flex;
                width: 100%;
                align-items: center;
                justify-content: space-between;
                background: #f8fafc;
                border: none;
                border-top: 1px solid #edf1f5;
                border-bottom: 1px solid #edf1f5;
                padding: 9px 22px;
                color: #334155;
                font-size: 12px;
                font-weight: 700;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                cursor: pointer;
                font-family: inherit;
            }
            .nav-ham-proxy-sub-btn:hover { background: #eef4ff; color: #0e87e6; }
            .nav-ham-proxy-sub-btn .caret { transition: transform .2s ease; }
            .nav-ham-proxy-sub-btn.is-open .caret { transform: rotate(180deg); }
            .nav-ham-proxy-submenu {
                max-height: 0;
                overflow: hidden;
                opacity: 0;
                transform: translateY(-2px);
                transition: max-height .25s ease, opacity .2s ease, transform .2s ease;
                background: #fff;
            }
            .nav-ham-proxy-submenu.open {
                max-height: 380px;
                opacity: 1;
                transform: translateY(0);
            }
            .nav-ham-proxy-submenu .nav-more-item { padding-left: 30px; }
            #navHamburgerMenu .nav-hamburger-auth-btn:last-child { border-bottom: none; }
            @media (max-width: 768px) { .topbar-nav-row { display: none !important; } .user-info { display: none !important; } .nav-hamburger-btn { display: inline-flex !important; align-items: center; } }
            .top-bar.is-overflowing .topbar-nav-row { display: none !important; }
            .top-bar.is-overflowing .user-info { display: none !important; }
            .top-bar.is-overflowing .nav-hamburger-btn { display: inline-flex !important; align-items: center; }

        .ip-button .tooltip {
            visibility: hidden;
            width: 200px;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 5px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .ip-button:hover .tooltip {
            visibility: visible;
            opacity: 1;
        }

        .ip-button .tooltip-bottom {
            visibility: hidden;
            width: 200px;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 5px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            top: 100%;
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .ip-button:hover .tooltip-bottom {
            visibility: visible;
            opacity: 1;
        }

        /* Анимация появления модального окна */
        @keyframes fadeIn {
            from {opacity: 0;}
            to {opacity: 1;}
        }

        /* Контейнер для кнопок */
        .button-container {
            display: flex;
            justify-content: flex-end; /* Выравнивание кнопок по правой стороне */
            gap: 10px; /* Отступ между кнопками */
            align-items: center; /* Вертикальное выравнивание кнопок по центру */
            width: 100%; /* Чтобы контейнер занимал всю ширину */
        }

        /* Стили для кнопок "Меню", "Войти" и "Выйти" */
        .menu-button, .auth-form button {
            background-color: #007bff; /* Цвет кнопки */
            color: white;
            padding: 5px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease; /* Плавное изменение цвета */
        }

        .login-btn-styled {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            box-shadow: 0 4px 15px rgba(102,126,234,0.4);
            padding: 8px 20px !important;
            font-weight: 600;
        }

        .login-btn-styled:hover {
            background: linear-gradient(135deg, #7c8ff0 0%, #8b5bb8 100%) !important;
            box-shadow: 0 6px 20px rgba(102,126,234,0.5);
            transform: translateY(-1px);
        }

        .demo-btn-styled {
            background: linear-gradient(135deg, #f5af19 0%, #f12711 100%) !important;
            box-shadow: 0 4px 15px rgba(245,175,25,0.4);
            padding: 8px 20px !important;
            font-weight: 600;
        }

        .demo-btn-styled:hover {
            background: linear-gradient(135deg, #ffc850 0%, #ff5733 100%) !important;
            box-shadow: 0 6px 20px rgba(245,175,25,0.5);
            transform: translateY(-1px);
        }

        .menu-btn-styled {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            box-shadow: 0 4px 15px rgba(102,126,234,0.4);
            padding: 8px 20px !important;
            font-weight: 600;
        }

        .menu-btn-styled:hover {
            background: linear-gradient(135deg, #7c8ff0 0%, #8b5bb8 100%) !important;
            box-shadow: 0 6px 20px rgba(102,126,234,0.5);
            transform: translateY(-1px);
        }

        .logout-btn-styled {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
            box-shadow: 0 4px 15px rgba(102,126,234,0.4);
            padding: 8px 20px !important;
            font-weight: 600;
        }

        .logout-btn-styled:hover {
            background: linear-gradient(135deg, #7c8ff0 0%, #8b5bb8 100%) !important;
            box-shadow: 0 6px 20px rgba(102,126,234,0.5);
            transform: translateY(-1px);
        }

        .demo-button {
            background-color: #ff9800;
            padding: 10px 24px;
            font-size: 16px;
        }

        /* Ховер-эффект для кнопок */
        .menu-button:hover, .auth-form button:hover {
            background-color: #0056b3; /* Цвет при наведении */
        }

        .demo-button:hover {
            background-color: #f57c00 !important;
        }

        .user-info {
        font-size: 0.9rem;
        text-align: right;
        }
        
        /* Убираем отступы формы */
        .auth-form {
            margin: 0;
        }

        /* Стили для поля ввода ключа */
        .renew-key-input {
            width: 100%;
            max-width: 100%;
            padding: 14px 16px;
            margin-bottom: 12px;
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 12px;
            background: rgba(255,255,255,0.08);
            color: #ffffff;
            font-size: 15px;
            transition: all 0.3s;
            outline: none;
        }

        .renew-key-input::placeholder {
            color: rgba(255,255,255,0.4);
        }

        .renew-key-input:focus {
            border-color: rgba(102,126,234,0.6);
            background: rgba(255,255,255,0.12);
            box-shadow: 0 0 0 4px rgba(102,126,234,0.15);
        }

        /* Стили для сообщений об успехе и ошибке */
        .success-message, .error-message {
            padding: 12px 14px;
            border-radius: 12px;
            margin-bottom: 12px;
            font-weight: 600;
            font-size: 14px;
        }

        .success-message {
            background: linear-gradient(135deg, rgba(40,167,69,0.15), rgba(32,201,151,0.18));
            color: #7fff7f;
            border: 1px solid rgba(40,167,69,0.3);
            box-shadow: 0 4px 12px rgba(40,167,69,0.15);
        }

        .error-message {
            background: linear-gradient(135deg, rgba(255,50,50,0.15), rgba(255,20,20,0.18));
            color: #ffb4b4;
            border: 1px solid rgba(255,80,80,0.3);
            box-shadow: 0 4px 12px rgba(255,0,0,0.15);
        }

        #menuModalContent h2, #menuModalContent h3 {
            color: #ffffff;
            margin-bottom: 16px;
        }

        #menuModalContent h3 {
            font-size: 20px;
            margin-top: 24px;
        }

        #menuModalContent li {
            color: rgba(255,255,255,0.85);
            line-height: 1.6;
            margin-bottom: 8px;
        }

        /* Стиль для блока с выбором способов оплаты */
    .payment-options {
        margin-bottom: 20px;
    }

    .payment-option {
        display: flex;
        align-items: stretch;
        margin-bottom: 20px;
        gap: 15px;
    }

    .payment-option button {
        flex: 1;
        background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
        color: white;
        border: none;
        padding: 18px 24px;
        text-align: left;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        border-radius: 16px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .payment-option button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .payment-option button:hover::before {
        left: 100%;
    }

    .payment-option button:hover {
        background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.45);
        transform: translateY(-3px) scale(1.02);
    }

    .payment-option button:active {
        transform: translateY(-1px) scale(0.98);
    }

    .payment-option .payment-title {
        font-size: 16px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .payment-option .payment-methods {
        font-size: 14px;
        opacity: 0.95;
        font-weight: 500;
        line-height: 1.5;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .payment-option .payment-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 5px 12px;
        background: rgba(255,255,255,0.25);
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        transition: all 0.3s ease;
    }

    .payment-option:hover .payment-badge {
        background: rgba(255,255,255,0.35);
        transform: translateY(-1px);
    }

    .payment-logo {
        display: none;
    }

    /* Мобильная адаптация */
    @media (max-width: 768px) {
        .payment-option {
            flex-direction: column;
            gap: 12px;
        }

        .payment-option button {
            width: 100%;
            text-align: center;
        }
        
        .payment-option .payment-methods {
            justify-content: center;
        }
        
        .payment-option .payment-title {
            justify-content: center;
        }
    }

.good-proxies-container {
        width: 100%; /* Ширина контейнера равна ширине экрана */
        max-width: 1000px; /* Максимальная ширина контейнера */
        background-color: #f9f9f9; /* Светлый фон */
        border: 3px solid #ddd; /* Серый бордер */
        border-radius: 8px; /* Закруглённые углы */
        padding: 20px; /* Внутренние отступы */
        margin: 10px auto; /* Центрирование по горизонтали */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
        text-align: left; /* Выровнять текст по левому краю */
    }

    .good-proxies-container h1 {
        font-size: 24px; /* Размер заголовка */
        color: #333; /* Тёмно-серый цвет */
        margin-bottom: 16px; /* Отступ снизу */
        text-align: left; /* Явное выравнивание по левому краю */
    }

    .good-proxies-container p {
        font-size: 16px; /* Размер текста */
        color: #555; /* Средний серый цвет */
        line-height: 1.6; /* Межстрочный интервал */
        margin-bottom: 16px; /* Отступ между абзацами */
        text-align: left; /* Выровнять текст по левому краю */
    }

    .good-proxies-container ul {
        list-style-type: disc; /* Стилизация маркеров списка */
        margin: 16px 0 16px 20px; /* Отступы сверху, снизу и слева */
        padding: 0; /* Убираем отступы */
        text-align: left; /* Выровнять текст по левому краю */
    }

    .good-proxies-container ul li {
        font-size: 16px; /* Размер текста в списке */
        color: #444; /* Тёмно-серый цвет */
        margin-bottom: 8px; /* Отступ между элементами списка */
    }

    .good-proxies-container .good-proxies-cta {
        font-weight: bold; /* Жирный текст */
        color: #007bff; /* Синий цвет ссылки или акцента */
        margin-top: 16px; /* Отступ сверху */
        text-align: left; /* Выровнять текст по левому краю */
    }

    /* Медиа-запросы для адаптации под мобильные устройства */
    @media (max-width: 768px) {
        .good-proxies-container {
            padding: 10px; /* Уменьшаем внутренние отступы для мобильных устройств */
        }

        .good-proxies-container h1 {
            font-size: 20px; /* Уменьшаем размер заголовка для мобильных устройств */
        }

        .good-proxies-container p,
        .good-proxies-container ul li {
            font-size: 14px; /* Уменьшаем размер текста для мобильных устройств */
        }
    }
    .buy-proxy-button {
        display: inline-block;
        padding: 10px 20px;
        font-size: 16px;
        color: #fff;
        background: linear-gradient(90deg, #ff6b6b, #556270);
        background-size: 200% auto;
        border: 2px solid #556270;
        border-radius: 5px;
        text-decoration: none;
        cursor: pointer;
        animation: gradientAnimation 3s infinite;
    }

    @keyframes gradientAnimation {
        0% {
            background-position: 0% center;
        }
        50% {
            background-position: 100% center;
        }
        100% {
            background-position: 0% center;
        }
    }

    .buy-proxy-button:hover {
        transform: scale(1.05);
    }

    .country-proxy-intro {
        width: 100%;
        max-width: 1000px;
        margin: 10px auto 12px;
        padding: 20px 22px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
        text-align: left;
        font-family: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .country-proxy-intro h1,
    .country-proxy-intro h2 {
        margin: 0 0 12px;
        color: #111827;
        line-height: 1.2;
        font-weight: 700;
        letter-spacing: -0.02em;
    }

    .country-proxy-intro h1 {
        font-size: 28px;
    }

    .country-proxy-intro h2 {
        font-size: 24px;
    }

    .country-proxy-intro p {
        margin: 0;
        color: #4b5563;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.7;
    }

    .country-proxy-intro .country-intro-link:not(.country-intro-tag) {
        color: #0b63ce;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
        transition: color 0.18s ease;
    }

    .country-proxy-intro .country-intro-link:not(.country-intro-tag):hover {
        color: #084c9e;
    }

    .country-proxy-intro .country-intro-facts {
        display: grid;
        gap: 12px;
        margin-top: 18px;
        padding: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        background: #ffffff;
    }

    .country-proxy-intro--free {
        margin-bottom: 16px;
    }

    .free-proxy-anchor-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 16px;
        margin-top: 14px;
    }

    .free-proxy-anchor-nav .country-intro-link {
        display: inline-flex;
        align-items: center;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(11, 99, 206, 0.08);
        text-decoration: none;
    }

    .free-proxy-anchor-nav .country-intro-link:hover {
        background: rgba(11, 99, 206, 0.14);
    }

    .free-country-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-top: 14px;
        flex-wrap: wrap;
    }

    .free-country-summary__text {
        font-size: 18px;
        font-weight: 700;
        color: #1f2f4c;
    }

    .free-country-summary__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        padding: 9px 14px;
        border: 1px solid #c9d7e6;
        border-radius: 999px;
        background: #ffffff;
        color: #17345f;
        text-decoration: none;
        font-weight: 700;
        transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    }

    .free-country-summary__button:hover {
        background: #eff6ff;
        border-color: #93c5fd;
        color: #0f4fa8;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
    }

    .fcs-footer-card {
        width: 100%;
        margin: 0;
        padding: 22px 24px;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
        border: 1px solid #d7e5f6;
        border-radius: 6px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    }

    .fcs-footer-card h2 {
        margin: 0 0 12px;
        color: #17345f;
        font-size: 24px;
        line-height: 1.25;
    }

    .free-country-seo-content {
        color: #4e5c72;
        font-size: 15px;
        line-height: 1.75;
    }

    .free-country-seo-content p {
        margin: 0 0 12px;
    }

    .free-country-seo-content p:last-child {
        margin-bottom: 0;
    }

    .free-country-seo-content strong {
        color: #17345f;
    }

    .free-proxy-faq .country-intro-link {
        color: #0b63ce;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
        transition: color 0.18s ease;
    }

    .free-proxy-faq .country-intro-link:hover {
        color: #084c9e;
    }

    .paid-country-seo-block {
        margin-top: 16px;
        padding: 20px 22px;
        background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
        border: 1px solid #d4dde8;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .paid-country-seo-block h2 {
        margin: 0 0 12px;
        color: #17345f;
        font-size: 24px;
        line-height: 1.25;
    }

    .paid-country-seo-content {
        color: #4e5c72;
        font-size: 15px;
        line-height: 1.75;
    }

    .paid-country-seo-content p {
        margin: 0 0 12px;
    }

    .paid-country-seo-content p:last-child {
        margin-bottom: 0;
    }

    .paid-country-seo-content strong {
        color: #17345f;
    }

    .free-country-stats-section {
        width: 100%;
        max-width: 1000px;
        margin: 10px auto 16px;
        background: #f9f9f9;
        padding: 10px;
        border: 3px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .free-country-stats-title {
        text-align: center;
        color: #000;
        font-size: 18px;
        font-weight: bold;
        margin: 5px 0 12px;
        letter-spacing: 0.3px;
    }

    .free-proxy-faq {
        width: 100%;
        max-width: 1000px;
        margin: 10px auto 16px;
        background: #ffffff;
        padding: 18px 18px 8px;
        border: 1px solid #d8e0ea;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .free-proxy-faq h2 {
        margin: 0 0 14px;
        color: #1b2a44;
        font-size: 24px;
        line-height: 1.3;
        padding-bottom: 4px;
    }

    .free-proxy-faq h2::after {
        content: '';
        display: block;
        width: 72px;
        height: 3px;
        margin-top: 10px;
        border-radius: 999px;
        background: linear-gradient(90deg, #0e87e6, #79baf3);
    }

    .free-proxy-faq-list {
        display: grid;
        gap: 12px;
    }

    .free-proxy-faq-item {
        padding: 14px 16px;
        background: #f7faff;
        border: 1px solid #dce8f8;
        border-radius: 10px;
    }

    .free-proxy-faq-item summary {
        margin: 0;
        color: #17345f;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.35;
        cursor: pointer;
        list-style: none;
    }

    .free-proxy-faq-item summary::-webkit-details-marker {
        display: none;
    }

    .free-proxy-faq-item summary::after {
        content: '+';
        float: right;
        font-size: 20px;
        font-weight: 400;
        color: #6889b4;
        transition: transform .2s;
    }

    .free-proxy-faq-item[open] summary::after {
        content: '\2212';
    }

    .free-proxy-faq-item p {
        margin: 10px 0 0;
        color: #4e5c72;
        font-size: 15px;
        line-height: 1.65;
    }

    .free-proxy-faq-item p + p {
        margin-top: 10px;
    }

    /* Demo-mode explainer */
    .demo-explainer {
        width: 100%;
        max-width: 1000px;
        margin: 18px auto;
        padding: 0;
    }

    .demo-explainer h2 {
        text-align: center;
        font-size: 22px;
        color: #17345f;
        margin: 0 0 14px;
    }

    .demo-explainer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .demo-explainer-card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px 14px;
        align-items: start;
        background: #ffffff;
        border: 1px solid #dce8f8;
        border-radius: 12px;
        padding: 18px 16px;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    }

    .demo-explainer-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        font-size: 22px;
        line-height: 1;
    }

    .demo-explainer-icon-image {
        grid-column: 1;
        grid-row: 1 / span 2;
        display: block;
        width: auto;
        max-width: none;
        height: 28px;
        margin: 2px 0 0;
        border-radius: 0;
        opacity: 0.9;
    }

    .demo-explainer-card h3 {
        grid-column: 2;
        margin: 0;
        font-size: 16px;
        color: #17345f;
    }

    .demo-explainer-card p {
        grid-column: 2;
        margin: 0;
        font-size: 14px;
        color: #4e5c72;
        line-height: 1.6;
    }

    .route-details {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto 16px;
        background: #ffffff;
        padding: 18px 18px 8px;
        border: 1px solid #d8e0ea;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .route-details h2 {
        margin: 0 0 14px;
        color: #1b2a44;
        font-size: 24px;
        line-height: 1.3;
        padding-bottom: 4px;
    }

    .route-details h2::after {
        content: '';
        display: block;
        width: 72px;
        height: 3px;
        margin-top: 10px;
        border-radius: 999px;
        background: linear-gradient(90deg, #0e87e6, #79baf3);
    }

    .paid-solution-panel {
        margin-top: 18px;
        padding: 18px 20px;
        border: 1px solid #c9d8eb;
        border-radius: 16px;
        background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 100%);
        box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    }

    .paid-solution-panel__eyebrow {
        display: inline-flex;
        align-items: center;
        min-height: 26px;
        padding: 0 10px;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.1);
        color: #1d4ed8;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .paid-solution-panel h2 {
        margin: 12px 0 10px;
        color: #17345f;
        font-size: 22px;
        line-height: 1.25;
    }

    .paid-solution-panel p {
        margin: 0;
        color: #44536a;
        font-size: 15px;
        line-height: 1.7;
    }

    .paid-solution-panel__benefits {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
        margin: 14px 0 0;
        padding: 0;
        list-style: none;
    }

    .paid-solution-panel__benefits li {
        position: relative;
        min-height: 100%;
        padding: 11px 12px 11px 38px;
        border: 1px solid #d7e3f2;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.86);
        color: #274160;
        font-size: 14px;
        line-height: 1.55;
    }

    .paid-solution-panel__benefits li::before {
        content: '•';
        position: absolute;
        left: 14px;
        top: 10px;
        color: #2563eb;
        font-size: 24px;
        line-height: 1;
    }

    .paid-solution-panel__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 16px;
    }

    .paid-solution-panel__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 18px;
        border-radius: 999px;
        background: #1d4ed8;
        color: #ffffff;
        text-decoration: none;
        font-weight: 700;
        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
        transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    }

    .paid-solution-panel__button:visited {
        color: #ffffff;
        text-decoration: none;
    }

    .paid-solution-panel__button:hover {
        background: #1e40af;
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(30, 64, 175, 0.24);
    }

    .paid-solution-panel__button:focus {
        color: #ffffff;
        text-decoration: none;
    }

    .paid-solution-panel__button--free {
        background: #f97316;
        box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
    }

    .paid-solution-panel__button--free:visited {
        color: #ffffff;
        text-decoration: none;
    }

    .paid-solution-panel__button--free:hover {
        background: #ea580c;
        color: #ffffff;
        text-decoration: none;
        box-shadow: 0 14px 28px rgba(234, 88, 12, 0.26);
    }

    .paid-solution-panel__button--free:focus {
        color: #ffffff;
        text-decoration: none;
    }

    .free-upgrade-path {
        width: 100%;
        max-width: 1000px;
        margin: 18px auto 16px;
        padding: 20px 22px;
        border: 1px solid #ead7bd;
        border-radius: 16px;
        background: linear-gradient(135deg, #fffaf2 0%, #fffdf9 100%);
        box-shadow: 0 14px 32px rgba(120, 77, 20, 0.08);
    }

    .free-upgrade-path h2 {
        margin: 0 0 10px;
        color: #6a3c12;
        font-size: 22px;
        line-height: 1.25;
    }

    .free-upgrade-path p {
        margin: 0;
        color: #5f4b35;
        font-size: 15px;
        line-height: 1.7;
    }

    .free-upgrade-path__list {
        margin: 14px 0 0;
        padding-left: 20px;
        color: #5f4b35;
    }

    .free-upgrade-path__list li {
        margin-bottom: 8px;
        line-height: 1.6;
    }

    .free-upgrade-path__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 16px;
    }

    .free-upgrade-path__button,
    .free-upgrade-path__secondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 16px;
        border-radius: 999px;
        text-decoration: none;
        font-weight: 700;
        transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    }

    .free-upgrade-path__button {
        background: #17345f;
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(23, 52, 95, 0.18);
    }

    .free-upgrade-path__button:visited {
        color: #ffffff;
        text-decoration: none;
    }

    .free-upgrade-path__button:hover {
        background: #102746;
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .free-upgrade-path__button:focus {
        color: #ffffff;
        text-decoration: none;
    }

    .free-upgrade-path__secondary {
        border: 1px solid #d8c5aa;
        background: rgba(255, 255, 255, 0.7);
        color: #7b4b1f;
    }

    .free-upgrade-path__secondary:hover {
        background: #ffffff;
        border-color: #c9ab82;
        color: #60370d;
    }

    .route-detail-block {
        padding: 14px 16px;
        margin-bottom: 12px;
        background: #f7faff;
        border: 1px solid #dce8f8;
        border-radius: 10px;
    }

    .route-detail-block h3 {
        margin: 0 0 8px;
        color: #17345f;
        font-size: 17px;
        line-height: 1.35;
    }

    .route-detail-content {
        color: #4e5c72;
        font-size: 15px;
        line-height: 1.65;
    }

    .route-detail-content ul {
        margin: 0;
        padding-left: 20px;
    }

    .route-detail-content li {
        margin-bottom: 4px;
    }

    .route-related-nav {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto 16px;
        padding: 14px 18px;
        background: #f3f7fd;
        border: 1px solid #d8e0ea;
        border-radius: 10px;
    }

    .route-related-nav h3 {
        margin: 0 0 8px;
        color: #1b2a44;
        font-size: 17px;
    }

    .route-related-links {
        margin: 0;
        color: #4e5c72;
        font-size: 15px;
        line-height: 1.8;
    }

    .route-related-links a {
        color: #0b63ce;
        text-decoration: none;
    }

    .route-related-links a:hover {
        text-decoration: underline;
    }

    .anchor-scroll-highlight {
        animation: anchorSectionPulse 1.6s ease;
    }

    @keyframes anchorSectionPulse {
        0% {
            box-shadow: 0 0 0 rgba(11, 99, 206, 0);
        }
        35% {
            box-shadow: 0 0 0 8px rgba(11, 99, 206, 0.12), 0 14px 28px rgba(11, 99, 206, 0.16);
        }
        100% {
            box-shadow: 0 0 0 rgba(11, 99, 206, 0);
        }
    }

    #freeProxyTableSection,
    #freeCountryShowcase,
    #freeCountrySeoSection,
    #freeCountriesSection,
    #freeProxyFaq,
    #purchaseFlexContainer {
        scroll-margin-top: 92px;
    }

    .free-country-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px 16px;
    }

    .free-country-stats-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        border-radius: 8px;
        transition: background 0.15s;
        text-decoration: none;
    }

    .free-country-stats-item:hover {
        background: #f0f0f0;
    }

    .free-country-stats-name {
        flex: 1 1 0;
        min-width: 0;
        font-size: 14px;
        color: #000;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }

    @media (max-width: 768px) {
        .country-proxy-intro {
            padding: 14px 16px;
            margin-bottom: 10px;
        }

        .country-proxy-intro h1 {
            font-size: 24px;
        }

        .country-proxy-intro h2 {
            font-size: 22px;
        }

        .country-proxy-intro p {
            font-size: 14px;
        }

        .free-country-summary__text {
            font-size: 16px;
        }

        .free-proxy-anchor-nav {
            gap: 8px;
        }

        .free-proxy-anchor-nav .country-intro-link {
            padding: 6px 10px;
            font-size: 13px;
        }

        .free-proxy-faq {
            padding: 16px 14px 8px;
            border-radius: 10px;
        }

        .free-proxy-faq h2 {
            font-size: 20px;
        }

        .free-proxy-faq-item {
            padding: 12px 13px;
        }

        .free-proxy-faq-item summary {
            font-size: 15px;
        }

        .free-proxy-faq-item p {
            font-size: 14px;
            line-height: 1.55;
        }

        .demo-explainer-grid {
            grid-template-columns: 1fr;
        }

        .demo-explainer h2 {
            font-size: 20px;
        }

        .demo-explainer-card {
            grid-template-columns: auto 1fr;
            padding: 16px 14px;
        }

        .demo-explainer-icon-image {
            height: 24px;
        }

        .paid-solution-panel,
        .free-upgrade-path {
            padding: 16px 14px;
            border-radius: 14px;
        }

        .paid-solution-panel h2,
        .free-upgrade-path h2 {
            font-size: 20px;
        }

        .paid-solution-panel__benefits {
            grid-template-columns: 1fr;
        }

        .paid-solution-panel__actions,
        .free-upgrade-path__actions {
            flex-direction: column;
            align-items: stretch;
        }

        .paid-solution-panel__button,
        .free-upgrade-path__button,
        .free-upgrade-path__secondary {
            width: 100%;
        }

        .route-details {
            padding: 14px 14px 6px;
            margin-bottom: 10px;
        }

        .route-details h2 {
            font-size: 20px;
        }

        .route-detail-block {
            padding: 12px 13px;
        }

        .route-detail-block h3 {
            font-size: 15px;
        }

        .route-detail-content {
            font-size: 14px;
            line-height: 1.55;
        }

        .route-related-nav {
            padding: 12px 14px;
        }

        .route-related-nav h3 {
            font-size: 15px;
        }

        .route-related-links {
            font-size: 14px;
        }
    }

    @media (max-width: 700px) {
        .free-country-stats-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* Keep two columns on most phones; tighten spacing for small screens */
    @media (max-width: 480px) {
        .free-country-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 6px; }
        .free-country-stats-item { gap: 4px; padding: 4px 6px; border-radius: 6px; display: flex; align-items: center; }
        .free-country-stats-name { font-size: 13px; flex: 1 1 0; min-width: 0; }
        .free-country-stats-item .flag { margin-right: 6px; width: 16px; height: 12px; flex: 0 0 16px; }
        .free-country-stats-item .country-count, .free-country-stats-item .count { font-size: 13px; min-width: 32px; text-align: right; color: #0b63ce; font-weight: 700; flex: 0 0 auto; }
    }

    /* For very narrow devices, collapse to one column */
    @media (max-width: 340px) {
        .free-country-stats-grid { grid-template-columns: 1fr; gap: 4px 6px; }
        .free-country-stats-item { justify-content: space-between; padding: 4px 6px; }
        .free-country-stats-name { font-size: 12px; }
        .free-country-stats-item .country-count, .free-country-stats-item .count { min-width: 30px; font-size: 12px; }
    }

    /* Стили для SEO блоков */
    .seo-highlights {
        display: flex;
        gap: 20px;
        max-width: 1000px;
        margin: 36px auto;
        padding: 0 16px;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .seo-card {
        flex: 1 1 320px;
        background: linear-gradient(150deg, rgba(53, 104, 255, 0.12), rgba(0, 200, 170, 0.18));
        border-radius: 18px;
        padding: 28px;
        box-shadow: 0 15px 35px rgba(15, 35, 95, 0.18);
        border: 1px solid rgba(53, 104, 255, 0.18);
        position: relative;
        overflow: hidden;
        transition: transform 0.35s ease, box-shadow 0.35s ease;
        backdrop-filter: blur(4px);
    }

    .seo-card::after {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(85, 186, 255, 0.45), transparent 70%);
        z-index: 0;
    }

    .seo-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 45px rgba(15, 35, 95, 0.25);
    }

    .seo-card__icon {
        width: 56px;
        height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(53, 104, 255, 0.25), rgba(0, 200, 170, 0.4));
        font-size: 26px;
        margin-bottom: 18px;
        position: relative;
        z-index: 1;
    }

    .seo-card h2 {
        font-size: 22px;
        margin-bottom: 16px;
        color: #102347;
        position: relative;
        z-index: 1;
    }

    .seo-card p,
    .seo-card ul {
        color: #1f2f4c;
        font-size: 15px;
        line-height: 1.7;
        position: relative;
        z-index: 1;
    }

    .seo-card ul {
        padding-left: 18px;
        margin: 0;
    }

    .seo-card li {
        margin-bottom: 10px;
    }

    .seo-card li strong {
        color: #0f5ed6;
    }

    @media (max-width: 1024px) {
        .seo-highlights {
            gap: 20px;
            margin: 30px auto;
        }
    }

    @media (max-width: 900px) {
        .seo-highlights {
            flex-direction: column;
            max-width: 540px;
            padding: 0 16px;
        }

        .seo-card {
            flex: 1 1 auto;
        }
    }

.proxy-chart-wrap {
        margin-top: 10px;
        padding: 6px 4px 4px;
        border-top: 1px solid #e0e0e0;
    }
    .proxy-chart-title {
        font-size: 12px;
        color: #888;
        margin: 2px 0 6px !important;
        font-weight: normal !important;
    }
    .proxy-chart-nodata {
        font-size: 12px;
        color: #aaa;
        margin: 8px 0 4px !important;
    }

/* Chart sizing: default + responsive viewport-based heights for phones */
.proxy-chart-wrap { height: 220px; }
.proxy-chart-wrap canvas { width: 100% !important; height: 100% !important; display: block; }
@media (max-width: 700px) { .proxy-chart-wrap { height: clamp(160px, 20vh, 240px); } }
@media (max-width: 480px) { .proxy-chart-wrap { height: clamp(140px, 28vh, 220px); } }
@media (max-width: 340px) { .proxy-chart-wrap { height: clamp(120px, 34vh, 180px); } }

.slide-container {
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
            background: #f9f9f9;
            padding: 20px;
            border: 3px solid #ddd; /* Серый бордер */
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px; /* Отступ между слайдером и контейнером с онлайн прокси */
            overflow: hidden;
            position: relative;
        }

        .slider {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .slide {
            flex: 0 0 100%;
            scroll-snap-align: start;
            position: relative;
        }

        .slide img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        .slide-content {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: white;
            background: rgba(0, 0, 0, 0.5);
            padding: 10px;
            border-radius: 8px;
        }

        .slide-content h3 {
            margin: 0 0 10px 0;
            font-size: 24px;
        }

        .slide-content p {
            margin: 0;
            font-size: 16px;
        }

        /* Медиа-запросы для адаптивного дизайна */
        @media (max-width: 768px) {
            .slide-content h3 {
                font-size: 20px;
            }

            .slide-content p {
                font-size: 14px;
            }

                .lang-switcher {
                    margin-left: 0;
                    margin-top: 10px;
                }
        }

        @media (max-width: 480px) {
            .slide-content h3 {
                font-size: 18px;
            }

            .slide-content p {
                font-size: 12px;
            }
        }

.highlight-count { color: #c43838; font-weight: 800; padding: 0 4px; border-radius: 4px; }
    .free-country-summary__text .highlight-count, .fcs-summary .highlight-count, .fcs-cta-card__title .highlight-count, .country-proxy-intro .highlight-count { color: #c43838; }

.country-access-note { display:flex; gap:12px; align-items:flex-start; margin-top:12px; padding:12px 14px; border-radius:10px; background:linear-gradient(180deg,#f4fbff,#ffffff); border:1px solid #d6eaf8; box-shadow:0 6px 18px rgba(14,142,230,0.06); }
            .country-access-note .icon { flex:0 0 40px; height:40px; border-radius:8px; background:linear-gradient(135deg,#e6f6ff,#dff6ff); display:inline-flex; align-items:center; justify-content:center; color:#0570c9; font-weight:800; font-size:18px; }
            .country-access-note .text { color:#083245; font-weight:700; font-size:14px; line-height:1.3; }
            .country-access-note .sub { display:block; font-weight:600; color:#3a5564; font-size:13px; margin-top:6px; }
            @media (max-width:700px){ .country-access-note { flex-direction:column; align-items:stretch; } .country-access-note .icon{ margin:0 auto 6px; } }

#login-key:focus { border-color: rgba(102,126,234,0.6); background: rgba(255,255,255,0.12); box-shadow: 0 0 0 4px rgba(102,126,234,0.15); }
                    #login-key::placeholder { color: rgba(255,255,255,0.4); }
                    .close:hover { color: white !important; transform: rotate(90deg); }

#loginSubmit.loading { opacity: 0.9; pointer-events: none; }
            #loginSubmit.loading:after {
                content: '';
                position: absolute;
                right: -28px;
                top: 50%; transform: translateY(-50%);
                width: 16px; height: 16px; border-radius: 50%;
                border: 2px solid rgba(255,255,255,0.6);
                border-top-color: transparent;
                animation: loginSpinner 0.8s linear infinite;
            }
            @keyframes loginSpinner { to { transform: translateY(-50%) rotate(360deg); } }

* {
    box-sizing: border-box;
}

/* ── Free-country showcase ───────────────────────────── */
.free-country-shell {
    margin-top: 10px;
    margin-bottom: 16px;
}

.free-country-showcase {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    font-family: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fcs-header {
    padding: 4px 4px 0;
    text-align: center;
}

.fcs-header h1 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.fcs-stat-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.fcs-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fcs-stat-item strong {
    color: #0f172a;
    font-weight: 700;
}

.fcs-stat-item--meta {
    color: #475569;
}

.fcs-stat-separator {
    color: #94a3b8;
}

.fcs-stat-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    background: #c1ea8a;
}

.fcs-stat-swatch--global {
    background: #cfe3ff;
}

.fcs-summary {
    margin: 14px auto 0;
    padding: 14px 16px;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    text-align: left;
}

.fcs-summary p {
    margin: 0;
}

.fcs-summary p + p {
    margin-top: 12px;
}

.fcs-chooser {
    margin: 16px auto 0;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.country-intro-facts-row--tags {
    display: grid;
    grid-template-columns: minmax(120px, 150px) 1fr;
    align-items: start;
    gap: 12px;
    margin: 0;
}

.fcs-chooser .country-intro-facts-row + .country-intro-facts-row,
.country-proxy-intro .country-intro-facts-row + .country-intro-facts-row {
    margin-top: 2px;
}

.country-intro-facts-label {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: #404955;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.country-intro-facts-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.free-country-showcase .country-intro-link:not(.country-intro-tag),
.fcp-promo-link,
.fcs-footer-copy a,
.free-country-seo-content a {
    color: #3b82f6;
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    transition: color 0.18s ease, border-color 0.18s ease;
}

.free-country-showcase .country-intro-link:not(.country-intro-tag):hover,
.fcp-promo-link:hover,
.fcs-footer-copy a:hover,
.free-country-seo-content a:hover {
    color: #1d4ed8;
    border-bottom-color: currentColor;
}

.fcs-chooser .country-intro-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
}

.fcs-chooser .country-intro-links-row strong {
    align-self: center;
    color: #475569;
    font-size: 13px;
}

.fcs-chooser .country-intro-links-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
}

.country-intro-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-bottom: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.country-intro-tag:hover,
.country-intro-tag:focus {
    color: #1d4ed8;
    background: #dbeafe;
    border-color: #93c5fd;
    text-decoration: none;
    border-bottom: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(59, 130, 246, 0.12);
}

.country-intro-tag--active {
    background: #e8f0ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    font-weight: 700;
}

.fcs-hero-card {
    --fcs-hero-ip-size: 36px;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.fcs-hero-top {
    padding: 20px;
    background: #ffffff;
}

.fcs-hero-title {
    font-size: 28px;
    font-weight: 400;
    color: #404955;
    margin-bottom: 8px;
}

.fcs-hero-ip-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
}

.fcs-hero-ip {
    font-size: var(--fcs-hero-ip-size);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #111827;
    word-break: break-word;
}

button.fcs-hero-ip {
    background: transparent;
    border: 0;
    padding: 0;
    text-align: left;
}

.fcs-hero-ip-block {
    min-width: 0;
    margin-bottom: 12px;
}

.fcs-hero-ip-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fcs-copyable-ip {
    cursor: pointer;
    color: #111827;
    border-radius: 10px;
    box-shadow: inset 0 -1px 0 rgba(37, 99, 235, 0);
    transition: color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.fcs-copyable-ip:hover,
.fcs-copyable-ip:focus {
    color: #2563eb;
    box-shadow: inset 0 -2px 0 rgba(37, 99, 235, 0.42);
    outline: none;
}

.fcs-copyable-ip.copied {
    color: #15803d;
    box-shadow: inset 0 -2px 0 rgba(21, 128, 61, 0.35);
}

.fcs-copy-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fcs-copy-button:hover {
    background: #f3f4f6;
}

.fcs-copy-button--icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    gap: 0;
    border-radius: 8px;
}

.fcs-copy-button--proxy {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
}

.fcs-copy-button--link {
    text-decoration: none;
    white-space: nowrap;
}

.fcs-copy-button--link:hover,
.fcs-copy-button--link:focus {
    color: #111827;
}

.fcs-info-row--rbl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-top: 10px;
}

.fcs-rbl-inline-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 14px;
    border-radius: 14px;
    border: 2px solid #2f6fb1;
    background: linear-gradient(180deg, #fafdff 0%, #eef6ff 100%);
    color: #2f6fb1;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 20px rgba(37, 99, 235, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.fcs-rbl-inline-btn:hover,
.fcs-rbl-inline-btn:focus {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 24px rgba(37, 99, 235, 0.12);
    border-color: #1e5fa5;
    background: linear-gradient(180deg, #ffffff 0%, #e9f3ff 100%);
    outline: none;
}

.fcs-rbl-inline-btn__icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.fcs-rbl-inline-btn__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fcs-rbl-inline-btn__text {
    display: block;
    max-width: 112px;
    line-height: 1.05;
    text-align: left;
    white-space: normal;
}

.fcs-copy-button.copied {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    border-color: #2e7d32;
    color: #ffffff;
}

.fcs-copy-button__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
}

.fcs-copy-button__icon svg {
    width: 16px;
    height: 16px;
}

.fcs-hero-outgoing {
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 6px;
}

.fcs-hero-outgoing[hidden] {
    display: none;
}

.fcs-hero-hint {
    font-size: 14px;
    font-weight: 900;
    color: #5e7bac;
    line-height: 1.6;
}

.fcs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.fcs-rbl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.fcs-rbl-button:hover,
.fcs-rbl-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
    outline: none;
}

.fcs-your-ip-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.fcs-your-ip-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
}

.fcs-your-ip-text strong {
    font-weight: 600;
}

.fcs-user-ip-link {
    color: #111827;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.fcs-user-ip-link:hover,
.fcs-user-ip-link:focus {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-color: #2563eb;
}

.fcs-user-country-name {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.fcs-copy-button--inline {
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin-left: 0;
    border-radius: 8px;
}

.fcs-your-ip-diagnostics {
    margin-left: auto;
}

.fcs-copy-toast {
    position: fixed;
    z-index: 15000;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-10px);
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(21, 128, 61, 0.24);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.fcs-copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fcs-inline-flag {
    display: inline-flex;
    flex-shrink: 0;
}

.fcs-inline-flag--hero {
    align-items: center;
}

.fcs-hero-flag-svg {
    display: block;
    width: auto;
    height: var(--fcs-hero-ip-size);
    max-width: calc(var(--fcs-hero-ip-size) * 1.4);
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35);
}

.fcs-inline-flag--user {
    margin-left: 2px;
}

#fcpYourIpFlag:not([class*="flag-"]) {
    display: none;
}

.fcs-grid {
    display: grid;
    grid-template-columns: 0.75fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 0;
}

.fcs-loading-card {
    grid-column: 1 / -1;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
}

.fcs-detail-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.fcs-grid-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}

.fcs-grid-card__heading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcs-grid-card__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.fcs-grid-card__icon svg {
    width: 18px;
    height: 18px;
}

.fcs-info-row {
    margin-bottom: 12px;
}

.fcs-info-row:last-child {
    margin-bottom: 0;
}

.fcs-info-label {
    font-size: 14px;
    font-weight: 900;
    color: #404955;
    margin-bottom: 6px;
}

.fcs-info-value {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

.fcs-info-value--proto {
    font-size: 15px;
    gap: 10px;
}

.fcs-proto-part {
    white-space: nowrap;
}

.fcs-info-sep {
    color: #4b5563;
    margin: 0 6px;
}

.fcs-info-desc {
    font-size: 13px;
    color: #000000;
    line-height: 1.5;
    margin-top: 6px;
}

.fcs-protocol-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.fcs-inline-list {
    display: grid;
    gap: 8px;
}

.fcs-inline-list div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.fcs-anon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e2e8f0;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
}

.fcs-anon-badge--elite {
    background: #2e7d32;
    color: #ffffff;
}

.fcs-anon-badge--anonymous {
    background: #dbeafe;
    color: #1d4ed8;
}

.fcs-anon-badge--transparent {
    background: #fef3c7;
    color: #92400e;
}

.fcs-badge-success {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    min-width: 0;
    white-space: nowrap;
}

.fcs-badge-success__icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
}

.fcs-badge-success__icon svg {
    width: 14px;
    height: 14px;
}

.fcs-stat-table {
    width: 100%;
    font-size: 15px;
    font-weight: 500;
    margin-top: 12px;
    border-collapse: collapse;
}

.fcs-stat-table td {
    padding: 4px 0;
    color: #111827;
}

.fcs-stat-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.fcs-bar-container {
    height: 6px;
    margin: 8px 0;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    background: #e5e7eb;
}

.fcs-bar-container--accent {
    flex: 1;
    margin: 0;
    background: transparent;
}

.fcs-bar-container--triple {
    gap: 2px;
    background: transparent;
}

.fcs-bar-fill {
    display: block;
    height: 100%;
}

.fcs-bar-fill--muted {
    background: #9ca3af;
}

.fcs-bar-fill--success,
.fcs-bar-fill--green {
    background: #2e7d32;
}

.fcs-bar-fill--yellow {
    background: #ed6c02;
}

.fcs-bar-fill--red {
    background: #d32f2f;
}

.fcs-bar-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.fcs-bar-meta__value {
    flex-grow: 1;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    color: #166534;
}

.fcs-metric-block + .fcs-metric-block {
    margin-top: 16px;
}

.fcs-metric-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    font-weight: 900;
    color: #404955;
}

.fcs-metric-row strong {
    color: #111827;
}

.fcs-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 20px 20px;
    padding: 14px 16px;
    border: 1px solid #f6d790;
    border-radius: 8px;
    background: #fff7e6;
    color: #7c4a03;
}

.fcs-warning[hidden] {
    display: none;
}

.fcs-warning__icon {
    font-size: 18px;
    line-height: 1;
}

.fcs-warning__text {
    line-height: 1.6;
}

.fcs-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border: 2px solid #bcf0da;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.fcs-cta-card__copy {
    max-width: 690px;
}

.fcs-cta-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.fcs-cta-card__eyebrow {
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.fcs-cta-card__text {
    margin: 12px 0 0;
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
}

.fcs-cta-list {
    list-style: none;
    font-size: 15px;
    font-weight: 500;
    margin: 16px 0 0;
    padding: 0;
}

.fcs-cta-list li {
    margin-bottom: 8px;
    color: #111827;
}

.fcs-cta-list li::before {
    content: '✓';
    color: #2e7d32;
    margin-right: 10px;
    font-weight: 700;
    display: inline-block;
    width: 1em;
}

.fcs-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(67, 160, 71, 0.28);
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.fcs-buy-button:hover,
.fcs-buy-button:focus,
.fcs-buy-button:active,
.fcs-buy-button:visited {
    color: #ffffff;
    text-decoration: none;
}

.fcs-buy-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.fcs-footer-copy {
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.fcs-footer-copy p {
    margin: 0 0 12px;
}

.fcs-footer-copy p:last-child {
    margin-bottom: 0;
}

.fcs-inline-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e2e8f0;
    font-weight: 500;
}

.fcs-inline-chip a {
    color: #475569;
    text-decoration: none;
    border-bottom: none;
}

@media (max-width: 900px) {
    .fcs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fcs-cta-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .fcs-buy-button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .free-country-shell {
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .free-country-showcase {
        gap: 12px;
    }

    .fcs-header h1 {
        font-size: 26px;
    }

    .fcs-stat-line {
        font-size: 14px;
    }

    .fcs-summary {
        font-size: 14px;
    }

    .country-intro-facts-row--tags {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .country-intro-facts-label {
        min-height: 0;
    }

    .fcs-hero-top,
    .fcs-your-ip-card,
    .fcs-footer-card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .fcs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .fcs-hero-ip-row {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .fcs-hero-title {
        font-size: 19px;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .fcs-hero-ip {
        font-size: 27px;
        line-height: 1.05;
        overflow-wrap: anywhere;
    }

    .fcs-hero-ip-block {
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0;
    }

    .fcs-your-ip-card {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 12px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .fcs-your-ip-text {
        min-width: 0;
        font-size: 14px;
        gap: 6px;
        line-height: 1.35;
    }

    .fcs-your-ip-diagnostics {
        margin-left: 0;
    }

    .fcs-user-country-name {
        font-size: 13px;
    }

    .fcs-hero-outgoing {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .fcs-hero-hint,
    .fcs-info-desc {
        display: none;
    }

    .fcs-detail-card {
        padding: 12px;
        border-radius: 10px;
    }

    .fcs-grid-card__header {
        margin-bottom: 10px;
        font-size: 14px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .fcs-grid-card__icon,
    .fcs-grid-card__icon svg {
        width: 20px;
        height: 20px;
    }

    .fcs-info-row {
        margin-bottom: 10px;
    }

    .fcs-info-row--rbl {
        align-items: flex-start;
        gap: 10px;
    }

    .fcs-rbl-inline-btn {
        padding-left: 12px;
        padding-right: 12px;
    }

    .fcs-rbl-inline-btn__text {
        max-width: 92px;
    }

    .fcs-info-label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .fcs-info-value,
    .fcs-info-value--proto,
    .fcs-stat-table,
    .fcs-bar-meta__value,
    .fcs-metric-row {
        font-size: 14px;
    }

    .fcs-bar-container {
        height: 4px;
        margin: 6px 0;
        border-radius: 2px;
    }

    .fcs-badge-success {
        flex: 0 1 auto;
        max-width: 100%;
        margin-left: 28px;
        font-size: 11px;
        line-height: 1.2;
        white-space: normal;
    }

    .fcs-badge-success__icon {
        width: 12px;
        height: 12px;
    }

    .fcs-badge-success__icon svg {
        width: 12px;
        height: 12px;
    }

    .fcs-metric-block + .fcs-metric-block {
        margin-top: 12px;
    }

    .fcs-copy-button--icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        gap: 0;
        border-radius: 8px;
    }

    .fcs-copy-button--link {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding: 8px 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    .fcs-copy-button__icon,
    .fcs-copy-button__icon svg {
        width: 18px;
        height: 18px;
    }

    .fcs-copy-button--inline {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    .fcs-copy-button--proxy {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .fcs-warning {
        margin: 0 12px 12px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .fcs-stat-line {
        gap: 6px;
    }

    .fcs-stat-item,
    .fcs-stat-separator {
        width: 100%;
        justify-content: center;
    }

    .fcs-stat-separator {
        display: none;
    }
}

.flex-item.red {
            background: linear-gradient(135deg, #F25320, #F8A990);
        }

        .flex-item.green {
            background: linear-gradient(135deg, #00b09b, #CAE49E);
        }

        .flex-item.orange {
            background: linear-gradient(135deg, #f2994a, #F8E4A6);
        }

        .flex-item.blue {
            background: linear-gradient(135deg, #1c92d2, #f2fcfe);
        }

        .flex-item .letter {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 20rem;
            opacity: 0.4;
            z-index: 0;
            transition: opacity 0.2s ease, filter 0.2s ease, text-shadow 0.2s ease;
        }

        .flex-item .letter.letter-flash {
            animation: goodLetterFlash 0.45s ease;
        }

        @keyframes goodLetterFlash {
            0% {
                opacity: 0.4;
                filter: brightness(1);
                text-shadow: 0 0 0 rgba(255,255,255,0);
            }
            35% {
                opacity: 0.92;
                filter: brightness(1.35);
                text-shadow: 0 0 18px rgba(255,255,255,0.75), 0 0 34px rgba(255,255,255,0.4);
            }
            100% {
                opacity: 0.4;
                filter: brightness(1);
                text-shadow: 0 0 0 rgba(255,255,255,0);
            }
        }

        .flex-item.red .letter {
            color: #F25320;
        }

        .flex-item.green .letter {
            color: #00b09b;
        }

        .flex-item.orange .letter {
            color: #f2994a;
        }

        .flex-item.blue .letter {
            color: #1c92d2;
        }

        .proxy-filter-header {
            display: none;
        }

        .proxy-filter-heading {
            max-width: 780px;
        }

        .proxy-filter-eyebrow,
        .api-panel-eyebrow,
        .filter-card-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 8px;
            font-size: 0.78rem;
            font-weight: 800;
            line-height: 1;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #6b7d90;
        }

        .proxy-filter-heading h3 {
            margin: 0 0 8px;
            font-size: 1.7rem;
            line-height: 1.15;
            color: #12263c;
        }

        .proxy-filter-heading p {
            margin: 0;
            color: #55697d;
            line-height: 1.45;
            max-width: 62ch;
            font-size: 0.95rem;
        }

        .proxy-filter-collapse {
            border: 1px solid #cbd7e4;
            background: rgba(255, 255, 255, 0.8);
            color: #1f3850;
            border-radius: 999px;
            padding: 11px 16px;
            font-size: 0.92rem;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
            box-shadow: 0 10px 24px rgba(18, 38, 60, 0.08);
            white-space: nowrap;
        }

        .proxy-filter-collapse:hover {
            transform: translateY(-1px);
            background: #ffffff;
            box-shadow: 0 14px 30px rgba(18, 38, 60, 0.12);
        }

        .proxy-filter-summary-row {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            gap: 10px 12px;
            margin-bottom: 0;
            padding: 10px 22px 14px;
            border: 1px solid #d7e1eb;
            border-bottom: none;
            border-radius: 24px 24px 0 0;
            background: rgba(255, 255, 255, 0.94);
            box-shadow: none;
            position: sticky;
            top: var(--proxy-filter-sticky-top, 72px);
            z-index: 998;
            backdrop-filter: blur(10px);
            overflow: hidden;
        }

        .proxy-filter-summary-row::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 1px;
            background: linear-gradient(90deg, rgba(30, 136, 229, 0), rgba(30, 136, 229, 0.55), rgba(38, 166, 154, 0.55), rgba(30, 136, 229, 0));
            opacity: 0;
            transition: opacity 0.18s ease;
            pointer-events: none;
        }

        .proxy-filter-summary-row.is-stuck::after {
            opacity: 1;
        }

        .proxy-filter-summary-row.is-body-collapsed {
            border-bottom: 1px solid #d7e1eb;
            border-radius: 24px;
        }

        .proxy-filter-summary-side {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
            min-width: 220px;
        }

        .proxy-filter-summary-headline {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            width: 100%;
        }

        .proxy-filter-summary-toolbar {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex: 1;
        }

        .proxy-filter-collapse-inline {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 40px;
            padding: 0 14px 0 10px;
            border: 1px solid #c6d9ed;
            border-radius: 14px;
            background: linear-gradient(180deg, #f7fbff, #edf6ff);
            color: #14538e;
            font-size: 0.94rem;
            font-weight: 700;
            cursor: pointer;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 8px 18px rgba(29, 117, 214, 0.08);
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
        }

        .proxy-filter-collapse-inline:hover {
            transform: translateY(-1px);
            background: linear-gradient(180deg, #ffffff, #eaf4ff);
            border-color: #8cb8e6;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 14px 28px rgba(29, 117, 214, 0.14);
            color: #0f4d84;
        }

        .proxy-filter-collapse-inline:focus-visible {
            outline: 2px solid rgba(29, 117, 214, 0.26);
            outline-offset: 2px;
        }

        .proxy-filter-collapse-glyph {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 10px;
            background: rgba(29, 117, 214, 0.12);
            color: #1d75d6;
            flex-shrink: 0;
        }

        .proxy-filter-collapse-glyph-icon {
            width: 16px;
            height: 16px;
            display: block;
        }

        .proxy-filter-collapse-text {
            display: inline-flex;
            align-items: center;
            min-width: 0;
            white-space: nowrap;
        }

        .proxy-filter-collapse-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            color: #4d6e93;
            font-size: 14px;
            transition: transform 0.2s ease, color 0.2s ease;
        }

        .proxy-filter-collapse-inline.is-collapsed .proxy-filter-collapse-icon {
            transform: rotate(-90deg);
        }

        .proxy-filter-clear-sticky {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 38px;
            margin-left: 18px;
            padding: 0 14px 0 10px;
            border: 1px solid #edcac6;
            border-radius: 12px;
            background: #fff8f7;
            color: #bd655d;
            font-size: 0.88rem;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
        }

        .proxy-filter-clear-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            border-radius: 999px;
            background: rgba(218, 93, 51, 0.1);
            color: inherit;
            flex-shrink: 0;
        }

        .proxy-filter-clear-icon-svg {
            width: 12px;
            height: 12px;
            display: block;
        }

        .proxy-filter-clear-sticky:hover {
            transform: translateY(-1px);
            border-color: #dc8c84;
            color: #a94f47;
            background: #ffefed;
        }

        .proxy-filter-clear-sticky:focus-visible {
            outline: 2px solid rgba(218, 93, 51, 0.18);
            outline-offset: 2px;
        }

        .proxy-filter-clear-sticky:disabled,
        .proxy-filter-clear-sticky.login-required-control {
            opacity: 0.55;
            cursor: not-allowed;
            box-shadow: none;
        }

        .proxy-filter-summary {
            display: flex;
            flex: 1;
            flex-wrap: wrap;
            gap: 6px;
            min-width: 0;
            align-content: flex-start;
        }

        @media (min-width: 769px) {
            .proxy-filter-summary-row {
                display: flex;
                flex-wrap: nowrap;
                align-items: flex-start;
                gap: 10px 14px;
            }

            .proxy-filter-summary-side {
                display: block;
                flex: 0 0 clamp(390px, 41vw, 448px);
                width: clamp(390px, 41vw, 448px);
                max-width: clamp(390px, 41vw, 448px);
                min-width: 0;
            }

            .proxy-filter-summary-headline {
                display: grid;
                grid-template-columns: minmax(0, 1fr) max-content;
                grid-template-areas:
                    'toolbar clear'
                    'stats stats';
                justify-content: stretch;
                align-items: flex-start;
                column-gap: 10px;
                row-gap: 8px;
            }

            .proxy-filter-summary-toolbar {
                grid-area: toolbar;
                flex: 0 1 auto;
                width: auto;
                min-width: 0;
            }

            .proxy-filter-collapse-inline {
                max-width: 100%;
            }

            .proxy-filter-summary-headline .proxy-filter-clear-sticky {
                grid-area: clear;
                margin-left: 0;
                align-self: flex-start;
            }

            .proxy-filter-summary-headline .proxy-filter-selected {
                grid-area: stats;
                order: 0;
                width: 100%;
                min-width: 0;
                white-space: normal;
            }

            .proxy-filter-summary {
                flex: 1 1 auto;
                width: auto;
                justify-content: flex-start;
                align-items: flex-start;
                align-content: flex-start;
                align-self: flex-start;
            }
        }

        .proxy-filter-summary-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            min-height: 30px;
            padding: 4px 7px 4px 10px;
            border-radius: 999px;
            border: 1px solid #d7e1eb;
            background: #ffffff;
            color: #153149;
            font-size: 0.8rem;
            line-height: 1.2;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
        }

        .proxy-filter-summary-pill strong {
            font-weight: 700;
        }

        .proxy-filter-summary-pill.is-empty {
            background: #f0f5fa;
            color: #5c7084;
        }

        .proxy-filter-summary-remove {
            width: 22px;
            height: 22px;
            padding: 0;
            border: none;
            border-radius: 50%;
            background: rgba(21, 49, 73, 0.08);
            color: #4e6278;
            font-size: 14px;
            line-height: 1;
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }

        .proxy-filter-summary-remove:hover {
            background: rgba(218, 93, 51, 0.16);
            color: #c74d24;
            transform: scale(1.06);
        }

        .proxy-filter-summary-more {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 30px;
            padding: 0 11px;
            border: 1px dashed #c7d3df;
            border-radius: 999px;
            background: #f5f8fb;
            color: #50657a;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
        }

        .proxy-filter-summary-more:hover {
            transform: translateY(-1px);
            border-color: #9db6cf;
            color: #17314b;
            background: #edf4fb;
        }

        .proxy-filter-summary-more:focus-visible {
            outline: 2px solid rgba(29, 117, 214, 0.18);
            outline-offset: 2px;
        }

        .proxy-filter-drawer-head,
        .proxy-filter-drawer-footer {
            display: none;
        }

        .proxy-filter-drawer-scroll {
            display: block;
        }

        .mobile-geo-picker {
            position: fixed;
            inset: 0;
            z-index: 1402;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: auto;
            padding: 24px;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            background: rgba(15, 28, 43, 0.42);
            backdrop-filter: blur(10px);
            transition: opacity 0.22s ease, visibility 0s linear 0.22s;
        }

        .mobile-geo-picker.is-open {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transition-delay: 0s;
        }

        html.mobile-geo-picker-open,
        body.mobile-geo-picker-open {
            overflow: hidden;
        }

        .mobile-geo-picker__sheet {
            display: flex;
            flex-direction: column;
            width: min(720px, calc(100vw - 48px));
            height: min(78vh, 820px);
            max-height: calc(var(--mobile-geo-picker-vh, 100dvh) - 48px);
            min-height: 0;
            min-width: 0;
            overflow: hidden;
            border-radius: 26px;
            background: rgba(255, 255, 255, 0.99);
            box-shadow: 0 30px 80px rgba(8, 31, 56, 0.26);
            opacity: 0;
            transform: translateY(22px) scale(0.985);
            transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .mobile-geo-picker.is-open .mobile-geo-picker__sheet {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .mobile-geo-picker__head {
            flex: 0 0 auto;
            display: grid;
            gap: 10px;
            padding: 18px 20px 12px;
            background: rgba(255, 255, 255, 0.98);
            border-bottom: 1px solid #e4edf5;
        }

        .mobile-geo-picker__title-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .mobile-geo-picker__title {
            min-width: 0;
            color: #153149;
            font-size: 1rem;
            line-height: 1.25;
        }

        .mobile-geo-picker__close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            padding: 0;
            border: 1px solid #d7e1eb;
            border-radius: 12px;
            background: #ffffff;
            color: #27435d;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
            flex-shrink: 0;
        }

        .mobile-geo-picker__search-wrap {
            position: relative;
        }

        .mobile-geo-picker__search {
            width: 100%;
            min-height: 46px;
            border: 1px solid #d5deea;
            border-radius: 14px;
            background: #fbfdff;
            padding: 0 14px;
            font-size: 16px;
            color: #153149;
        }

        .mobile-geo-picker__search:focus {
            outline: none;
            border-color: #7bb0e7;
            box-shadow: 0 0 0 4px rgba(29, 117, 214, 0.12);
        }

        .mobile-geo-picker__selected {
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            align-content: flex-start;
            gap: 8px;
            max-height: 118px;
            overflow-y: auto;
            min-height: 0;
        }

        .mobile-geo-picker__selected-clear {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 34px;
            padding: 0 12px 0 10px;
            border: 1px solid #edcac6;
            border-radius: 12px;
            background: #fff8f7;
            color: #bd655d;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
        }

        .mobile-geo-picker__selected-clear:hover {
            transform: translateY(-1px);
            border-color: #dc8c84;
            color: #a94f47;
            background: #ffefed;
        }

        .mobile-geo-picker__selected-clear:focus-visible {
            outline: 2px solid rgba(218, 93, 51, 0.18);
            outline-offset: 2px;
        }

        .mobile-geo-picker__selected-clear-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            border-radius: 999px;
            background: rgba(218, 93, 51, 0.1);
            color: inherit;
            font-size: 14px;
            line-height: 1;
            flex-shrink: 0;
        }

        .mobile-geo-picker__selected-clear-text {
            white-space: nowrap;
        }

        .mobile-geo-picker__selected-empty {
            display: inline-flex;
            align-items: center;
            min-height: 34px;
            padding: 0 12px;
            border-radius: 999px;
            background: #f3f7fb;
            border: 1px dashed #d5deea;
            color: #70849a;
            font-size: 0.82rem;
            font-weight: 600;
        }

        .mobile-geo-picker__tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 34px;
            padding: 0 10px 0 12px;
            border-radius: 999px;
            border: 1px solid #d7e1eb;
            background: #ffffff;
            color: #17314b;
            font-size: 0.82rem;
            font-weight: 700;
            max-width: 100%;
            cursor: pointer;
        }

        .mobile-geo-picker__tag-text {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .mobile-geo-picker__tag-remove {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: rgba(21, 49, 73, 0.08);
            color: #4e6278;
            font-size: 14px;
            line-height: 1;
            flex-shrink: 0;
        }

            .mobile-geo-picker__results {
                flex: 1 1 auto;
                min-height: 0;
                overflow-y: auto;
                overscroll-behavior: contain;
                -webkit-overflow-scrolling: touch;
                padding: 6px 0 12px;
            }

        .mobile-geo-picker__results-state {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 120px;
            padding: 20px 16px;
            text-align: center;
            color: #6b8094;
            font-size: 0.9rem;
        }

        .mobile-geo-picker__option {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 100%;
            min-height: 48px;
            padding: 10px 16px;
            border: none;
            border-radius: 0;
            background: transparent;
            color: #17314b;
            text-align: left;
            cursor: pointer;
        }

        .mobile-geo-picker__option + .mobile-geo-picker__option {
            border-top: 1px solid #eef3f8;
        }

        .mobile-geo-picker__option-checkbox {
            width: 18px;
            height: 18px;
            margin: 0;
            flex: 0 0 18px;
            accent-color: #1d75d6;
            pointer-events: none;
        }

        .mobile-geo-picker__option-main {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex: 1 1 auto;
        }

        .mobile-geo-picker__option-label {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 0.94rem;
            font-weight: 600;
        }

        .mobile-geo-picker__option-meta {
            flex: 0 0 auto;
            color: #6b8094;
            font-size: 0.8rem;
            font-weight: 700;
        }

        .mobile-geo-picker__footer {
            flex: 0 0 auto;
            padding: 14px 20px 18px;
            border-top: 1px solid #e7eef5;
            background: rgba(255, 255, 255, 0.98);
        }

        .mobile-geo-picker__confirm {
            width: 100%;
            min-height: 48px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #1d75d6, #0f9bb4);
            color: #ffffff;
            font-size: 0.96rem;
            font-weight: 800;
            box-shadow: 0 14px 28px rgba(15, 117, 214, 0.22);
            cursor: pointer;
        }

        html.proxy-filter-drawer-open,
        body.proxy-filter-drawer-open {
            overflow: hidden;
        }

        .proxy-filter-collapsible {
            overflow: hidden;
            max-height: 2400px;
            opacity: 1;
            margin-bottom: 18px;
            border: 1px solid #d7e1eb;
            border-top: none;
            border-radius: 0 0 24px 24px;
            background: #ffffff;
            box-shadow: 0 12px 30px rgba(16, 40, 68, 0.06);
            transition: max-height 0.38s ease, opacity 0.28s ease, margin-bottom 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
        }

        .proxy-filter-collapsible.is-collapsed {
            max-height: 0;
            opacity: 0;
            margin-bottom: 10px;
            border-color: transparent;
            box-shadow: none;
            pointer-events: none;
        }

        .filter-section {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            align-items: stretch;
            gap: 0;
            padding: 8px 0 0;
        }

        .filters {
            min-width: 0;
            padding: 16px 18px 14px;
            background: transparent;
            border: none;
            border-radius: 0;
            box-shadow: none;
        }

        .filters + .filters {
            border-left: 1px solid rgba(215, 225, 235, 0.8);
        }

        .filters h4 {
            margin: 0;
            font-size: 1rem;
            color: #17314b;
            font-weight: 700;
        }

        .filter-group {
            margin-bottom: 12px;
        }

        .filter-group:last-child {
            margin-bottom: 0;
        }

        .filter-group-head {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 12px;
            margin-bottom: 10px;
        }

        .filter-group-head-split {
            align-items: flex-start;
            flex-wrap: wrap;
        }

        .filter-title-tooltip {
            position: relative;
            display: inline-flex;
            align-items: center;
            cursor: help;
            text-decoration: underline;
            text-decoration-style: dashed;
            text-decoration-color: rgba(97, 123, 149, 0.55);
            text-underline-offset: 3px;
        }

        .filter-title-tooltip::after {
            content: attr(data-tooltip);
            position: absolute;
            left: 0;
            top: calc(100% + 10px);
            z-index: 20;
            width: min(280px, 72vw);
            padding: 10px 12px;
            border-radius: 12px;
            background: rgba(18, 38, 60, 0.96);
            color: #ffffff;
            font-size: 0.84rem;
            font-weight: 400;
            line-height: 1.45;
            box-shadow: 0 16px 34px rgba(18, 38, 60, 0.2);
            opacity: 0;
            transform: translateY(-6px);
            pointer-events: none;
            transition: opacity 0.18s ease, transform 0.18s ease;
        }

        .filter-title-tooltip:hover::after,
        .filter-title-tooltip:focus::after {
            opacity: 1;
            transform: translateY(0);
        }

        .filter-group-head-inline-input {
            align-items: center;
        }

        .filter-inline-amount-input {
            width: 96px !important;
            min-width: 96px;
            min-height: 40px !important;
            padding: 8px 10px !important;
            text-align: center;
        }

        .filter-inline-help {
            margin: 6px 0 0;
            font-size: 0.78rem;
            color: #9aaabd;
        }

        .filter-inline-note,
        .filter-inline-value {
            font-size: 0.92rem;
            font-weight: 700;
            color: #2563a8;
            white-space: nowrap;
        }

        .filter-chip-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .filter-chip {
            position: relative;
            cursor: pointer;
        }

        .filter-chip input {
            position: absolute;
            inset: 0;
            opacity: 0;
            pointer-events: none;
        }

        .filter-chip-text {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 42px;
            padding: 0 16px;
            border-radius: 999px;
            border: 1px solid #cfdae7;
            background: #f8fbfe;
            color: #17314b;
            font-weight: 700;
            letter-spacing: 0.01em;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
        }

        .filter-chip:hover .filter-chip-text {
            transform: translateY(-1px);
            border-color: #afc8e2;
            box-shadow: 0 10px 22px rgba(22, 49, 75, 0.08);
        }

        .popular-port-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .popular-port-link {
            display: inline-flex;
            text-decoration: none;
        }

        .popular-port-link .filter-chip-text {
            min-width: 72px;
        }

        .popular-port-link:hover .filter-chip-text {
            transform: translateY(-1px);
            border-color: #afc8e2;
            box-shadow: 0 10px 22px rgba(22, 49, 75, 0.08);
        }

        .popular-port-link:focus .filter-chip-text {
            outline: 2px solid rgba(29, 117, 214, 0.22);
            outline-offset: 2px;
        }

        .popular-port-link.is-active .filter-chip-text {
            background: linear-gradient(135deg, #1d75d6, #0f9bb4);
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 12px 24px rgba(15, 117, 214, 0.24);
        }

        .popular-port-link--reset .filter-chip-text {
            min-width: 0;
            padding-inline: 18px;
        }

        .filter-chip input:checked + .filter-chip-text {
            background: linear-gradient(135deg, #1d75d6, #0f9bb4);
            color: #ffffff;
            border-color: transparent;
            box-shadow: 0 12px 24px rgba(15, 117, 214, 0.24);
        }

        .filter-chip input:focus + .filter-chip-text {
            outline: 2px solid rgba(29, 117, 214, 0.22);
            outline-offset: 2px;
        }

        .filter-chip input:disabled + .filter-chip-text,
        .filter-chip.login-required-control .filter-chip-text {
            opacity: 0.55;
            cursor: not-allowed;
            filter: saturate(0.45);
            box-shadow: none;
        }

        /* Checked + disabled: route is pre-selected from URL — keep selected look, just dimmer */
        .filter-chip input:checked:disabled + .filter-chip-text {
            background: linear-gradient(135deg, #1d75d6, #0f9bb4);
            color: #ffffff;
            border-color: transparent;
            opacity: 0.65;
            filter: saturate(0.75);
            box-shadow: none;
            cursor: not-allowed;
        }

        .filter-group input.login-required-control,
        .filter-group select.login-required-control {
            cursor: not-allowed;
            background: #f0f0f0;
            color: #6c7b8b;
            box-shadow: none;
        }

        .filter-group input[type="text"],
        .filter-group input[type="number"],
        .filter-group select {
            width: 100%;
            padding: 13px 14px;
            border: 1px solid #d5deea;
            border-radius: 16px;
            margin-top: 0;
            min-height: 48px;
            background: #fbfdff;
            color: #17314b;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .filter-group input[type="text"]:focus,
        .filter-group input[type="number"]:focus,
        .filter-group select:focus {
            outline: none;
            border-color: #7bb0e7;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(29, 117, 214, 0.12);
        }

        .slider-control {
            margin-top: 4px;
        }

        .slider-control input[type="range"] {
            width: 100%;
            accent-color: #1d75d6;
        }

        .slider-control input[type="range"]::-webkit-slider-runnable-track {
            height: 6px;
            border-radius: 999px;
            background: linear-gradient(90deg, #d6e5f6, #bdd8ef);
        }

        .slider-control input[type="range"]::-moz-range-track {
            height: 6px;
            border-radius: 999px;
            background: linear-gradient(90deg, #d6e5f6, #bdd8ef);
        }

        .slider-value {
            display: none;
        }

        .country-mode-container {
            margin-bottom: 0;
            flex-shrink: 0;
        }

        .country-mode-toggle {
            display: inline-flex;
            gap: 3px;
            padding: 3px;
            border: 1px solid #d2dfed;
            border-radius: 999px;
            background: #ebf3fb;
        }

        .country-mode-btn {
            background: transparent;
            border: none;
            border-radius: 999px;
            padding: 7px 11px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 700;
            color: #284763;
            transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
        }

        .country-mode-btn:not(.active):not(:disabled):not(.login-required-control):hover {
            background: rgba(255, 255, 255, 0.92);
        }

        .country-mode-btn.active {
            background: linear-gradient(135deg, #1d75d6, #0f9bb4);
            color: #fff;
            box-shadow: 0 8px 20px rgba(15, 117, 214, 0.2);
        }

        .country-mode-btn:focus {
            outline: 2px solid rgba(29, 117, 214, 0.2);
        }

        .country-mode-btn:disabled,
        .country-mode-btn.login-required-control {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .proxy-geo-picker-native {
            display: none !important;
        }

        .proxy-geo-picker-trigger {
            width: 100%;
            min-height: 42px;
            border: 1px solid #d5deea;
            border-radius: 16px;
            padding: 5px 8px;
            background: #fbfdff;
            color: #17314b;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 10px;
            text-align: left;
            cursor: pointer;
        }

        .proxy-geo-picker-trigger:hover {
            background: #ffffff;
            border-color: #b8d1ea;
        }

        .proxy-geo-picker-trigger:focus {
            outline: none;
            border-color: #7bb0e7;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(29, 117, 214, 0.12);
        }

        .proxy-geo-picker-trigger.login-required-control {
            cursor: not-allowed;
            background: #f0f0f0;
            color: #6c7b8b;
            box-shadow: none;
            opacity: 0.82;
            filter: saturate(0.45);
        }

        .proxy-geo-picker-trigger__body {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-wrap: wrap;
            align-items: flex-start;
            align-content: flex-start;
            gap: 3px;
            min-height: 28px;
            max-height: 64px;
            overflow-y: auto;
            padding-right: 3px;
            scrollbar-width: thin;
        }

        .proxy-geo-picker-trigger.is-empty .proxy-geo-picker-trigger__body {
            align-items: center;
        }

        .proxy-geo-picker-trigger__placeholder {
            color: #7a8ea5;
            font-size: 13px;
            font-weight: 500;
            line-height: 1.35;
        }

        .proxy-geo-picker-trigger__actions {
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            min-height: 28px;
        }

        .proxy-geo-picker-trigger__icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 999px;
            background: #eef4fb;
            color: #45627f;
        }

        .proxy-geo-picker-trigger__icon-svg {
            width: 14px;
            height: 14px;
        }

        .proxy-geo-picker-trigger__tag {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            margin-top: 0;
            border: none;
            border-radius: 999px;
            background: #e9f2ff;
            color: #17314b;
            padding: 3px 7px;
            font-weight: 700;
            font-size: 11px;
            line-height: 1.1;
            max-width: 100%;
        }

        .proxy-geo-picker-trigger__tag-text {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .proxy-geo-picker-trigger__flag {
            flex-shrink: 0;
        }

        .proxy-geo-picker-trigger__tag-remove {
            appearance: none;
            border: none;
            background: transparent;
            color: #4a6380;
            cursor: pointer;
            padding: 0;
            margin: 0;
            width: 16px;
            height: 16px;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            flex-shrink: 0;
        }

        .proxy-geo-picker-trigger__tag-remove:hover {
            background: rgba(23, 49, 75, 0.08);
            color: #17314b;
        }

        .proxy-filter-selected {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px 8px;
            min-width: 0;
            order: 3;
            width: 100%;
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid #dbe4ef;
            background: #f6f9fc;
        }

        .proxy-filter-selected-label {
            font-size: 0.68rem;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #70849a;
        }

        .proxy-filter-selected strong {
            font-size: 0.94rem;
            color: #12263c;
        }

        .proxy-filter-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            flex-wrap: wrap;
        }

        .proxy-filter-btn {
            min-height: 46px;
            padding: 0 18px;
            border-radius: 14px;
            border: none;
            font-size: 0.96rem;
            font-weight: 700;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
        }

        .proxy-filter-btn-primary {
            background: linear-gradient(135deg, #1d75d6, #0f9bb4);
            color: #fff;
            box-shadow: 0 14px 28px rgba(15, 117, 214, 0.22);
        }

        .proxy-filter-btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 18px 32px rgba(15, 117, 214, 0.28);
        }

        .proxy-filter-btn-secondary {
            background: #ffffff;
            color: #24415e;
            border: 1px solid #ced9e5;
            box-shadow: 0 10px 22px rgba(18, 38, 60, 0.07);
        }

        .proxy-filter-btn-secondary:hover {
            transform: translateY(-1px);
            background: #f8fbff;
        }

        .proxy-filter-btn:disabled {
            opacity: 0.55;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        .proxy-filter-divider {
            height: 1px;
            margin: 8px 18px 12px;
            background: linear-gradient(90deg, rgba(183, 197, 214, 0), rgba(183, 197, 214, 0.9), rgba(183, 197, 214, 0));
        }

        .result-delivery-panel {
            display: grid;
            gap: 12px;
            padding: 0 18px 18px;
        }

        .result-delivery-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
            align-items: start;
        }

        .result-delivery-api {
            display: grid;
            gap: 8px;
            min-width: 0;
        }

        .api-panel-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
            padding: 0;
            margin-bottom: 0;
        }

        .api-panel-header h4 {
            margin: 0 0 6px;
            font-size: 1.08rem;
            color: #12263c;
        }

        .api-panel-header p {
            margin: 0;
            max-width: 66ch;
            color: #5b6f83;
            line-height: 1.55;
        }

        .api-panel-docs {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 11px 16px;
            border-radius: 999px;
            border: 1px solid #c8d2dd;
            background: #ffffff;
            color: #1d3957;
            font-weight: 700;
            text-decoration: none;
            white-space: nowrap;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
        }

        .api-panel-docs:hover {
            transform: translateY(-1px);
            background: #f8fbff;
            box-shadow: 0 12px 24px rgba(18, 38, 60, 0.1);
        }

        .api-panel-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0;
        }

        .proxy-api-row input {
            width: 100%;
            margin-bottom: 0;
            padding: 14px 16px;
            border: 1px solid #cfd8e3;
            border-radius: 16px;
            font-size: 0.94rem;
            background: #ffffff;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }

        .proxy-api-row input:focus {
            border-color: #7bb0e7;
            box-shadow: 0 0 0 4px rgba(29, 117, 214, 0.12);
            outline: none;
        }

        .proxy-api-row input.login-required-control {
            cursor: not-allowed;
            background: #f0f0f0;
            color: #6c7b8b;
            box-shadow: none;
        }

        .proxy-api-row button {
            min-width: 148px;
            padding: 14px 18px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, #1d75d6, #17a0da);
            color: #fff;
            cursor: pointer;
            font-size: 0.96rem;
            font-weight: 700;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
            box-shadow: 0 14px 28px rgba(23, 120, 214, 0.22);
        }

        .proxy-api-row button:hover {
            transform: translateY(-1px);
            background: linear-gradient(135deg, #196ac3, #1293ca);
            box-shadow: 0 18px 32px rgba(23, 120, 214, 0.28);
        }

        .proxy-api-row button:active {
            transform: translateY(0);
        }

        .proxy-api-row button:focus-visible {
            outline: 2px solid rgba(29, 117, 214, 0.24);
            outline-offset: 2px;
        }

        .proxy-api-row button:disabled,
        .proxy-api-row button.login-required-control {
            background: #b8c2cf;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        @media (max-width: 1100px) {
            .filter-section {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .filter-section > .filters:last-child {
                grid-column: 1 / -1;
                border-left: none;
                border-top: 1px solid rgba(215, 225, 235, 0.8);
                padding-top: 18px;
            }

            .result-delivery-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 900px) {
            .proxy-filter-header,
            .api-panel-header,
            .api-panel-row {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-group-head-split {
                flex-direction: column;
                align-items: flex-start;
            }

            .api-panel-docs,
            .proxy-api-row button {
                width: 100%;
                min-width: 0;
            }

            .result-delivery-panel {
                padding-bottom: 16px;
            }
        }

        @media (max-width: 768px) {
            .top-bar {
                margin-bottom: 0;
                border-left: none;
                border-right: none;
                border-radius: 0;
            }

            .container {
                padding: 0;
                border-left: none;
                border-right: none;
                border-radius: 0;
                box-shadow: none;
            }

            .filter-section {
                grid-template-columns: 1fr;
                padding-top: 0;
            }

            .filter-section > .filters:last-child {
                grid-column: auto;
            }

            .filters {
                padding: 16px 14px;
                border-left: none;
                border-top: 1px solid rgba(215, 225, 235, 0.8);
            }

            .filters:first-child {
                border-top: none;
            }

            .proxy-filter-heading h3 {
                font-size: 1.26rem;
            }

            .proxy-filter-heading p {
                display: none;
            }

            .filter-chip-grid {
                gap: 8px;
            }

            .filter-chip {
                flex: 1 1 calc(50% - 4px);
            }

            .filter-chip-grid-wide .filter-chip {
                flex-basis: calc(50% - 4px);
            }

            .filter-chip-text {
                width: 100%;
                padding: 0 12px;
                font-size: 13px;
            }

            .filter-group input[type="text"],
            .filter-group input[type="number"],
            .filter-group select,
            .proxy-api-row input {
                font-size: 16px;
                min-height: 46px;
            }

            .proxy-filter-header,
            .proxy-filter-summary-row {
                padding-left: 14px;
                padding-right: 14px;
            }

            .proxy-filter-header,
            .proxy-filter-summary-row,
            .proxy-filter-collapsible {
                border-left: none;
                border-right: none;
                border-radius: 0;
            }

            .proxy-filter-summary-row {
                gap: 8px;
                padding-top: 8px;
                padding-bottom: 8px;
            }

            .proxy-filter-summary-side,
            .proxy-filter-summary {
                width: 100%;
            }

            .proxy-filter-summary-side {
                display: grid;
                grid-template-columns: 1fr;
                align-items: start;
                gap: 6px 8px;
                min-width: 0;
            }

            .proxy-filter-summary-headline {
                display: grid;
                grid-column: 1 / -1;
                grid-template-columns: minmax(0, 1fr) auto auto;
                align-items: center;
                min-width: 0;
                gap: 8px;
            }

            .proxy-filter-summary-toolbar {
                min-width: 0;
                gap: 6px;
            }

            .proxy-filter-collapse-inline {
                min-height: 34px;
                padding: 0 11px 0 8px;
                gap: 8px;
                font-size: 0.82rem;
            }

            .proxy-filter-collapse-glyph {
                width: 20px;
                height: 20px;
                border-radius: 8px;
            }

            .proxy-filter-collapse-glyph-icon {
                width: 14px;
                height: 14px;
            }

            .proxy-filter-collapse-text {
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: 100%;
            }

            .proxy-filter-clear-sticky {
                width: auto;
                min-width: 0;
                margin-left: auto;
                min-height: 32px;
                padding: 0 10px;
                font-size: 0.74rem;
            }

            .proxy-filter-summary-headline .proxy-filter-clear-sticky {
                grid-column: 3;
                width: 34px;
                min-width: 34px;
                height: 34px;
                min-height: 34px;
                margin-left: 0;
                padding: 0;
                justify-content: center;
                border-radius: 10px;
            }

            .proxy-filter-summary-headline .proxy-filter-clear-text {
                display: none;
            }

            .proxy-filter-summary-headline .proxy-filter-clear-icon {
                width: 18px;
                height: 18px;
                background: transparent;
            }

            .proxy-filter-selected {
                grid-column: 2;
                order: 0;
                width: auto;
                margin-left: 0;
                justify-content: center;
                border: none;
                border-radius: 0;
                background: transparent;
                padding: 0;
                gap: 0;
                white-space: nowrap;
            }

            .proxy-filter-selected-label {
                display: none;
            }

            .proxy-filter-selected strong {
                font-size: 0.84rem;
                line-height: 1;
            }

            .proxy-filter-summary {
                flex-wrap: nowrap;
                max-height: none;
                overflow-x: auto;
                overflow-y: hidden;
                padding: 0 2px 2px 0;
                align-content: center;
                scrollbar-width: none;
                -webkit-overflow-scrolling: touch;
            }

            .proxy-filter-summary::-webkit-scrollbar {
                display: none;
            }

            .proxy-filter-summary-pill {
                min-height: 28px;
                padding: 4px 7px 4px 8px;
                gap: 6px;
                font-size: 0.76rem;
                flex: 0 0 auto;
            }

            .proxy-filter-summary-remove {
                width: 18px;
                height: 18px;
                font-size: 12px;
            }

            .proxy-filter-summary-more {
                min-height: 28px;
                padding: 0 9px;
                font-size: 0.72rem;
                flex: 0 0 auto;
            }

            .proxy-filter-collapsible {
                position: fixed;
                top: var(--proxy-filter-drawer-top, var(--proxy-filter-sticky-top, 0px));
                right: 0;
                bottom: 0;
                left: 0;
                z-index: 1200;
                display: flex;
                flex-direction: column;
                max-height: none;
                height: auto;
                margin: 0;
                border: none;
                border-radius: 22px 22px 0 0;
                background: rgba(255, 255, 255, 0.98);
                box-shadow: 0 -14px 36px rgba(15, 23, 42, 0.18);
                transform: translateY(0);
                opacity: 1;
                transition: transform 0.28s ease, opacity 0.2s ease;
                overflow: hidden;
            }

            .proxy-filter-collapsible::before {
                content: '';
                position: absolute;
                inset: 0;
                background: linear-gradient(180deg, rgba(245, 249, 252, 0.96), rgba(255, 255, 255, 0.98) 132px);
                pointer-events: none;
            }

            .proxy-filter-collapsible.is-collapsed {
                max-height: none;
                margin-bottom: 0;
                opacity: 0;
                transform: translateY(104%);
                pointer-events: none;
                box-shadow: none;
            }

            .proxy-filter-drawer-head,
            .proxy-filter-drawer-footer {
                display: flex;
                position: relative;
                z-index: 1;
            }

            .proxy-filter-drawer-head {
                align-items: center;
                justify-content: space-between;
                gap: 12px;
                padding: 14px 14px 12px;
                border-bottom: 1px solid #e7eef5;
                background: rgba(255, 255, 255, 0.96);
            }

            .proxy-filter-drawer-title-wrap {
                display: flex;
                flex-direction: column;
                gap: 4px;
                min-width: 0;
            }

            .proxy-filter-drawer-eyebrow {
                font-size: 0.68rem;
                font-weight: 800;
                letter-spacing: 0.08em;
                text-transform: uppercase;
                color: #7390aa;
            }

            .proxy-filter-drawer-title {
                color: #153149;
                font-size: 0.98rem;
                line-height: 1.25;
            }

            .proxy-filter-drawer-close {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                padding: 0;
                border: 1px solid #d7e1eb;
                border-radius: 12px;
                background: #ffffff;
                color: #27435d;
                font-size: 24px;
                line-height: 1;
                cursor: pointer;
                flex-shrink: 0;
            }

            .proxy-filter-drawer-scroll {
                position: relative;
                z-index: 1;
                flex: 1 1 auto;
                overflow-y: auto;
                overscroll-behavior: contain;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 16px;
            }

            .mobile-geo-picker {
                position: fixed;
                inset: var(--proxy-filter-drawer-top, var(--proxy-filter-sticky-top, 0px)) 0 0;
                z-index: 1402;
                display: flex;
                align-items: stretch;
                justify-content: stretch;
                padding: 0;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                background: rgba(245, 249, 252, 0.98);
                backdrop-filter: none;
                transition: opacity 0.2s ease, visibility 0s linear 0.2s;
            }

            .mobile-geo-picker.is-open {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transition-delay: 0s;
            }

            html.mobile-geo-picker-open,
            body.mobile-geo-picker-open {
                overflow: hidden;
            }

            .mobile-geo-picker__sheet {
                display: flex;
                flex-direction: column;
                width: 100%;
                height: calc(var(--mobile-geo-picker-vh, 100dvh) - var(--proxy-filter-drawer-top, var(--proxy-filter-sticky-top, 0px)));
                min-height: 0;
                min-width: 0;
                overflow: hidden;
                border-radius: 0;
                background: rgba(255, 255, 255, 0.99);
                opacity: 0;
                transform: translateY(28px);
                transition: opacity 0.2s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
            }

            .mobile-geo-picker.is-open .mobile-geo-picker__sheet {
                opacity: 1;
                transform: translateY(0);
            }

            .mobile-geo-picker__head {
                flex: 0 0 auto;
                display: grid;
                gap: 10px;
                padding: 14px 14px 10px;
                background: rgba(255, 255, 255, 0.98);
                border-bottom: 1px solid #e4edf5;
            }

            .mobile-geo-picker__title-row {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
            }

            .mobile-geo-picker__title {
                min-width: 0;
                color: #153149;
                font-size: 1rem;
                line-height: 1.25;
            }

            .mobile-geo-picker__close {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 40px;
                height: 40px;
                padding: 0;
                border: 1px solid #d7e1eb;
                border-radius: 12px;
                background: #ffffff;
                color: #27435d;
                font-size: 24px;
                line-height: 1;
                flex-shrink: 0;
            }

            .mobile-geo-picker__search-wrap {
                position: relative;
            }

            .mobile-geo-picker__search {
                width: 100%;
                min-height: 46px;
                border: 1px solid #d5deea;
                border-radius: 14px;
                background: #fbfdff;
                padding: 0 14px;
                font-size: 16px;
                color: #153149;
            }

            .mobile-geo-picker__search:focus {
                outline: none;
                border-color: #7bb0e7;
                box-shadow: 0 0 0 4px rgba(29, 117, 214, 0.12);
            }

            .mobile-geo-picker__selected {
                display: flex;
                flex-wrap: wrap;
                align-items: flex-start;
                align-content: flex-start;
                gap: 8px;
                max-height: 104px;
                overflow-y: auto;
                min-height: 0;
            }

            .mobile-geo-picker__selected-clear {
                min-height: 32px;
                padding: 0 10px 0 8px;
                font-size: 0.78rem;
                gap: 6px;
            }

            .mobile-geo-picker__selected-clear-icon {
                width: 18px;
                height: 18px;
                font-size: 12px;
            }

            .mobile-geo-picker__selected-empty {
                display: inline-flex;
                align-items: center;
                min-height: 34px;
                padding: 0 12px;
                border-radius: 999px;
                background: #f3f7fb;
                border: 1px dashed #d5deea;
                color: #70849a;
                font-size: 0.82rem;
                font-weight: 600;
            }

            .mobile-geo-picker__tag {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                min-height: 34px;
                padding: 0 10px 0 12px;
                border-radius: 999px;
                border: 1px solid #d7e1eb;
                background: #ffffff;
                color: #17314b;
                font-size: 0.82rem;
                font-weight: 700;
                max-width: 100%;
            }

            .mobile-geo-picker__tag-text {
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .mobile-geo-picker__tag-remove {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background: rgba(21, 49, 73, 0.08);
                color: #4e6278;
                font-size: 14px;
                line-height: 1;
                flex-shrink: 0;
            }

            .mobile-geo-picker__results {
                flex: 1 1 auto;
                min-height: 0;
                overflow-y: auto;
                overscroll-behavior: contain;
                -webkit-overflow-scrolling: touch;
                padding: 6px 0 12px;
            }

            .mobile-geo-picker__results-state {
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: 120px;
                padding: 20px 16px;
                text-align: center;
                color: #6b8094;
                font-size: 0.9rem;
            }

            .mobile-geo-picker__option {
                display: flex;
                align-items: center;
                gap: 12px;
                width: 100%;
                min-height: 48px;
                padding: 10px 14px;
                border: none;
                border-radius: 0;
                background: transparent;
                color: #17314b;
                text-align: left;
            }

            .mobile-geo-picker__option + .mobile-geo-picker__option {
                border-top: 1px solid #eef3f8;
            }

            .mobile-geo-picker__option-checkbox {
                width: 18px;
                height: 18px;
                margin: 0;
                flex: 0 0 18px;
                accent-color: #1d75d6;
                pointer-events: none;
            }

            .mobile-geo-picker__option-main {
                display: flex;
                align-items: center;
                gap: 10px;
                min-width: 0;
                flex: 1 1 auto;
            }

            .mobile-geo-picker__option-label {
                min-width: 0;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                font-size: 0.94rem;
                font-weight: 600;
            }

            .mobile-geo-picker__option-meta {
                flex: 0 0 auto;
                color: #6b8094;
                font-size: 0.8rem;
                font-weight: 700;
            }

            .mobile-geo-picker__footer {
                flex: 0 0 auto;
                padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
                border-top: 1px solid #e7eef5;
                background: rgba(255, 255, 255, 0.98);
            }

            .mobile-geo-picker__confirm {
                width: 100%;
                min-height: 46px;
                border-radius: 14px;
                background: linear-gradient(135deg, #1d75d6, #0f9bb4);
                color: #ffffff;
                box-shadow: 0 14px 28px rgba(15, 117, 214, 0.22);
            }

            .filter-section {
                grid-template-columns: 1fr;
                padding-top: 0;
            }

            .proxy-filter-divider {
                margin: 0 14px;
            }

            .proxy-filter-drawer-footer {
                gap: 8px;
                padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
                border-top: 1px solid #e7eef5;
                background: rgba(255, 255, 255, 0.98);
            }

            .proxy-filter-drawer-clear {
                flex: 0 0 auto;
                margin-left: 0;
                min-height: 44px;
                padding: 0 14px;
                font-size: 0.8rem;
            }

            .proxy-filter-drawer-apply {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 6px;
                flex: 1 1 auto;
                min-height: 44px;
                padding: 0 16px;
                border: none;
                border-radius: 14px;
                background: linear-gradient(180deg, #1f6ec9, #174f94);
                color: #ffffff;
                font-size: 0.9rem;
                font-weight: 800;
                cursor: pointer;
                box-shadow: 0 14px 28px rgba(23, 79, 148, 0.22);
            }

            .proxy-filter-drawer-apply:focus-visible,
            .proxy-filter-drawer-close:focus-visible {
                outline: 2px solid rgba(29, 117, 214, 0.26);
                outline-offset: 2px;
            }

            .country-mode-toggle {
                display: flex;
                width: 100%;
            }

            .country-mode-btn {
                flex: 1;
                padding: 10px 8px;
                font-size: 14px;
            }

            .result-delivery-panel {
                padding: 0 0 16px;
                gap: 10px;
            }

            .api-panel-header,
            .api-panel-row,
            .output-cols {
                padding-left: 14px;
                padding-right: 14px;
            }

            .output-cols {
                margin-bottom: 0;
                gap: 10px;
                flex-direction: column;
                align-items: stretch;
            }

            .output-col {
                width: 100%;
                padding-left: 0;
                padding-right: 0;
                box-shadow: none;
                justify-content: flex-start;
                align-items: flex-start;
                gap: 8px;
                flex-wrap: wrap;
            }

            .output-col + .output-col {
                margin-left: 0;
                padding-left: 0;
                padding-top: 10px;
                border-left: none;
                border-top: 1px solid #ecf0f1;
            }

            .export-format-meta {
                gap: 8px;
                justify-content: flex-start;
                width: auto;
                flex: 0 0 auto;
            }

            .output-col-btns {
                flex-wrap: wrap;
            }

            .settings-toggle-btn {
                font-size: 0.84rem;
            }

            .export-format-badge {
                min-height: 28px;
                padding: 0 8px;
                font-size: 0.68rem;
            }

            .proxy-table-container {
                padding: 0 !important;
            }

            .table-wrapper {
                margin-bottom: 0;
            }
        }


        .buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
        }

        .buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 15px; /* Расстояние между кнопками */
        justify-content: center; /* Центровка кнопок */
        margin-top: 20px; /* Отступ сверху для блока кнопок */
    }

    .buttons .open-btn,
    .buttons .download-btn {
        background-color: #28a745; /* Зеленый цвет для кнопок открытия */
        color: white;
        padding: 12px 20px; /* Отступы внутри кнопки */
        border: none;
        border-radius: 8px; /* Закругленные углы */
        cursor: pointer;
        font-size: 16px; /* Увеличенный размер текста */
        font-weight: bold;
        transition: all 0.3s ease; /* Анимация для наведения и нажатия */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень для объема */
        width: calc(50% - 15px); /* Две кнопки в строке с отступом */
        text-align: center;
    }

    .buttons .download-btn {
        background-color: #F25320; /* Оранжевый цвет для кнопок скачивания */
    }

    .buttons .open-btn:hover,
    .buttons .download-btn:hover {
        background-color: #1e7e34; /* Темнее при наведении (открыть) */
        transform: translateY(-3px); /* Поднимается при наведении */
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Более заметная тень */
    }

    .buttons .download-btn:hover {
        background-color: #d9451c; /* Темнее при наведении (скачать) */
    }

    .buttons .open-btn:active,
    .buttons .download-btn:active {
        transform: translateY(2px); /* Уменьшение высоты при нажатии */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Уменьшение тени */
    }

    .buttons .open-btn:disabled,
    .buttons .download-btn:disabled {
        background-color: #ccc; /* Серый цвет для отключенных кнопок */
        cursor: not-allowed;
        box-shadow: none;
    }

        footer {
            margin-top: 20px;
            text-align: center;
            font-size: 0.8rem;
            color: #777;
        }

        footer .payment-methods {
            margin-top: 10px;
        }

        footer .payment-methods img {
            height: 30px;
            margin: 0 5px;
        }

        .disabled {
            pointer-events: none;
            opacity: 0.5;
        }
        input:disabled, 
        textarea:disabled, 
        select:disabled {
            cursor: not-allowed; /* Запрещающий курсор */
            background-color: #f0f0f0;
        }
        .copy-modal {
            position: absolute;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }
        /* Стили для блоков информации */
    .info-block {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
        padding: 14px 16px;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 12px;
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(10px);
        transition: all 0.3s;
    }

    .info-block:hover {
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.2);
    }

    .info-label {
        font-weight: 600;
        color: rgba(255,255,255,0.7);
        font-size: 14px;
    }

    .info-value {
        color: #ffffff;
        font-weight: 600;
        font-size: 15px;
    }

    /* Стили для кнопки "Продлить" */
    .renew-button {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
        color: white;
        padding: 12px 24px;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        font-weight: 600;
        font-size: 15px;
        box-shadow: 0 6px 20px rgba(40,167,69,0.35);
        transition: all 0.3s ease;
    }

    .renew-button:hover {
        background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
        box-shadow: 0 8px 25px rgba(40,167,69,0.45);
        transform: translateY(-1px);
    }

    .renew-button:active {
        transform: translateY(0) scale(0.98);
    }


    .invalidKeyMessage {
        font-weight: bold;
        color: red;
        margin-right: 1px;
        padding: 1px;
        border: 0.5px solid red;
        border-radius: 5px;
        background-color: #ffe6e6;
        display: inline-block;
    }
    .invalid-key-message {
        font-weight: bold;
        color: red;
        margin-right: 1px;
        padding: 1px;
        border: 0.5px solid red;
        border-radius: 5px;
        background-color: #ffe6e6;
        display: inline-block;
    }
    .invalid-key-message-cloud { 
    position: fixed;
    top: 30%; /* Позиция выше, чем по центру */
    left: 50%;
    width: auto;
    transform: translateX(-50%) scale(0.7); /* Начальный масштаб меньше */
    background-color: rgba(255, 0, 0, 0.8); /* Красный фон с полупрозрачностью */
    color: #FFFFFF; /* Белый цвет текста */
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.6); /* Голубая тень вокруг */
    text-shadow: 0 2px 5px rgba(0, 191, 255, 0.8); /* Голубая тень для текста */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
    max-width: 100%; /* Ограничиваем ширину на больших экранах */
    text-align: left; /* Выравнивание текста по левому краю */
    }

    /* Анимация для появления */
    .invalid-key-message-cloud.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) scale(1); /* Полный размер */
    }



    /* Стили для сообщения "Ключ действителен" */
    .valid-key-message {
        font-weight: bold;
        color: green;
        margin-right: 1px;
        padding: 1px;
        border: 0.5px solid green;
        border-radius: 5px;
        background-color: #e6ffe6;
        display: inline-block;
    }
            body {
                font-family: 'Ubuntu', sans-serif;
                margin: 0;
                color: #333;
                background: url("/img/bg-lightl-881.webp") repeat #f4f4f4;
                padding: 20px;
                /*line-height: 1.6;*/
            }

.output-cols {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid #ecf0f1;
}
    .output-col {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        flex: 1 1 0;
        min-width: 0;
        text-align: left;
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }
    .output-col + .output-col {
        margin-left: 14px;
        padding-left: 14px;
        border-left: 1px solid #ecf0f1;
    }
    .export-format-row {
        min-width: 0;
    }
    .export-format-meta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        flex: 0 0 auto;
    }
    .export-format-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.76rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #1c8a5c;
        white-space: nowrap;
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid currentColor;
        border-radius: 999px;
        background: #f4fbf7;
        cursor: default;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    }
    .export-format-badge::before {
        content: none;
    }
    .export-format-badge:hover {
        background: #f4fbf7;
        border-color: currentColor;
        color: inherit;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
    }
    .export-format-badge-txt {
        color: #1c8a5c;
    }
    .export-format-badge-json {
        color: #1c8a5c;
    }
    .export-format-badge:disabled {
        opacity: 0.55;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
    .export-format-badge:focus-visible {
        outline: 2px solid rgba(39, 174, 96, 0.22);
        outline-offset: 2px;
    }
    .output-col-btns {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        flex: 0 1 auto;
    }
    .settings-toggle-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 34px;
        border: 1px solid #c6d9ed;
        padding: 0 12px;
        border-radius: 999px;
        cursor: pointer;
        font-size: 0.84rem;
        font-weight: 700;
        transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        color: #14538e;
        align-self: center;
        background: #f4f9ff;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    }
    .settings-toggle-btn:disabled,
    .settings-toggle-btn.login-required-control { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
    .settings-toggle-btn:not(:disabled):not(.login-required-control):hover {
        transform: translateY(-1px);
        color: #0f4d84;
        border-color: #8cb8e6;
        background: #ebf4ff;
        box-shadow: 0 10px 22px rgba(29, 117, 214, 0.12);
    }
    .settings-toggle-btn.is-open {
        color: #ffffff;
        border-color: transparent;
        background: linear-gradient(135deg, #1d75d6, #17a0da);
        box-shadow: 0 12px 24px rgba(29, 117, 214, 0.2);
    }
    .settings-toggle-btn:focus-visible {
        outline: 2px solid rgba(29, 117, 214, 0.22);
        outline-offset: 2px;
    }
    .settings-toggle-label { white-space: nowrap; }
    .settings-toggle-arrow {
        font-size: 14px;
        transition: transform 0.2s ease;
    }
    .settings-toggle-btn.is-open .settings-toggle-arrow { transform: rotate(180deg); }
    .export-settings-stack {
        display: grid;
        gap: 10px;
        margin-top: 2px;
    }
    .export-settings-panel {
        padding: 14px 16px 16px;
        border: 1px solid #e2e8ef;
        border-radius: 18px;
        background: #f5f7fa;
        box-shadow: none;
        animation: jsonPanelIn 0.2s ease;
    }
    .export-settings-panel-txt {
        border-color: rgba(28, 138, 92, 0.16);
    }
    .export-settings-panel-json {
        border-color: rgba(29, 117, 214, 0.16);
    }
    .export-settings-panel-head {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
    }
    .export-settings-panel-head strong {
        font-size: 0.92rem;
        color: #17314b;
    }
    .export-settings-panel-kicker {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 26px;
        padding: 0 10px;
        border-radius: 999px;
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .export-settings-panel-head-txt .export-settings-panel-kicker {
        background: #edf8f1;
        color: #1c8a5c;
    }
    .export-settings-panel-head-json .export-settings-panel-kicker {
        background: #eef4ff;
        color: #14538e;
    }
    @keyframes jsonPanelIn { from { opacity:0; transform: translateY(-6px); } to { opacity:1; transform: translateY(0); } }
    .json-settings-row {
        display: grid;
        gap: 18px;
        align-items: start;
    }
    .json-settings-row-json {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(180px, 0.72fr);
    }
    .json-settings-column,
    .json-settings-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-width: 0;
    }
    .json-settings-label {
        font-weight: 700;
        font-size: 12px;
        color: #5a6e82;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 0;
    }
    .json-settings-subtitle {
        font-size: 0.78rem;
        font-weight: 700;
        color: #17314b;
    }
    .json-field-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .json-field-section + .json-field-section {
        padding-top: 12px;
        border-top: 1px solid #dde5ee;
    }
    .json-option-list {
        display: grid;
        gap: 0;
    }
    .json-option-list-fields,
    .json-option-list-format {
        border: 1px solid #dde6f0;
        border-radius: 14px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    }
    .json-option-item {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: start;
        gap: 10px;
        padding: 8px 0;
        position: relative;
        cursor: pointer;
    }
    .json-option-item + .json-option-item {
        border-top: 1px solid #e2e8ef;
    }
    .json-option-item input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }
    .json-option-switch {
        position: relative;
        width: 34px;
        height: 20px;
        border-radius: 999px;
        background: #d6e0ea;
        border: 1px solid #c5d1dd;
        transition: background 0.2s ease, border-color 0.2s ease;
    }
    .json-option-switch::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #ffffff;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
        transition: transform 0.2s ease;
    }
    .json-option-item input:checked + .json-option-switch {
        background: #1d75d6;
        border-color: #1d75d6;
    }
    .json-option-item input:checked + .json-option-switch::after {
        transform: translateX(14px);
    }
    .json-option-copy {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }
    .json-option-toggle-code {
        font-size: 0.8rem;
        font-weight: 700;
        color: #17314b;
    }
    .json-option-note {
        font-size: 0.74rem;
        line-height: 1.3;
        color: #6f8092;
    }
    .json-option-list-fields .json-option-item,
    .json-option-list-format .json-option-item {
        padding: 10px 12px;
    }
    .json-option-item input:focus + .json-option-switch {
        outline: 2px solid rgba(29, 117, 214, 0.2);
        outline-offset: 2px;
    }
    .json-option-item-field .json-option-toggle-code,
    .json-format-toggle-item .json-option-toggle-code {
        font-size: 0.82rem;
    }
    .txt-format-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        margin-top: 2px;
        padding: 3px;
        border: 1px solid #d8e2ec;
        border-radius: 16px;
        background: #eaf0f6;
    }
    .txt-format-tab {
        position: relative;
        min-width: 0;
        cursor: pointer;
    }
    .txt-format-tab input {
        position: absolute;
        inset: 0;
        opacity: 0;
        pointer-events: none;
    }
    .txt-format-tab-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        min-height: 50px;
        padding: 8px 10px;
        border: none;
        border-radius: 12px;
        background: transparent;
        box-shadow: none;
        transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }
    .txt-format-tab-title {
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #70849a;
    }
    .txt-format-tab-code {
        font-size: 0.78rem;
        font-weight: 700;
        color: #17314b;
    }
    .txt-format-tab:hover .txt-format-tab-body {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(18, 38, 60, 0.06);
    }
    .txt-format-tab input:checked + .txt-format-tab-body {
        background: #ffffff;
        box-shadow: 0 10px 22px rgba(29, 117, 214, 0.1);
    }
    .txt-format-tab input:checked + .txt-format-tab-body .txt-format-tab-title {
        color: #14538e;
    }
    .txt-format-tab input:checked + .txt-format-tab-body .txt-format-tab-code {
        color: #0f4d84;
    }
    .txt-format-tab input:focus + .txt-format-tab-body {
        outline: 2px solid rgba(29, 117, 214, 0.2);
        outline-offset: 2px;
    }
    @media (max-width: 1100px) {
        .json-settings-row-json {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .json-settings-column-format {
            grid-column: 1 / -1;
        }
    }
    @media (max-width: 768px) {
        .json-settings-row-json,
        .txt-format-tabs {
            grid-template-columns: 1fr;
        }

        .export-settings-panel {
            padding: 12px;
            border-radius: 16px;
        }

        .json-option-item {
            gap: 8px;
        }

        .json-option-list-fields .json-option-item,
        .json-option-list-format .json-option-item {
            padding: 9px 10px;
        }

        .txt-format-tab-body {
            min-height: 46px;
        }
    }
    .output-col-btns .output-action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        border: 1px solid #ecf0f1;
        border-radius: 12px;
        padding: 0;
        font-size: 12px;
        font-weight: 700;
        color: #2c3e50;
        cursor: pointer;
        background: #ffffff;
        transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
        box-shadow: none;
    }
    .output-col-btns .output-action-btn:not(.login-required-control):hover { transform: translateY(-1px); }
    .output-col-btns .output-action-btn:disabled,
    .output-col-btns .output-action-btn.login-required-control { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
    .output-col-btns .output-action-preview {
        border-color: rgba(20, 83, 142, 0.22);
        color: #14538e;
        background: #f4f9ff;
    }
    .output-col-btns .output-action-preview:hover {
        background: #14538e;
        border-color: #14538e;
        color: #ffffff;
    }
    .output-col-btns .output-action-download {
        border-color: rgba(230, 126, 34, 0.5);
        color: #e67e22;
        background: #fff8ef;
    }
    .output-col-btns .output-action-download:hover {
        background: #e67e22;
        border-color: #e67e22;
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(230, 126, 34, 0.18);
    }

    .output-col-btns .output-action-btn:focus-visible {
        outline: 2px solid rgba(20, 83, 142, 0.18);
        outline-offset: 2px;
    }

    .output-action-icon {
        width: 18px;
        height: 18px;
        display: block;
    }

    .proxy-api-row button.copied {
        background: linear-gradient(135deg, #1e915d, #27b574);
        box-shadow: 0 18px 32px rgba(30, 145, 93, 0.24);
    }

    .proxy-api-row button.is-copied {
        background: linear-gradient(135deg, #1e915d, #27b574);
        box-shadow: 0 18px 32px rgba(30, 145, 93, 0.24);
    }

    .proxy-api-row button.is-copied:hover {
        background: linear-gradient(135deg, #187f51, #22a368);
        box-shadow: 0 18px 32px rgba(30, 145, 93, 0.28);
    }

            /* Общие стили для контейнера */
            .proxy-table-container {
                font-family: 'Arial', sans-serif;
                margin: 8px 0 0;
                padding: 0;
                max-width: 100%;
                background: transparent;
                border-radius: 0;
                box-shadow: none;
                overflow: visible; /* Чтобы тултипы не обрезались */
                animation: slideIn 1s ease-out forwards; /* Анимация появления контейнера */
            }

            /* Анимация появления контейнера */
            @keyframes slideIn {
                from {
                    transform: translateX(-100%);
                    opacity: 0;
                }
                to {
                    transform: translateX(0);
                    opacity: 1;
                }
            }

            .proxy-table td:first-child,
            .proxy-table td:nth-child(2) {
                text-align: left;
            }

            .proxy-table td:nth-child(2) span.country-name {
                font-weight: 700;
                color: #10253a;
            }

            .proxy-table td .city-name {
                font-weight: 500;
                color: #6f8092;
            }

            .table-wrapper {
                position: relative;
                isolation: isolate;
                overflow-x: auto;
                overflow-y: visible;
                -webkit-overflow-scrolling: touch;
                margin-bottom: 8px;
                min-height: 0;
                background: #ffffff;
                border: 1px solid #e0e8f0;
                border-radius: 18px;
                box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
            }

            .proxy-table-container.login-required-surface .message-content {
                cursor: default;
            }

            .proxy-table-container.login-required-surface .table-wrapper {
                min-height: clamp(360px, 52vh, 440px);
            }

            .proxy-table-container.login-required-surface .access-denied-message {
                display: flex;
            }

            .proxy-table {
                width: 100%;
                min-width: 700px;
                border-collapse: separate;
                border-spacing: 0;
                text-align: left;
                background: #ffffff;
                animation: fadeIn 2s ease;
                table-layout: fixed;
            }

            .proxy-table th:first-child { width: 200px; }
            .proxy-table th:nth-child(2) { width: 136px; }
            .proxy-table th:nth-child(3) { width: 124px; }
            .proxy-table th:nth-child(4) { width: 100px; }
            .proxy-table th:nth-child(5) { width: 92px; }
            .proxy-table th:nth-child(6) { width: 108px; }

            .proxy-table th {
                background: linear-gradient(180deg, #29435c 0%, #1d3046 100%);
                color: #ffffff;
                padding: 0;
                font-weight: 700;
                text-transform: none;
                letter-spacing: 0.02em;
                text-align: left;
                border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            }

            .proxy-table-head-static,
            .proxy-table-sort {
                display: flex;
                align-items: center;
                justify-content: space-between;
                width: 100%;
                min-height: 46px;
                padding: 11px 14px;
                color: inherit;
            }

            .proxy-table-head-static {
                font-size: 0.88rem;
            }

            .proxy-table-sort {
                border: none;
                background: transparent;
                font: inherit;
                cursor: pointer;
                transition: background 0.2s ease, color 0.2s ease;
            }

            .proxy-table-sort:hover {
                background: rgba(255, 255, 255, 0.05);
            }

            .proxy-table-head-label {
                font-size: 0.88rem;
                font-weight: 700;
                color: inherit;
            }

            .proxy-table-sort-icon {
                position: relative;
                width: 11px;
                height: 14px;
                flex: 0 0 11px;
                opacity: 0.45;
            }

            .proxy-table-sort-icon::before,
            .proxy-table-sort-icon::after {
                content: '';
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                border-left: 4px solid transparent;
                border-right: 4px solid transparent;
            }

            .proxy-table-sort-icon::before {
                top: 1px;
                border-bottom: 5px solid currentColor;
            }

            .proxy-table-sort-icon::after {
                bottom: 1px;
                border-top: 5px solid currentColor;
            }

            .proxy-table-sort.is-active {
                color: #d8ebff;
            }

            .proxy-table-sort.is-active[data-direction="asc"] .proxy-table-sort-icon::after,
            .proxy-table-sort.is-active[data-direction="desc"] .proxy-table-sort-icon::before {
                opacity: 0.25;
            }

            .proxy-table-sort.is-active[data-direction="asc"] .proxy-table-sort-icon::before,
            .proxy-table-sort.is-active[data-direction="desc"] .proxy-table-sort-icon::after {
                opacity: 1;
            }

            .proxy-table td {
                padding: 8px 12px;
                text-align: left;
                border-bottom: 1px solid #e6edf4;
                height: auto;
                vertical-align: middle;
                position: relative;
                overflow: visible;
                background: transparent;
            }

            .proxy-table th:first-child .proxy-table-head-static {
                padding-right: 10px;
            }

            .proxy-table th:nth-child(3) {
                text-align: center;
            }

            .proxy-table th:nth-child(2) .proxy-table-sort {
                padding-left: 10px;
            }

            .proxy-table th:nth-child(3) .proxy-table-sort {
                justify-content: center;
                gap: 8px;
            }

            .proxy-table td:first-child {
                padding-right: 8px;
            }

            .proxy-table td:nth-child(2) {
                padding-left: 8px;
            }

            .proxy-table td:nth-child(3) {
                text-align: center;
            }

            .proxy-table td .cell-content {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: center;
                gap: 3px;
                transition: filter 0.3s ease;
            }

            .proxy-table td.anon-cell .cell-content {
                align-items: center;
            }

            .proxy-table td.metric-cell {
                text-align: right;
            }

            .proxy-table td.metric-cell .cell-content {
                align-items: flex-end;
            }

            .proxy-table td.works-cell {
                text-align: center;
            }

            .proxy-table td.works-cell .cell-content {
                align-items: center;
            }

            .proxy-table td.works-cell .proxy-metric {
                align-items: center;
            }

            .proxy-table td.ping-cell .cell-content {
                align-items: center;
            }

            .proxy-table tbody {
                position: relative;
            }

            .proxy-table tbody.is-updating {
                opacity: 0.45;
            }

            .proxy-table tbody tr {
                position: relative;
                background: #ffffff;
                transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
            }

            .proxy-table tbody tr:nth-child(even) {
                background: #f8fbff;
            }

            .proxy-table tbody tr:hover {
                background: #eef5fb;
                box-shadow: inset 0 1px 0 rgba(20, 83, 142, 0.05), inset 0 -1px 0 rgba(20, 83, 142, 0.06);
            }

            .proxy-table td strong {
                color: #10253a;
            }

            .anon-transparent,
            .anon-anonymous,
            .anon-elite {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                color: #ffffff;
                font-weight: 700;
                padding: 3px 8px;
                border-radius: 8px;
                font-size: 13px;
                text-transform: none;
                box-shadow: rgba(0, 0, 0, 0.04) 0 1px 0;
                white-space: nowrap;
            }

            .anon-transparent { background: #d62828; }
            .anon-anonymous { background: #1f78b4; }
            .anon-elite { background: #0b8457; }

            .proxy-anon-link {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                text-decoration: none;
                color: #ffffff;
                transition: transform 0.18s ease;
                transform-origin: center;
            }

            .proxy-anon-link:visited {
                color: #ffffff;
                text-decoration: none;
            }

            .proxy-anon-link:hover {
                transform: scale(1.045);
                color: #ffffff;
                text-decoration: none;
            }

            .type-dot {
                display: inline-block;
                width: 10px;
                height: 10px;
                border-radius: 2px;
                margin-right: 8px;
                vertical-align: middle;
            }

            .proxy-anon-compact--varies {
                font-weight: 700;
                color: #0b63ce;
                border-bottom: 1px dashed rgba(11, 99, 206, 0.45);
            }

            .proxy-table tbody tr.demo-restricted .cell-content {
                filter: blur(4px);
                pointer-events: none;
                user-select: none;
            }

            .proxy-table tbody tr.demo-restricted::after {
                content: attr(data-demo-message);
                position: absolute;
                inset: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                background: rgba(15, 23, 42, 0.65);
                color: #ffffff;
                font-weight: 600;
                letter-spacing: 0.5px;
                font-size: 14px;
                border-radius: 8px;
                pointer-events: none;
                z-index: 1;
            }

            .proxy-metric {
                display: inline-flex;
                flex-direction: column;
                align-items: flex-end;
                gap: 6px;
                min-width: 0;
            }

            .proxy-metric-value {
                font-weight: 800;
                letter-spacing: 0.01em;
                color: #10253a;
            }

            .proxy-metric-empty {
                color: #8a98a8;
                font-weight: 700;
            }

            .proxy-metric-works.is-high .proxy-metric-value {
                color: #157347;
            }

            .proxy-metric-works.is-medium .proxy-metric-value {
                color: #ad7800;
            }

            .proxy-metric-works.is-low .proxy-metric-value {
                color: #c0392b;
            }

            .proxy-ping-bar {
                display: block;
                width: 78px;
                height: 7px;
                border-radius: 999px;
                background: #e1e8f0;
                overflow: hidden;
            }

            .proxy-ping-bar span {
                display: block;
                height: 100%;
                border-radius: 999px;
                background: #2aa76a;
            }

            .proxy-metric-ping.is-medium .proxy-ping-bar span {
                background: #e0a126;
            }

            .proxy-metric-ping.is-slow .proxy-ping-bar span {
                background: #d95c4f;
            }

            .proxy-table tbody tr.demo-restricted:hover {
                background-color: inherit;
                transform: none;
                box-shadow: none;
            }

            .proxy-table tbody tr.premium-access-row td {
                text-align: center;
                background: linear-gradient(135deg, rgba(255, 243, 205, 0.92), rgba(255, 230, 179, 0.92));
                color: #8a5a00;
                font-weight: 700;
                letter-spacing: 0.2px;
                cursor: pointer;
                transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
            }

            .proxy-table tbody tr.premium-access-row .cell-content {
                filter: none;
                user-select: none;
                padding: 8px 0;
                transition: transform 0.18s ease, color 0.18s ease;
            }

            .proxy-table tbody tr.premium-access-row:hover td {
                background: linear-gradient(135deg, rgba(255, 236, 179, 0.98), rgba(255, 213, 79, 0.95));
                box-shadow: inset 0 0 0 1px rgba(255, 179, 0, 0.55), 0 8px 18px rgba(255, 193, 7, 0.18);
                transform: translateY(-1px);
            }

            .proxy-table tbody tr.premium-access-row:hover .cell-content {
                transform: scale(1.01);
                color: #6d4700;
            }

            /* Анимация появления строк */
            @keyframes fadeInRow {
                from { opacity: 0; }
                to   { opacity: 1; }
            }

            /* Row hover cursor */
            .proxy-table tbody tr[data-proxy-ip] { cursor: pointer; }

            /* Hover tooltip */
            #proxyRowTooltip {
                display: none;
                position: fixed;
                z-index: 99998;
                background: linear-gradient(135deg, rgba(30,30,60,0.97), rgba(20,20,45,0.99));
                color: #c8e6ff;
                border-radius: 8px;
                padding: 5px 12px;
                font-size: 12px;
                font-family: 'Ubuntu', sans-serif;
                pointer-events: none;
                white-space: nowrap;
                border: 1px solid rgba(255,255,255,0.15);
                box-shadow: 0 4px 16px rgba(0,0,0,0.45);
            }

            /* Overlay */
            #proxyInfoOverlay {
                display: none;
                position: fixed;
                inset: 0;
                z-index: 99998;
                background: rgba(0,0,0,0.6);
                backdrop-filter: blur(8px);
            }
            #proxyInfoOverlay.active { display: block; }

            /* Info modal */
            #proxyInfoModal {
                display: none;
                position: fixed;
                z-index: 99999;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: #f0f2f5;
                color: #1a1a2e;
                border-radius: 20px;
                padding: 0;
                width: 620px;
                max-width: calc(100vw - 24px);
                max-height: calc(100vh - 40px);
                overflow-y: auto;
                box-shadow: 0 20px 60px rgba(0,0,0,0.28), 0 2px 8px rgba(0,0,0,0.12);
                font-size: 16px;
                font-family: 'Ubuntu', sans-serif;
                line-height: 1.65;
                border: 3px solid #ddd;
            }
            @keyframes pimSlideIn {
                from { opacity: 0; transform: translate(calc(-50% - 80px), -50%); }
                to   { opacity: 1; transform: translate(-50%, -50%); }
            }
            @keyframes pimSlideInMobile {
                from { opacity: 0; transform: translateX(-100%); }
                to   { opacity: 1; transform: translateX(0); }
            }
            #proxyInfoModal.active {
                display: block;
                animation: pimSlideIn 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) both;
            }
            @media (max-width: 600px) {
                #proxyInfoModal.active {
                    animation: pimSlideInMobile 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) both;
                }
            }
            #proxyInfoModal .pim-top {
                padding: 22px 26px 18px;
                background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
                border-radius: 20px 20px 0 0;
            }
            #proxyInfoModal .pim-toprow {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 14px;
            }
            #proxyInfoModal .pim-title {
                font-size: 19px;
                font-weight: 700;
                color: #ffffff;
                letter-spacing: -0.2px;
            }
            #proxyInfoModal .pim-close {
                cursor: pointer;
                font-size: 26px;
                font-weight: 700;
                opacity: 0.75;
                line-height: 1;
                background: none;
                border: none;
                color: #ffffff;
                padding: 0 4px;
                transition: opacity 0.2s, transform 0.3s ease;
                display: inline-block;
            }
            #proxyInfoModal .pim-close:hover { opacity: 1; transform: rotate(90deg); }
            /* Copy block */
            #proxyInfoModal .pim-copy-block {
                display: flex;
                align-items: center;
                gap: 16px;
                background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
                border-radius: 18px;
                padding: 18px;
                border: 1px solid rgba(255,255,255,0.28);
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 20px rgba(12, 52, 110, 0.14);
            }
            #proxyInfoModal .pim-copy-ip {
                flex: 1;
                font-size: 30px;
                font-weight: 800;
                color: #ffffff;
                letter-spacing: 0.02em;
                line-height: 1.05;
                word-break: break-word;
            }
            #proxyInfoModal .pim-copy-btn {
                flex: 0 0 auto;
                width: 64px;
                height: 64px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
                color: #ffffff;
                border: 1px solid rgba(255,255,255,0.22);
                border-radius: 16px;
                padding: 0;
                cursor: pointer;
                transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 10px 18px rgba(15, 23, 42, 0.12);
            }
            #proxyInfoModal .pim-copy-btn:hover {
                transform: translateY(-1px);
                border-color: rgba(255,255,255,0.38);
                background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.12));
            }
            #proxyInfoModal .pim-copy-btn .fcs-copy-button__icon {
                width: 26px;
                height: 26px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }
            #proxyInfoModal .pim-copy-btn .fcs-copy-button__icon svg {
                width: 100%;
                height: 100%;
                display: block;
            }
            #proxyInfoModal .pim-copy-btn.copied {
                background: linear-gradient(135deg, rgba(52, 211, 153, 0.28), rgba(16, 185, 129, 0.22));
                border-color: rgba(52, 211, 153, 0.58);
                box-shadow: 0 12px 24px rgba(16, 185, 129, 0.18);
            }
            #proxyInfoModal .pim-body {
                padding: 18px 26px 24px;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 0 24px;
                background: #f0f2f5;
            }
            #proxyInfoModal .pim-section {
                margin-bottom: 16px;
            }
            #proxyInfoModal .pim-section-full {
                grid-column: 1 / -1;
                margin-bottom: 16px;
            }
            /* Section title colors per section order */
            #proxyInfoModal .pim-section:nth-of-type(1) .pim-section-title { color: #1E88E5; border-left-color: #1E88E5; }
            #proxyInfoModal .pim-section:nth-of-type(2) .pim-section-title { color: #43A047; border-left-color: #43A047; }
            #proxyInfoModal .pim-section:nth-of-type(3) .pim-section-title { color: #E53935; border-left-color: #E53935; }
            #proxyInfoModal .pim-section:nth-of-type(4) .pim-section-title { color: #F9A825; border-left-color: #F9A825; }
            #proxyInfoModal .pim-section-title {
                font-size: 11px;
                text-transform: uppercase;
                letter-spacing: 1.1px;
                margin-bottom: 6px;
                font-weight: 700;
                border-left: 3px solid currentColor;
                padding-left: 8px;
            }
            #proxyInfoModal .pim-row {
                display: flex;
                justify-content: space-between;
                gap: 10px;
                padding: 5px 0;
                border-bottom: 1px solid #dde1e8;
            }
            #proxyInfoModal .pim-row:last-child { border-bottom: none; }
            #proxyInfoModal .pim-label { font-size: 15px; color: #6b7280; }
            #proxyInfoModal .pim-value { font-weight: 600; color: #1a1a2e; text-align: right; }
            #proxyInfoModal .pim-desc {
                margin: 3px 0 6px;
                font-size: 13px;
                color: #9ca3af;
                line-height: 1.5;
            }
            #proxyInfoModal .pim-row--rbl {
                align-items: center;
                gap: 16px;
            }
            #proxyInfoModal .pim-row--rbl .pim-label {
                color: #5b6472;
                font-weight: 500;
            }
            #proxyInfoModal .pim-rbl-inline-btn {
                flex: 0 0 auto;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                min-height: 46px;
                padding: 8px 14px;
                border-radius: 14px;
                border: 2px solid #2f6fb1;
                background: linear-gradient(180deg, #fafdff 0%, #eef6ff 100%);
                color: #2f6fb1;
                font-family: 'Ubuntu', sans-serif;
                font-size: 13px;
                font-weight: 700;
                cursor: pointer;
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 20px rgba(37, 99, 235, 0.08);
                transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
            }
            #proxyInfoModal .pim-rbl-inline-btn:hover {
                transform: translateY(-1px);
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 14px 24px rgba(37, 99, 235, 0.12);
                border-color: #1e5fa5;
                background: linear-gradient(180deg, #ffffff 0%, #e9f3ff 100%);
            }
            #proxyInfoModal .pim-rbl-inline-btn__icon {
                width: 18px;
                height: 18px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                flex: 0 0 auto;
            }
            #proxyInfoModal .pim-rbl-inline-btn__icon svg {
                width: 100%;
                height: 100%;
                display: block;
            }
            #proxyInfoModal .pim-rbl-inline-btn__text {
                display: block;
                max-width: 112px;
                line-height: 1.05;
                text-align: left;
                white-space: normal;
            }
            /* Outbound IP block (pim-section-full) */
            #proxyInfoModal .pim-section-full .pim-row {
                background: #ffffff;
                border-radius: 10px;
                border: 1px solid #d5dde8;
                padding: 8px 12px;
            }
            #proxyInfoModal .pim-section-full .pim-label { color: #00897B; font-weight: 600; }
            #proxyInfoModal .pim-section-full .pim-value { color: #00695C; }
            #proxyRblOverlay {
                display: none;
                position: fixed;
                inset: 0;
                z-index: 100001;
                background: rgba(15, 23, 42, 0.38);
                backdrop-filter: blur(4px);
            }
            #proxyRblOverlay.active {
                display: block;
            }
            #proxyRblModal {
                display: none;
                position: fixed;
                z-index: 100002;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: min(430px, calc(100vw - 28px));
                max-height: calc(100vh - 48px);
                overflow: hidden auto;
                border-radius: 20px;
                background: #f8fafc;
                border: 1px solid rgba(148, 163, 184, 0.28);
                box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
            }
            #proxyRblModal.active {
                display: block;
            }
            #proxyRblModal .prbl-top {
                padding: 18px 20px 14px;
                background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
                color: #ffffff;
            }
            #proxyRblModal .prbl-toprow {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 12px;
                margin-bottom: 10px;
            }
            #proxyRblModal .prbl-title {
                font-size: 18px;
                font-weight: 700;
            }
            #proxyRblModal .prbl-close {
                border: 0;
                background: transparent;
                color: rgba(255, 255, 255, 0.82);
                font-size: 28px;
                line-height: 1;
                cursor: pointer;
                transition: transform 0.2s ease, color 0.2s ease;
            }
            #proxyRblModal .prbl-close:hover {
                color: #ffffff;
                transform: rotate(90deg);
            }
            #proxyRblModal .prbl-subtitle,
            #proxyRblModal .prbl-caption,
            #proxyRblModal .prbl-summary {
                font-size: 13px;
                line-height: 1.5;
            }
            #proxyRblModal .prbl-caption {
                opacity: 0.86;
                margin-top: 4px;
            }
            #proxyRblModal .prbl-summary {
                display: inline-flex;
                align-items: center;
                gap: 6px;
                margin-top: 10px;
                padding: 5px 10px;
                border-radius: 999px;
                font-weight: 700;
                letter-spacing: 0.01em;
                background: rgba(255, 255, 255, 0.16);
                color: #ffffff;
            }
            #proxyRblModal .prbl-summary.is-pending {
                background: rgba(255, 255, 255, 0.16);
                color: #eff6ff;
            }
            #proxyRblModal .prbl-summary.is-danger {
                background: rgba(239, 68, 68, 0.18);
                color: #fee2e2;
            }
            #proxyRblModal .prbl-summary.is-safe {
                background: rgba(34, 197, 94, 0.18);
                color: #dcfce7;
            }
            #proxyRblModal .prbl-grid {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
                padding: 14px;
            }
            #proxyRblModal .prbl-row {
                display: grid;
                grid-template-columns: minmax(0, 1fr) auto;
                align-items: center;
                gap: 14px;
                padding: 10px 12px;
                border-radius: 12px;
                background: #ffffff;
                border: 1px solid #e2e8f0;
                box-shadow: 0 8px 16px rgba(148, 163, 184, 0.1);
            }
            #proxyRblModal .prbl-row-name {
                color: #0f172a;
                font-size: 13px;
                font-weight: 600;
                word-break: break-word;
            }
            #proxyRblModal .prbl-row-status {
                width: 22px;
                height: 22px;
                border-radius: 999px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                font-size: 13px;
                font-weight: 800;
            }
            #proxyRblModal .prbl-row-status.safe {
                color: #15803d;
                background: rgba(34, 197, 94, 0.12);
            }
            #proxyRblModal .prbl-row-status.danger {
                color: #dc2626;
                background: rgba(239, 68, 68, 0.12);
            }
            #proxyRblModal .prbl-row-status.pending {
                color: #64748b;
                background: rgba(148, 163, 184, 0.14);
            }
            .cell-info-trigger { cursor: pointer; }

            @media (max-width: 600px) {
                #proxyInfoModal {
                    top: 0;
                    left: 0;
                    transform: none;
                    width: 100%;
                    max-width: 100%;
                    max-height: 100%;
                    height: 100%;
                    border-radius: 0;
                    border: none;
                }
                #proxyInfoModal .pim-top {
                    border-radius: 0;
                }
                #proxyInfoModal .pim-body {
                    grid-template-columns: 1fr;
                }
                #proxyInfoModal .pim-section-full {
                    grid-column: 1;
                }
                #proxyInfoModal .pim-copy-block {
                    gap: 12px;
                    padding: 14px;
                }
                #proxyInfoModal .pim-copy-ip {
                    font-size: 22px;
                }
                #proxyInfoModal .pim-copy-btn {
                    width: 54px;
                    height: 54px;
                    border-radius: 14px;
                }
                #proxyInfoModal .pim-row--rbl {
                    align-items: flex-start;
                }
                #proxyInfoModal .pim-rbl-inline-btn {
                    padding-left: 12px;
                    padding-right: 12px;
                }
                #proxyInfoModal .pim-rbl-inline-btn__text {
                    max-width: 92px;
                }
                #proxyRblModal {
                    top: 0;
                    left: 0;
                    transform: none;
                    width: 100vw;
                    max-width: 100vw;
                    max-height: 100vh;
                    height: 100vh;
                    border-radius: 0;
                }
                #proxyRblModal .prbl-grid {
                    grid-template-columns: 1fr;
                }
            }

            /* Стили для флагов (используем спрайты) */
            .flag {
                width: 16px;
                height: 11px;
                background: url('/img/flags.png') no-repeat;
                display: inline-block;
            }

            .flag-ru { background-position: 0 0; }
            .flag-us { background-position: -16px 0; }
            .flag-uk { background-position: -32px 0; }
            .flag-fr { background-position: -48px 0; }

            .proxy-address-cell .cell-content {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 2px;
            }

            .country-cell .cell-content {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 0;
                white-space: normal;
                line-height: 1.05;
            }

            .country-cell .country-primary {
                display: flex;
                align-items: center;
                gap: 4px;
                min-width: 0;
            }

            .proxy-country-link {
                text-decoration: none;
                color: inherit;
            }

            .proxy-country-link:hover .country-name {
                text-decoration: underline;
                text-decoration-color: rgba(16, 37, 58, 0.3);
                text-underline-offset: 2px;
            }

            .country-cell .flag {
                flex: 0 0 auto;
                width: 16px;
                height: 11px;
                margin-right: 0; /* spacing handled by .country-primary gap */
                display: inline-block;
            }

            .country-cell .country-name {
                display: inline-block;
                white-space: nowrap;
                vertical-align: middle;
            }

            .country-cell .city-name {
                display: block;
                margin-top: 0;
                line-height: 1.05;
            }

            .proxy-address-line {
                display: flex;
                align-items: center;
                gap: 7px;
                min-width: 0;
                white-space: nowrap;
            }

            .proxy-address-type-line {
                display: block;
                line-height: 1;
            }

            .proxy-address-cell .copy-ip,
            .proxy-address-cell .proxy-address-text {
                position: relative;
                display: inline-flex;
                align-items: center;
                max-width: 100%;
                padding: 0 16px 0 0;
                color: #10253a;
                font-size: 0.95rem;
                font-weight: 700;
                line-height: 1.1;
                word-break: break-word;
            }

            .proxy-address-cell .copy-ip {
                cursor: pointer;
                transition: color 0.18s ease;
            }

            .proxy-address-cell .copy-ip::after {
                content: '';
                position: absolute;
                right: 0;
                top: 50%;
                width: 10px;
                height: 10px;
                border: 1.4px solid #8ea0b3;
                border-radius: 3px;
                transform: translateY(-50%);
                box-shadow: -3px -3px 0 0 rgba(142, 160, 179, 0.55);
                opacity: 0.7;
                transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
            }

            .proxy-address-cell .copy-ip:hover {
                color: #0b63ce;
            }

            .proxy-address-cell .copy-ip:hover::after {
                opacity: 1;
                border-color: #0b63ce;
                box-shadow: -3px -3px 0 0 rgba(11, 99, 206, 0.55);
            }

            .proxy-address-cell .copy-ip.copied {
                color: #157347;
            }

            .proxy-address-cell .copy-ip.copied::after {
                border-color: #157347;
                box-shadow: -3px -3px 0 0 rgba(21, 115, 71, 0.48);
                opacity: 1;
            }

            .proxy-inline-types {
                display: inline-flex;
                align-items: center;
                gap: 10px;
                min-width: 0;
            }

            .proxy-inline-type {
                display: inline-flex;
                align-items: center;
                gap: 5px;
                font-size: 0.95rem;
                font-weight: 700;
                letter-spacing: 0.02em;
                white-space: nowrap;
                line-height: 1.05;
                text-decoration: none;
                color: inherit;
                cursor: pointer;
            }

            .proxy-inline-type-dot {
                width: 6px;
                height: 6px;
                border-radius: 999px;
                background: currentColor;
                flex: 0 0 6px;
            }

            .proxy-inline-type--http { color: #1976d2; }
            .proxy-inline-type--https { color: #0b8457; }
            .proxy-inline-type--socks,
            .proxy-inline-type--socks5 { color: #6a1b9a; }
            .proxy-inline-type--socks4 { color: #d08a0f; }

            .proxy-inline-type:hover {
                filter: brightness(0.92) saturate(1.08);
            }

            .proxy-inline-type:focus-visible,
            .proxy-country-link:focus-visible,
            .proxy-anon-link:focus-visible,
            .access-denied-message .purchase-link:focus-visible,
            .access-denied-message .access-login-link:focus-visible {
                outline: 2px solid rgba(255, 255, 255, 0.82);
                outline-offset: 3px;
            }

            .real-ip {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 16px;
                height: 16px;
                padding: 0;
                border-radius: 999px;
                border: 1px solid #d7e1ea;
                background: #f4f7fa;
                color: #7b8ea2;
                font-size: 10px;
                font-weight: 700;
                cursor: help;
                transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
                flex: 0 0 16px;
            }

            .real-ip:hover {
                background: #edf3f8;
                border-color: #c2d1dd;
                color: #47627b;
            }

            /* Адаптивность */
            @media (max-width: 768px) {
                .proxy-table th,
                .proxy-table td {
                    padding: 8px;
                    font-size: 14px;
                }

                .proxy-table-container {
                    padding: 10px;
                }

                .table-wrapper {
                    border-radius: 16px;
                }

                .proxy-ping-bar {
                    width: 66px;
                }

                .proxy-address-line {
                    gap: 6px;
                }

                .proxy-inline-type {
                    font-size: 0.95rem;
                }
            }

            @media (max-width: 480px) {
                .proxy-table th,
                .proxy-table td {
                    font-size: 12px;
                    padding: 6px;
                }

                .proxy-table-head-static,
                .proxy-table-sort {
                    padding: 10px 8px;
                }
            }

            .copy-ip::before {
                content: attr(data-copy-hint);
                position: absolute;
                bottom: calc(100% + 8px);
                left: 50%;
                transform: translateX(-50%);
                background-color: rgba(16, 24, 40, 0.92);
                color: #fff;
                padding: 6px 9px;
                border-radius: 8px;
                font-size: 0.8em;
                white-space: nowrap;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.3s ease, transform 0.3s ease;
            }

            .copy-ip:hover::before {
                opacity: 1;
                transform: translateX(-50%) translateY(-5px);
            }

            .copy-ip.copied::before {
                content: attr(data-copied-hint);
                background-color: #157347;
            }
            .access-denied-message {
                position: absolute;
                inset: 0;
                z-index: 4;
                display: none;
                align-items: center;
                justify-content: center;
                padding: 24px;
                pointer-events: none;
            }

            .access-denied-message .message-content {
                pointer-events: auto;
                width: min(560px, 100%);
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 14px;
                padding: 24px 24px 22px;
                border-radius: 24px;
                color: #ffffff;
                background:
                    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 34%),
                    linear-gradient(135deg, rgba(18, 34, 66, 0.96), rgba(92, 28, 55, 0.92));
                border: 1px solid rgba(255, 255, 255, 0.14);
                box-shadow: 0 28px 70px rgba(10, 16, 27, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14);
                text-align: left;
                animation: fadeIn 0.35s ease;
            }

            .access-denied-eyebrow {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                padding: 7px 12px;
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.12);
                color: rgba(255, 255, 255, 0.92);
                font-size: 12px;
                font-weight: 700;
                letter-spacing: 0.08em;
                text-transform: uppercase;
            }

            .access-denied-icon {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 24px;
                height: 24px;
                border-radius: 999px;
                background: rgba(255, 255, 255, 0.14);
            }

            .access-denied-title {
                margin: 0;
                font-size: clamp(24px, 3.4vw, 30px);
                line-height: 1.08;
                font-weight: 800;
                letter-spacing: -0.02em;
            }

            .access-denied-text {
                margin: 0;
                font-size: 15px;
                line-height: 1.55;
                color: rgba(255, 255, 255, 0.84);
                max-width: 48ch;
            }

            .access-denied-actions {
                display: flex;
                align-items: center;
                gap: 12px;
                flex-wrap: wrap;
                margin-top: 2px;
            }

            .access-denied-message .purchase-link,
            .access-denied-message .access-login-link {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 48px;
                padding: 0 18px;
                border-radius: 14px;
                border: none;
                font-size: 14px;
                font-weight: 700;
                text-decoration: none;
                cursor: pointer;
                transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
            }

            .access-denied-message .purchase-link {
                background: linear-gradient(135deg, #ffffff, #f2d7e1);
                color: #172540;
                box-shadow: 0 14px 34px rgba(8, 14, 27, 0.22);
            }

            .access-denied-message .purchase-link:hover {
                transform: translateY(-1px);
                box-shadow: 0 18px 42px rgba(8, 14, 27, 0.28);
            }

            .access-denied-message .access-login-link {
                background: rgba(255, 255, 255, 0.08);
                color: rgba(255, 255, 255, 0.92);
                border: 1px solid rgba(255, 255, 255, 0.16);
                box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
            }

            .access-denied-message .access-login-link:hover {
                transform: translateY(-1px);
                background: rgba(255, 255, 255, 0.12);
            }

            @media (max-width: 640px) {
                .access-denied-message {
                    padding: 16px;
                }

                .access-denied-message .message-content {
                    padding: 20px 18px 18px;
                    border-radius: 20px;
                }

                .access-denied-actions {
                    width: 100%;
                }

                .access-denied-message .purchase-link,
                .access-denied-message .access-login-link {
                    width: 100%;
                }
            }
            .pagination {
                display: inline-flex;
                justify-content: center;
                align-items: center;
                gap: 10px;
                flex-wrap: wrap;
                margin-top: 22px;
                padding: 10px 14px;
                border: 1px solid #dfe7ef;
                border-radius: 18px;
                background: #ffffff;
                box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
            }

            .pagination button {
                min-width: 42px;
                height: 42px;
                padding: 0 14px;
                border: 1px solid #cfdbe6;
                background: #f8fbff;
                color: #24415d;
                cursor: pointer;
                border-radius: 12px;
                transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
                font-size: 0.96rem;
                font-weight: 800;
            }

            .pagination button:disabled,
            .pagination button.login-required-control {
                background: #f3f6f9;
                color: #9aa8b6;
                border-color: #dde5ec;
                cursor: not-allowed;
                box-shadow: none;
            }

            .pagination button:not(:disabled):not(.login-required-control):hover {
                background: #eef5fb;
                border-color: #b5c9dc;
                box-shadow: 0 8px 18px rgba(16, 37, 58, 0.08);
            }

            .pagination span {
                font-size: 0.96rem;
                font-weight: 700;
                color: #28425c;
            }

            .pagination #pageNumbers {
                display: inline-flex;
                align-items: center;
                gap: 8px;
                flex-wrap: wrap;
                justify-content: center;
            }

            .pagination .page-number {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 40px;
                height: 40px;
                padding: 0 12px;
                margin: 0;
                border: 1px solid #d7e1ea;
                border-radius: 12px;
                cursor: pointer;
                transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
                background: #f9fbfd;
            }

            .pagination .page-number:not(.login-required-control):hover {
                background: #eef5fb;
                border-color: #b9ccde;
            }

            .pagination .page-number.active {
                background: linear-gradient(180deg, #29435c 0%, #1d3046 100%);
                color: white;
                border-color: #1d3046;
                box-shadow: 0 10px 18px rgba(29, 48, 70, 0.22);
            }

            .pagination .page-number.disabled,
            .pagination .page-number.login-required-control {
                color: #9aa8b6;
                background: #f4f6f8;
                border-color: #dde5ec;
                cursor: not-allowed;
            }

            .pagination.is-compact {
                flex-wrap: nowrap;
                gap: 8px;
                padding: 8px 10px;
            }

            .pagination.is-compact #pageNumbers {
                min-width: 0;
            }

            .pagination-mobile-indicator {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 76px;
                height: 40px;
                padding: 0 10px;
                border: 1px solid #d7e1ea;
                border-radius: 12px;
                background: #f9fbfd;
                color: #24415d;
                font-size: 0.9rem;
                font-weight: 800;
                white-space: nowrap;
            }

            @media (max-width: 640px) {
                .pagination {
                    gap: 8px;
                    padding: 8px 10px;
                }

                .pagination button {
                    min-width: 38px;
                    height: 38px;
                    padding: 0 10px;
                }

                .pagination-mobile-indicator {
                    min-width: 72px;
                    height: 38px;
                    font-size: 0.86rem;
                }
            }
            .page-number[disabled] {
        pointer-events: none;
        opacity: 0.5;
        cursor: not-allowed;
    }

/* hide the old pseudo tooltip so it doesn't conflict */
        .real-ip::after { display: none !important; }

        .real-ip-tooltip {
            position: fixed;
            z-index: 2147483647;
            background: rgba(16, 24, 40, 0.94);
            color: #fff;
            padding: 7px 10px;
            border-radius: 8px;
            font-size: 0.8em;
            line-height: 1.2;
            white-space: normal;
            max-width: 180px;
            min-width: 140px;
            width: auto;
            box-sizing: border-box;
            word-break: break-word;
            box-shadow: 0 10px 24px rgba(0,0,0,0.22);
            opacity: 0;
            transform: translateY(3px);
            transition: opacity 0.12s ease, transform 0.12s ease;
            pointer-events: none;
            text-align: left;
        }
        .real-ip-tooltip.show {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        /* Стили для модального окна */
        .modal {
            display: none; /* По умолчанию скрыто */
            position: fixed; /* Фиксированное положение */
            z-index: 1000; /* Высокий уровень z-index, чтобы окно всегда было сверху */
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
        }

        /* Стили для содержимого модального окна */
        .modal-content3 {
            position: fixed; /* Фиксированное положение */
            top: 5%; /* Отступ сверху */
            left: 50%;
            transform: translateX(-50%); /* Центрирование по горизонтали */
            background-color: #fefefe;
            padding: 20px;
            border: 1px solid #888;
            width: 100%;
            max-width: 600px;
            border-radius: 10px; /* Закругленные края */
            animation: fadeIn 0.5s; /* Анимация появления */
        }

        /* Стили для кнопки закрытия */
        .modal-content3 .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }

        .modal-content3 .close:hover,
        .modal-content3 .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

        /* Анимация появления */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* Стили для кнопок */
        .modal-content3 button {
            padding: 10px;
            border: none;
            background-color: #007bff;
            color: white;
            cursor: pointer;
            border-radius: 5px;
            margin-top: 10px;
        }

        .modal-content3 button:hover {
            background-color: #0056b3;
        }

/* Стили для контейнера с текстом условий использования */
    #termsContainer {
        max-height: 400px; /* Ограничение высоты */
        overflow-y: auto;  /* Вертикальная прокрутка */
        padding-right: 5px; /* Отступ справа для скроллбара */
    }

    /* Стили для скроллбара */
    #termsContainer::-webkit-scrollbar {
        width: 10px; /* Ширина скроллбара */
        height: 20px;
    }

    #termsContainer::-webkit-scrollbar-thumb {
        background-color: #ccc; /* Цвет ползунка */
        border-radius: 8px; /* Закругление ползунка */
    }

    #termsContainer::-webkit-scrollbar-thumb:hover {
        background-color: #999; /* Цвет ползунка при наведении */
    }

    /* Стили для модального окна */
    .modal {
        display: none; /* По умолчанию скрыто */
        position: fixed; /* Фиксированное положение */
        z-index: 1000; /* Высокий уровень z-index, чтобы окно всегда было сверху */
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
    }

    /* Стили для содержимого модального окна */
    .modal-content2 {
        position: fixed;
        top: 5%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(30, 30, 60, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 15px 10px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        width: 100%;
        max-width: 700px;
        max-height: 85vh;
        overflow-y: auto;
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
                    0 0 80px rgba(100, 150, 255, 0.15);
        animation: fadeIn 0.5s;
        color: #ffffff;
        z-index: 10000;
    }

    .modal-content2 h2 {
        color: #ffffff;
        text-align: center;
        margin-bottom: 25px;
        font-size: 28px;
        font-weight: 600;
    }

    .modal-content2 #termsContainer {
        background: #ffffff; /* white background inside the terms container */
        color: #333; /* dark text for readability */
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 20px;
        max-height: 400px;
        align-items: flex-start;
        flex-wrap: wrap;
        border: 1px solid #ddd;
    }

    /* Стили для кнопки закрытия */
    .modal-content2 .close {
        color: rgba(255, 255, 255, 0.6);
        float: right;
        font-size: 32px;
        font-weight: bold;
        line-height: 20px;
        transition: all 0.3s ease;
    }

    .modal-content2 .close:hover,
    .modal-content2 .close:focus {
        color: #ffffff;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        text-decoration: none;
        cursor: pointer;
        transform: rotate(90deg);
    }

    /* Анимация появления */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    /* Стили для кнопок */
    .modal-content2 button {
        padding: 14px 32px;
        border: none;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        cursor: pointer;
        border-radius: 12px;
        margin-top: 15px;
        margin-right: 10px;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

    .modal-content2 button:disabled {
        background: rgba(255, 255, 255, 0.1);
        cursor: not-allowed;
        box-shadow: none;
        opacity: 0.5;
    }

    .modal-content2 button:not(:disabled):hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }

    .modal-content2 label {
        display: flex;
        align-items: center;
        margin-top: 20px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .modal-content2 label:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .modal-content2 label input[type="checkbox"] {
        margin-right: 12px;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .modal-content2 label strong {
        color: #ffffff;
        font-size: 15px;
    }

.nav-count{color:#007bff;font-weight:700}

/* Restore legacy modal look for purchase flow exactly and isolate from generic modal overrides. */
#payModal.modal,
#paymentModal.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s;
}

#payModal .modal-content2 {
    position: fixed;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 60, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 80px rgba(100, 150, 255, 0.15);
    animation: fadeIn 0.5s;
    color: #ffffff;
    z-index: 10000;
}

#payModal .modal-content2 .close {
    color: rgba(255, 255, 255, 0.6);
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 20px;
    transition: all 0.3s ease;
}

#payModal .modal-content2 .close:hover,
#payModal .modal-content2 .close:focus {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    text-decoration: none;
    cursor: pointer;
    transform: rotate(90deg);
}

#paymentModal .modal-content {
    background-color: rgba(30, 30, 60, 0.95);
    backdrop-filter: blur(20px);
    margin: 3% auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(100, 150, 255, 0.15);
    animation: fadeIn 0.5s;
    position: relative;
    color: #ffffff;
}

#paymentModal .close {
    color: rgba(255, 255, 255, 0.6);
    float: right;
    font-size: 32px;
    font-weight: bold;
    transition: all 0.3s;
    position: absolute;
    top: 18px;
    right: 22px;
    cursor: pointer;
}

#paymentModal .close:hover,
#paymentModal .close:focus {
    color: white;
    text-decoration: none;
    transform: rotate(90deg);
}

#paymentModal .payment-options {
    margin-bottom: 20px;
}

#paymentModal .payment-option {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
    gap: 15px;
}

#paymentModal .payment-option button {
    flex: 1;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 18px 24px;
    text-align: left;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#paymentModal .payment-option button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#paymentModal .payment-option button:hover::before {
    left: 100%;
}

#paymentModal .payment-option button:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.45);
    transform: translateY(-3px) scale(1.02);
}

#paymentModal .payment-option button:active {
    transform: translateY(-1px) scale(0.98);
}

#paymentModal .payment-option .payment-title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

#paymentModal .payment-option .payment-methods {
    font-size: 14px;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

#paymentModal .payment-option .payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#paymentModal .payment-option:hover .payment-badge {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    #paymentModal .payment-option {
        flex-direction: column;
        gap: 12px;
    }

    #paymentModal .payment-option button {
        width: 100%;
        text-align: center;
    }

    #paymentModal .payment-option .payment-methods,
    #paymentModal .payment-option .payment-title {
        justify-content: center;
    }

    #payModal .modal-content2 {
        top: 3%;
        max-height: 92vh;
        padding: 14px 10px;
    }
}

/* Improved design for purchase blocks (copied from css/index.css) */
#purchaseFlexContainer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1020px; /* increased so cards can be wider */
    margin: 0px auto;
    padding: 12px;
    align-items: stretch;
    box-sizing: border-box;
    padding-top: 0px;
}

#purchaseFlexContainer .flex-item {
    height: 320px;
    padding: 28px 24px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 12px 36px rgba(3, 12, 30, 0.14);
    transition: transform 0.35s cubic-bezier(.2,.9,.3,1), box-shadow 0.35s ease;
    border: 1px solid rgba(255,255,255,0.035);
    background-blend-mode: overlay;
}

#purchaseFlexContainer .flex-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.08));
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

#purchaseFlexContainer .flex-item h3 {
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0 0 8px 0;
    z-index: 3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(0,0,0,0.45);
    position: relative;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0,0,0,0.06);
    border-radius: 8px;
}

/* Decorative horizontal lines flanking the duration (7 дней / 30 дней) */
#purchaseFlexContainer .flex-item h3::before,
#purchaseFlexContainer .flex-item h3::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: 86px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.18));
    z-index: 2;
}

#purchaseFlexContainer .flex-item h3::before {
    right: calc(100% + 14px);
}

#purchaseFlexContainer .flex-item h3::after {
    left: calc(100% + 14px);
}

@media (max-width: 600px) {
    #purchaseFlexContainer .flex-item h3::before,
    #purchaseFlexContainer .flex-item h3::after { display: none; }
    #purchaseFlexContainer { grid-template-columns: 1fr; max-width: 100%; padding: 0px; margin: 0px auto; }
}

#purchaseFlexContainer .flex-item p {
    z-index: 2;
    color: rgba(255,255,255,0.96);
    margin: 0;
    font-weight: 600;
}

#purchaseFlexContainer .flex-item .price {
    font-size: 2rem;
    font-weight: 900;
    margin-top: 8px;
    z-index: 2;
    text-shadow: 0 8px 26px rgba(0,0,0,0.48);
}

#purchaseFlexContainer .flex-item .price-per-day {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.96);
    z-index: 2;
    display: block;
    margin-top: 8px;
}

#purchaseFlexContainer .flex-item button {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    color: #072033;
    padding: 10px 18px;
    border-radius: 12px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    z-index: 3;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

#purchaseFlexContainer .flex-item button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}

#purchaseFlexContainer .flex-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(2,6,23,0.22);
}

/* Decorative large background letters (visible but de-emphasized) */
#purchaseFlexContainer .flex-item .letter {
    position: absolute;
    right: 12px;
    top: -14px;
    font-size: 7.5rem;
    z-index: 0;
    font-weight: 900;
    transform: rotate(-10deg);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: -6px;
    text-shadow: none;
    -webkit-filter: brightness(1.3);
    filter: brightness(1.3);
}

#purchaseFlexContainer .flex-item.red .letter,
#purchaseFlexContainer .flex-item.green .letter,
#purchaseFlexContainer .flex-item.orange .letter,
#purchaseFlexContainer .flex-item.blue .letter {
    color: rgba(255,255,255,0.44);
}

@media (max-width: 1024px) {
    #purchaseFlexContainer { grid-template-columns: repeat(2, 1fr); }
    #purchaseFlexContainer .flex-item { height: 300px; }
    #purchaseFlexContainer .flex-item .letter { font-size: 6rem; right: 8px; top: -10px; }
}

@media (max-width: 600px) {
    #purchaseFlexContainer { grid-template-columns: 1fr; }
    #purchaseFlexContainer .flex-item { height: auto; min-height: 220px; padding: 18px; }
    #purchaseFlexContainer .flex-item h3 { font-size: 1.05rem; }
    #purchaseFlexContainer .flex-item .price { font-size: 1.6rem; }
}

.purchase-flex-highlight {
    animation: purchaseFlexPulse 1.5s ease;
}

#purchaseFlexContainer .flex-item .letter.letter-flash {
    animation: goodLetterFlash 1.16s ease-out 1;
}

@keyframes purchaseFlexPulse {
    0% { transform: translateY(0); box-shadow: 0 0 0 rgba(242, 153, 74, 0); }
    35% { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(242, 153, 74, 0.28); }
    70% { transform: translateY(0); box-shadow: 0 12px 28px rgba(28, 146, 210, 0.2); }
    100% { transform: translateY(0); box-shadow: 0 0 0 rgba(242, 153, 74, 0); }
}

@keyframes goodLetterFlash {
    0% {
        opacity: 0.4;
        filter: brightness(1);
        text-shadow: 0 0 0 rgba(255,255,255,0);
    }
    35% {
        opacity: 0.92;
        filter: brightness(1.35);
        text-shadow: 0 0 18px rgba(255,255,255,0.75), 0 0 34px rgba(255,255,255,0.4);
    }
    100% {
        opacity: 0.4;
        filter: brightness(1);
        text-shadow: 0 0 0 rgba(255,255,255,0);
    }
}