* { margin: 0; padding: 0; box-sizing: border-box; }


.dl-ticker {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.dl-header {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.dl-header-inner {
    max-width: 100%;
}

.dl-navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

.dl-navbar-inner {
    max-width: 100%;
}


.dl-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== БЕГУЩАЯ СТРОКА ===== */
.dl-ticker {
    background: linear-gradient(90deg, #12122e, #0e0e24);
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    padding: 6px 0;
    width: 100%;
}

.dl-ticker-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dl-ticker-date {
    color: #a78bfa;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.25);
    padding: 3px 10px;
    border-radius: 4px;
    flex-shrink: 0;
}

.dl-ticker-content {
    overflow: hidden;
    flex: 1;
}

.dl-ticker-text {
    display: inline-block;
    color: #ccc;
    font-size: 12px;
    animation: tickerScroll 35s linear infinite;
    white-space: nowrap;
}

@keyframes tickerScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===== ШАПКА ===== */
.dl-header {
    background: linear-gradient(180deg, #10102a 0%, #0c0c20 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
}

.dl-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dl-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.dl-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.dl-logo-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.dl-logo-title span { color: #a855f7; }

.dl-logo-subtitle {
    font-size: 9px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dl-header-banner {
    
    background: rgba(255,255,255,0.03);
    
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 11px;
    overflow: hidden;
    flex-shrink: 0;
}

.dl-header-banner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== НАВИГАЦИЯ ===== */
.dl-navbar {
    background: rgba(12, 12, 32, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.dl-navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
}

.dl-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.dl-menu-item { position: relative; }

.dl-menu-link {
    display: block;
    padding: 0 14px;
    height: 46px;
    line-height: 46px;
    color: #bbb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.dl-menu-link:hover {
    color: #fff;
    background: rgba(168, 85, 247, 0.12);
}

/* Выпадающее меню */
.dl-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a36;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    min-width: 240px;
    padding: 8px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    z-index: 1001;
}

.dl-menu-item:hover .dl-dropdown { display: block; }

.dl-dropdown-link {
    display: block;
    padding: 9px 16px;
    color: #bbb;
    text-decoration: none;
    font-size: 12px;
    transition: background 0.2s, color 0.2s;
}

.dl-dropdown-link:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #fff;
}

.dl-dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 6px 0;
}

.dl-dropdown-header {
    padding: 6px 16px;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dl-sub-dropdown {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #1a1a36;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    min-width: 220px;
    padding: 8px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.dl-dropdown-item { position: relative; }
.dl-dropdown-item:hover .dl-sub-dropdown { display: block; }

/* Правая часть навбара */
.dl-navbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.dl-nav-icon {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.dl-nav-icon:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #fff;
    border-color: rgba(168, 85, 247, 0.3);
}

.dl-nav-icon img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.dl-badge, .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #0c0c20;
}

/* Кнопки авторизации */
.dl-auth-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
}

.dl-auth-btn-login {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
}

.dl-auth-btn-login:hover {
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    transform: translateY(-1px);
}

.dl-auth-btn-register {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #ccc;
}

.dl-auth-btn-register:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.dl-auth-btn-restore {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #999;
}

.dl-auth-btn-restore:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}



/* Баланс */
.dl-balance-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #3a3a4e;
    padding: 7px 12px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    width: auto; /* Чтобы кнопка не растягивалась */
}

.dl-balance-btn:hover { 
    background: #4a4a5e; 
}

.dl-balance-btn i { 
    color: #ffd700; 
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ (Скрываем цифры) ===== */
@media (max-width: 768px) {
    /* Скрываем текст с цифрами */
    .dl-balance-btn span {
        display: none !important;
    }

    /* Делаем кнопку квадратной, чтобы иконка была по центру */
    .dl-balance-btn {
        padding: 7px !important; /* Убираем лишние отступы справа и слева */
        width: auto !important;
        justify-content: center; /* Центрируем иконку */
    }
}



/* Профиль */
.dl-user-profile { position: relative; }

.dl-user-avatar-nav {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    overflow: hidden;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.dl-user-avatar-nav img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1px;
    background: #1a1a36;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    min-width: 220px;
    padding: 8px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    z-index: 1002;
}

.dl-user-profile:hover .dl-user-dropdown { display: block; }

.dl-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    color: #bbb;
    text-decoration: none;
    font-size: 12px;
    transition: background 0.2s;
}

.dl-user-dropdown a:hover {
    background: rgba(168, 85, 247, 0.15);
    color: #fff;
}

.dl-user-dropdown a i {
    width: 16px;
    text-align: center;
    color: #a855f7;
}

/* Поиск в навбаре */
.dl-search-wrap { position: relative; }

.dl-search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #1a1a36;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    z-index: 1002;
    min-width: 280px;
}

.dl-search-dropdown.active { display: block; }

.dl-search-form { display: flex; gap: 6px; }

.dl-search-form-input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.dl-search-form-input:focus { border-color: #a855f7; }

.dl-search-form-btn {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border: none;
    color: #fff;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

/* Язык */
.dl-lang-switcher { position: relative; }

.dl-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1px;
    background: #1a1a36;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
    z-index: 1002;
}

.dl-lang-switcher:hover .dl-lang-dropdown { display: block; }

.dl-lang-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.dl-lang-grid a img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    transition: transform 0.2s;
}

.dl-lang-grid a:hover img { transform: scale(1.2); }

/* ===== БОЛЬШОЙ ПОИСК (ИЗОЛЯЦИЯ ОТ BOOTSTRAP) ===== */

/* Сброс конфликтов box-sizing */
.dl-search-big,
.dl-search-big * {
    box-sizing: border-box !important;
}

.dl-search-big {
    width: 100%; /* Гарантируем растяжение по ширине */
    max-width: 1280px;
    margin: 20px auto;
    padding: 0 15px;
}

.dl-search-big-box {
    display: flex !important;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.08);
    width: 100%;
}

.dl-search-big-input {
    flex: 1 1 auto !important; /* Устойчивый Flex-размер */
    min-width: 0 !important;   /* КРИТИЧНО: предотвращает сплющивание/вылезание в Flexbox */
    width: 100%;
    height: auto;
    margin: 0 !important;      /* Сброс отступов Bootstrap */
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #fff !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    font-size: 15px;
    outline: none !important;
    transition: border-color 0.2s;
}

.dl-search-big-input:focus {
    border-color: rgba(168, 85, 247, 0.4) !important;
    box-shadow: none !important; /* Убирает синее свечение Bootstrap */
}

.dl-search-big-input::placeholder {
    color: #666;
}

.dl-search-big-btn {
    flex-shrink: 0 !important; /* Запрещаем кнопке сжиматься */
    margin: 0 !important;      /* Сброс отступов Bootstrap */
    background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap !important;
    transition: all 0.2s;
    line-height: normal;
}

.dl-search-big-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4) !important;
}


/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.dl-breadcrumb {
    max-width: 1280px;
    margin: 0 auto 15px;
    padding: 0 15px;
}

.dl-breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.dl-breadcrumb li { color: #888; }

.dl-breadcrumb li a {
    color: #a855f7;
    text-decoration: none;
    transition: color 0.2s;
}

.dl-breadcrumb li a:hover { color: #fff; }

.dl-breadcrumb li.active { color: #ccc; }

.dl-breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: #555;
}

/* ===== ЗАГОЛОВОК СТРАНИЦЫ ===== */
.dl-page-header {
    max-width: 1250px;
    margin: 0 auto 25px;
    padding: 22px 25px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

.dl-page-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.dl-page-header small {
    font-size: 13px;
    color: #888;
}

/* ===== БАННЕР ===== */
.dl-top-banner {
    max-width: 1280px;
    margin: 15px auto;
    padding: 0 15px;
}

.dl-top-banner-inner {
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    color: #444;
    font-size: 11px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== КОНТЕНТ ===== */
.dl-main-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px 40px;
    min-height: 60vh;
}

/* ===== МОБИЛЬНАЯ ШАПКА ===== */
.dl-mobile-header {
    display: none;
    background: linear-gradient(180deg, #10102a 0%, #0c0c20 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.dl-mobile-header .dl-logo { flex: 1; }

.dl-mobile-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
}

.dl-icon-btn {
    position: relative;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.dl-icon-btn:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #fff;
}


.dl-hamburger {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.dl-hamburger span {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.dl-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.dl-hamburger.active span:nth-child(2) { opacity: 0; }
.dl-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Оверлей */
.dl-mobile-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1001;
    backdrop-filter: blur(4px);
}
.dl-mobile-overlay.active { display: block; }

/* Мобильное меню */
.dl-mobile-menu {
    position: fixed;
    top: 0; left: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background: #1a1a36;
    border-right: 1px solid rgba(168, 85, 247, 0.15);
    z-index: 1002;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding-bottom: 20px;
}
.dl-mobile-menu.active { left: 0; }

.dl-mobile-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dl-mobile-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(168, 85, 247, 0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dl-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.dl-user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dl-mobile-profile-info { flex: 1; }
.dl-mobile-profile-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.dl-mobile-profile-balance { font-size: 12px; color: #2ecc71; }

.dl-mobile-quick-actions {
    padding: 10px 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dl-mobile-quick-actions a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: #bbb;
    text-decoration: none;
    font-size: 11px;
    transition: all 0.2s;
    position: relative;
}

.dl-mobile-quick-actions a:hover { background: rgba(168, 85, 247, 0.15); color: #fff; }
.dl-mobile-quick-actions a i { color: #a855f7; font-size: 12px; }

.dl-mobile-profile-actions {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dl-mobile-btn-login, .dl-mobile-btn-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.dl-mobile-btn-login {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
}

.dl-mobile-btn-register {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
}

.dl-mobile-nav { padding: 10px 0; }

.dl-mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,0.06); }

.dl-mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.dl-mobile-nav-link:hover { background: rgba(168, 85, 247, 0.1); }
.dl-mobile-nav-link span { display: flex; align-items: center; }

.dl-mobile-submenu { display: none; background: rgba(0,0,0,0.2); padding: 5px 0; }
.dl-mobile-submenu.active { display: block; }

.dl-mobile-submenu-header {
    padding: 8px 15px 4px;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.dl-mobile-submenu-link {
    display: block;
    padding: 8px 15px 8px 30px;
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}

.dl-mobile-submenu-link:hover {
    background: rgba(168, 85, 247, 0.1);
    color: #fff;
    padding-left: 35px;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal-box {
    background: #1a1a36;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-box-header h4 {
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-box-close {
    background: none;
    border: none;
    color: #888;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-box-close:hover { color: #fff; }

.modal-box-body { padding: 20px; }

.modal-box-body .form-group { margin-bottom: 15px; }

.modal-box-body label {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 6px;
}

.modal-box-body .form-control {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.modal-box-body .form-control:focus { border-color: #a855f7; }

.modal-box-footer {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.modal-box-footer .btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* ===== ФУТЕР ===== */
.dl-footer {
    background: #08081a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    text-align: center;
    color: #555;
    font-size: 12px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .dl-header-banner { display: none; }
    .dl-menu-link { padding: 0 10px; font-size: 12px; }
    .dl-auth-btn span { display: none; }
    .dl-auth-btn { padding: 7px 10px; }
}

@media (max-width: 768px) {
    .dl-header { display: none; }
    .dl-navbar { display: none; }
    .dl-mobile-header { display: flex; }
    .dl-ticker-inner { max-width: 100%; }
}











.panel-defaultt,
.panell-default,
.panel-defaults {
    background: #2a2a3e !important;
    
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Заголовок панели */
.panel-heading {
    background: #1e1e2e !important;
    border-bottom: 1px solid #3a3a4e !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 15px 20px !important;
}


.panel-title {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    height: auto !important;
    padding: 0 !important;
  
    background: none !important;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Тело панели */


	.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
    background-color: #d3e4e5;
    border-color: #43a2a9;
}
	/* Иконки форм */
		.has-feedback label ~ .form-control-feedback {
        top: 40px!important;
}
.has-feedback .form-control-feedback {
    top: 10px!important;
}
.checker {
    margin-top: -11px!important;
    padding-right: 2px!important;

}

.btn > i {
    float: left;
    margin: 5px 2px 8px 7px;
}
	.main-menu .navbar-brand {

    width: 220px;

}

.collapse.in {
    display: contents;
}



#top-menu .logo {
    padding: 15px 0;
    max-width: 160px;
}



.main-menu .navbar-inverse {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   
}
#top-menu {
    background-color: #e6ebf2;
    padding-bottom: 125px;
    margin-bottom: 30px;
        margin-top: -5px;
        

}
#top-menu .logo {
    padding: 15px 0;
    max-width: 160px;
}

/* Шапка страниц без отступа */
.page-header {
    padding-bottom: 0px;
    margin: 0px;
    border-bottom: 0px;
    
}

/* Делаем у H3 голубой оттенок */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 400;
    line-height: 1.1;
}


#top-menu .top-menu-links > ul > li > a:focus {
    position: relative;
    padding: 15px;
    line-height: 26px;
    display: block;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    color: #94a4b4;
    font-size: 13px;
}

.product-thumb .product-name {
    
    margin-top: -0%;
}

@media (min-width: 768px) {
.navbar-nav {
    float: none;
    margin: 0;
}
}
/* Подсказки */
.alert-info {
   /* background: linear-gradient(to right, #ff9322, #ffeab6);
    color: #ffffff;*/
    background: linear-gradient(to right, #000, #f1f0f08c);
    color: #fff;
    padding: 10px 0px 10px 10px;
    margin-bottom: 25px;

    transition: .3s;

    border-radius: 25px;
    margin: 5px;

    box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, .15);

    font-weight: 500;
    text-shadow: 1px 2px 2px rgba(0,0,0,.2);
    font-size: 14px;
    font-family: Montserrat,sans-serif;
}
/* Полоски */
.module-title:before, .module-title:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 15%;
    height: 4px;
    position: relative;
    border-radius: 100px;
    box-shadow: 0px 5px 15px 0px rgba(0, 99, 235, 0.3);
    background: linear-gradient(to right, #ff9322, #ffeab6);
}
/* Цвет текста */
a {
    color: #31bd2f;
    text-decoration: none;
    font-weight: 500;
}
h6 {
    font-family: inherit;
    font-weight: 400;
    line-height: 1.1;
    color: #f7fb12;
}


/* Делаем у H3 голубой оттенок */
.page-header small {
    display: block;
    font-size: 11px;
    color: #d2d2d2;
    margin: 8px 0 0 0;
}
/* Убираем отступ у H3 текста */
.page-title h3 {
    padding: 0px;
    margin: 0px;
    font-weight: 400;
    line-height: 20px;
        color: #fff;
    text-shadow: 1px 2px 2px rgba(0,0,0,.2);
    font-weight: 600;
}
/* Убираем отступ у кнопок сверху */
.header-buttons {
    float: right;
    margin: 0px;
    z-index: 10;
}

/* Сохраняет высоту картинок */
.product-thumb .hovereffect {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
        border-radius: 15px 15px 0px 0px;
    text-align: center;
    cursor: default;
}
.navbar-inverse .navbar-nav > li > a {
    color: #ffffff!important;
    font-weight: 700;
    font-family: Montserrat,sans-serif;
    padding-bottom: 20px;
    font-size: 1em;
}
.navbar-inverse .navbar-nav > li > a:hover {
    color: #fc8b56
    font-weight: 700;
    font-family: Montserrat,sans-serif;
    padding-bottom: 20px;
    font-size: 1em;
}



/* Высплывашка онлайна - высота */
.popup-messages {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 500px;
    overflow-y: auto;
}
.dropdown-menu .popup-header:after {
    content: '';
    position: absolute;
    top: -7px;
    left: 13px;
    display: inline-block;
    border-right: 6px solid rgba(0, 0, 0, 0);
    border-bottom: 6px solid #32434D;
    border-left: 6px solid rgba(0, 0, 0, 0);
    border:0px;
}
.main-menu .navbar-inverse .dropdown-menu {
 
    background-color: #ffffff !important;
    /*min-width: auto;*/
    right: 40;
    border-radius: 5px;
    box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.17);
    border: 1px solid #ddd;
}
/* Высплывашка онлайна - ширина */
.popup .popup-header {
    margin: -1px -1px 0 -1px;
    min-width: 300px;
   width: auto;
}
/* Высплывашка онлайна - цвет */
.popup-header {
   background: linear-gradient(to right, #ff5700, #ff454d);
    text-align: center;
    color: #fff;
    border-radius: 2px 2px 0 0;
    -webkit-border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
}

/* Отступ от Названий разделов */
.module-title {
    overflow: hidden;
    text-align: center;
    font-size: 26px;
    padding-top: 30px;
    width: 85%;
    margin: 0 auto 10px auto;
    font-weight: 500;
}
/* Отступ от скриншотов товаров */
.product-thumb .caption {
    padding-top: 0px;
}

/* Дроп меню */
.menu-design .navbar-inverse .menu-account .dropdown-menu li a, .menu-design .navbar-inverse .main-category .dropdown-menu li a {
    color: #717376;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    text-transform: none;
    font-family: Montserrat,sans-serif;
    margin: 0px 0px 0px 0px;
}

/* Размер блоков с товарами */
.product-thumb .caption {
    border-top: none;
    padding-top: 0px;
   
}
.product-thumb .product-price {
    display: block;
    padding: 6px 16px;
    bottom: 8px;
    /* left: 100%; */
    width: fit-content;
    border-radius: 10px 0px 0px 10px;
    color: #d9ff80;
    background: #8e8e8ee0;
    margin-top: -13px;
    /* margin-left: 70%; */
    min-width: fit-content;
    font-size: 15px;
    line-height: 14px;
    float: right;
    position: relative;
    text-align: left;
    /* right: auto; */
    font-weight: 600;
    box-shadow: 3px 3px 5px 0 rgba(70, 69, 69, 0.7);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.58);
}

.panel-icons-group .btn {
    float: left;
    margin-right: 0;
    /* margin-left: inherit; */
    margin-top: -3px;
    margin-left: -4px;
}
@media (min-width: 1200px)
/* Название блоков с товарами */
.product-thumb .product-name {
    min-height: 64px;
    z-index: 9999;
}

.breadcrumb > li a, .breadcrumb > .active {
    color: #fcfcfc;
}

.breadcrumb > li a, .breadcrumb > .active {
    text-shadow: 1px 2px 2px rgba(0,0,0,.2);
    font-weight: 200;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
}


/* Панель каталогов */
.breadcrumb-page-catalog {
    -webkit-font-smoothing: antialiased;
  
    background: linear-gradient(337deg, rgb(0 0 0 / 0%) 0%, #000 90%);
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: cover;
    box-sizing: border-box;
    border-radius: 25px;
    border: 2px solid #764ba2;
    box-shadow: 0px 2px 7px 0px #667eea;
}
/* Убираем отступ от раздела категорий в каталогах */
.panel-heading {
    padding: 0px;
    border-bottom: 0px;
    border-top-right-radius: 2px;
    border-top-left-radius: 2px;
}
/* Отступ со всех сторой у панелей */
.panel-body {
    padding: 20px;
}

/* Описание товаров */
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    color: inherit;
    font-size: 15px;
    font-weight: 600;
    height: 60px;
  padding: 8px 12px 12px 12px;
    text-align: center;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    font-family: Montserrat,sans-serif;
    font-size: 12px;
    color: #444444;
}

.btn {
  
    padding: 4px;
   
}

.product-thumb .rating {
    padding: 3px 0px 5px 5px !important;
    position: absolute;
    /* top: 10px; */
    right: 0px;
    /* width: 36px; */
    border-radius: 0px 0px 0px 25px;
    background: #d6d6d6d1;
    /* margin-top: 0px; */
    /* padding: 4px; */
}

/* Панель фишек */
.panell-default {
    border-color: #10477c;
    border-radius: 25px;
    padding-top: 0px;
   
    box-shadow: 0px 2px 7px 0px rgb(0 0 0 / 15%);
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

}
.header-buttons .well, .header-progress .well, .header-statistics .well, .header-search .well, .header-info-buttons .well, .header-select .well, .header-bar-stats .well {
    padding: 0;
    background: none;
    border: 0;
}
.breadcrumb i {
    font-size: 15px;
}
.btn-icon i {
    display: block;
    padding: 6px;
    margin: 0;
}


/* Панель фишек */
.panel-defaults {
    border-color: #10477c;
    border-radius: 25px;
    padding-top: 0px;
    padding-bottom: 20px;
    border: 2px solid #000;
    box-shadow: 0px 2px 7px 0px rgb(0 0 0 / 15%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

}
.header-buttons .well, .header-progress .well, .header-statistics .well, .header-search .well, .header-info-buttons .well, .header-select .well, .header-bar-stats .well {
    padding: 0;
    background: none;
    border: 0;
}
.breadcrumb i {
    font-size: 15px;
}
.btn-icon i {
    display: block;
    padding: 6px;
    margin: 0;
}
/* Рейтинг и цена */
.panel-icons-group {
    float: left;
    margin-left: 10px;
    
}
.alert-success {
    background-color: #1c98b187;
    border-color: #10c45c;
    color: #fff;
    border: 3px solid #09d8ea;
}
.alert {
   padding: 10px; 
    margin-bottom: 25px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 15px;
    transition: .3s;
    box-shadow: 0px 2px 7px 0px #1b1511;
}
/* Панель фишек */
.panell-defaultt {
    border-color: #10477c;
    border-radius: 25px;
    padding-top: 0px;
    
    box-shadow: 0px 2px 7px 0px rgb(0 0 0 / 15%);
    
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.header-buttons .well, .header-progress .well, .header-statistics .well, .header-search .well, .header-info-buttons .well, .header-select .well, .header-bar-stats .well {
    padding: 0;
    background: none;
    border: 0;
}
.breadcrumb i {
    font-size: 15px;
}
.btn-icon i {
    display: block;
    padding: 6px;
    margin: 0;
}
/* Панель поиска */
.home-page {
    flex-wrap: nowrap;
background: none;
    overflow: hidden;
    padding: 0px;
margin-top: -30px;
    margin-bottom: -50px;
    background-attachment: fixed!important;
    background-repeat: no-repeat!important;
    background-size: cover!important;
    width: 100%;
}
.home-page h5 {
    color: #ffffff;
    text-shadow: 1px 2px 2px rgba(0,0,0,.2);
    margin-top: 20px;
    font-weight: 400;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
}

/* Общая карточка */
.product-thumb {
    background: #2a2a3e !important;
    border: 2px solid #764ba2 !important;
    border-radius: 8px !important;
   
    min-height: 320px !important;
}

.product-thumb:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4) !important;
    border-color: #667eea !important;
}



/* Убираем нижний кусочек */
.product-thumb .caption,
.product-thumb .panel-body,
.product-thumb .well {
    display: none !important;
    padding: 0 !important;
    margin: 0 !important;
}



/* Контейнер изображения - растягиваем картинки */
.product-thumb .hovereffect,
.product-thumb .image {
    width: 100% !important;
    height: 220px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 6px 6px 0 0 !important;
    flex-shrink: 0 !important;
    display: block !important;
}
/* Картинка на весь контейнер - растягиваем даже маленькие */
.product-thumb .hovereffect img,
.product-thumb .image img {
  height: 220px !important;  
  
}


/* Оверлей */
.product-thumb .hovereffect .overlay {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: rgba(37, 37, 51, 0) !important;
    transition: all 0.4s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-thumb .hovereffect:hover .overlay {
    background: rgba(37, 37, 51, 0.6) !important;
}
/* Кнопка "Смотреть" - уменьшаем */
.product-thumb .hovereffect a.info {
    color: #fff !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    opacity: 0 !important;
    transition: all 0.3s ease !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1.2 !important;
}

.product-thumb .hovereffect:hover a.info {
    opacity: 1 !important;
}

/* Цена */
.product-thumb .product-price,
.product-thumb .product-price-block {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    background: rgba(0, 0, 0, 0.85) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    z-index: 10 !important;
}

/* Категория */
.product-thumb .category-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 10px 12px !important;
    text-align: center !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

.product-thumb .category-title a {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
}

/* Название товара - весь текст виден */
.product-thumb .product-name {
   
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

.product-thumb .product-name a {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: block !important;
    line-height: 1.4 !important;
    text-align: center !important;
 
    overflow: visible !important;
}

.product-thumb .product-name a:hover {
    color: #667eea !important;
}

/* ===== VIP КАРТОЧКИ - ОДИНАКОВЫЙ РАЗМЕР ===== */
.product-thumb.vip-card,
.product-thumb .panell-info {
    background: linear-gradient(135deg, #fb8e31 0%, #fffed3 100%) !important;
    border: 2px solid #ffef63 !important;
    border-radius: 8px !important;
    box-shadow: 0px 2px 7px 0px rgba(208, 150, 20, 0.79) !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  
}

.product-thumb.vip-card .product-name a {
    color: #333 !important;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.8) !important;
    text-align: center !important;
}

.product-thumb.vip-card .category-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Просмотры в VIP */
.product-thumb.vip-card .views-count,
.product-thumb.vip-card .panell-info {
    color: #444 !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 10px !important;
    font-size: 13px !important;
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.8) !important;
    display: block !important;
    width: 100% !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}


/* ===== ОБЫЧНЫЕ КАРТОЧКИ ===== */
.product-thumb.regular-card {
    background: #2a2a3e !important;
    border: 2px solid #764ba2 !important;
}

.product-thumb.regular-card .product-name a {
    color: #fff !important;
}

/* Просмотры в обычных */
.product-thumb.regular-card .views-count {
    color: #ccc !important;
    text-align: center !important;
    padding: 10px !important;
    font-size: 13px !important;
    border-top: 1px solid #3a3a4e !important;
    display: block !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}
/* Заголовки модулей */
.module-title {
    text-align: center;
    font-size: 24px;
    padding-top: 25px;
    margin: 0 auto 10px auto;
    font-weight: 500;
    color: #fff;
    width: 85%;
}

.module-title:before, .module-title:after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 15%;
    height: 3px;
    border-radius: 100px;
    background: linear-gradient(to right, #ff9322, #ffeab6);
}
/* Мини изображения товаров */
.img-responsive,.thumbnail  >  img {
    display: block;
    max-width: 100%;
    height: 15vh;
    width: 600px;
    object-fit: cover;
    object-position: top;
}


/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 767px) {
    .product-thumb,
    .product-thumb.vip-card {
        margin-bottom: 15px !important;
        border-radius: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 250px !important;
    }
    
    .product-thumb .hovereffect,
    .product-thumb .hovereffect img,
    .product-thumb.vip-card .hovereffect,
    .product-thumb.vip-card .hovereffect img {
        
        height: 160px !important;
    }
    
    .product-thumb .product-name,
    .product-thumb.vip-card .product-name {
        padding: 10px 8px !important;
        text-align: center !important;
    }
    
    .product-thumb .product-name a,
    .product-thumb.vip-card .product-name a {
        font-size: 13px !important;
        text-align: center !important;
    }
    
    .product-thumb .category-title,
    .product-thumb.vip-card .category-title {
        padding: 8px 10px !important;
    }
    
    .product-thumb .category-title a,
    .product-thumb.vip-card .category-title a {
        font-size: 11px !important;
    }
    
    .module-title {
        font-size: 18px !important;
        padding-top: 20px !important;
    }
    
    .module-title:before, .module-title:after {
        width: 10% !important;
    }
}

@media (max-width: 480px) {
    .product-thumb,
    .product-thumb.vip-card {
        min-height: 200px !important;
    }
    
    .product-thumb .hovereffect,
    .product-thumb .hovereffect img,
    .product-thumb.vip-card .hovereffect,
    .product-thumb.vip-card .hovereffect img {
        height: 140px !important;
        min-height: 140px !important;
    }
    
    .product-thumb .product-name a,
    .product-thumb.vip-card .product-name a {
        font-size: 12px !important;
    }
}




















/* ===== МОБИЛЬНАЯ ШАПКА (Унифицированный стиль) ===== */
.dl-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #131322;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: relative;
    z-index: 100;
}

/* Логотип */
.dl-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 6px;
}

.dl-logo-icon {
    font-size: 20px;
    color: #fff;
    background: #252533;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.dl-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.dl-logo-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.dl-logo-title span {
    color: #7d5fff;
}

.dl-logo-subtitle {
    font-size: 9px;
    color: #888;
    margin-top: 1px;
}

/* Контейнер для иконок */
.dl-mobile-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Общие стили для ВСЕХ кнопок (включая баланс) */
.dl-icon-btn {
    position: relative;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.dl-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Иконки внутри кнопок */
.dl-icon-btn i {
    font-size: 15px;
}

/* Бейджи (Уведомления) */
.badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ff4757;
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 10px;
    min-width: 12px;
    text-align: center;
    border: 1px solid #131322; /* Цвет фона шапки */
}

/* Гамбургер меню */
.dl-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 30px;
    height: 30px;
    padding: 0;
    margin-left: 5px;
}

.dl-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* ===== СКРЫТИЕ МОБИЛЬНОЙ ШАПКИ НА ДЕСКТОПЕ ===== */
@media (min-width: 769px) {
    .dl-mobile-header {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .dl-mobile-header {
        display: flex !important;
    }
    
    /* Убедимся, что кнопки квадратные */
    .dl-icon-btn {
        width: 32px !important;
        height: 32px !important;
    }
}

/* ===== ОШИБКА СПРАВА СВЕРХУ ===== */
.top-error-box {
    position: fixed;
    top: 80px; /* Отступ сверху (под шапкой) */
    right: 20px;
    background: #ff4757; /* Красный цвет */
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 99999; /* Поверх модального окна */
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    min-width: 250px;
    animation: slideIn 0.3s ease-out;
    border: 1px solid rgba(255,255,255,0.2);
}

.top-error-box i {
    font-size: 16px;
}

.close-error-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    margin-left: auto;
    cursor: pointer;
    padding: 0 0 0 10px;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}




/* Стиль для отображения баннера на десктопных версиях */
.dl-top-banner {
    display: block; /* По умолчанию показываем */
    margin-bottom: 20px; /* Пример отступа снизу */
}

/* Скрываем баннер на мобильных устройствах */
@media (max-width: 767px) { /* Типичный порог для мобильных устройств */
    .dl-top-banner {
        display: none !important; /* Скрываем элемент */
    }
}


/*===== Panel footer links and icons =====*/
.footer-links-group {
list-style: none;
margin: 0;
padding: 0;
 color:#fcfcfc;  
}
.footer-links-group > li {
float: left;
padding: 9px 12px 10px 12px;
border-right: 1px solid #eee;
}
.footer-links-group > li.has-label {
padding: 6px 12px;
}
.footer-icons-group {
margin: 0;
list-style: none;
padding: 0;
}
.footer-icons-group > li {
float: left;
position: relative;
}
.footer-icons-group > li > a {
line-height: 1;
color: #FF5722;
display: block;
padding: 9px 10px 10px 10px;
border-left: 1px solid #eee;
}
.footer-icons-group > li > a:hover,
.footer-icons-group > li > a:focus {
color: #777;
}
@media (max-width: 479px) {
.footer-links-group > li {
border-right: 0;
}
.footer-icons-group > li > a {
border-left: 0;
}
}
@media (max-width: 767px) {
.footer-links-group > li, .footer-icons-group > li {
float: none;
}
.footer-icons-group {
font-size: 0;
}
.footer-icons-group > li > a {
border: 0;
}
.footer-icons-group > li {
display: inline-block;
}
}
/*===== Icons group =====*/
.icons-group a {
color: #555;
margin-left: 4px;
}
.icons-group a:first-child {
margin-left: 0;
}
.icons-group a:hover, .icons-group a:focus {
color: #999;
}
.footer .icons-group a {
margin-left: 12px;
color: #999;
float: left;
}
.footer .icons-group a:hover, .footer .icons-group a:focus {
color: #555;
}


/* Стили для компактного блока информации */
.footer-links-group {
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос на новую строку, если не влезает */
    align-items: center;
    gap: 15px; /* Отступ между элементами */
    list-style: none;
    padding: 0;
    margin: 10px 0;
    font-size: 13px; /* Уменьшаем шрифт */
    color: #ccc;
}

.footer-links-group li {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

/* Убираем вертикальную черту у последнего элемента (после рейтинга) */
.footer-links-group li:last-child {
    border-right: none !important;
    padding-right: 0;
    margin-right: 0;
}

/* Если у вас черта сделана через border-right у всех элементов, то вот правило для всех кроме последнего: */
.footer-links-group li:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-right: 15px;
}

/* Стили для иконок */
.footer-links-group i {
    font-size: 14px;
    color: #7ec8e3; /* Цвет иконок под вашу тему */
}

/* Стили для ссылки на продавца */
.footer-links-group a.text-semibold {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer-links-group a.text-semibold:hover {
    color: #7ec8e3;
    text-decoration: underline;
}

/* Стили для поля рейтинга (чтобы было компактнее) */
.ratbar input {
    width: 40px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 2px 5px;
    font-size: 12px;
}












/*===== Select2 plugin =====*/
.select2-container {
margin: 0;
position: relative;
display: inline-block;
vertical-align: middle;
}
.select2-container .select2-choice {
display: block;
height: 34px;
background-color: #fff;
padding: 0 0 0 10px;
overflow: hidden;
position: relative;
border: 1px solid #ddd;
white-space: nowrap;
line-height: 32px;
color: #333;
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.select2-container .select2-choice:hover {
background-color: #fcfcfc;
}
.select2-container.select2-drop-above .select2-choice {
border-bottom-color: #ddd;
}
.select2-container .select2-choice > .select2-chosen {/* margin-right: 31px; *//* font-size: 11px; *//* display: block; *//* overflow: hidden; *//* font-weight: 600; *//* text-transform: uppercase; *//* text-align: left; *//* white-space: nowrap; */-ms-text-overflow: ellipsis;-o-text-overflow: ellipsis;/* text-overflow: ellipsis; */}
.select2-container .select2-choice abbr {
display: none;
width: 14px;
height: 14px;
position: absolute;
right: 9px;
top: 9px;
z-index: 100;
background-color: #999;
background-image: url(/wu-static/img/select2_clear_results.png);
background-position: 4px 4px;
cursor: pointer;
outline: 0;
}
.select2-container.select2-allowclear .select2-choice abbr {
display: inline-block;
}
.select2-container .select2-choice abbr:hover {
background-color: #CA665B;
cursor: pointer;
}
.select2-drop-mask {/* border: 0; *//* margin: 0; *//* padding: 0; *//* position: fixed; *//* left: 0; *//* top: 0; *//* min-height: 100%; *//* min-width: 100%; *//* height: auto; *//* width: auto; *//* opacity: 0; *//* z-index: 9998; *//* background-color: #fff; */filter: alpha(opacity=0);}
.select2-drop {
width: 100%;
position: absolute;
z-index: 9999;
top: 100%;
background-color: #fff;
color: #333;
border-bottom: 1px solid #ddd;
}
.select2-drop-auto-width {
border-top: 1px solid #aaa;
width: auto;
}
.select2-drop-auto-width .select2-search {
padding-top: 4px;
}
.select2-drop.select2-drop-above {
border-top: 1px solid #ddd;
border-bottom: 0;
}
.select2-drop.select2-drop-above.select2-drop-active {
border-top: 1px solid #ddd;
}
.select2-container .select2-choice .select2-arrow {
width: 11px;
height: 6px;
right: 11px;
top: 13px;
z-index: 99;
display: inline-block;
position: absolute;
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;
}
.select2-container .select2-choice .select2-arrow b {
display: block;
width: 11px;
height: 6px;
background: url(/wu-static/img/select2_vertical_arrows.png) no-repeat 0 0;
}
.select2-search {
display: block;
width: 100%;
min-height: 26px;
margin: 0;
padding: 4px;
border-left: 1px solid #DDD;
border-right: 1px solid #DDD;
position: relative;
z-index: 10000;
white-space: nowrap;
}
.select2-search input {
width: 100%;
height: auto !important;
padding: 7px 20px 8px 30px!important;
margin: 0;
outline: 0;
border: 1px solid #DDD;
background: #FFF url(/wu-static/img/select2_filter.png) no-repeat 10px;
}
.select2-container-active .select2-choice,
.select2-container-active .select2-choices {
outline: none;
}
.select2-dropdown-open .select2-choice {
background-color: #fafafa;
}
.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices {
border: 1px solid #ddd;
}
.select2-dropdown-open .select2-choice .select2-arrow b {
background-position: 0 -6px;
}
/* Results */
.select2-results {
max-height: 204px;
margin: 0;
padding: 0;
position: relative;
overflow-x: hidden;
overflow-y: auto;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.select2-results ul.select2-result-sub {
margin: 0 -1px;
padding-left: 0;
}
.select2-results ul.select2-result-sub > li .select2-result-label {
padding-left: 20px;
}
.select2-results ul.select2-result-sub ul.select2-result-sub > li .select2-result-label {
padding-left: 40px;
}
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label {
padding-left: 60px;
}
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label {
padding-left: 80px;
}
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label {
padding-left: 100px;
}
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label {
padding-left: 110px;
}
.select2-results ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub ul.select2-result-sub > li .select2-result-label {
padding-left: 120px;
}
.select2-results li {
list-style: none;
display: list-item;
border-left: 1px solid #DDD;
border-right: 1px solid #DDD;
}
.select2-results li.select2-result-with-children > .select2-result-label {
font-weight: bold;
color: #D65C4F;
}
.select2-results .select2-result-label {
padding: 9px 10px 10px 10px;
margin: 0;
cursor: pointer;
font-size: 12px;
font-weight: 600;
min-height: 1em;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.select2-results .select2-highlighted {
background: #3A4B55;
border-color: #3A4B55;
color: #FFF;
}
.select2-results li em {
background: #feffde;
font-style: normal;
}
.select2-results .select2-highlighted em {
background: transparent;
}
.select2-results .select2-highlighted ul {
background: #fff;
color: #000;
}
.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-selection-limit {
background: #FAFAFA;
display: list-item;
padding: 6px 10px;
font-size: 11px;
border-top: 1px solid #DDD;
color: #999;
line-height: 16px;
}
.select2-results .select2-disabled.select2-highlighted {
color: #666;
background: #f4f4f4;
display: list-item;
cursor: default;
}
.select2-results .select2-disabled {
background: #f4f4f4;
display: list-item;
cursor: default;
}
.select2-results .select2-selected {
display: none;
}
.select2-more-results.select2-active {
background: #f4f4f4 url('../images/interface/loader.gif') no-repeat 100%;
}
.select2-more-results {
background: #f5f5f5;
display: list-item;
}
.select2-container.select2-container-disabled .select2-choice {
background-color: #f5f5f5;
background-image: none;
border: 1px solid #ddd;
cursor: default;
}
.select2-container.select2-container-disabled .select2-choice .select2-arrow {
background-color: #f4f4f4;
background-image: none;
border-left: 0;
}
.select2-container.select2-container-disabled .select2-choice abbr {
display: none;
}
/* Multiselect */
.select2-container-multi .select2-choices {
height: auto;
margin: 0;
padding: 0 0 3px 0;
position: relative;
border: 1px solid #ddd;
cursor: text;
overflow: hidden;
background-color: #fff;
}
.select2-locked {
padding: 3px 5px 3px 5px !important;
}
.select2-container-multi .select2-choices {
min-height: 26px;
}
.select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #ddd;
outline: none;
}
.select2-container-multi .select2-choices li {
float: left;
list-style: none;
}
.select2-container-multi .select2-choices .select2-search-field {
margin: 0;
padding: 0;
white-space: nowrap;
}
.select2-container-multi .select2-choices .select2-search-field input {
padding: 7px 10px 8px 10px;
line-height: 1.42857143;
margin: 3px 0 0 0;
outline: 0;
border: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background: transparent !important;
}
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
background: #fff url('../images/interface/loader.gif') no-repeat 100% !important;
}
.select2-default {
color: #999 !important;
}
.select2-container-multi .select2-choices .select2-search-choice {
padding: 7px 12px 8px 26px;
margin: 3px 0 0 3px;
position: relative;
color: #FFF;
background-color: #239169;
cursor: default;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
cursor: default;
}
.select-disabled.select2-container-multi {
width: 100%!important;
}
.select2-search-choice-close {
display: block;
width: 12px;
height: 12px;
position: absolute;
right: 3px;
top: 10px;
outline: none;
background: url(../images/forms/clear_results.png) no-repeat 50%;
}
.select2-container-multi .select2-search-choice-close {
left: 8px;
}
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
opacity: 0.6;
filter: alpha(Opacity=60);
}
.select2-container-multi.select2-container-disabled .select2-choices {
background-color: #FCFCFC;
background-image: none;
border: 1px solid #DDD;
cursor: default;
}
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
padding: 6px 12px 7px 12px;
border: 1px solid #DDD;
background-color: #F8F8F8;
color: #999;
}
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close {
display: none;
background: none;
}
/* General */
.select2-result-selectable .select2-match, .select2-result-unselectable .select2-match {
text-decoration: underline;
}
.select2-offscreen, .select2-offscreen:focus {
clip: rect(0 0 0 0) !important;
width: 1px !important;
height: 1px !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
position: absolute !important;
outline: 0 !important;
left: 0px !important;
top: 0px !important;
}
.select2-display-none {
display: none;
}
.select2-measure-scrollbar {
position: absolute;
top: -10000px;
left: -10000px;
width: 100px;
height: 100px;
overflow: scroll;
}



ul.wysihtml5-toolbar {/* margin: 0; *//* padding: 0; *//* display: block; */}
ul.wysihtml5-toolbar > li {display: inline-block;list-style: none;margin: 0 10px 15px 0;}
ul.wysihtml5-toolbar .dropdown-menu {
max-height: 200px;
overflow-y: auto;
}
ul.wysihtml5-toolbar .dropdown-menu.color-select > li > a:hover,
ul.wysihtml5-toolbar .dropdown-menu.color-select > li > a:focus {
background-color: #f5f5f5;
color: #222222;
}
ul.wysihtml5-commands-disabled .dropdown-menu {
display: none !important;
}
ul.wysihtml5-toolbar a[data-wysihtml5-command=bold] {
font-weight: bold;
}
ul.wysihtml5-toolbar a[data-wysihtml5-command=italic] {
font-style: italic;
}
ul.wysihtml5-toolbar a[data-wysihtml5-command=underline] {
text-decoration: underline;
}
ul.wysihtml5-toolbar a.btn.wysihtml5-command-active {
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
ul.wysihtml5-toolbar div.wysihtml5-colors {
display: block;
width: 20px;
height: 20px;
position: absolute;
pointer-events: none;
border-radius: 100px;
-webkit-border-radius: 100px;
-moz-border-radius: 100px;
left: 10px;
top: 8px;
}
ul.wysihtml5-toolbar a.wysihtml5-colors-title { padding-left: 40px }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="black"] { background: black !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="silver"] { background: silver !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="gray"] { background: gray !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="maroon"] { background: maroon !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="red"] { background: red !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="purple"] { background: purple !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="green"] { background: green !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="olive"] { background: olive !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="navy"] { background: navy !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="blue"] { background: blue !important }
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="orange"] { background: orange !important }



.dl-main-content {
    background-color: #2a2a3e !important; /* Фон элемента */
    border: 1px solid rgba(160, 100, 255, 0.3); /* Рамка */
    border-radius: 10px; /* Скругление углов */
    box-shadow: 0 0 15px rgba(160, 100, 255, 0.1); /* Тень */
    position: relative;
    z-index: 2;
    margin-top: -10px; 
}
/* 2. Нижняя полоска (футер) - тоже с рамкой сверху */
.footer-bottom {
    background-color: #000000;
    color: #777;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-top: 1px solid rgba(160, 100, 255, 0.3); /* Такая же рамка сверху */
    z-index: 2;
}

/* 3. Ссылки в футере */
.footer-bottom a {
    color: #999;
    text-decoration: none;
    margin: 0 5px;
    font-size: 14px;
}
.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}




#top_nav{
   top: 0px; /*высота шапки в пикселях*/
   width: 100%;
   position: fixed;
   z-index: 1000;
   
}
.top_nav.active {
    top:0;
}


	.sape-rtb-video-player_97043 .ad-player .ad-loading {
    background: #f7f7f7 !important;
    border-radius: 25px!important;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}


.scale {
    transition: .5s; /* Время эффекта */
    -webkit-backface-visibility: hidden;
-moz-backface-visibility:    hidden;
-ms-backface-visibility:     hidden;
   }

   
   .scale:hover {
    transform: scale(1.1); /* Увеличиваем масштаб */
    -webkit-backface-visibility: hidden;
-moz-backface-visibility:    hidden;
-ms-backface-visibility:     hidden;
 
   }
   .scale:active {
	   transition: .2s; 
 transform: scale(0.95);
 -webkit-backface-visibility: hidden;
-moz-backface-visibility:    hidden;
-ms-backface-visibility:     hidden;
   }

  
   
   .scale2 {
    transition: .5s; /* Время эффекта */
    -webkit-backface-visibility: hidden;
-moz-backface-visibility:    hidden;
-ms-backface-visibility:     hidden;
   }
   .scale2:hover {
    transform: scale(1.2); /* Увеличиваем масштаб */
    -webkit-backface-visibility: hidden;
-moz-backface-visibility:    hidden;
-ms-backface-visibility:     hidden;
   }
   .scale2:active {
	   transition: .2s; 
 transform: scale(1);
 -webkit-backface-visibility: hidden;
-moz-backface-visibility:    hidden;
-ms-backface-visibility:     hidden;
    
   }
   
#notifv {
  width: 100% !important;
}   
 /* Бейдж на колокольчике */
.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff3b30;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  border-radius: 50%;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
  box-shadow: 0 0 0 2px #1e272e; /* Цвет фона хедера, подставьте свой при необходимости */
}

/* --- ВОТ ЭТОТ БЛОК НУЖНО ОБНОВИТЬ --- */
#notifv li {
  padding: 12px 15px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  color: #333;
  display: flex; /* Это выравнивает иконку и текст */
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

/* Иконка внутри уведомления */
#notifv li .icon {
  font-size: 16px;
  color: #6c5ce7; /* Фиолетовый цвет иконки */
  margin-top: 2px;
}

/* Текст уведомления */
#notifv li .activity-text {
  flex: 1;
  line-height: 1.4;
}

#notifv li:last-child {
  border-bottom: none;
}
#notifv li:hover {
  background: #f8f9fa;
}

 

/* Основной контейнер */
    .ad-chain-section {
        padding: 20px 0;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    /* Обертка для списка и кнопки */
    .chain-wrapper {
        display: flex;
        align-items: center;
        gap: 10px;
        max-width: 1200px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Список ссылок */
    .chain-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
        
    }

    /* Карточка-ссылка (компактная) */
    .chain-item {
        background-color: #2b2b40;
        border: 1px solid #3d3d5c;
        border-radius: 50px;
        padding: 6px 12px 6px 8px;
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: all 0.3s ease;
        width: auto;
        min-width: 215px;
    }

    .chain-item:hover {
        background-color: #363650;
        border-color: #673ab7;
    }

    /* Иконка */
    .chain-icon-box {
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, #673ab7, #512da8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
        flex-shrink: 0;
        color: #fff;
        font-size: 12px;
    }

    /* Текст */
    .chain-info {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        line-height: 1.2;
    }

    .chain-name {
        color: #fff;
        font-weight: 700;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .chain-url {
        color: #8888aa;
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Стрелочка */
    .chain-arrow {
        color: #673ab7;
        margin-left: 6px;
        font-size: 14px;
        flex-shrink: 0;
    }

    /* КНОПКА ДОБАВЛЕНИЯ (Для ПК - круглая) */
    .add-chain-btn {
        width: 36px;
        height: 36px;
        background-color: #4caf50;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .add-chain-btn:hover {
        background-color: #43a047;
        transform: scale(1.1);
    }

    .add-chain-btn i {
        color: #fff;
        font-size: 22px;
        line-height: 0;
        font-weight: 300;
    }

    /* Сообщение если ссылок нет */
    .no-chain-msg {
        color: #666;
        font-size: 14px;
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    /* === АДАПТИВНОСТЬ (МОБИЛЬНЫЕ) === */
    @media (max-width: 768px) {
        .chain-wrapper {
            flex-direction: column; /* На телефоне всё в столбик */
            align-items: stretch; /* Растягиваем элементы по ширине */
        }
        
        .chain-list {
            justify-content: center;
            width: 100%;
        }

        .chain-item {
            width: 100%; /* Блоки во всю ширину */
            justify-content: space-between;
        }
        
        /* Делаем кнопку такой же, как и блоки */
        .add-chain-btn {
            width: 100%;
            height: 44px; /* Высота как у блока */
            border-radius: 50px; /* Скругляем как у блока */
            margin-top: 5px;
            border: none;
            box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
            /* Убираем вращение при наведении на телефоне */
        }
        
        .add-chain-btn:hover {
            transform: none;
            background-color: #43a047;
        }

        .add-chain-btn i {
            font-size: 20px; /* Чуть меньше размер плюса */
        }
    }































/* # Plugins
================================================== */
/*===== jGrowl notifications ====*/
.jGrowl {
z-index: 9999;
color: #fff;
}
.jGrowl {
position: absolute;
}
body > .jGrowl {
position: fixed;
}
.jGrowl.top-left {
left: 0px;
top: 0px;
}
.jGrowl.top-right {
right: 25px;
top: 20px;
}
.jGrowl.bottom-left {
left: 0px;
bottom: 0px;
}
.jGrowl.bottom-right {
right: 25px;
bottom: 25px;
}
.jGrowl.center {
top: 68px;
width: 230px;
left: 50%;
margin-left: -115px;
}
.center .jGrowl-notification, .center .jGrowl-closer {
margin-left: auto;
margin-right: auto;
}
.jGrowl .jGrowl-notification {
border: none;
color: #fff;
opacity: .95;
filter: alpha(Opacity=95);
width: 230px;
padding: 12px 18px;
margin-top: 5px;
text-align: left;
display: none;
background-color: #32434d;
}
.jGrowl-notification.growl-error {
background-color: #D65C4F;
}
.jGrowl-notification.growl-success {
background-color: #65B688;
}
.jGrowl-notification.growl-warning {
background-color: #db765b;
}
.jGrowl .jGrowl-notification .jGrowl-header {
font-weight: 300;
font-size: 13px;
padding: 0 0 2px 0;
}
.jGrowl .jGrowl-notification .jGrowl-header:empty {
padding: 0;
}
.jGrowl  .jGrowl-notification  .jGrowl-close {
opacity: .6;
filter: alpha(Opacity=60);
z-index: 99;
float: right;
font-weight: 300;
font-size: 14px;
cursor: pointer;
}
.jGrowl  .jGrowl-notification  .jGrowl-close:hover {
opacity: .8;
filter: alpha(Opacity=80);
}
.jGrowl .jGrowl-closer {
padding: 5px 0;
cursor: pointer;
font-size: 11px;
margin-top: 5px;
font-weight: 600;
text-align: center;
background: #454545;
color: #ffffff;
width: 222px;
}
@media print {
.jGrowl {
display: none;
}
}


















/* Контейнер для баннеров */
    .banners-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px auto;
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
    }

    /* Карточка баннера */
    .ad-card {
        flex: 1;
        max-width: 468px;
        text-align: center;
        overflow: hidden; 
        position: relative;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        box-sizing: border-box;
    }

    .ad-link {
        display: block;
        text-decoration: none;
        width: 100%;
        height: 100%;
    }

    .ad-img {
        width: 100%; 
        height: auto; 
        display: block; 
    }

    .no-banner-placeholder {
        color: #666;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%; 
        height: 100%; 
        background: #eee;
        min-height: 80px;
    }

    /* --- КНОПКА --- */
    .add-banner-btn {
        position: absolute;
        top: 5px; 
        right: 5px;
        background: #ff4757;
        color: white;
        border: none;
        text-decoration: none;
        border-radius: 20px; 
        padding: 2px 8px;
        font-size: 11px;
        font-weight: bold;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        white-space: nowrap;
        z-index: 10;
    }

    .add-banner-btn:hover {
        background: #ff6b81;
        padding: 4px 12px;
        transform: scale(1.05);
    }

    .add-banner-btn .icon {
        font-size: 14px;
        min-width: 14px;
        text-align: center;
    }

    .add-banner-btn .text {
        opacity: 0;
        width: 0;
        margin-left: 0;
        transition: all 0.3s ease;
        display: inline-block;
    }

    .add-banner-btn:hover .text {
        opacity: 1;
        width: auto;
        margin-left: 5px;
    }

    /* === АДАПТИВ ДЛЯ МОБИЛЬНЫХ === */
    @media (max-width: 768px) {
        .banners-container {
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }
        .ad-card {
            flex: none;
            max-width: 100%;
            width: 100%;
        }
    }
    
    .banner-container {
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        margin-bottom: 10px; 
    }
   .top-row.primary .top-row-item {
    background: rgba(0, 0, 0, 0.35);
    padding: 20px;
    border-radius: 10px; 
} 
 /* Стили для общего контейнера */
.toplink {
  position: relative;
  max-width: auto;
  margin: 0 auto;
}

/* Стили для всего блока ссылок */
#slot_368272 {
  display: table; /* По умолчанию табличное отображение */
  padding: 3px;
  width: 100%;
  box-sizing: border-box;
}

/* Стили для каждой отдельной ссылки */
#slot_368272 a {
  text-align: center;
  vertical-align: middle;
  padding: 2px 2px;
  border: 1px dashed #D3D3D3;
  font-family: Tahoma;
  display: table-cell; /* По умолчанию табличная ячейка */
  color: black;
  opacity: 0.8;
  background: #ffffff;
  background: linear-gradient(FFFFFF, #FFFFFF 0%, #FFFFFF 80%);
  background: -webkit-linear-gradient(FFFFFF, #FFFFFF 0%, #FFFFFF 80%);
  background: -moz-linear-gradient(FFFFFF, #FFFFFF 0%, #FFFFFF 80%);
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.55);
  -webkit-box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.55);
  -moz-box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.55);
}

#slot_368272 a:hover {
  color: black;
}

/* Стили для кнопки "Купить ссылку" */
.buylink {
  position: absolute;
  right: 0;
  top: -28px;
  background: #6c89db;
  color: black;
  border: 1px solid #000000;
  padding: 0px;
  padding-left: 4px;
  padding-right: 4px;
  border-radius: 1px;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.75);
}

.buylink:hover {
  background: black;
}

/* Медиа-запрос для мобильных устройств (ширина экрана до 768px) */
@media (max-width: 768px) {
  #slot_368272 {
    display: block; /* Переключаемся на блочное отображение для мобильных */
    border: 1px solid #ccc; /* Добавляем рамку вокруг всего блока */
    padding: 5px; /* Добавляем отступ внутри рамки */
    margin: 10px 0; /* Сохраняем внешний отступ */
  }

  #slot_368272 a {
    display: block; /* Каждая ссылка занимает всю ширину */
    width: 100%;
    margin-bottom: 5px; /* Отступ между ссылками */
    box-sizing: border-box;
  }

  .buylink {
    position: static; /* Убираем абсолютное позиционирование */
    margin-top: 10px; /* Отступ сверху */
    display: block; /* Растягиваем на всю ширину */
    width: 100%;
    text-align: center; /* Центрируем текст */
  }
}
 
.footer-bottom {
    background-color: #2a2a3e;
    color: #777; 
    text-align: center; 
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


.footer-fullwidth::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; 
    background: linear-gradient(to bottom, transparent, #2a2a3e);
    pointer-events: none; 
    z-index: 1;
}


.footer-bottom a {
    color: #999;
    text-decoration: none;
    margin: 0 5px;
    font-size: 14px;
}

.footer-bottom a:hover {
    color: #ffffff;
    text-decoration: underline;
}  











/* Основной контейнер (Flexbox) */
.dl-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #252530;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #333;
    /* Важно: разрешаем перенос содержимого */
    flex-wrap: wrap; 
}

/* Обертка текста */
.header-text-wrapper {
    flex-grow: 1;
    margin-right: 20px;
    /* Разрешаем перенос длинных слов */
    overflow-wrap: break-word; 
    word-wrap: break-word;
}

.dl-page-header h3 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
    /* Ограничиваем высоту заголовка, если текста очень много */
    max-height: 3.2em; 
    line-height: 1.2;
}

.dl-page-header small {
    color: #aaa;
    font-size: 14px;
    line-height: 1.4;
}

/* Стиль кнопки */
.btn-add-item {
    background: linear-gradient(45deg, #8a2be2, #6a1bbd);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    border: none;
    white-space: nowrap; /* Чтобы текст кнопки не ломался */
}

.btn-add-item:hover {
    background: linear-gradient(45deg, #9d4eed, #7b2cbf);
    transform: translateY(-2px);
    color: #fff;
}

.btn-add-item i {
    margin-right: 8px;
    font-size: 16px;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ (Адаптив) --- */
@media (max-width: 768px) {
    .dl-page-header {
        flex-direction: column; /* Элементы друг под другом */
        align-items: flex-start; /* Выравнивание по левому краю */
        padding: 15px; /* Чуть меньше отступы */
    }

    .header-text-wrapper {
        margin-right: 0; /* Убираем отступ справа */
        margin-bottom: 15px; /* Отступ снизу перед кнопкой */
        width: 100%; /* Текст на всю ширину */
    }
    
    .dl-page-header h3 {
        font-size: 20px; /* Чуть меньше шрифт */
        max-height: none; /* Разрешаем тексту расти вниз */
    }

    .btn-add-item {
        width: 100%; /* Кнопка на всю ширину */
        justify-content: center; /* Текст кнопки по центру */
        padding: 12px 0; /* Чуть больше высота */
        box-shadow: 0 4px 15px rgba(138, 43, 226, 0.5);
    }
}






/* 1. Обёртка баннера */
.glow-border {
    position: relative;
    padding: 2px; /* Тонкая обводка (было 4px, стало 2px) */
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

/* 2. Первый слой градиента (Основной цвет) */
.glow-border::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    
    /* Градиент: Фиолетовый -> Бирюзовый -> Фиолетовый */
    /* Важно: цвет в 0% и 100% одинаковый, чтобы не было шва */
    background: conic-gradient(
        from 0deg,
        #9d4edd 0%,
        #00f5d4 50%,
        #9d4edd 100%
    );
    
    animation: spin 4s linear infinite;
    z-index: 0; /* Под контентом */
    filter: blur(2px); /* Мягкое свечение вместо жесткой линии */
}

/* 3. Второй слой градиента (Для красоты и глубины) */
.glow-border::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    
    /* Градиент: Розовый -> Синий -> Розовый */
    background: conic-gradient(
        from 0deg,
        #ff007a 0%,
        #00f5d4 50%, /* Тот же бирюзовый для плавности */
        #ff007a 100%
    );
    
    animation: spin-reverse 6s linear infinite; /* Крутится в обратную сторону и медленнее */
    z-index: 0;
    filter: blur(3px);
    mix-blend-mode: screen; /* Красивое смешивание цветов */
}

/* 4. Внутренний блок (Перекрывает центр) */
.glow-border > div {
    position: relative;
    z-index: 1; /* Поверх градиента */
    
    /* Цвет фона должен совпадать с фоном вашего сайта! */
    background-color: #1e1e2e; 
    
    border-radius: 10px; /* Чуть меньше, чем у родителя */
    overflow: hidden;
}

/* Анимации вращения */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}
