@charset "UTF-8";
/* ========================================================= */
/* 6. DASHBOARD И ГЛАВНАЯ СТАТИСТИКА (ПРОФИЛЬ/КАБИНЕТ)       */
/* ========================================================= */
.dashboard-header { background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 12px; padding: 15px 20px; color: #fff; margin-bottom: 20px; position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.dashboard-header::before { content:''; position:absolute; top:0; left:0; width:100%; height:4px; background: linear-gradient(90deg, #3742fa, #00c6ff); }

.header-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.rank-badge { display: inline-flex; align-items: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 6px 15px; border-radius: 20px; font-size: 13px; color: #fdcb6e; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; white-space: nowrap; gap: 6px;}
.avail-badge { background: rgba(0,0,0,0.3); padding: 6px 15px; border-radius: 20px; font-size: 12px; color: #fff; display: inline-flex; align-items: center; gap: 8px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.2); white-space: nowrap; }
.btn-rank-table { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #f8fafc; padding: 8px 15px; border-radius: 8px; font-size: 12px; cursor: pointer; font-weight: 500; transition: 0.2s; white-space: nowrap; }
.btn-rank-table:hover { background: rgba(255,255,255,0.2); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 25px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 12px; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.stat-icon { width: 35px; height: 35px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;}
.stat-info span { display: block; font-size: 10px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 3px; font-weight: 500; letter-spacing: 0.2px; }
.stat-info strong { display: block; font-size: 14px; color: var(--text-heading); font-weight: 700;}

/* Кнопка старта */
.btn-massive-start { position: relative; display: flex; align-items: center; justify-content: center; width: 60%; min-width: 320px; margin: 0 auto 25px auto; background: linear-gradient(135deg, var(--accent), #5f27cd); color: #fff; text-align: center; padding: 18px 20px; border-radius: 12px; text-decoration: none; box-shadow: 0 4px 15px rgba(55, 66, 250, 0.3); transition: transform 0.2s, box-shadow 0.2s; overflow: hidden;}
.btn-massive-start .btn-main-text { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; color: #fff;}
.btn-massive-start .safe-view-badge { position: absolute; top: 0; right: 0; font-size: 9px; font-weight: 600; color: #fbbf24; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 4px; background: rgba(0,0,0,0.3); padding: 4px 10px; border-bottom-left-radius: 8px;}
.btn-massive-start:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(55, 66, 250, 0.5); color: #fff; }

.action-panel { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; margin-bottom: 20px; transition: 0.3s; }
.panel-title { font-size: 14px; font-weight: 600; color: var(--text-heading); margin-top: 0; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); text-transform: uppercase; transition: 0.3s; }

.site-list-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border-color); gap: 15px; flex-wrap: wrap; transition: 0.3s;}
.site-domen { font-size: 13px; font-weight: 500; color: var(--text-heading); text-transform: uppercase;}
.site-desc { font-size: 11px; color: var(--text-muted); margin-top: 5px; max-width: 350px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.inline-add-views { display: flex; align-items: center; gap: 8px; }
.btn-action { background: transparent; border: none; padding: 0 0 2px 0; font-size: 11px; cursor: pointer; text-decoration: none; transition: 0.2s; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-transform: uppercase; position: relative;}
.btn-action::after { content: ''; display: block; width: 0; height: 1.5px; background: currentColor; transition: width .3s; position: absolute; bottom: 0; left: 0; }
.btn-action:hover::after { width: 100%; }
.btn-add-view { color: var(--text-success); } 
.btn-edit-site { color: var(--accent); } 
.btn-del { color: var(--text-danger); }

/* ========================================================= */
/* 7. ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ                                   */
/* ========================================================= */
.profile-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.02); transition: 0.3s; }
.profile-header-wrap { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.profile-avatar-block { flex-shrink: 0; text-align: center; width: 140px; }
.profile-avatar-img { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--border-color); background: var(--bg-light); padding: 2px; }
.login-badge { margin-top: 10px; display: inline-block; background: var(--bg-light); color: var(--text-heading); padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; border: 1px solid var(--border-color); word-break: break-all;}
.login-badge span { color: var(--accent); }

.profile-info-block { flex: 1; min-width: 250px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
.info-col { background: var(--bg-light); padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); transition: 0.3s; }
.info-title { font-weight: 700; color: var(--text-muted); margin-bottom: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; border-bottom: 1px dashed var(--border-dashed); padding-bottom: 8px; }
.info-row { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.info-row b { color: var(--text-heading); font-weight: 600; }
.perk-item { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 12px; color: var(--text-muted); }
.perk-label { display: flex; align-items: center; gap: 6px; }

.avatar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.avatar-label { cursor: pointer; border: 2px solid transparent; border-radius: 50%; padding: 3px; transition: 0.2s; }
.avatar-label img { width: 100%; border-radius: 50%; display: block; background: var(--bg-light); }
.avatar-input { display: none; }
.avatar-input:checked + .avatar-label { border-color: var(--accent); box-shadow: 0 0 10px rgba(55,66,250,0.3); }

.btn-submit-compact { background: var(--accent); color: #fff; border: none; padding: 10px 15px; border-radius: 6px; font-weight: 600; font-size: 12px; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-submit-compact:hover { filter: brightness(0.9); }

/* ========================================================= */
/* 9. СЕРФИНГ И ОЧЕРЕДИ (БАЗОВЫЕ УТИЛИТЫ ДЛЯ OBMENTRAF.PHP)  */
/* ========================================================= */
.obmen-container .nav-plans { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 15px; }
.obmen-container .nav-plans a { text-decoration: none; padding: 6px 12px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-muted); font-size: 12px; font-weight: bold; transition: 0.2s; display: flex; align-items: center; gap: 6px; }
.obmen-container .nav-plans a:hover { border-color: var(--accent); color: var(--accent); }
.obmen-container .nav-plans a.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.obmen-container .nav-plans a span { background: rgba(0,0,0,0.06); padding: 2px 6px; border-radius: 8px; font-size: 10px; color: inherit;}
.obmen-container .nav-plans a.active span { background: rgba(255,255,255,0.2); color: #fff; }

.obmen-container .unified-form-group { display: flex; align-items: stretch; border: 2px solid var(--border-color); border-radius: 8px; overflow: hidden; margin-bottom: 10px; transition: 0.3s; background: var(--bg-card); }
.obmen-container .unified-form-group:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(55,66,250,0.1); }
.obmen-container .input-url { flex: 1; padding: 12px 15px; border: none; font-size: 14px; outline: none; color: var(--text-heading); background: transparent; min-width: 0; }
.obmen-container .captcha-wrap { display: flex; align-items: center; background: var(--bg-light); padding: 0 12px; border-left: 1px solid var(--border-color); font-size: 13px; font-weight: bold; color: var(--text-main); white-space: nowrap; }
.obmen-container .captcha-wrap input { width: 35px; margin-left: 6px; padding: 5px; border: 1px solid var(--border-color); border-radius: 4px; text-align: center; font-size: 14px; font-weight: bold; color: var(--accent); background: var(--bg-input); outline: none; }

.obmen-container .btn-submit { width: 100%; padding: 12px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-weight: bold; font-size: 14px; cursor: pointer; text-transform: uppercase; transition: 0.3s; margin-top: 10px; animation: pulse-btn 2s infinite;}
.obmen-container .btn-submit:hover { filter: brightness(0.9); transform: translateY(-2px); }

.obmen-container .check-buttons-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 15px; }
.obmen-container .btn-check-site { flex: 1; min-width: 140px; padding: 10px; background: var(--bg-light); color: var(--text-heading); border: 1px solid var(--border-color); border-radius: 8px; font-weight: bold; cursor: pointer; font-size: 12px; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 6px; }
.obmen-container .btn-check-site:hover { filter: brightness(0.95); }
.obmen-container .btn-check-ban { flex: 1; min-width: 140px; padding: 10px; background: var(--bg-danger); color: var(--text-danger); border: 1px solid var(--border-danger); border-radius: 8px; font-weight: bold; cursor: pointer; font-size: 12px; transition: 0.2s; display: flex; justify-content: center; align-items: center; gap: 6px; }
.obmen-container .btn-check-ban:hover { filter: brightness(0.95); }

.obmen-container .vip-card-wide { background: linear-gradient(135deg, #1e293b, #0f172a); color: #f8fafc !important; border-radius: 10px; padding: 20px; margin: 20px 0; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 1px solid #334155; box-sizing: border-box; }
.obmen-container .partner-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #f59e0b, #fbbf24); color: #000; padding: 3px 15px; font-weight: bold; font-size: 10px; border-radius: 15px; text-transform: uppercase; white-space: nowrap; }
.obmen-container .promo-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.obmen-container .promo-inline h4 { color: #fbbf24; font-size: 15px; margin: 0; }
.obmen-container .btn-vip-code { background: rgba(251,191,36,0.1); border: 1px solid #fbbf24; color: #fbbf24; padding: 8px 15px; border-radius: 20px; font-size: 12px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.obmen-container .btn-vip-code:hover { background: #fbbf24; color: #0f172a; }

.obmen-container .queue-title { font-size: 15px; font-weight: bold; color: var(--text-heading); border-bottom: 2px solid #f59e0b; padding-bottom: 10px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.obmen-container .safe-view-badge { font-size: 11px; color: var(--text-success); background: var(--bg-success); padding: 3px 10px; border-radius: 15px; border: 1px solid var(--border-success); }
.obmen-container .site-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 5px; border-bottom: 1px solid var(--border-color); transition: 0.3s; border: 1px solid transparent; }
.obmen-container .site-item:hover { background: var(--bg-card); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-color: var(--bg-light); border-radius: 8px; z-index: 10; }
.obmen-container .site-item:last-child { border-bottom: none; }
.obmen-container .site-info-wrap { display: flex; align-items: center; gap: 10px; overflow: hidden; }
.obmen-container .site-favicon { width: 30px; height: 30px; border-radius: 6px; background: var(--bg-light); padding: 2px; border: 1px solid var(--border-color); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.obmen-container .site-title { font-weight: bold; color: var(--text-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 250px; }
.obmen-container .site-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; display: flex; gap: 10px; font-weight: bold; }
.obmen-container .site-meta .domain-name { color: var(--text-heading); font-weight: 700; font-size: 12px; display: block; text-transform: uppercase; letter-spacing: 0.5px;}

.obmen-container .card { 
    background: var(--bg-card); 
    padding: 25px; 
    border: 1px solid var(--border-color); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
    margin-bottom: 20px; 
    border-radius: 12px 12px 0 0; 
    position: relative; 
    overflow: hidden; 
    transition: 0.3s;
}
.obmen-container .card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #f59e0b; z-index: 10; }

/* ========================================================= */
/* 10. ОБЩИЕ ЭЛЕМЕНТЫ (АЛЕРТЫ, КНОПКИ, ПОЛЯ)                 */
/* ========================================================= */
.benefits-box { background: var(--bg-success); border: 1px solid var(--border-success); padding: 12px; border-radius: 8px; font-size: 12px; margin-bottom: 12px; color: var(--text-main); transition: 0.3s;}
.rules-box-vip { background: var(--bg-danger); border-left: 4px solid var(--text-danger); padding: 12px; font-size: 12px; margin-bottom: 15px; color: var(--text-main); transition: 0.3s;}
.code-section { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 8px; padding: 10px; margin-bottom: 10px; transition: 0.3s;}
.code-textarea { width: 100%; height: 55px; padding: 8px; border-radius: 4px; border: 1px solid var(--border-color); font-family: monospace; font-size: 11px; resize: none; color: var(--text-main); background: var(--bg-input); box-sizing: border-box; transition: 0.3s;}
.form-input { width: 100%; padding: 10px; border-radius: 6px; border: 1px solid var(--border-color); font-size: 13px; outline: none; background: var(--bg-input); transition: 0.3s; margin-top: 5px; box-sizing: border-box; color: var(--text-main); }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(55,66,250,0.1); }

/* Инфо-блок для магазина и других страниц */
.info-box { background: var(--bg-info); border: 1px solid var(--border-info); border-left: 4px solid var(--text-info); padding: 15px 20px; border-radius: 8px; margin-bottom: 30px; font-size: 13px; color: var(--text-info); display: flex; align-items: flex-start; gap: 12px; transition: 0.3s;}
.info-box i { font-size: 20px; margin-top: 2px; }

/* ========================================================= */
/* 11. АНИМАЦИИ И ТУЛТИПЫ                                    */
/* ========================================================= */
@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(55, 66, 250, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(55, 66, 250, 0); }
    100% { box-shadow: 0 0 0 0 rgba(55, 66, 250, 0); }
}

@keyframes pulse-badge {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn-theme { background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-main); width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; margin-left: auto; }
.btn-theme:hover { transform: scale(1.1); box-shadow: 0 0 10px rgba(55, 66, 250, 0.3); }

/* Кнопка "Совет" с подсказкой */
.btn-tips { position: relative; background: #f8efff; color: #9b59b6; border: 1px solid rgba(155, 89, 182, 0.3); padding: 10px 15px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 6px; outline: none; }
.btn-tips:hover, .btn-tips:focus, .btn-tips:active { background: #9b59b6; color: #fff; }
.btn-tips::after { content: attr(data-tooltip); position: absolute; bottom: 135%; left: 50%; transform: translateX(-50%); background: #2d3436; color: #fff; padding: 10px 15px; border-radius: 8px; font-size: 12px; white-space: normal; width: max-content; max-width: 250px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 100; font-weight: normal; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; text-align: center; line-height: 1.4; pointer-events: none; }
.btn-tips::before { content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); border-width: 8px; border-style: solid; border-color: #2d3436 transparent transparent transparent; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; pointer-events: none; }
.btn-tips:hover::after, .btn-tips:hover::before, .btn-tips:focus::after, .btn-tips:focus::before, .btn-tips:active::after, .btn-tips:active::before { opacity: 1; visibility: visible; }

/* Индикаторы тарифов */
.queue-badge { position: absolute; top: -8px; right: -8px; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 10px; color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2); letter-spacing: 0.5px; z-index: 5; }
.badge-empty { background: #b2bec3; }
.badge-active { background: #2ed573; }
.badge-full { background: #ff4757; animation: pulse-badge 2s infinite; }

/* Статистика гостя */
.guest-stats-bar { display: flex; align-items: center; justify-content: center; gap: 20px; background: var(--bg-card); padding: 12px 20px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid var(--border-color); flex-wrap: wrap; transition: 0.3s;}
.stat-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-heading); }
.stat-item strong { color: var(--accent); }
.stat-divider { width: 1px; height: 20px; background: var(--border-color); transition: 0.3s;}

/* Кнопка обновления очереди */
.btn-refresh { background: var(--bg-light); border: 1px solid var(--border-color); color: var(--accent); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.btn-refresh:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
#queue-container { transition: opacity 0.3s ease; }

.btn-submit-animated {
    background: linear-gradient(135deg, var(--accent), #5f27cd);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(55, 66, 250, 0.3);
    animation: pulse-btn 2s infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit-animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(55, 66, 250, 0.5);
    color: #fff;
}

/* ========================================================= */
/* 17. СТРАНИЦА РЕГИСТРАЦИИ И ВХОДА                          */
/* ========================================================= */
.reg-card { 
    max-width: 450px; 
    margin: 0 auto; 
    border-radius: 12px; 
    padding: 30px; 
}
.captcha-block { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    background: var(--bg-light); 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
    padding: 10px 15px; 
}
.captcha-input { 
    width: 70px; 
    padding: 8px; 
    text-align: center; 
    margin-top: 0; 
    font-size: 16px; 
    font-weight: bold; 
}

/* Кнопки авторизации и регистрации */
.btn-auth {
    background: linear-gradient(135deg, #3742fa, #5f27cd);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 14px;
    width: 100%;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(55, 66, 250, 0.3);
    transition: all 0.3s ease;
}

.btn-auth:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(55, 66, 250, 0.5);
    background: linear-gradient(135deg, #5f27cd, #3742fa);
}

.btn-auth:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(55, 66, 250, 0.3);
}

/* ========================================================= */
/* 18. СТРАНИЦА ПОДДЕРЖКИ (ПОЛЯ ФОРМЫ)                       */
/* ========================================================= */
.support-card {
    max-width: 650px; 
    margin: 0 auto; 
    border-radius: 12px; 
    padding: 30px;
}
.support-captcha {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 15px; 
    margin-bottom: 20px;
    gap: 15px;
}

/* ========================================================= */
/* 19. ПРИВЕТСТВЕННАЯ МОДАЛКА (ПОДАРОК В ПРОФИЛЕ)            */
/* ========================================================= */
@keyframes fadeInWelcome { from { opacity: 0; } to { opacity: 1; } }
@keyframes popUpWelcome { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.welcome-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(5px); 
    z-index: 99999; display: flex; justify-content: center; align-items: center; 
    animation: fadeInWelcome 0.5s ease; transition: opacity 0.3s ease;
}

.welcome-modal-box {
    background: var(--bg-card); border-radius: 20px; max-width: 400px; width: 90%; 
    padding: 30px; text-align: center; box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
    position: relative; animation: popUpWelcome 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
}

.welcome-icon-wrap {
    width: 80px; height: 80px; background: linear-gradient(135deg, var(--accent), #00c6ff); 
    border-radius: 50%; display: flex; justify-content: center; align-items: center; 
    margin: -60px auto 20px auto; border: 5px solid var(--bg-card); 
    box-shadow: 0 5px 15px rgba(55,66,250,0.3); font-size: 35px; color: #fff;
}

.welcome-modal-box h2 {
    margin-top: 0; color: var(--text-heading); font-size: 24px;
}

.welcome-modal-box p {
    color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 15px;
}

.welcome-bonus-box {
    background: rgba(245, 158, 11, 0.1); border: 2px dashed #f59e0b; 
    padding: 15px; border-radius: 12px; margin-bottom: 20px;
    font-size: 26px; font-weight: 900; color: #f59e0b;
}

/* ========================================================= */
/* 20. ПЛЕЕР АВТОСЕРФИНГА (AUTO_VIEWER.PHP)                  */
/* ========================================================= */
.viewer-body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: var(--bg-body); }

.viewer-preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-body); z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-heading); transition: opacity 0.5s ease; }
.viewer-spinner { width: 50px; height: 50px; border: 4px solid var(--border-color); border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 20px; }
@keyframes spin { 100% { transform: rotate(360deg); } }

.viewer-header { height: 65px; background: var(--bg-card); border-bottom: 2px solid var(--accent); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); position: relative; z-index: 100; }
.surf-left { flex: 1; display: flex; align-items: center; gap: 15px; }
.btn-viewer-stop { background: rgba(239, 68, 68, 0.1); color: var(--text-danger); border: 1px solid rgba(239, 68, 68, 0.3); padding: 8px 16px; border-radius: 8px; font-size: 11px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; text-transform: uppercase; }
.btn-viewer-stop:hover { background: var(--text-danger); color: #fff; transform: translateY(-1px); }
.session-stats { font-size: 11px; font-weight: 600; color: var(--text-muted); background: var(--bg-light); padding: 6px 12px; border-radius: 20px; display: flex; align-items: center; gap: 5px; border: 1px solid var(--border-color); }

.surf-center { flex: 2; max-width: 500px; padding: 0 20px; }
.timer-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 6px; }
.timer-brand { font-size: 13px; font-weight: 700; color: var(--text-heading); display: flex; align-items: center; gap: 6px; text-transform: uppercase; }
.timer-brand i { color: #fbbf24; font-size: 16px; }
.timer-clock { font-size: 15px; font-weight: 700; color: var(--text-success); font-family: monospace; display: flex; align-items: center; gap: 6px; }

.progress-bg { width: 100%; height: 10px; background: var(--bg-light); border-radius: 10px; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); border: 1px solid var(--border-color); }
.progress-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--accent), #00c6ff); border-radius: 10px; transition: width 1s linear; }

.surf-right { flex: 1; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; }
.btn-action-small { background: transparent; border: none; color: var(--text-muted); font-size: 10px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: 0.2s; text-transform: uppercase; padding: 2px 0; }
.btn-action-small:hover { color: var(--text-heading); }
.btn-report:hover { color: var(--text-danger); }

#frame-container { width: 100%; height: calc(100% - 65px); position: relative; background: var(--bg-body); }
#frame-container iframe { width: 100%; height: 100%; border: none; display: block; }

.viewer-pause-overlay { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(8px); z-index: 999; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; }
.pause-icon { font-size: 64px; color: #fbbf24; margin-bottom: 20px; animation: pulse 2s infinite; }
.pause-title { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: 1px; color: #f8fafc; text-transform: uppercase; }
.pause-desc { color: #94a3b8; font-size: 15px; margin-top: 10px; max-width: 400px; line-height: 1.5; }

/* ========================================================= */
/* 21. SEO-АУДИТОР 360° (TOOL_AUDIT.PHP)                     */
/* ========================================================= */
.sa-autofill:-webkit-autofill, .sa-autofill:-webkit-autofill:hover, .sa-autofill:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 30px #15202b inset !important; -webkit-text-fill-color: #ffffff !important; transition: background-color 5000s ease-in-out 0s; }
.sa-header { text-align: center; margin-bottom: 30px; }
.sa-icon-wrap { display: inline-flex; justify-content: center; align-items: center; width: 75px; height: 75px; background: rgba(59, 130, 246, 0.1); border-radius: 20px; margin-bottom: 15px; border: 1px solid rgba(59, 130, 246, 0.3); box-shadow: 0 0 20px rgba(59, 130, 246, 0.15); }
.sa-main-card { max-width: 900px; margin: 0 auto 30px auto; background: var(--bg-card); border-radius: 16px; padding: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-top: 4px solid #3b82f6;}
.sa-input { width: 100%; box-sizing: border-box; background: rgba(0,0,0,0.3) !important; border: 1px solid rgba(255,255,255,0.1) !important; color: #fff !important; border-radius: 8px; padding: 14px 15px 14px 45px; font-size: 15px; outline: none; transition: 0.3s; }
.sa-input:focus { border-color: #3b82f6 !important; box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); background: rgba(0,0,0,0.5) !important;}
.sa-btn { background: rgba(43, 82, 120, 0.3); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.4); border-radius: 8px; padding: 12px 25px; font-weight: bold; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-transform: uppercase; transition: 0.3s;}
.sa-btn:hover { background: #3b82f6; color: #fff; box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4); border-color: #3b82f6;}
.sa-btn:disabled { opacity: 0.6; cursor: not-allowed; background: rgba(43, 82, 120, 0.2); border-color: rgba(59, 130, 246, 0.2); color: #64748b;}
.sa-terminal { display: none; background: #0f172a; border-radius: 8px; padding: 20px; border: 1px solid rgba(59, 130, 246, 0.3); font-family: 'Courier New', monospace; color: #10b981; font-size: 13px; margin: 0 auto 30px auto; max-width: 900px; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); text-align: left; height: 180px; overflow-y: auto;}
.sa-term-line { margin-bottom: 8px; opacity: 0; animation: sa-fadeInTerm 0.3s forwards; }
@keyframes sa-fadeInTerm { to { opacity: 1; } }
.sa-result-box { display: none; max-width: 900px; margin: 0 auto 40px auto; animation: sa-slideUp 0.6s ease-out; background: var(--bg-body); padding: 20px; border-radius: 16px;}
@keyframes sa-slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.sa-bar-bg { width: 100%; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; margin-top: 5px;}
.sa-bar-fill { height: 100%; border-radius: 3px; transition: width 1s ease-out;}
.sa-bar-green { background: #10b981; } .sa-bar-red { background: #ef4444; } .sa-bar-orange { background: #f59e0b; }

.sa-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px;}
.sa-section { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 25px; margin-bottom: 20px; min-width: 0;}

.sa-google-preview { background: #202124; padding: 20px; border-radius: 12px; border: 1px solid #3c4043; font-family: Arial, sans-serif; text-align: left; margin-bottom: 20px; min-width: 0;}
.sa-g-url { color: #bdc1c6; font-size: 14px; margin-bottom: 5px; display: flex; align-items: center; gap: 8px;}
.sa-g-title { color: #8ab4f8; font-size: 20px; text-decoration: none; display: block; margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.sa-g-desc { color: #9aa0a6; font-size: 14px; line-height: 1.58; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}

.sa-tg-preview { background: #182533; padding: 12px; border-radius: 10px; border-left: 3px solid #38bdf8; display: flex; align-items: center; gap: 15px; font-family: Arial, sans-serif; overflow: hidden; width: 100%; box-sizing: border-box;}
.sa-tg-img { width: 80px; height: 80px; flex-shrink: 0; background: #0f172a; border-radius: 8px; display: flex; justify-content: center; align-items: center; color: #64748b; overflow: hidden;}
.sa-tg-img img { width: 100%; height: 100%; object-fit: cover; }
.sa-tg-content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center;}
.sa-tg-title { color: #38bdf8; font-weight: bold; font-size: 15px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.sa-tg-desc { color: #e2e8f0; font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}

.sa-todo-item { display: flex; align-items: flex-start; gap: 10px; background: rgba(0,0,0,0.2); padding: 12px 15px; border-radius: 8px; margin-bottom: 8px; border: 1px solid rgba(255,255,255,0.05);}
.sa-todo-item.crit { border-left: 3px solid #ef4444; }
.sa-todo-item.warn { border-left: 3px solid #f59e0b; }
.sa-todo-item.ok { border-left: 3px solid #10b981; }
.sa-h-tree { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 15px; margin-top: 15px; font-size: 13px; max-height: 250px; overflow-y: auto;}
.sa-h-node { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255,255,255,0.02);}
.sa-h-tag { background: rgba(59, 130, 246, 0.1); color: #60a5fa; padding: 2px 6px; border-radius: 4px; font-size: 11px; font-weight: bold; min-width: 25px; text-align: center;}
.sa-top-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; margin-bottom: 25px;}
.sa-top-card { background: rgba(0,0,0,0.2); border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.05); text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center;}
.sa-score-circle { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(#1e293b 100%, #1e293b 0); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,0.4); margin-bottom: 10px;}
.sa-score-inner { width: 100px; height: 100px; border-radius: 50%; background: var(--bg-card); display: flex; align-items: center; justify-content: center; flex-direction: column; box-shadow: inset 0 4px 10px rgba(0,0,0,0.5);}
.sa-score-val { font-size: 36px; font-weight: 900; line-height: 1; }
.sa-big-num { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 5px;}
.sa-sec-title { font-size: 16px; font-weight: 900; color: #fff; margin: 0 0 20px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 10px; display: flex; align-items: center; gap: 10px;}
.sa-item-row { padding: 12px 15px; background: rgba(255,255,255,0.02); border-radius: 8px;}
.sa-flex-row { display: flex; justify-content: space-between; align-items: center;}
.sa-item-lbl { color: #cbd5e1; font-size: 13px;}
.sa-item-val { color: #fff; font-weight: bold; font-size: 14px;}
.sa-share-box { display: flex; justify-content: space-between; align-items: center; background: rgba(59, 130, 246, 0.05); border: 1px dashed rgba(59, 130, 246, 0.4); border-radius: 12px; padding: 15px 20px; margin-bottom: 20px; flex-wrap: wrap; gap: 15px;}
.sa-share-url { background: rgba(0,0,0,0.4); padding: 10px 15px; border-radius: 8px; font-family: monospace; color: #60a5fa; font-size: 13px; border: 1px solid rgba(59, 130, 246, 0.2); font-weight: bold;}
.sa-badge { padding: 4px 10px; border-radius: 6px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.sa-badge-ok { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.sa-badge-err { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.sa-kw-table { width: 100%; border-collapse: collapse; font-size: 13px;}
.sa-kw-table th { text-align: left; color: #64748b; padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.1);}
.sa-kw-table td { padding: 10px; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.02);}

/* ========================================================= */
/* 22. РЕКЛАМОДАТЕЛЬ ПФ (ИЗ MY_SEO_QUESTS.PHP)               */
/* ========================================================= */
.pf-card { background: var(--bg-card); border-radius: 12px; padding: 25px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.15); margin-bottom: 25px;}
.pf-input-wrap { margin-bottom: 20px;} 
.pf-label { font-size: 13px; color: #cbd5e1; font-weight: bold; display: block; margin-bottom: 6px; text-transform: uppercase;}
.pf-input { width: 100%; box-sizing: border-box; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #fff; border-radius: 6px; padding: 12px 15px; outline: none; font-family: 'Segoe UI', sans-serif; font-size: 14px;} 
.pf-input:focus { border-color: #3b82f6; background: rgba(0,0,0,0.5); }
.pf-select { -webkit-appearance: none; appearance: none; background-image: url('data:image/svg+xml;utf8,<svg fill="%2394a3b8" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>'); background-repeat: no-repeat; background-position-x: calc(100% - 10px); background-position-y: 50%; }

.c-card { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 20px; margin-bottom: 15px;}

.c-meta-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: 12px; font-weight: bold;}
.c-meta-item { background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 6px; color: #94a3b8; display: flex; align-items: center; gap: 6px;}
.c-meta-engine.google { color: #3b82f6; border: 1px solid rgba(59,130,246,0.3); }
.c-meta-engine.yandex { color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

.c-desc-box { background: rgba(59, 130, 246, 0.05); border-left: 3px solid #3b82f6; padding: 12px; margin-bottom: 15px; font-size: 13px; color: #cbd5e1; border-radius: 4px; line-height: 1.5;}

.c-tracker-box { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; align-items: stretch;}
.verify-btn { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px dashed #ef4444; padding: 10px 15px; border-radius: 6px; font-weight: bold; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; transition: 0.2s;}
.verify-btn:hover { background: #ef4444; color: #fff;}
.verified-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #10b981; font-weight: bold; padding: 10px 15px; background: rgba(16, 185, 129, 0.1); border-radius: 6px; border: 1px solid rgba(16, 185, 129, 0.3);}

.c-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px dashed rgba(255,255,255,0.1); flex-wrap: wrap; gap: 15px;}
.c-stats { display: flex; gap: 10px; flex-wrap: wrap;}
.stat-badge { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); border-radius: 6px; padding: 6px 12px; font-size: 13px; font-weight: bold; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.btn-report-view { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-color: rgba(239, 68, 68, 0.3); cursor: pointer; transition: 0.2s;}
.btn-report-view:hover { background: #ef4444; color: #fff; }

.pf-btn-main { background: linear-gradient(135deg, #2b5278, #1e3a5f); color: #fff; border: 1px solid #3b82f6; border-radius: 8px; padding: 12px 20px; font-weight: bold; cursor: pointer; text-transform: uppercase; width: 100%; display: block;}

.chk-wrap { display: flex; align-items: center; gap: 10px; margin-top: 10px; cursor: pointer; font-size: 13px; color: #cbd5e1;}
.chk-wrap input { width: 18px; height: 18px; cursor: pointer;}

.rep-item { background: rgba(0,0,0,0.3); padding: 15px; border-radius: 8px; margin-bottom: 10px; text-align: left; border-left: 3px solid #ef4444;}
.rep-date { font-size: 11px; color: #64748b; margin-bottom: 5px; font-family: monospace;}

/* МЕДИА-ЗАПРОСЫ ДЛЯ ПАНЕЛЕЙ И ОСТАЛЬНОГО */
@media (max-width: 768px) {
    .dashboard-header { flex-direction: column; align-items: stretch; }
    .header-badges { justify-content: space-between; width: 100%; }
    .btn-rank-table { width: 100%; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .add-site-form { flex-direction: column; height: auto !important; border: none !important; background: transparent !important; gap: 10px; }
    .add-site-form input[type="url"] { width: 100%; padding: 12px; border: 1px solid var(--border-color) !important; border-radius: 6px; box-sizing: border-box; }
    .add-site-form .captcha-block { width: 100%; justify-content: space-between; padding: 10px; border: 1px solid var(--border-color); border-radius: 6px; box-sizing: border-box; }
    .action-panel .panel-title { flex-direction: column; align-items: flex-start; gap: 10px; }
    .action-panel .panel-title > div { text-align: left; width: 100%; justify-content: space-between; }
    .site-list-item { flex-direction: column; align-items: flex-start; }
    .btn-massive-start { width: 100%; min-width: unset; }
    .profile-header-wrap { flex-direction: column; align-items: center; text-align: center; }
    .profile-info-block { width: 100%; }
    .info-grid { grid-template-columns: 1fr; gap: 10px; }
    .avatar-grid { grid-template-columns: repeat(5, 1fr); gap: 5px; }
    .code-section { flex-direction: column; align-items: stretch !important; }
    .code-section button { width: 100% !important; }
    .sa-top-grid, .sa-grid-2 { grid-template-columns: 1fr; } 
    .sa-share-box { flex-direction: column; text-align: center;}
}

@media (max-width: 600px) {
    .stat-divider { display: none; }
    .guest-stats-bar { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 500px) {
    .obmen-container .unified-form-group { flex-direction: column; border: none; background: transparent; overflow: visible; }
    .obmen-container .unified-form-group:focus-within { box-shadow: none; }
    .obmen-container .input-url { border: 2px solid var(--border-color); background: var(--bg-input); border-radius: 8px; margin-bottom: 8px; width: 100%; box-sizing: border-box; }
    .obmen-container .captcha-wrap { border: 2px solid var(--border-color); background: var(--bg-light); border-radius: 8px; padding: 10px; justify-content: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .header-badges { flex-direction: column; align-items: stretch; }
    .rank-badge, .avail-badge { justify-content: center; }
    .btn-massive-start .btn-main-text { font-size: 14px; }
    .reg-card { padding: 20px 15px; }
    .captcha-block { flex-direction: column; gap: 10px; }
    .captcha-input { width: 100% !important; margin-top: 5px !important; }
    .support-card { padding: 15px; }
    .support-captcha { flex-direction: column; align-items: stretch; text-align: center; }
    .support-captcha > div { justify-content: center; flex-direction: column; gap: 5px; }
    .support-captcha input { width: 100% !important; margin-top: 10px !important; }
}