/*
 * Auto-split from css/proxy-list.css
 * See _split_proxy_list_css.php for the splitter logic.
 * Do not edit by hand — re-run the splitter after editing the master file.
 */

:root {
    --c-white: #ffffff;
    --c-primary: #1d75d6;
    --c-accent: #0e87e6;
    --c-teal: #0f9bb4;
    --c-heading: #17314b;
    --c-heading-deep: #153149;
    --c-text-dark: #17345f;
    --c-text-base: #111827;
    --c-text-darkest: #0f172a;
    --c-text-muted: #4e5c72;
    --c-text-secondary: #4b5563;
    --c-text-subtle: #475569;
    --c-primary-dark: #1d4ed8;
    --c-primary-deep: #14538e;
    --c-link: #0b63ce;
    --c-success: #2e7d32;
    --c-bg-disabled: #f0f0f0;
    --c-bg-light: #f8fafc;
    --c-border-light: #d7e1eb;
    --c-border: #e5e7eb;
    --c-border-pale: #e2e8f0;
    --grad-primary: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 58%, var(--c-teal) 100%);
    --grad-login: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --grad-login-hover: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-focus: 0 0 0 4px rgba(29, 117, 214, 0.16);
    --radius-pill: 999px;
}

/* 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:var(--c-accent); 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 .gp-modal-title {
                color: #ffffff;
                font-size: 24px;
                font-weight: 600;
                line-height: 1.3;
                margin: 0 0 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: var(--c-bg-disabled); }

.lang-dropdown-item.active { background: #e8f4fd; color: var(--c-accent); }

.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: 400; 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 var(--c-bg-disabled); white-space: nowrap; }

.nav-more-item:last-child { border-bottom: none; }

.nav-more-item:hover { background: #f5f5f5; color: var(--c-accent); }

.nav-more-item.is-active,
            .nav-more-item.is-active:hover { background: var(--c-border-pale); 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 var(--c-bg-disabled); }

.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 var(--c-bg-disabled); }

.nav-more-ip-btn:hover { background: #f5f5f5; color: var(--c-accent); }

html,
 body { overflow-x: clip; }

.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 var(--c-bg-disabled); padding: 9px 16px; color: #444; font-size: 13px; text-align: left; cursor: pointer; font-family: inherit; }

.nav-hamburger-auth-btn:hover { background: #f5f5f5; color: var(--c-accent); }

#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: var(--c-bg-light);
                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: var(--c-accent); }

.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: var(--c-bg-light);
                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: var(--c-accent); }

.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) {
    .nav-more-menu { left: 0 !important; right: auto !important; transform: none !important; }
    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; }
    .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,
        .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;
            left: 50%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
        }

.ip-button .tooltip { bottom: 125%; }

.ip-button .tooltip-bottom { top: 100%; }

.ip-button:hover .tooltip,
        .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,
        .menu-btn-styled,
        .logout-btn-styled {
            background: var(--grad-login) !important;
            color: #ffffff !important;
            border: none;
            box-shadow: 0 4px 15px rgba(102,126,234,0.4);
            padding: 8px 20px !important;
            font-weight: 600;
            background-size: 160% 160%;
            background-position: 0 50%;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, background-position 0.28s ease, filter 0.2s ease;
        }

.login-btn-styled:hover,
        .menu-btn-styled:hover,
        .logout-btn-styled:hover {
            background: var(--grad-login-hover) !important;
            box-shadow: 0 6px 20px rgba(102,126,234,0.5);
            background-position: 100% 50%;
            filter: brightness(1.04) saturate(1.05);
            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);
        }

.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;
        }

.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%, var(--c-bg-light) 100%);
        border: 1px solid var(--c-border);
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
        text-align: left;
        font-family: 'Roboto', sans-serif;
    }

.country-proxy-intro h1,
    .country-proxy-intro h2 {
        margin: 0 0 12px;
        color: var(--c-text-base);
        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: var(--c-text-secondary);
        font-size: 15px;
        font-weight: 500;
        line-height: 1.7;
    }

.country-proxy-intro .country-intro-link:not(.country-intro-tag),
    .route-details .country-intro-link:not(.country-intro-tag) {
        color: var(--c-link);
        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,
    .route-details .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 var(--c-border);
        border-radius: 14px;
        background: #ffffff;
    }

.country-proxy-intro--free {
        margin-bottom: 16px;
    }

.free-proxy-faq .country-intro-link {
        color: var(--c-link);
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
        transition: color 0.18s ease;
    }

.free-proxy-faq .country-intro-link:hover {
        color: #084c9e;
    }

.free-proxy-faq,
    .route-details {
        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);
    }

.route-details {
        margin-top: 18px;
    }

.free-proxy-faq h2,
    .route-details h2 {
        margin: 0 0 14px;
        color: #1b2a44;
        font-size: 24px;
        line-height: 1.3;
        padding-bottom: 4px;
    }

.free-proxy-faq h2::after,
    .route-details h2::after {
        content: '';
        display: block;
        width: 72px;
        height: 3px;
        margin-top: 10px;
        border-radius: var(--radius-pill);
        background: linear-gradient(90deg, var(--c-accent), #79baf3);
    }

.free-proxy-faq-list {
        display: grid;
        gap: 12px;
    }

.free-proxy-faq-item,
    .route-detail-block {
        padding: 14px 16px;
        background: #f7faff;
        border: 1px solid #dce8f8;
        border-radius: 10px;
    }

.free-proxy-faq-item summary {
        margin: 0;
        color: var(--c-text-dark);
        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: var(--c-text-muted);
        font-size: 15px;
        line-height: 1.65;
    }

.free-proxy-faq-item p + p {
        margin-top: 10px;
    }

.free-proxy-faq-item .country-features-list {
        margin: 10px 0 0;
        padding-left: 20px;
        color: var(--c-text-muted);
        font-size: 15px;
        line-height: 1.65;
        list-style: disc;
    }

.free-proxy-faq-item .country-features-list li + li {
        margin-top: 6px;
    }

/* 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: var(--c-text-dark);
        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: 28px;
        max-width: 28px;
        height: 28px;
        margin: 2px 0 0;
        border-radius: 0;
        opacity: 0.9;
        object-fit: contain;
    }

.demo-explainer-card-title {
        grid-column: 2;
        margin: 0;
        font-size: 16px;
        color: var(--c-text-dark);
        font-weight: 700;
        line-height: 1.35;
    }

.demo-explainer-card p {
        grid-column: 2;
        margin: 0;
        font-size: 14px;
        color: var(--c-text-muted);
        line-height: 1.6;
    }

.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,
    .route-intent-card__eyebrow {
        display: inline-flex;
        align-items: center;
        min-height: 26px;
        padding: 0 10px;
        border-radius: var(--radius-pill);
        background: rgba(37, 99, 235, 0.1);
        color: var(--c-primary-dark);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

.route-intent-card__eyebrow {
        align-self: flex-start;
        min-height: 24px;
    }

.paid-solution-panel h2 {
        margin: 12px 0 10px;
        color: var(--c-text-dark);
        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: var(--radius-pill);
        background: var(--c-primary-dark);
        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,
    .paid-solution-panel__button:focus,
    .paid-solution-panel__button--free:visited,
    .paid-solution-panel__button--free:focus {
        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--free {
        background: #f97316;
        box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
    }

.paid-solution-panel__button--free:hover {
        background: #ea580c;
        color: #ffffff;
        text-decoration: none;
        box-shadow: 0 14px 28px rgba(234, 88, 12, 0.26);
    }

.route-detail-block {
        margin-bottom: 12px;
    }

.route-detail-block h3 {
        margin: 0 0 8px;
        color: var(--c-text-dark);
        font-size: 17px;
        line-height: 1.35;
    }

.route-detail-content {
        color: var(--c-text-muted);
        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: var(--c-text-muted);
        font-size: 15px;
        line-height: 1.8;
    }

.route-related-links a {
        color: var(--c-link);
        text-decoration: none;
    }

.route-related-links a:hover {
        text-decoration: underline;
    }

.route-intent-nav {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto 16px;
        padding: 18px;
        background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
        border: 1px solid #d8e4f2;
        border-radius: 14px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    }

.route-intent-nav__header h2 {
        margin: 0;
        color: var(--c-text-dark);
        font-size: 24px;
        line-height: 1.25;
    }

.route-intent-nav__header p {
        margin: 10px 0 0;
        color: var(--c-text-muted);
        font-size: 15px;
        line-height: 1.7;
    }

.route-intent-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 16px;
    }

.route-intent-card {
        display: flex;
        flex-direction: column;
        min-height: 100%;
        padding: 16px;
        border: 1px solid #d9e5f4;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.94);
    }

.route-intent-card h3 {
        margin: 12px 0 8px;
        color: var(--c-text-dark);
        font-size: 18px;
        line-height: 1.35;
    }

.route-intent-card p {
        margin: 0;
        color: var(--c-text-muted);
        font-size: 15px;
        line-height: 1.65;
        flex: 1 1 auto;
    }

.route-intent-card__meta {
        margin-top: 12px;
        color: #1e3a5f;
        font-size: 13px;
        font-weight: 700;
    }

.route-intent-card__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        min-height: 40px;
        margin-top: 14px;
        padding: 0 16px;
        border-radius: var(--radius-pill);
        background: var(--c-text-dark);
        color: #ffffff;
        text-decoration: none;
        font-weight: 700;
        transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
        box-shadow: 0 10px 24px rgba(23, 52, 95, 0.18);
    }

.route-intent-card__link:hover {
        background: #102746;
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
    }

.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,
    #freeCountryProxyCard,
    #freeCountryShowcase,
    #freeCountrySeoSection,
    #freeCountriesSection,
    #freeProxyFaq,
    #purchaseFlexContainer {
        scroll-margin-top: calc(var(--proxy-filter-sticky-top, var(--gp-top-bar-height, 80px)) + 18px);
    }

@media (max-width: 768px) {
    .proxy-route-breadcrumbs {
            gap: 6px;
            padding: 10px 12px;
            font-size: 13px;
        }
    .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-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;
        }
    .free-proxy-faq-item .country-features-list {
            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 {
            padding: 16px 14px;
            border-radius: 14px;
        }
    .paid-solution-panel h2 {
            font-size: 20px;
        }
    .paid-solution-panel__benefits {
            grid-template-columns: 1fr;
        }
    .paid-solution-panel__actions {
            flex-direction: column;
            align-items: stretch;
        }
    .paid-solution-panel__button {
            width: 100%;
        }
    .route-details {
            padding: 14px 14px 6px;
            margin: 14px auto 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-intent-nav {
            padding: 14px;
            margin: 0 auto 12px;
        }
    .route-intent-nav__header h2 {
            font-size: 20px;
        }
    .route-intent-nav__header p,
        .route-intent-card p {
            font-size: 14px;
            line-height: 1.6;
        }
    .route-intent-grid {
            grid-template-columns: 1fr;
            gap: 12px;
        }
    .route-intent-card {
            padding: 14px;
        }
    .route-intent-card h3 {
            font-size: 16px;
        }
    .route-related-nav h3 {
            font-size: 15px;
        }
    .route-related-links {
            font-size: 14px;
        }
}

/* Keep two columns on most phones; tighten spacing for small screens */

/* For very narrow devices, collapse to one column */

/* РЎС‚РёР»Рё РґР»СЏ 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;
        height: 220px;
    }

.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: responsive viewport-based heights for phones */

.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; }

 .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); }

#loginModal #loginSubmit,
                    .gp-login-btn-submit {
                        position: relative;
                        background: linear-gradient(135deg, #1e88e5 0%, #00acc1 100%) !important;
                        color: #ffffff !important;
                        background-size: 160% 160%;
                        background-position: 0 50%;
                        transition: transform 0.24s ease, box-shadow 0.24s ease, background-position 0.3s ease, filter 0.24s ease;
                        will-change: transform, box-shadow, background-position;
                    }

#loginModal #loginSubmit:hover,
                    .gp-login-btn-submit:hover {
                        background-position: 100% 50%;
                        filter: brightness(1.05) saturate(1.08);
                    }

.gp-login-btn-cancel {
                        transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
                        will-change: transform, box-shadow;
                    }

.gp-login-btn-cancel:hover {
                        transform: translateY(-2px);
                        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
                    }

#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 в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

.country-intro-facts-row--tags {
    display: grid;
    grid-template-columns: minmax(120px, 150px) 1fr;
    align-items: start;
    gap: 12px;
    margin: 0;
}

.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;
}

.country-intro-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-pill);
    background: #f3f4f6;
    color: var(--c-text-secondary);
    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: var(--c-primary-dark);
    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: var(--c-primary-dark);
    font-weight: 700;
}

#fcpYourIpFlag:not([class*="flag-"]) {
    display: none;
}

@media (max-width: 640px) {
    .country-intro-facts-row--tags {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .country-intro-facts-label {
        min-height: 0;
    }
}

.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-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-collapse {
            border: 1px solid #cbd7e4;
            background: rgba(255, 255, 255, 0.8);
            color: #1f3850;
            border-radius: var(--radius-pill);
            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 var(--c-border-light);
            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 var(--c-border-light);
            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: var(--c-primary);
            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: var(--radius-pill);
            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: var(--radius-pill);
            border: 1px solid var(--c-border-light);
            background: #ffffff;
            color: var(--c-heading-deep);
            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: var(--radius-pill);
            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: var(--c-heading);
            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: var(--c-heading-deep);
            font-size: 1rem;
            line-height: 1.25;
        }

.mobile-geo-picker__close,
        .proxy-filter-drawer-close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            padding: 0;
            border: 1px solid var(--c-border-light);
            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: var(--c-heading-deep);
        }

.mobile-geo-picker__search:focus {
            outline: none;
            border-color: #7bb0e7;
            box-shadow: var(--shadow-focus);
        }

.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: var(--radius-pill);
            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: var(--radius-pill);
            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: var(--radius-pill);
            border: 1px solid var(--c-border-light);
            background: #ffffff;
            color: var(--c-heading);
            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: var(--c-heading);
            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: var(--c-primary);
            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: var(--grad-primary);
            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 var(--c-border-light);
            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: var(--c-heading);
            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-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: var(--radius-pill);
            border: 1px solid #cfdae7;
            background: #f8fbfe;
            color: var(--c-heading);
            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);
        }

.filter-chip input:checked + .filter-chip-text {
            background: var(--grad-primary);
            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: var(--grad-primary);
            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: var(--c-bg-disabled);
            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: var(--c-heading);
            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: var(--shadow-focus);
        }

.slider-control {
            margin-top: 4px;
        }

.slider-control input[type="range"] {
            width: 100%;
            accent-color: var(--c-primary);
        }

.slider-control input[type="range"]::-webkit-slider-runnable-track {
            height: 6px;
            border-radius: var(--radius-pill);
            background: linear-gradient(90deg, #d6e5f6, #bdd8ef);
        }

.slider-control input[type="range"]::-moz-range-track {
            height: 6px;
            border-radius: var(--radius-pill);
            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: var(--radius-pill);
            background: #ebf3fb;
        }

.country-mode-btn {
            background: transparent;
            border: none;
            border-radius: var(--radius-pill);
            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: var(--grad-primary);
            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: var(--c-heading);
            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: var(--shadow-focus);
        }

.proxy-geo-picker-trigger.login-required-control {
            cursor: not-allowed;
            background: var(--c-bg-disabled);
            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: var(--radius-pill);
            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: var(--radius-pill);
            background: #e9f2ff;
            color: var(--c-heading);
            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: var(--radius-pill);
            flex-shrink: 0;
        }

.proxy-geo-picker-trigger__tag-remove:hover {
            background: rgba(23, 49, 75, 0.08);
            color: var(--c-heading);
        }

.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: var(--radius-pill);
            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-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: var(--radius-pill);
            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: var(--shadow-focus);
            outline: none;
        }

.proxy-api-row input.login-required-control {
            cursor: not-allowed;
            background: var(--c-bg-disabled);
            color: #6c7b8b;
            box-shadow: none;
        }

.proxy-api-row button {
            min-width: 148px;
            padding: 14px 18px;
            border: none;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--c-primary), #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) {
    .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;
            }
    .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-summary-row {
                padding-left: 14px;
                padding-right: 14px;
            }
    .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: var(--c-heading-deep);
                font-size: 0.98rem;
                line-height: 1.25;
            }
    .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__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 {
                padding: 14px 14px 10px;
            }
    .mobile-geo-picker__selected {
                max-height: 104px;
            }
    .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__option {
                padding: 10px 14px;
            }
    .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: var(--grad-primary);
                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;
        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;
        }

.disabled {
            pointer-events: none;
            opacity: 0.5;
        }

input:disabled,
 
        textarea:disabled,
 
        select:disabled {
            cursor: not-allowed; /* Р—Р°РїСЂРµС‰Р°СЋС‰РёР№ РєСѓСЂСЃРѕСЂ */
            background-color: var(--c-bg-disabled);
        }

.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,
    .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: 'Roboto', sans-serif;
                margin: 0;
                color: #333;
                background: url("/img/bg-lightl-881.webp") repeat #f4f4f4;
                padding: 0 20px 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: var(--radius-pill);
        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: var(--radius-pill);
        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, var(--c-primary), #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: var(--c-heading);
    }

.export-settings-panel-kicker {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 26px;
        padding: 0 10px;
        border-radius: var(--radius-pill);
        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: var(--c-heading);
    }

.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: var(--radius-pill);
        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: var(--c-primary);
        border-color: var(--c-primary);
    }

.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: var(--c-heading);
    }

.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: var(--c-heading);
    }

.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,
    .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: 'Roboto', 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: 186px; }

.proxy-table th:nth-child(2) { width: 136px; }

.proxy-table th:nth-child(3) { width: 152px; }

.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 th:nth-child(3) .proxy-table-head-label {
                white-space: normal;
                line-height: 1.14;
                text-align: center;
            }

.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: var(--c-link);
                border-bottom: 1px dashed rgba(11, 99, 206, 0.45);
            }

.proxy-anon-cell-stack {
                display: inline-flex;
                flex-direction: column;
                align-items: center;
                gap: 6px;
            }

.proxy-service-strip {
                display: inline-flex;
                align-items: center;
                gap: 4px;
                flex-wrap: wrap;
            }

.proxy-service-chip {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-width: 22px;
                height: 20px;
                padding: 0 6px;
                border-radius: var(--radius-pill);
                border: 1px solid #d6deea;
                background: #eef3f8;
                color: #6b7280;
                text-decoration: none;
                box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
                transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
            }

.proxy-service-chip__label {
                font-size: 10px;
                font-weight: 800;
                line-height: 1;
                letter-spacing: 0.02em;
            }

.proxy-service-chip.is-active {
                color: #ffffff;
                border-color: transparent;
            }

.proxy-service-chip.is-inactive {
                opacity: 0.55;
            }

.proxy-service-chip:hover {
                text-decoration: none;
            }

.proxy-service-chip,
            .proxy-service-chip__label {
                cursor: help;
            }

.proxy-service-chip[href] {
                cursor: pointer;
            }

.proxy-service-chip--smtp.is-active { background: linear-gradient(135deg, #2563eb 0%, var(--c-primary-dark) 100%); }

.proxy-service-chip--telegram.is-active { background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%); }

.proxy-service-chip--avito.is-active { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }

.proxy-service-chip--google.is-active { background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%); }

.proxy-service-chip--mail.is-active { background: linear-gradient(135deg, #0891b2 0%, #0f766e 100%); }

.proxy-service-strip--modal {
                justify-content: flex-end;
                max-width: 220px;
            }

.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: var(--radius-pill);
                background: #e1e8f0;
                overflow: hidden;
            }

.proxy-ping-bar span {
                display: block;
                height: 100%;
                border-radius: var(--radius-pill);
                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: 'Roboto', 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 */

@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); }

}

/* Copy block */

/* Outbound IP block (pim-section-full) */

#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: var(--c-bg-light);
                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, var(--c-text-darkest) 0%, var(--c-primary-dark) 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: var(--radius-pill);
                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 var(--c-border-pale);
                box-shadow: 0 8px 16px rgba(148, 163, 184, 0.1);
            }

#proxyRblModal .prbl-row-name {
                color: var(--c-text-darkest);
                font-size: 13px;
                font-weight: 600;
                word-break: break-word;
            }

#proxyRblModal .prbl-row-status {
                width: 22px;
                height: 22px;
                border-radius: var(--radius-pill);
                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) {
    #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.webp') 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;
            }

.proxy-address-cell .proxy-service-strip {
                margin-top: 3px;
            }

.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: var(--c-link);
            }

.proxy-address-cell .copy-ip:hover::after {
                opacity: 1;
                border-color: var(--c-link);
                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: var(--radius-pill);
                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: var(--radius-pill);
                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: var(--radius-pill);
                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: var(--radius-pill);
                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: none;
        }

/* РЎС‚РёР»Рё РґР»СЏ РјРѕРґР°Р»СЊРЅРѕРіРѕ РѕРєРЅР° */

.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;
        }

/* Стили для кнопок */

.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-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,
    .modal-content2 .gp-modal-title {
        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;
    }

.nav-count {color:#0067d4;font-weight:700}

/* 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,
#purchaseFlexContainer .flex-item .pricing-card-duration {
    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,
#purchaseFlexContainer .flex-item .pricing-card-duration::before,
#purchaseFlexContainer .flex-item .pricing-card-duration::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,
#purchaseFlexContainer .flex-item .pricing-card-duration::before {
    right: calc(100% + 14px);
}

#purchaseFlexContainer .flex-item h3::after,
#purchaseFlexContainer .flex-item .pricing-card-duration::after {
    left: calc(100% + 14px);
}

@media (max-width: 600px) {
    #purchaseFlexContainer .flex-item h3::before,
    #purchaseFlexContainer .flex-item h3::after,
    #purchaseFlexContainer .flex-item .pricing-card-duration::before,
    #purchaseFlexContainer .flex-item .pricing-card-duration::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,
    #purchaseFlexContainer .flex-item .pricing-card-duration { 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); }

}

/* ------------------------------------------------------------------
   Unified export row (TXT/JSON toggle + Open / Download / Settings)
   ------------------------------------------------------------------ */

.export-actions-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 6px 0 2px;
}

.export-filter-actions {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

@media (min-width: 769px) {
    .export-filter-actions {
        display: inline-flex;
    }
}

.proxy-filter-inline-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    padding: 0 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #1f6ec9, #174f94);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(23, 79, 148, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proxy-filter-inline-apply:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(23, 79, 148, 0.26);
}

.proxy-filter-inline-apply:focus-visible {
    outline: 2px solid rgba(29, 117, 214, 0.26);
    outline-offset: 2px;
}

.proxy-filter-inline-apply:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 640px) {
    .export-filter-actions {
        display: none !important;
    }
}

.export-format-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: #eef3f8;
    border: 1px solid #d7e1eb;
    gap: 2px;
    flex: 0 0 auto;
}

.export-format-btn {
    appearance: none;
    border: none;
    background: transparent;
    color: #3b5168;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 8px 18px;
    min-height: 38px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.export-format-btn:hover:not(.is-active):not(:disabled) {
    color: #17314b;
    background: rgba(255, 255, 255, 0.6);
}

.export-format-btn.is-active {
    background: #ffffff;
    color: var(--c-heading-deep);
    box-shadow: 0 6px 14px rgba(16, 40, 68, 0.12);
}

.export-format-btn:focus-visible {
    outline: 2px solid rgba(29, 117, 214, 0.4);
    outline-offset: 2px;
}

.export-format-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.export-format-btn-badge {
    display: inline-block;
    font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.export-action-group {
    display: inline-flex;
    align-items: stretch;
    gap: 8px;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.export-generic-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #cfd8e3;
    background: #ffffff;
    color: #1d3957;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.export-generic-btn:hover:not(:disabled) {
    background: #f4f9ff;
    border-color: #a9c4e3;
    box-shadow: 0 8px 18px rgba(18, 38, 60, 0.08);
}

.export-generic-btn:active:not(:disabled) {
    transform: translateY(1px);
}

.export-generic-btn:focus-visible {
    outline: 2px solid rgba(29, 117, 214, 0.4);
    outline-offset: 2px;
}

.export-generic-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.export-generic-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.export-generic-open {
    color: #0b63ce;
    border-color: #bcd2ec;
    background: #f4f9ff;
}

.export-generic-open:hover:not(:disabled) {
    background: #e6f1ff;
}

.export-generic-download {
    color: #ffffff;
    background: linear-gradient(135deg, #1e8f51, #27a867);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(30, 143, 81, 0.2);
}

.export-generic-download:hover:not(:disabled) {
    background: linear-gradient(135deg, #1a7f48, #24965b);
    border-color: transparent;
    box-shadow: 0 14px 26px rgba(30, 143, 81, 0.28);
}

.export-generic-settings .settings-toggle-arrow {
    margin-left: 2px;
    font-size: 0.7rem;
    line-height: 1;
    color: #5e7790;
    transition: transform 0.2s ease;
}

.export-generic-settings.is-open {
    background: #eef6ff;
    border-color: #a9c4e3;
    color: var(--c-primary-deep);
}

.export-generic-settings.is-open .settings-toggle-arrow {
    color: var(--c-primary-deep);
}

@media (max-width: 640px) {
    .export-actions-row {
        gap: 10px;
    }
    .export-format-toggle {
        width: 100%;
        justify-content: stretch;
    }
    .export-format-btn {
        flex: 1 1 0;
        padding: 8px 12px;
    }
    .export-action-group {
        width: 100%;
    }
    .export-generic-btn {
        flex: 1 1 calc(33% - 6px);
        padding: 0 10px;
        font-size: 0.88rem;
    }
}

@media (max-width: 420px) {
    .export-generic-btn {
        flex: 1 1 100%;
    }
}

/* ------------------------------------------------------------------
   Desktop modal presentation of the filter drawer (>= 769px)
   ------------------------------------------------------------------ */

@media (min-width: 769px) {
    body.proxy-filter-drawer-open::before {
        content: '';
        position: fixed;
        inset: 0;
        z-index: 1198;
        background: rgba(15, 23, 42, 0.42);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        animation: proxyFilterBackdropIn 0.18s ease;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: min(1120px, calc(100vw - 40px));
        max-width: 1120px;
        max-height: min(92vh, 860px);
        height: auto;
        margin: 0;
        z-index: 1200;
        display: flex;
        flex-direction: column;
        border: 1px solid rgba(215, 225, 235, 0.9);
        border-radius: 22px;
        box-shadow: 0 40px 80px rgba(16, 40, 68, 0.28);
        background: #ffffff;
        overflow: hidden;
        opacity: 1;
        animation: proxyFilterModalIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .proxy-filter-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 14px 22px;
        border-bottom: 1px solid #e7eef5;
        background: linear-gradient(180deg, #f7fbff, #ffffff);
        flex: 0 0 auto;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .proxy-filter-drawer-title-wrap {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .proxy-filter-drawer-eyebrow {
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #7390aa;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .proxy-filter-drawer-title {
        color: var(--c-heading-deep);
        font-size: 1.02rem;
        line-height: 1.25;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .proxy-filter-drawer-scroll {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .filter-section {
        padding-top: 4px;
    }
    /* Make grid a bit denser to avoid overall page scroll in the modal. */
    body.proxy-filter-drawer-open .proxy-filter-collapsible .filters {
        padding: 12px 16px 10px;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .filter-group {
        margin-bottom: 10px;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .filter-group-head {
        margin-bottom: 6px;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .result-delivery-panel {
        padding: 6px 18px 16px;
    }
    body.proxy-filter-drawer-open .proxy-filter-collapsible .proxy-filter-divider {
        margin: 4px 18px 8px;
    }
}

@keyframes proxyFilterBackdropIn {
    from { opacity: 0; }

    to { opacity: 1; }

}

@keyframes proxyFilterModalIn {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)) scale(0.985); }

    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }

}

/* ============================================================
   Export settings sub-modal overlay (inside filter card)
   ============================================================ */

.export-stg-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(15, 23, 42, 0.50);
    backdrop-filter: blur(3px);
    animation: exportStgOverlayIn 0.16s ease;
}

.export-stg-overlay[hidden],
.export-stg-pane[hidden] {
    display: none !important;
}

@keyframes exportStgOverlayIn {
    from { opacity: 0; }

    to { opacity: 1; }

}

.export-stg-card {
    position: relative;
    width: min(720px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24), 0 4px 16px rgba(15, 23, 42, 0.10);
    overflow: hidden;
    animation: exportStgCardIn 0.20s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes exportStgCardIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }

    to { opacity: 1; transform: scale(1) translateY(0); }

}

.export-stg-card-head {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    padding: 14px 14px 0;
    flex-shrink: 0;
    border-bottom: 1.5px solid #e2e8ef;
}

.export-stg-tabs {
    display: flex;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.export-stg-tab {
    -webkit-appearance: none;
    appearance: none;
    border: 1.5px solid transparent;
    border-bottom: none;
    background: none;
    cursor: pointer;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 10px 10px 0 0;
    transition: background 0.14s, color 0.14s, border-color 0.14s;
    position: relative;
    bottom: -1.5px;
    white-space: nowrap;
}

.export-stg-tab:hover {
    background: #f1f5f9;
    color: #334155;
}

.export-stg-tab.is-active {
    background: #f8fafc;
    color: #1e3a5f;
    border-color: #e2e8ef;
    border-bottom-color: #f8fafc;
}

.export-stg-close {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #64748b;
    transition: background 0.12s, color 0.12s;
    flex-shrink: 0;
    margin-left: auto;
    margin-bottom: 2px;
}

.export-stg-close:hover {
    background: #f1f5f9;
    color: #1e3a5f;
}

.export-stg-card-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    background: #f8fafc;
}

/* Strip redundant card styling from panels inside the modal */

.export-stg-card-body .export-settings-panel {
    padding: 4px 0 0;
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
    animation: none;
}

.export-stg-card-body .export-settings-panel-txt,
.export-stg-card-body .export-settings-panel-json {
    border-color: transparent;
}

/* On mobile the scroll container clips position:absolute — use fixed instead */

@media (max-width: 768px) {
    .export-stg-overlay {
        position: fixed;
        inset: 0;
        z-index: 1210;
        padding: 16px;
    }
    .export-stg-card {
        max-height: calc(100dvh - 32px);
    }
}

