.red_icon {
	color:red;
}

/* ==========================================================================
   1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ
   ========================================================================== */
:root {
    --tg-black: #0f0f0f;
    --tg-dark-grey: #1c1c1c;
    --tg-green: #39FF14;
    --tg-purple: #8A2BE2;
    --tg-blue: #00BFFF;
    --tg-orange: #ffaa00;
    --tg-text: #e0e0e0;
    --tg-text-muted: #888888;
    --tg-input-bg: #252525;
}

body {
    background-color: var(--tg-black);
    color: var(--tg-text);
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* ==========================================================================
   2. ШАПКА (Header)
   ========================================================================== */
.game-header {
    text-align: center;
    padding: 30px 0 20px 0;
    position: relative;
    background: linear-gradient(180deg, rgba(138, 43, 226, 0.15) 0%, rgba(15, 15, 15, 0) 100%);
    border-bottom: 1px solid #222;
}

.logo-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: inline-block;
    text-decoration: none;
}

.logo-t { color: var(--tg-green); }
.logo-g { color: var(--tg-purple); }

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.game-subtitle {
    font-size: 0.9rem;
    color: var(--tg-text-muted);
    margin-bottom: 25px;
}


/* ==========================================================================
   3. ПРОГРЕСС-БАРЫ (в шапке)
   ========================================================================== */
.progress-bars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
}

.custom-progress {
    width: 160px;
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.custom-progress .progress-bar {
    height: 100%;
    border-radius: 4px;
}

.progress-bars .custom-progress:nth-child(1) .progress-bar {
    background-color: var(--tg-green) !important;
    animation: pulseGreen 2.5s ease-in-out infinite;
}

.progress-bars .custom-progress:nth-child(2) .progress-bar {
    background-color: var(--tg-purple) !important;
    animation: pulsePurple 2.5s ease-in-out infinite 0.4s;
}

.progress-bars .custom-progress:nth-child(3) .progress-bar {
    background-color: var(--tg-blue) !important;
    animation: pulseBlue 2.5s ease-in-out infinite 0.8s;
}

@keyframes pulseGreen {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(57, 255, 20, 0.5), 0 0 16px rgba(57, 255, 20, 0.2); }
    50%      { opacity: 0.7; box-shadow: 0 0 14px rgba(57, 255, 20, 0.9), 0 0 28px rgba(57, 255, 20, 0.4); }
}

@keyframes pulsePurple {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(138, 43, 226, 0.5), 0 0 16px rgba(138, 43, 226, 0.2); }
    50%      { opacity: 0.7; box-shadow: 0 0 14px rgba(138, 43, 226, 0.9), 0 0 28px rgba(138, 43, 226, 0.4); }
}

@keyframes pulseBlue {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 191, 255, 0.5), 0 0 16px rgba(0, 191, 255, 0.2); }
    50%      { opacity: 0.7; box-shadow: 0 0 14px rgba(0, 191, 255, 0.9), 0 0 28px rgba(0, 191, 255, 0.4); }
}


/* ==========================================================================
   4. НАВИГАЦИЯ
   ========================================================================== */
.nav-bar {
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
    margin-bottom: 20px;
}

.nav-bar .container { position: relative; }

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--tg-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--tg-green); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn-nav-login {
    color: var(--tg-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-nav-login:hover {
    color: var(--tg-green);
    background-color: rgba(57, 255, 20, 0.05);
}

.btn-nav-register {
    background: linear-gradient(90deg, var(--tg-green), #2ecc71);
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-nav-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.4);
    color: #000;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--tg-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 8px;
    transition: color 0.2s;
    margin-left: 12px;
}

.mobile-toggle:hover { color: var(--tg-green); }

.mobile-toggle[aria-expanded="true"] .fa-bars::before {
    content: "\f00d";
}

/* Раскрывающийся блок */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #1a1a1a;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 20px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    
    /* --- ИСПРАВЛЕНИЕ ПРОКРУТКИ --- */
    max-height: calc(100vh - 80px); /* 80px — примерная высота нав-бара */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
}

.mobile-menu ul { list-style: none; padding: 0; margin: 0; }

.mobile-menu ul li { margin-bottom: 15px; }
.mobile-menu ul li:last-child { margin-bottom: 0; }

.mobile-menu ul li a {
    color: var(--tg-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #252525;
    transition: color 0.2s;
}

.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul li a:hover { color: var(--tg-green); }


/* ==========================================================================
   5. ФОРМЫ АВТОРИЗАЦИИ
   ========================================================================== */
.auth-card {
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tg-purple), var(--tg-green));
    border-radius: 16px 16px 0 0;
}

.form-label {
    font-size: 0.85rem;
    color: var(--tg-text-muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control {
    background-color: var(--tg-input-bg);
    border: 1px solid #444;
    color: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #2a2a2a;
    border-color: var(--tg-green);
    box-shadow: 0 0 0 0.25rem rgba(57, 255, 20, 0.15);
    color: #fff;
}

.form-control::placeholder { color: #555; }

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-tg-primary {
    background: linear-gradient(90deg, var(--tg-green), #2ecc71);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-tg-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.4);
    color: #000;
}

.forgot-link {
    font-size: 0.8rem;
    color: var(--tg-purple);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover { color: #a855f7; text-decoration: underline; }

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--tg-text-muted);
    font-size: 0.8rem;
    margin: 25px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #333;
}

.divider span { padding: 0 15px; }

.btn-google {
    background-color: transparent;
    border: 1px solid #444;
    color: var(--tg-text);
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google:hover {
    background-color: #2a2a2a;
    border-color: #666;
    color: #fff;
}

.btn-google img { width: 18px; height: 18px; }

.auth-icon {
    text-align: center;
    font-size: 3rem;
    color: var(--tg-purple);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--tg-text-muted);
}

.auth-footer a {
    color: var(--tg-green);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover { text-decoration: underline; }

.form-check-input {
    background-color: var(--tg-input-bg);
    border-color: #444;
}

.form-check-input:checked {
    background-color: var(--tg-purple);
    border-color: var(--tg-purple);
}

.form-check-label {
    font-size: 0.8rem;
    color: var(--tg-text-muted);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: transparent;
    border: 1px solid #333;
    color: var(--tg-text-muted);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-back:hover {
    background-color: #252525;
    color: #fff;
    border-color: #555;
}

.btn-back i { margin-right: 8px; }


/* ==========================================================================
   6. ФУТЕР
   ========================================================================== */
.footer {
    background-color: #0a0a0a;
    border-top: 1px solid #222;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-brand {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-brand .logo-t { color: var(--tg-green); }
.footer-brand .logo-g { color: var(--tg-purple); }

.footer-desc {
    color: var(--tg-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: var(--tg-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--tg-green); }

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #555;
    flex-wrap: wrap;
    gap: 15px;
}


/* ==========================================================================
   7. HERO-СЕКЦИЯ (лендинг)
   ========================================================================== */
.hero {
    padding: 60px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -300px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: var(--tg-purple);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--tg-green);
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.7); }
    50%      { opacity: 0.7; box-shadow: 0 0 0 8px rgba(57, 255, 20, 0); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 25px;
}

.hero-title .accent-green { color: var(--tg-green); }
.hero-title .accent-purple { color: var(--tg-purple); }

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--tg-text-muted);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-hero-primary {
    background: linear-gradient(90deg, var(--tg-green), #2ecc71);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.4);
    color: #000;
}

.btn-hero-secondary {
    background-color: transparent;
    border: 1px solid #444;
    color: var(--tg-text);
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-secondary:hover {
    background-color: #252525;
    border-color: var(--tg-purple);
    color: #fff;
}

.hero-trust {
    display: flex;
    gap: 30px;
    font-size: 0.85rem;
    color: var(--tg-text-muted);
    flex-wrap: wrap;
}

.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust i { color: var(--tg-green); }

/* Плавающие карточки ачивок */
.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
}

.floating-achievement {
    position: absolute;
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.floating-achievement:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--tg-purple);
    z-index: 10;
}

.floating-achievement .ach-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.5rem;
}

.floating-achievement .ach-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.floating-achievement .ach-desc {
    font-size: 0.7rem;
    color: var(--tg-text-muted);
    line-height: 1.3;
}

.fa-1 {
    top: 10%;
    left: 0;
    animation: float 6s ease-in-out infinite;
    transform: rotate(-5deg);
}
.fa-1 .ach-icon {
    background: rgba(57, 255, 20, 0.15);
    color: var(--tg-green);
    border: 2px solid var(--tg-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.fa-2 {
    top: 35%;
    right: 0;
    animation: float 7s ease-in-out infinite 1s;
    transform: rotate(5deg);
}
.fa-2 .ach-icon {
    background: rgba(138, 43, 226, 0.15);
    color: var(--tg-purple);
    border: 2px solid var(--tg-purple);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
}

.fa-3 {
    bottom: 10%;
    left: 15%;
    animation: float 8s ease-in-out infinite 0.5s;
    transform: rotate(3deg);
}
.fa-3 .ach-icon {
    background: rgba(255, 170, 0, 0.15);
    color: var(--tg-orange);
    border: 2px solid var(--tg-orange);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50%      { transform: translateY(-20px) rotate(-5deg); }
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(138, 43, 226, 0.2);
    border-radius: 50%;
    animation: rotateCircle 30s linear infinite;
}

@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


/* ==========================================================================
   8. СТАТИСТИКА
   ========================================================================== */
.stats-bar {
    background-color: var(--tg-dark-grey);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 40px 0;
}

.stat-item { text-align: center; padding: 15px; }

.stat-value {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: var(--tg-green);
    margin-bottom: 10px;
    line-height: 1.2;
}

.stat-value.purple { color: var(--tg-purple); }
.stat-value.orange { color: var(--tg-orange); }
.stat-value.blue   { color: var(--tg-blue); }

.stat-label {
    font-size: 0.85rem;
    color: var(--tg-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Плитки в секции "Проект в цифрах" */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box {
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.stat-box .value {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--tg-green);
    margin-bottom: 10px;
    line-height: 1.3;
}

.stat-box .value.purple { color: var(--tg-purple); }
.stat-box .value.blue   { color: var(--tg-blue); }
.stat-box .value.orange { color: var(--tg-orange); }

.stat-box .label {
    font-size: 0.8rem;
    color: var(--tg-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ==========================================================================
   9. ЗАГОЛОВКИ СТРАНИЦ
   ========================================================================== */
/* Простой заголовок (support.html) */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.page-desc {
    color: var(--tg-text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Улучшенный заголовок (about/privacy/terms/premium) */
.page-hero {
    text-align: center;
    margin-bottom: 50px;
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-hero h1 .accent { color: var(--tg-green); }

.page-hero p {
    color: var(--tg-text-muted);
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.update-date {
    display: inline-block;
    margin-top: 20px;
    padding: 6px 16px;
    background-color: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--tg-purple);
    font-weight: 500;
}


/* ==========================================================================
   10. СЕКЦИИ И КАРТОЧКИ
   ========================================================================== */
.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--tg-purple);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-title i {
    color: var(--tg-purple);
    font-size: 1.3rem;
}

.section-desc {
    color: var(--tg-text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-text {
    font-size: 1rem;
    color: var(--tg-text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.section-text strong { color: var(--tg-text); }

/* Feature-карточка */
.feature-card {
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--tg-purple);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--feature-color, var(--tg-green)), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--tg-text-muted);
    line-height: 1.6;
}

/* Контент-карточка для текстовых страниц */
.content-card {
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    position: relative;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tg-green), var(--tg-purple));
    border-radius: 16px 16px 0 0;
}

.section-block { margin-bottom: 35px; }
.section-block:last-child { margin-bottom: 0; }

.section-block h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-block h2 .num {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: var(--tg-purple);
    flex-shrink: 0;
}

.section-block p,
.section-block li {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 12px;
}

.section-block ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.section-block ul li { margin-bottom: 8px; }
.section-block strong { color: var(--tg-text); }

.section-block a {
    color: var(--tg-green);
    text-decoration: none;
}

.section-block a:hover { text-decoration: underline; }

/* Плашка-выделение */
.highlight-box {
    background-color: #252525;
    border-left: 3px solid var(--tg-green);
    border-radius: 8px;
    padding: 18px 22px;
    margin: 20px 0;
}

.highlight-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Универсальная контент-карточка (about.html с цветной полоской) */
.content-card-tinted {
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    transition: all 0.3s;
    position: relative;
}

.content-card-tinted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--card-color, var(--tg-green)), transparent);
    border-radius: 16px 16px 0 0;
}

.content-card-tinted:hover {
    transform: translateY(-5px);
    border-color: var(--card-color, var(--tg-purple));
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background-color: rgba(57, 255, 20, 0.1);
    color: var(--card-color, var(--tg-green));
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--tg-text-muted);
    line-height: 1.6;
}


/* ==========================================================================
   11. ШАГИ (КАК ЭТО РАБОТАЕТ)
   ========================================================================== */
.steps-container { position: relative; }

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--tg-green), var(--tg-purple), var(--tg-blue));
    opacity: 0.3;
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--tg-dark-grey);
    border: 3px solid var(--tg-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--tg-green);
    position: relative;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.step-card:nth-child(2) .step-number {
    border-color: var(--tg-purple);
    color: var(--tg-purple);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
}

.step-card:nth-child(3) .step-number {
    border-color: var(--tg-blue);
    color: var(--tg-blue);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--tg-text-muted);
    line-height: 1.5;
    max-width: 250px;
    margin: 0 auto;
}


/* ==========================================================================
   12. ПРИНЦИПЫ (about.html)
   ========================================================================== */
.principle {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #252525;
}

.principle:last-child { border-bottom: none; }

.principle-number {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    color: var(--tg-purple);
    flex-shrink: 0;
    width: 50px;
    padding-top: 5px;
}

.principle-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.principle-content p {
    font-size: 0.9rem;
    color: var(--tg-text-muted);
    line-height: 1.6;
    margin: 0;
}


/* ==========================================================================
   13. TELEGRAM-КАРТОЧКА (support.html)
   ========================================================================== */
.telegram-card {
    background: linear-gradient(135deg, #1c1c1c 0%, #0a1f2e 100%);
    border: 2px solid #0088cc;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.telegram-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 136, 204, 0.3);
    border-color: #00aaff;
    color: inherit;
}

.telegram-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.telegram-card-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.telegram-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

.telegram-info { flex-grow: 1; }

.telegram-label {
    display: inline-block;
    background-color: rgba(0, 136, 204, 0.2);
    color: #00aaff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.telegram-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.telegram-desc {
    color: var(--tg-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.telegram-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--tg-text-muted);
    flex-wrap: wrap;
}

.telegram-meta span { display: flex; align-items: center; gap: 6px; }
.telegram-meta i { color: var(--tg-green); }

.telegram-arrow {
    font-size: 1.5rem;
    color: #00aaff;
    transition: transform 0.3s;
}

.telegram-card:hover .telegram-arrow { transform: translateX(10px); }


/* ==========================================================================
   14. ФОРМА БЫСТРОГО ВОПРОСА (support.html)
   ========================================================================== */
.quick-form-card {
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
}

.quick-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tg-green), var(--tg-purple));
    border-radius: 16px 16px 0 0;
}

.quick-form-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.quick-form-desc {
    font-size: 0.85rem;
    color: var(--tg-text-muted);
    margin-bottom: 20px;
}

.btn-send {
    background: linear-gradient(90deg, #0088cc, #00aaff);
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
    color: #fff;
}

.btn-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}


/* ==========================================================================
   15. FAQ (АККОРДЕОН)
   ========================================================================== */
.faq-section { margin-bottom: 40px; }

.faq-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-title i { color: var(--tg-purple); }

.accordion-item {
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--tg-dark-grey);
    color: var(--tg-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 20px 25px;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #252525;
    color: var(--tg-green);
}

.accordion-button::after {
    filter: invert(1);
    opacity: 0.5;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(57%) sepia(89%) saturate(2000%) hue-rotate(80deg);
    opacity: 1;
}

.accordion-body {
    background-color: #1a1a1a;
    color: var(--tg-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 20px 25px;
    border-top: 1px solid #333;
}

.accordion-body a { color: var(--tg-green); text-decoration: none; }
.accordion-body a:hover { text-decoration: underline; }


/* ==========================================================================
   16. АЛЬТЕРНАТИВНЫЕ СПОСОБЫ СВЯЗИ (support.html)
   ========================================================================== */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.contact-card {
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    border-color: var(--tg-purple);
    transform: translateY(-3px);
    color: inherit;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background-color: #252525;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--tg-purple);
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    background-color: rgba(138, 43, 226, 0.15);
}

.contact-info { flex-grow: 1; }

.contact-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.contact-desc {
    font-size: 0.8rem;
    color: var(--tg-text-muted);
}


/* ==========================================================================
   18. CTA-СЕКЦИЯ
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--tg-dark-grey) 0%, #0a1a0a 100%);
    border: 1px solid #333;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.15) 0%, transparent 70%);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--tg-text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: linear-gradient(90deg, var(--tg-green), #2ecc71);
    color: #000;
    font-weight: 700;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.4);
    color: #000;
}


/* ==========================================================================
   19. COOKIE CONSENT
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1080;
    max-width: 400px;
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    animation: cookieSlideIn 0.5s ease-out;
    overflow: hidden;
}

.cookie-consent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tg-green), var(--tg-purple));
    border-radius: 16px 16px 0 0;
}

.cookie-consent .cookie-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: rgba(138, 43, 226, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-purple) !important;
}

.cookie-consent .cookie-icon svg { width: 20px; height: 20px; }

.cookie-consent h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.cookie-consent p {
    font-size: 0.8rem;
    color: var(--tg-text-muted) !important;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cookie-consent p a {
    color: var(--tg-green) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.cookie-consent p a:hover {
    color: #2ecc71 !important;
    text-decoration: underline;
}

.cookie-consent .btn-cookie-accept {
    background: linear-gradient(90deg, var(--tg-green), #2ecc71);
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.cookie-consent .btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.4);
    color: #000;
}

@keyframes cookieSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cookie-consent.hiding {
    animation: cookieSlideOut 0.4s ease-in forwards;
}

@keyframes cookieSlideOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(30px); }
}


/* ==========================================================================
   20. МЕДИАЗАПРОСЫ
   ========================================================================== */
@media (max-width: 992px) {
    .mobile-toggle { display: block; }
    .nav-links     { display: none; }

    .nav-actions {
        margin-left: 0;
        margin-right: auto;
    }

    .steps-container::before { display: none; }
}

@media (min-width: 993px) {
    .mobile-menu { display: none !important; }
}

@media (max-width: 768px) {
    .page-hero h1        { font-size: 1.8rem; }
    .page-hero p         { font-size: 1rem; }
    .page-title          { font-size: 1.5rem; }
    .section-title       { font-size: 1.6rem; }
    .content-card        { padding: 25px; }
    .content-card-tinted { padding: 25px; }
    .stat-box .value     { font-size: 1.2rem; }
    .stat-value          { font-size: 1.4rem; }
    .cta-title           { font-size: 1.5rem; }
    .plan-card           { padding: 30px 25px; }
    .plan-price .amount  { font-size: 1.8rem; }
    .pricing-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    /* Общие */
    .hero                { padding: 40px 0 60px; }
    .hero-title          { font-size: 2rem; }
    .hero-subtitle       { font-size: 1rem; }
    .section             { padding: 50px 0; }
    .section-title       { font-size: 1.6rem; }
    .cta-section         { padding: 40px 20px; }
    .cta-title           { font-size: 1.3rem; }
    .stat-value          { font-size: 1.3rem; }
    .game-header         { padding: 20px 0 15px 0; }
    .logo-text           { font-size: 1.5rem; }

    /* Плавающие ачивки */
    .floating-achievement           { width: 150px; padding: 15px; }
    .floating-achievement .ach-icon { width: 45px; height: 45px; font-size: 1.1rem; }
    .floating-achievement .ach-name { font-size: 0.75rem; }
    .floating-achievement .ach-desc { font-size: 0.65rem; }

    /* Cookie */
    .cookie-consent {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
        padding: 18px 20px;
    }
    .cookie-consent .cookie-icon     { width: 34px; height: 34px; }
    .cookie-consent .cookie-icon svg { width: 16px; height: 16px; }
    .cookie-consent h6               { font-size: 0.9rem; }
    .cookie-consent p                { font-size: 0.75rem; }
    .cookie-consent .btn-cookie-accept { width: 100%; padding: 12px; }
}

@media (max-width: 480px) {
    .btn-nav-login           { padding: 8px 10px; font-size: 0.85rem; }
    .btn-nav-register        { padding: 8px 12px; font-size: 0.85rem; }
    .btn-nav-register span   { display: none; }
    .nav-actions             { gap: 6px; }
}

/* ==========================================================================
   NOTIFICATION BAR (полоса уведомлений)
   ========================================================================== */
.notification-bar {
   # display: none; /* по умолчанию скрыта */
    position: relative;
    background-color: var(--tg-dark-grey);
    border-bottom: 1px solid #333;
    border-top: 1px solid #333;
    margin-bottom: 30px;
    overflow: hidden;
    animation: notifSlideDown 0.4s ease-out;
}

.notification-bar.show {
    display: block;
}

/* Неоновая полоска слева — цвет зависит от типа */
.notification-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: var(--tg-purple);
    box-shadow: 0 0 12px var(--notif-color, var(--tg-green));
}

.notification-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
}

/* Иконка */
.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    background-color: rgba(57, 255, 20, 0.12);
    color: var(--notif-color);
}

/* Текст */
.notification-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.notification-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.notification-message {
    font-size: 0.85rem;
    color: var(--tg-text-muted);
    line-height: 1.5;
}

/* Кнопка закрытия */
.notification-close {
    background: none;
    border: none;
    color: var(--tg-text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.notification-close:hover {
    background-color: #252525;
    color: #fff;
}

/* --- ТИПЫ УВЕДОМЛЕНИЙ --- */

/* Успех (зелёный) — используется по умолчанию */
.notification-bar.success {
    --notif-color: var(--tg-green);
}

.notification-bar.success .notification-icon {
    background-color: rgba(57, 255, 20, 0.12);
}

/* Ошибка (красный) */
.notification-bar.error {
    --notif-color: #ff4d4d;
}

.notification-bar.error .notification-icon {
    background-color: rgba(255, 77, 77, 0.12);
}

.notification-bar.error .notification-close:hover {
    background-color: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
}

/* Информация (синий) */
.notification-bar.info {
    --notif-color: var(--tg-blue);
}

.notification-bar.info .notification-icon {
    background-color: rgba(0, 191, 255, 0.12);
}

/* Предупреждение (оранжевый) */
.notification-bar.warning {
    --notif-color: var(--tg-orange);
}

.notification-bar.warning .notification-icon {
    background-color: rgba(255, 170, 0, 0.12);
}

/* --- АНИМАЦИИ --- */
@keyframes notifSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-bar.hiding {
    animation: notifSlideUp 0.3s ease-in forwards;
}

@keyframes notifSlideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* --- АДАПТИВ --- */
@media (max-width: 576px) {
    .notification-inner {
        padding: 14px 0;
        gap: 12px;
    }

    .notification-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .notification-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .notification-title {
        font-size: 0.85rem;
        white-space: normal;
    }

    .notification-message {
        font-size: 0.8rem;
    }
}

 /* --- ЗАГОЛОВОК --- */
        .page-hero {
            text-align: center;
            margin: 50px 0;
        }

        .page-hero h1 {
            font-size: 2.2rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .page-hero h1 .accent {
            color: var(--tg-green);
        }

        .page-hero p {
            color: var(--tg-text-muted);
            font-size: 1rem;
            max-width: 650px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .update-date {
            display: inline-block;
            margin-top: 20px;
            padding: 6px 16px;
            background-color: rgba(138, 43, 226, 0.15);
            border: 1px solid rgba(138, 43, 226, 0.3);
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--tg-purple);
            font-weight: 500;
        }

        /* --- КОНТЕНТ --- */
        .content-card {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 16px;
            padding: 40px;
            margin-bottom: 30px;
            position: relative;
        }

        .content-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--tg-green), var(--tg-purple));
            border-radius: 16px 16px 0 0;
        }

        .section-block {
            margin-bottom: 35px;
        }

        .section-block:last-child {
            margin-bottom: 0;
        }

        .section-block h2 {
            font-size: 1.25rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .section-block h2 .num {
            font-family: 'Press Start 2P', cursive;
            font-size: 0.9rem;
            color: var(--tg-green);
            flex-shrink: 0;
        }

        .section-block p,
        .section-block li {
            font-size: 0.95rem;
            color: #b0b0b0;
            line-height: 1.7;
            margin-bottom: 12px;
        }

        .section-block ul {
            padding-left: 20px;
            margin-bottom: 15px;
        }

        .section-block ul li {
            margin-bottom: 8px;
        }

        .section-block strong {
            color: var(--tg-text);
        }

        .section-block a {
            color: var(--tg-green);
            text-decoration: none;
        }

        .section-block a:hover {
            text-decoration: underline;
        }

        /* Плашки */
        .highlight-box {
            background-color: #252525;
            border-left: 3px solid var(--tg-green);
            border-radius: 8px;
            padding: 18px 22px;
            margin: 20px 0;
        }

        .highlight-box p {
            margin: 0;
            font-size: 0.9rem;
            color: #b0b0b0;
            line-height: 1.6;
        }

        .warning-box {
            background-color: rgba(255, 170, 0, 0.08);
            border-left: 3px solid var(--tg-orange);
            border-radius: 8px;
            padding: 18px 22px;
            margin: 20px 0;
        }

        .warning-box p {
            margin: 0;
            font-size: 0.9rem;
            color: #b0b0b0;
            line-height: 1.6;
        }

        /* Read-only badge */
        .readonly-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background-color: rgba(57, 255, 20, 0.12);
            border: 1px solid rgba(57, 255, 20, 0.3);
            color: var(--tg-green);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }
		
		 /* --- АДАПТИВ --- */
        @media (max-width: 768px) {
            .page-title { font-size: 1.6rem; }
            .confirm-bar-content {
                flex-direction: column;
                gap: 12px;
                text-align: center;
                padding: 0 15px;
            }
            .btn-confirm {
                width: 100%;
                justify-content: center;
            }
            .counter-card {
                padding: 18px;
            }
        }
		
		 /* --- ПОИСК --- */
        .search-wrapper {
            max-width: 500px;
            margin: 30px auto 40px;
            position: relative;
        }

        .search-wrapper i {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--tg-text-muted);
            font-size: 1rem;
        }

        .search-input {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            color: #fff;
            padding: 14px 18px 14px 48px;
            border-radius: 12px;
            width: 100%;
            font-size: 0.95rem;
            transition: all 0.3s;
        }

        .search-input:focus {
            background-color: #252525;
            border-color: var(--tg-purple);
            box-shadow: 0 0 0 0.25rem rgba(138, 43, 226, 0.25);
            color: #fff;
            outline: none;
        }

        .search-input::placeholder {
            color: #555;
        }

        /* --- ГРУППА СЧЁТЧИКОВ --- */
        .counter-group {
            margin-bottom: 40px;
        }

        .group-title {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--tg-text-muted);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .group-title i {
            color: var(--tg-purple);
        }

        .group-title .badge-count {
            background-color: rgba(138, 43, 226, 0.15);
            color: var(--tg-purple);
            font-size: 0.7rem;
            padding: 3px 10px;
            border-radius: 10px;
            margin-left: auto;
        }

        /* --- КАРТОЧКА СЧЁТЧИКА --- */
        .counter-card {
            background-color: var(--tg-dark-grey);
            border: 2px solid #333;
            border-radius: 16px;
            padding: 22px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .counter-card:hover {
            border-color: var(--tg-purple);
            transform: translateY(-4px);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        }

        /* Состояние "Выбрано" */
        .counter-card.selected {
            border-color: var(--tg-green);
            background-color: rgba(57, 255, 20, 0.04);
            box-shadow: 0 0 25px rgba(57, 255, 20, 0.2);
        }

        /* Галочка выбора */
        .select-check {
            position: absolute;
            top: 18px;
            right: 18px;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 2px solid #444;
            display: flex;
            align-items: center;
            justify-content: center;
            color: transparent;
            font-size: 0.75rem;
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .counter-card.selected .select-check {
            background-color: var(--tg-green);
            border-color: var(--tg-green);
            color: #000;
        }

        /* Иконка + название */
        .counter-header {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-bottom: 18px;
            padding-right: 35px;
        }

        .counter-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background-color: #252525;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--tg-purple);
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .counter-card.selected .counter-icon {
            background-color: rgba(57, 255, 20, 0.12);
            color: var(--tg-green);
        }

        .counter-name {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            margin: 0;
            line-height: 1.3;
            word-break: break-word;
        }

        /* Мета-данные */
        .counter-meta {
            font-size: 0.85rem;
            color: var(--tg-text-muted);
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: auto;
        }

        .meta-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .meta-row i {
            width: 18px;
            color: #555;
            font-size: 0.8rem;
            text-align: center;
            flex-shrink: 0;
        }

        .meta-row .site-link {
            color: var(--tg-text);
            text-decoration: none;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .meta-row .site-link:hover {
            color: var(--tg-green);
        }

        .meta-row code {
            background-color: #252525;
            color: var(--tg-green);
            padding: 2px 8px;
            border-radius: 4px;
            font-family: monospace;
            font-size: 0.78rem;
        }

        /* Статусные бейджи */
        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 6px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .status-active {
            background-color: rgba(57, 255, 20, 0.12);
            color: var(--tg-green);
        }

        .status-inactive {
            background-color: rgba(255, 77, 77, 0.12);
            color: #ff4d4d;
        }

        .permission-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 6px;
            font-weight: 600;
            background-color: rgba(255, 170, 0, 0.12);
            color: var(--tg-orange);
        }

        /* --- ПАНЕЛЬ ПОДТВЕРЖДЕНИЯ --- */
        .confirm-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(28, 28, 28, 0.95);
            backdrop-filter: blur(10px);
            border-top: 1px solid #333;
            padding: 18px 0;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            z-index: 1000;
        }

        .confirm-bar.active {
            transform: translateY(0);
        }

        .confirm-bar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 20px;
            gap: 20px;
        }

        .selected-info {
            color: var(--tg-text-muted);
            font-size: 0.85rem;
        }

        .selected-info strong {
            color: #fff;
            display: block;
            font-size: 1rem;
            margin-top: 2px;
        }

        .btn-confirm {
            background: linear-gradient(90deg, var(--tg-green), #2ecc71);
            color: #000;
            font-weight: 700;
            border: none;
            padding: 14px 32px;
            border-radius: 10px;
            transition: transform 0.2s, box-shadow 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
        }

        .btn-confirm:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(57, 255, 20, 0.4);
            color: #000;
        }

        .btn-confirm:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* --- ПУСТОЕ СОСТОЯНИЕ --- */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            background-color: var(--tg-dark-grey);
            border: 1px dashed #444;
            border-radius: 16px;
        }

        .empty-state i {
            font-size: 3.5rem;
            color: #333;
            margin-bottom: 20px;
        }

        .empty-state h3 {
            color: var(--tg-text-muted);
            font-size: 1.1rem;
            margin-bottom: 10px;
        }

        .empty-state p {
            color: #555;
            font-size: 0.9rem;
        }
		
		  /* --- ЗАГОЛОВОК СТРАНИЦЫ --- */
        .pidslist_page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 35px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .pidslist_page-title {
            font-size: 1.8rem;
            font-weight: 900;
            color: #fff;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .pidslist_count-badge {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--tg-purple);
            background-color: rgba(138, 43, 226, 0.15);
            border: 1px solid rgba(138, 43, 226, 0.3);
            padding: 4px 12px;
            border-radius: 20px;
        }

        .pidslist_btn-add-project {
            background: linear-gradient(90deg, var(--tg-green), #2ecc71);
            color: #000;
            font-weight: 700;
            border: none;
            padding: 12px 24px;
            border-radius: 10px;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            white-space: nowrap;
        }

        .pidslist_btn-add-project:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(57, 255, 20, 0.4);
            color: #000;
        }

        /* --- КАРТОЧКА ПРОЕКТА --- */
        .pidslist_project-card {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 25px;
            height: 100%;
            transition: all 0.3s;
            position: relative;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .pidslist_project-card:hover {
            transform: translateY(-5px);
            border-color: var(--tg-purple);
            box-shadow: 0 15px 40px rgba(138, 43, 226, 0.15);
        }

        .pidslist_project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--pidslist-card-color, var(--tg-green)), transparent);
        }

        /* Заголовок карточки */
        .pidslist_project-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
            gap: 12px;
        }

        .pidslist_project-title-block {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
            flex-grow: 1;
        }

        .pidslist_project-favicon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background-color: #252525;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--tg-purple);
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .pidslist_project-info {
            min-width: 0;
        }

        .pidslist_project-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
            margin: 0 0 4px 0;
            line-height: 1.3;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .pidslist_project-domain {
            font-size: 0.8rem;
            color: var(--tg-text-muted);
            text-decoration: none;
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .pidslist_project-domain:hover {
            color: var(--tg-green);
        }

        /* Бейдж тарифа */
        .pidslist_plan-badge {
            font-size: 0.7rem;
            font-weight: 700;
            padding: 4px 10px;
            border-radius: 6px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .pidslist_plan-badge.standard {
            background-color: rgba(136, 136, 136, 0.15);
            color: var(--tg-text-muted);
        }

        .pidslist_plan-badge.premium {
            background: linear-gradient(90deg, rgba(255, 170, 0, 0.15), rgba(138, 43, 226, 0.15));
            color: var(--tg-orange);
            border: 1px solid rgba(255, 170, 0, 0.3);
        }

        /* Блок прогресса ачивок */
        .pidslist_achievements-block {
            background-color: #252525;
            border-radius: 12px;
            padding: 16px 18px;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        /* Кольцо прогресса */
        .pidslist_progress-ring {
            position: relative;
            width: 70px;
            height: 70px;
            flex-shrink: 0;
        }

        .pidslist_progress-ring svg {
            transform: rotate(-90deg);
            width: 100%;
            height: 100%;
        }

        .pidslist_progress-ring .pidslist_ring-bg {
            fill: none;
            stroke: #333;
            stroke-width: 6;
        }

        .pidslist_progress-ring .pidslist_ring-fill {
            fill: none;
            stroke: var(--pidslist-card-color, var(--tg-green));
            stroke-width: 6;
            stroke-linecap: round;
            transition: stroke-dashoffset 1s ease-out;
        }

        .pidslist_progress-ring .pidslist_ring-text {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            line-height: 1;
        }

        .pidslist_progress-ring .pidslist_ring-value {
            font-size: 1.3rem;
            font-weight: 900;
            color: #fff;
            display: block;
        }

        .pidslist_progress-ring .pidslist_ring-total {
            font-size: 0.65rem;
            color: var(--tg-text-muted);
            display: block;
            margin-top: 2px;
        }

        .pidslist_ach-info {
            flex-grow: 1;
            min-width: 0;
        }

        .pidslist_ach-info-label {
            font-size: 0.7rem;
            color: var(--tg-text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }

        .pidslist_ach-info-value {
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
        }

        .pidslist_ach-info-value small {
            font-size: 0.8rem;
            font-weight: 400;
            color: var(--tg-text-muted);
        }

        /* Последние ачивки */
        .pidslist_last-achievements {
            margin-bottom: 18px;
        }

        .pidslist_last-ach-title {
            font-size: 0.7rem;
            color: var(--tg-text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

        .pidslist_last-ach-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            background-color: #252525;
            border-radius: 8px;
            margin-bottom: 6px;
        }

        .pidslist_last-ach-item:last-child {
            margin-bottom: 0;
        }

        .pidslist_last-ach-icon {
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            flex-shrink: 0;
        }

        .pidslist_last-ach-icon.green {
            background-color: rgba(57, 255, 20, 0.15);
            color: var(--tg-green);
        }
		.pidslist_last-ach-icon.red {
            color:red!important;background-color:rgb(255 233 0 / 15%)!important;
        }

        .pidslist_last-ach-icon.purple {
            background-color: rgba(138, 43, 226, 0.15);
            color: var(--tg-purple);
        }

        .pidslist_last-ach-info {
            flex-grow: 1;
            min-width: 0;
        }

        .pidslist_last-ach-name {
            font-size: 0.85rem;
            font-weight: 600;
            color: #fff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .pidslist_last-ach-date {
            font-size: 0.7rem;
            color: var(--tg-text-muted);
        }

        /* Мета-информация */
        .pidslist_project-meta {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 20px;
            padding-top: 15px;
            border-top: 1px solid #252525;
            font-size: 0.8rem;
        }

        .pidslist_meta-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }

        .pidslist_meta-label {
            color: var(--tg-text-muted);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .pidslist_meta-label i {
            width: 14px;
            font-size: 0.75rem;
            color: #555;
        }

        .pidslist_meta-value {
            color: var(--tg-text);
            font-weight: 500;
        }

        .pidslist_meta-value code {
            background-color: #252525;
            color: var(--tg-green);
            padding: 2px 8px;
            border-radius: 4px;
            font-family: monospace;
            font-size: 0.75rem;
        }

        /* Статус */
        .pidslist_status-badge {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.7rem;
            padding: 3px 8px;
            border-radius: 6px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .pidslist_status-active {
            background-color: rgba(57, 255, 20, 0.12);
            color: var(--tg-green);
        }

        .pidslist_status-warning {
            background-color: rgba(255, 170, 0, 0.12);
            color: var(--tg-orange);
        }

        /* Кнопка */
        .pidslist_btn-open-project {
            width: 100%;
            background-color: transparent;
            border: 1px solid #444;
            color: var(--tg-text);
            padding: 12px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.2s;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: auto;
        }

        .pidslist_btn-open-project:hover {
            background: linear-gradient(90deg, var(--tg-purple), #a855f7);
            border-color: var(--tg-purple);
            color: #fff;
            transform: translateY(-2px);
        }

        /* --- ПУСТОЕ СОСТОЯНИЕ --- */
        .pidslist_empty-state {
            text-align: center;
            padding: 60px 20px;
            background-color: var(--tg-dark-grey);
            border: 1px dashed #444;
            border-radius: 20px;
        }

        .pidslist_empty-state i {
            font-size: 3.5rem;
            color: #333;
            margin-bottom: 20px;
        }

        .pidslist_empty-state h3 {
            color: #fff;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .pidslist_empty-state p {
            color: var(--tg-text-muted);
            font-size: 0.9rem;
            margin-bottom: 25px;
        }
		
		.img20 {
			height:20px;
		}
		.img40 {
			height:40px;
		}
		
		/* --- СОСТОЯНИЕ "УЖЕ ПОДКЛЮЧЕН" --- */

/* Карточка становится полупрозрачной и неактивной для кликов */
.counter-card.disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    border-color: #333;
    background-color: var(--tg-dark-grey);
    position: relative;
    pointer-events: none; /* Отключаем любые клики внутри */
}

/* Убираем эффекты при наведении для заблокированной */
.counter-card.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #333;
}

/* Плашка "Подключен" */
.status-connected {
    position: absolute;
    top: 18px;
    right: 18px;
    background-color: rgba(57, 255, 20, 0.1);
    color: var(--tg-green);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(57, 255, 20, 0.2);
}

/* Иконка глобуса тоже тускнеет */
.counter-card.disabled .counter-icon {
    background-color: #1a1a1a;
    color: #555;
}

/* ============================================================
           КАРТОЧКА СБОРА (manual_)
           ============================================================ */
        .manual_card {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 40px;
            max-width: 560px;
            margin: 0 auto 40px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

        .manual_card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--tg-green), var(--tg-purple));
            border-radius: 20px 20px 0 0;
        }

        .manual_card-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .manual_card-icon {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(57, 255, 20, 0.15), rgba(138, 43, 226, 0.15));
            border: 1px solid rgba(57, 255, 20, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--tg-green);
            font-size: 1.6rem;
            margin: 0 auto 18px;
        }

        .manual_card-title {
            font-size: 1.4rem;
            font-weight: 900;
            color: #fff;
            margin: 0 0 8px 0;
        }

        .manual_card-subtitle {
            font-size: 0.9rem;
            color: var(--tg-text-muted);
            margin: 0;
        }

        /* Поля формы */
        .manual_form-group {
            margin-bottom: 24px;
        }

        .manual_label {
            font-size: 0.85rem;
            color: var(--tg-text-muted);
            font-weight: 500;
            margin-bottom: 8px;
            display: block;
        }

        .manual_select {
            background-color: var(--tg-input-bg);
            border: 1px solid #444;
            color: #fff;
            padding: 12px 15px;
            border-radius: 10px;
            width: 100%;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23888888%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 12px;
        }

        .manual_select:focus {
            background-color: #2a2a2a;
            border-color: var(--tg-green);
            box-shadow: 0 0 0 0.25rem rgba(57, 255, 20, 0.15);
            color: #fff;
            outline: none;
        }

        .manual_select option {
            background-color: var(--tg-dark-grey);
            color: #fff;
        }

        /* Чекбокс */
        .manual_checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            background-color: #252525;
            border: 1px solid #333;
            border-radius: 12px;
            padding: 16px 18px;
            margin-bottom: 24px;
            cursor: pointer;
            transition: border-color 0.2s;
        }

        .manual_checkbox-group:hover {
            border-color: #444;
        }

        .manual_checkbox {
            width: 20px;
            height: 20px;
            margin-top: 2px;
            accent-color: var(--tg-purple);
            cursor: pointer;
            flex-shrink: 0;
        }

        .manual_checkbox-label {
            font-size: 0.95rem;
            font-weight: 600;
            color: #fff;
            margin: 0 0 4px 0;
            cursor: pointer;
        }

        .manual_checkbox-desc {
            font-size: 0.8rem;
            color: var(--tg-text-muted);
            margin: 0;
            line-height: 1.4;
        }

        /* Текст-пояснение */
        .manual_info-box {
            background-color: rgba(138, 43, 226, 0.08);
            border-left: 3px solid var(--tg-purple);
            border-radius: 10px;
            padding: 18px 20px;
            margin-bottom: 28px;
        }

        .manual_info-box p {
            margin: 0 0 10px 0;
            font-size: 0.88rem;
            color: #b0b0b0;
            line-height: 1.6;
        }

        .manual_info-box p:last-child {
            margin-bottom: 0;
        }

        .manual_info-box strong {
            color: var(--tg-text);
        }

        /* Кнопка */
        .manual_btn-submit {
            background: linear-gradient(90deg, var(--tg-green), #2ecc71);
            color: #000;
            font-weight: 700;
            font-size: 1rem;
            padding: 15px 30px;
            border: none;
            border-radius: 12px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .manual_btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(57, 255, 20, 0.4);
        }

        .manual_btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
		
 /* ============================================================
           ТАРИФЫ
           ============================================================ */
        .price_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; margin-bottom: 60px; align-items: stretch; }
        
        .price_card {
            background-color: var(--tg-dark-grey); border: 2px solid #333; border-radius: 20px;
            padding: 35px 30px; position: relative; transition: all 0.3s; display: flex; flex-direction: column;
        }
        .price_card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
        
        .price_card.standard { border-color: #333; }
        .price_card.premium { border-color: var(--tg-purple); box-shadow: 0 0 40px rgba(138, 43, 226, 0.15); }
        .price_card.premium::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--tg-green), var(--tg-purple)); border-radius: 20px 20px 0 0; }
        
        .price_card.custom { border-color: var(--tg-blue); box-shadow: 0 0 40px rgba(0, 191, 255, 0.15); }
        .price_card.custom::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--tg-blue), var(--tg-purple)); border-radius: 20px 20px 0 0; }

        .price_top-badge {
            position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
            font-size: 0.75rem; font-weight: 700; padding: 6px 16px; border-radius: 20px;
            text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
        }
        .price_top-badge.std { background: #333; color: #fff; }
        .price_top-badge.prem { background: linear-gradient(90deg, var(--tg-green), var(--tg-purple)); color: #000; }
        .price_top-badge.cust { background: linear-gradient(90deg, var(--tg-blue), var(--tg-purple)); color: #fff; }

        .price_name { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
        .price_desc { font-size: 0.85rem; color: var(--tg-text-muted); margin-bottom: 25px; min-height: 40px; }

        .price_cost { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #333; }
        .price_amount { font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1; }
        .price_currency { font-size: 1.2rem; color: var(--tg-text-muted); margin-left: 4px; }
        .price_period { font-size: 0.85rem; color: var(--tg-text-muted); margin-left: 6px; }
        .price_note { font-size: 0.8rem; color: var(--tg-orange); margin-top: 5px; display: block; }

        .price_features { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
        .price_features li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.9rem; color: var(--tg-text); line-height: 1.4; }
        .price_features li i { flex-shrink: 0; margin-top: 3px; font-size: 0.85rem; color: var(--tg-green); }
        .price_features li strong { color: #fff; }
        
        /* Стиль для недоступных пунктов (крестики) */
        .price_features li.price_disabled { color: var(--tg-text-muted); opacity: 0.6; }
        .price_features li.price_disabled i { color: #555; }

        /* Спец-блок для Custom тарифа */
        .price_api-explain {
            background-color: rgba(0, 191, 255, 0.05); border: 1px solid rgba(0, 191, 255, 0.2);
            border-radius: 10px; padding: 15px; margin-bottom: 25px; font-size: 0.85rem; color: #b0b0b0; line-height: 1.5;
        }
        .price_api-explain strong { color: var(--tg-blue); }

        .price_btn {
            display: block; width: 100%; padding: 14px; border-radius: 10px; text-align: center;
            text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: all 0.2s; cursor: pointer; border: none;
        }
        .price_btn-std { background-color: #252525; color: var(--tg-text-muted); border: 1px solid #333; cursor: default; }
        .price_btn-prem { background: linear-gradient(90deg, var(--tg-green), #2ecc71); color: #000; }
        .price_btn-prem:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(57, 255, 20, 0.3); color: #000; }
        .price_btn-cust { background: linear-gradient(90deg, var(--tg-blue), #00aaff); color: #fff; }
        .price_btn-cust:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3); color: #fff; }

 /* ============================================================
           HERO
           ============================================================ */
        .price_hero { text-align: center; margin-bottom: 50px; }
        .price_badge {
            display: inline-flex; align-items: center; gap: 8px;
            background-color: rgba(255, 170, 0, 0.15); border: 1px solid rgba(255, 170, 0, 0.3);
            color: var(--tg-orange); padding: 8px 18px; border-radius: 20px;
            font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
        }
        .price_hero h1 { font-size: 2.5rem; font-weight: 900; color: #fff; margin-bottom: 15px; line-height: 1.2; }
        .price_hero h1 .price_accent { color: var(--tg-green); }
        .price_hero p { color: var(--tg-text-muted); font-size: 1.05rem; max-width: 650px; margin: 0 auto; line-height: 1.6; }		
		
	/* ============================================================
           ШАПКА (share_)
           ============================================================ */
        .share_game-header {
            text-align: center;
            padding: 30px 0 20px 0;
            position: relative;
            background: linear-gradient(180deg, rgba(138, 43, 226, 0.15) 0%, rgba(15, 15, 15, 0) 100%);
            border-bottom: 1px solid #222;
            margin-bottom: 40px;
        }

        .share_logo-text {
            font-family: 'Press Start 2P', cursive;
            font-size: 1.8rem;
            margin-bottom: 15px;
            display: inline-block;
            text-decoration: none;
        }

        .share_logo-t { color: var(--tg-green); }
        .share_logo-g { color: var(--tg-purple); }

        .share_game-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; color: #fff; }
        .share_game-subtitle { font-size: 0.9rem; color: var(--tg-text-muted); margin-bottom: 25px; }

        .share_progress-bars { display: flex; justify-content: center; align-items: center; gap: 30px; }
        .share_custom-progress { width: 160px; height: 8px; background-color: #333; border-radius: 4px; overflow: hidden; position: relative; }
        .share_custom-progress .share_progress-bar { height: 100%; border-radius: 4px; }

        .share_progress-bars .share_custom-progress:nth-child(1) .share_progress-bar { background-color: var(--tg-green); animation: share_pulseGreen 2.5s infinite; }
        .share_progress-bars .share_custom-progress:nth-child(2) .share_progress-bar { background-color: var(--tg-purple); animation: share_pulsePurple 2.5s infinite 0.4s; }
        .share_progress-bars .share_custom-progress:nth-child(3) .share_progress-bar { background-color: var(--tg-blue); animation: share_pulseBlue 2.5s infinite 0.8s; }

        @keyframes share_pulseGreen { 0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(57, 255, 20, 0.5); } 50% { opacity: 0.7; box-shadow: 0 0 14px rgba(57, 255, 20, 0.9); } }
        @keyframes share_pulsePurple { 0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(138, 43, 226, 0.5); } 50% { opacity: 0.7; box-shadow: 0 0 14px rgba(138, 43, 226, 0.9); } }
        @keyframes share_pulseBlue { 0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 191, 255, 0.5); } 50% { opacity: 0.7; box-shadow: 0 0 14px rgba(0, 191, 255, 0.9); } }

        .share_btn-back {
            position: absolute;
            left: 15px;
            top: 30px;
            color: var(--tg-text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: color 0.2s;
            z-index: 10;
        }
        .share_btn-back:hover { color: #fff; }

        /* ============================================================
           ОСНОВНОЙ КОНТЕНТ
           ============================================================ */
        .share_hero {
            text-align: center;
            margin-bottom: 40px;
        }

        .share_hero h1 {
            font-size: 2rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 10px;
        }

        .share_hero h1 .accent { color: var(--tg-green); }

        .share_hero p {
            color: var(--tg-text-muted);
            font-size: 1rem;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .share_card {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 40px;
            max-width: 600px;
            margin: 0 auto 40px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

        .share_card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--tg-green), var(--tg-purple));
            border-radius: 20px 20px 0 0;
        }

        .share_form-group {
            margin-bottom: 24px;
            padding-bottom: 24px;
            border-bottom: 1px solid #252525;
        }

        .share_form-group:last-of-type {
            border-bottom: none;
            margin-bottom: 10px;
        }

        .share_label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 8px;
            display: block;
        }

        .share_label-desc {
            font-size: 0.8rem;
            color: var(--tg-text-muted);
            margin-bottom: 12px;
            display: block;
            line-height: 1.4;
        }

        .share_select {
            background-color: var(--tg-input-bg);
            border: 1px solid #444;
            color: #fff;
            padding: 12px 15px;
            border-radius: 10px;
            width: 100%;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23888888%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat;
            background-position: right 15px center;
            background-size: 12px;
            cursor: pointer;
        }

        .share_select:focus {
            background-color: #2a2a2a;
            border-color: var(--tg-green);
            box-shadow: 0 0 0 0.25rem rgba(57, 255, 20, 0.15);
            color: #fff;
            outline: none;
        }

        .share_select option {
            background-color: var(--tg-dark-grey);
            color: #fff;
        }

        /* Блок со ссылкой */
        .share_link-section {
            margin-top: 30px;
            background-color: rgba(57, 255, 20, 0.05);
            border: 1px solid rgba(57, 255, 20, 0.2);
            border-radius: 14px;
            padding: 20px;
            text-align: center;
        }

        .share_link-title {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--tg-text-muted);
            margin-bottom: 12px;
            font-weight: 700;
        }

        .share_link-box {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            background-color: var(--tg-black);
            border: 1px dashed var(--tg-green);
            border-radius: 10px;
            padding: 15px 20px;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
        }

        .share_link-box:hover {
            background-color: #0a0a0a;
            border-style: solid;
            box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
        }

        .share_link-url {
            font-family: monospace;
            font-size: 1.05rem;
            color: var(--tg-green);
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            user-select: none;
        }

        .share_link-icon {
            color: var(--tg-green);
            font-size: 1.1rem;
            transition: transform 0.2s;
        }

        .share_link-box:hover .share_link-icon {
            transform: scale(1.1);
        }

        /* Анимация копирования */
        .share_link-box.copied {
            border-color: var(--tg-green);
            background-color: rgba(57, 255, 20, 0.1);
        }

        .share_link-box.copied .share_link-url {
            color: #fff;
        }

        .share_link-box.copied .share_link-icon {
            color: #fff;
        }

        .share_link-hint {
            font-size: 0.75rem;
            color: var(--tg-text-muted);
            margin-top: 10px;
            display: block;
        }	
		
		/* Существующий статус */
.pidslist_status-active {
    background-color: rgba(57, 255, 20, 0.12);
    color: var(--tg-green);
}

/* НОВЫЙ: Нет доступа (красный) */
.pidslist_status-noaccess {
    background-color: rgba(255, 77, 77, 0.12);
    color: #ff4d4d;
}

/* НОВЫЙ: Удален (серый) */
.pidslist_status-deleted {
    background-color: rgba(255, 255, 255, 0.08);
    color: #888888;
}

/* ============================================================
           ЗАГОЛОВОК СТРАНИЦЫ И КНОПКА
           ============================================================ */
        .acc_page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 35px;
            flex-wrap: wrap;
            gap: 20px;
        }

        .acc_page-title {
            font-size: 1.8rem;
            font-weight: 900;
            color: #fff;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .acc_count-badge {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--tg-purple);
            background-color: rgba(138, 43, 226, 0.15);
            border: 1px solid rgba(138, 43, 226, 0.3);
            padding: 4px 12px;
            border-radius: 20px;
        }

        .acc_btn-add {
            background: linear-gradient(90deg, var(--tg-green), #2ecc71);
            color: #000;
            font-weight: 700;
            border: none;
            padding: 12px 24px;
            border-radius: 10px;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            white-space: nowrap;
        }

        .acc_btn-add:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(57, 255, 20, 0.4);
            color: #000;
        }

        /* ============================================================
           КАРТОЧКА АККАУНТА
           ============================================================ */
        .acc_card {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 25px;
            height: 100%;
            transition: all 0.3s;
            position: relative;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .acc_card:hover {
            transform: translateY(-5px);
            border-color: var(--tg-purple);
            box-shadow: 0 15px 40px rgba(138, 43, 226, 0.15);
        }

        .acc_card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--acc-card-color, var(--tg-green)), transparent);
        }

        /* Шапка карточки (ID) */
        .acc_card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #252525;
        }

        .acc_id-block {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .acc_id-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            background-color: #252525;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--tg-purple);
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .acc_id-label {
            font-size: 0.75rem;
            color: var(--tg-text-muted);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 2px;
        }

        .acc_id-value {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
        }

        /* Сводка */
        .acc_stats-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .acc_stat-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
        }

        .acc_stat-label {
            color: var(--tg-text-muted);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .acc_stat-label i {
            width: 16px;
            color: #555;
            font-size: 0.8rem;
            text-align: center;
        }

        .acc_stat-value {
            color: var(--tg-text);
            font-weight: 500;
        }

        .acc_stat-value.highlight {
            color: var(--tg-green);
            background-color: rgba(57, 255, 20, 0.1);
            padding: 2px 8px;
            border-radius: 6px;
        }

        /* Кнопка "Счётчики" */
        .acc_btn-open {
            width: 100%;
            background-color: transparent;
            border: 1px solid #444;
            color: var(--tg-text);
            padding: 12px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.2s;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: auto;
        }

        .acc_btn-open:hover {
            background: linear-gradient(90deg, var(--tg-purple), #a855f7);
            border-color: var(--tg-purple);
            color: #fff;
            transform: translateY(-2px);
        }
		
		/* Кнопка "Отвязать" (ссылка) */
.acc_btn-unlink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff4d4d; /* Мягкий красный */
    background-color: rgba(255, 77, 77, 0.08);
    border: 1px solid rgba(255, 77, 77, 0.2);
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.acc_btn-unlink:hover {
    background-color: rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.4);
    color: #ff4d4d;
}

.acc_btn-unlink i {
    font-size: 0.8rem;
}

/* ============================================================
   БЛОК ОШИБКИ (accerr_)
   ============================================================ */
.accerr_block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: linear-gradient(135deg, rgba(28, 28, 28, 1) 0%, rgba(40, 15, 15, 1) 100%);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    animation: accerr_slideDown 0.4s ease-out;
}

.accerr_block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: #ff4d4d;
    box-shadow: 0 0 12px rgba(255, 77, 77, 0.6);
}

/* Иконка */
.accerr_icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(255, 77, 77, 0.12);
    color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Контент */
.accerr_content {
    flex-grow: 1;
}

.accerr_title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.accerr_text {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 16px;
}

.accerr_text strong {
    color: #ff4d4d;
}

/* Кнопки */
.accerr_actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.accerr_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.accerr_btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 77, 77, 0.4);
    color: #ff4d4d;
}

.accerr_btn-secondary:hover {
    background-color: rgba(255, 77, 77, 0.1);
    border-color: #ff4d4d;
}

.accerr_btn-primary {
    background: linear-gradient(90deg, var(--tg-green), #2ecc71);
    color: #000;
    border: none;
}

.accerr_btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.3);
    color: #000;
}

@keyframes accerr_slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .accerr_block { flex-direction: column; gap: 15px; padding: 20px; }
    .accerr_actions { flex-direction: column; width: 100%; }
    .accerr_btn { width: 100%; justify-content: center; }
}

/* ============================================================
           ОСНОВНОЙ КОНТЕНТ - ПУСТОЕ СОСТОЯНИЕ
           ============================================================ */
        .pempty_wrapper {
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
            padding: 40px 20px 60px;
            animation: pempty_fadeInUp 0.6s ease-out;
        }

        @keyframes pempty_fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .pempty_illustration {
            position: relative;
            width: 140px;
            height: 140px;
            margin: 0 auto 30px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pempty_illustration i {
            font-size: 4rem;
            color: var(--tg-purple);
            text-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
            position: relative;
            z-index: 2;
        }

        /* Пульсирующие круги вокруг иконки */
        .pempty_illustration::before,
        .pempty_illustration::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            border: 1px solid rgba(138, 43, 226, 0.2);
            animation: pempty_ripple 3s infinite ease-out;
        }

        .pempty_illustration::before {
            width: 100%;
            height: 100%;
            animation-delay: 0s;
        }

        .pempty_illustration::after {
            width: 100%;
            height: 100%;
            animation-delay: 1.5s;
        }

        @keyframes pempty_ripple {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.6); opacity: 0; }
        }

        .pempty_title {
            font-size: 1.8rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .pempty_title .pempty_accent { color: var(--tg-green); }

        .pempty_desc {
            font-size: 1rem;
            color: var(--tg-text-muted);
            line-height: 1.6;
            margin-bottom: 35px;
            max-width: 450px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Кнопка */
        .pempty_btn-main {
            background: linear-gradient(90deg, var(--tg-green), #2ecc71);
            color: #000;
            font-weight: 700;
            font-size: 1rem;
            padding: 16px 32px;
            border-radius: 12px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: transform 0.2s, box-shadow 0.2s;
            margin-bottom: 20px;
        }

        .pempty_btn-main:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(57, 255, 20, 0.4);
            color: #000;
        }

        .pempty_hint {
            font-size: 0.85rem;
            color: var(--tg-text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .pempty_hint i { color: var(--tg-orange); }
		
		 /* ============================================================
           ОСНОВНОЙ КОНТЕНТ
           ============================================================ */
        .acc_empty-wrapper {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            animation: acc_fadeInUp 0.6s ease-out;
        }

        @keyframes acc_fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Верхний блок с иконкой и кнопкой */
        .acc_hero {
            text-align: center;
            margin-bottom: 50px;
        }

        .acc_illustration {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            position: relative;
        }

        .acc_illustration i {
            font-size: 3rem;
            color: var(--tg-green);
            text-shadow: 0 0 25px rgba(57, 255, 20, 0.4);
            z-index: 2;
        }

        .acc_illustration::before {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: 50%;
            border: 1px solid rgba(57, 255, 20, 0.2);
            animation: acc_ripple 3s infinite ease-out;
        }

        @keyframes acc_ripple {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.6); opacity: 0; }
        }

        .acc_title {
            font-size: 2rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 15px;
        }

        .acc_title .accent { color: var(--tg-green); }

        .acc_desc {
            font-size: 1rem;
            color: var(--tg-text-muted);
            line-height: 1.6;
            max-width: 550px;
            margin: 0 auto 30px;
        }

        .acc_btn-connect {
            background: linear-gradient(90deg, var(--tg-green), #2ecc71);
            color: #000;
            font-weight: 700;
            font-size: 1rem;
            padding: 16px 36px;
            border-radius: 12px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: transform 0.2s, box-shadow 0.2s;
            border: none;
            cursor: pointer;
        }

        .acc_btn-connect:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(57, 255, 20, 0.4);
            color: #000;
        }

        .acc_btn-connect img {
            height: 20px;
        }

        /* Блок "Как это работает" */
        .acc_steps-box {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 20px;
            padding: 30px 40px;
            margin-bottom: 40px;
            position: relative;
        }

        .acc_steps-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--tg-green), var(--tg-purple));
            border-radius: 20px 20px 0 0;
        }

        .acc_steps-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .acc_steps-title i { color: var(--tg-purple); }

        .acc_step-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .acc_step-list li {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .acc_step-list li:last-child { margin-bottom: 0; }

        .acc_step-num {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: rgba(138, 43, 226, 0.15);
            color: var(--tg-purple);
            font-size: 0.8rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .acc_step-text {
            font-size: 0.95rem;
            color: #b0b0b0;
            line-height: 1.5;
        }

        .acc_step-text strong { color: #fff; }

        /* Блок безопасности */
        .acc_security-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 20px;
        }

        .acc_sec-card {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 16px;
            padding: 20px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
            transition: border-color 0.2s;
        }

        .acc_sec-card:hover { border-color: var(--tg-green); }

        .acc_sec-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background-color: rgba(57, 255, 20, 0.1);
            color: var(--tg-green);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .acc_sec-text {
            font-size: 0.85rem;
            color: var(--tg-text-muted);
            line-height: 1.5;
        }

        .acc_sec-text strong {
            display: block;
            color: #fff;
            font-size: 0.95rem;
            margin-bottom: 4px;
        }
		
	 /* ============================================================
           ОСНОВНОЙ КОНТЕНТ
           ============================================================ */
        .csrf_wrapper {
            max-width: 600px;
            margin: 0 auto;
            text-align: center;
            padding: 20px;
            animation: csrf_fadeInUp 0.6s ease-out;
        }

        @keyframes csrf_fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .csrf_icon-wrapper {
            position: relative;
            display: inline-block;
            margin-bottom: 30px;
        }

        .csrf_icon {
            font-size: 5rem;
            color: var(--tg-orange);
            text-shadow: 0 0 30px rgba(255, 170, 0, 0.4);
            animation: csrf_pulseIcon 2s infinite;
        }

        @keyframes csrf_pulseIcon {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.8; transform: scale(1.05); }
        }

        .csrf_title {
            font-size: 2rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 15px;
            line-height: 1.2;
        }

        .csrf_desc {
            font-size: 1rem;
            color: var(--tg-text-muted);
            line-height: 1.6;
            margin-bottom: 30px;
        }

        /* Инфо-блок */
        .csrf_info-box {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-left: 3px solid var(--tg-orange);
            border-radius: 12px;
            padding: 20px 25px;
            text-align: left;
            margin-bottom: 35px;
        }

        .csrf_info-box h4 {
            font-size: 0.95rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .csrf_info-box h4 i { color: var(--tg-orange); }

        .csrf_info-box p {
            font-size: 0.9rem;
            color: #b0b0b0;
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .csrf_info-box p:last-child { margin-bottom: 0; }

        .csrf_info-box strong { color: var(--tg-text); }

        /* Кнопка */
        .csrf_btn-back {
            background: linear-gradient(90deg, var(--tg-green), #2ecc71);
            color: #000;
            font-weight: 700;
            font-size: 1rem;
            padding: 15px 35px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .csrf_btn-back:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(57, 255, 20, 0.4);
            color: #000;
        }	
		
		/* --- СТИЛИ КАРТОЧКИ --- */
        .auth-card {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 16px;
            padding: 40px;
            max-width: 500px;
            margin: 0 auto;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            position: relative;
        }

        /* Неоновая полоска сверху (градиент фиолетовый -> зеленый) */
        .auth-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--tg-purple), var(--tg-green));
            border-radius: 16px 16px 0 0;
        }

        .auth-icon {
            text-align: center;
            font-size: 2.5rem;
            color: var(--tg-green);
            margin-bottom: 20px;
            text-shadow: 0 0 20px rgba(57, 255, 20, 0.4);
        }

        .form-label {
            font-size: 0.85rem;
            color: var(--tg-text-muted);
            font-weight: 500;
            margin-bottom: 8px;
        }

        .form-control {
            background-color: var(--tg-input-bg);
            border: 1px solid #444;
            color: #fff;
            padding: 12px 45px 12px 15px; /* Отступ справа под иконку глаза */
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            background-color: #2a2a2a;
            border-color: var(--tg-green);
            box-shadow: 0 0 0 0.25rem rgba(57, 255, 20, 0.15);
            color: #fff;
        }

        .form-control::placeholder {
            color: #555;
        }

        /* Обертка для поля с иконкой глаза */
        .input-wrapper {
            position: relative;
        }

        .toggle-password {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--tg-text-muted);
            cursor: pointer;
            transition: color 0.2s;
            background: none;
            border: none;
            padding: 0;
        }

        .toggle-password:hover {
            color: var(--tg-green);
        }

        /* Индикатор надежности пароля */
        .password-strength {
            margin-top: 10px;
            display: none;
        }

        .strength-bars {
            display: flex;
            gap: 5px;
            margin-bottom: 5px;
        }

        .strength-bar {
            height: 4px;
            flex: 1;
            background-color: #333;
            border-radius: 2px;
            transition: background-color 0.3s;
        }

        .strength-text {
            font-size: 0.75rem;
            color: var(--tg-text-muted);
        }

        /* Кнопка сохранения */
        .btn-tg-primary {
            background: linear-gradient(90deg, var(--tg-green), #2ecc71);
            color: #000;
            font-weight: 700;
            border: none;
            padding: 12px;
            border-radius: 8px;
            width: 100%;
            margin-top: 10px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .btn-tg-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(57, 255, 20, 0.4);
            color: #000;
        }

        .btn-tg-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
		
		/* ============================================================
           ОСНОВНОЙ КОНТЕНТ
           ============================================================ */
        .uset_wrapper {
            max-width: 700px;
            margin: 0 auto;
            padding: 20px;
            animation: uset_fadeInUp 0.5s ease-out;
        }

        @keyframes uset_fadeInUp {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .uset_page-title {
            font-size: 1.8rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 30px;
            text-align: center;
        }

        .uset_page-title .accent { color: var(--tg-green); }

        /* Карточка настроек */
        .uset_section {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 25px;
        }

        .uset_section-header {
            background-color: #252525;
            padding: 15px 25px;
            border-bottom: 1px solid #333;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .uset_section-header i {
            color: var(--tg-purple);
            font-size: 1.1rem;
        }

        .uset_section-title {
            font-size: 0.9rem;
            font-weight: 700;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0;
        }

        .uset_section-body {
            padding: 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .uset_row-info h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 6px;
        }

        .uset_row-info p {
            font-size: 0.85rem;
            color: var(--tg-text-muted);
            margin: 0;
            line-height: 1.5;
            max-width: 400px;
        }

        .uset_btn-action {
            background-color: transparent;
            border: 1px solid #444;
            color: var(--tg-text);
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
            white-space: nowrap;
        }

        .uset_btn-action:hover {
            background-color: #252525;
            border-color: var(--tg-purple);
            color: #fff;
            transform: translateY(-2px);
        }

        .uset_btn-action i {
            color: var(--tg-purple);
        }
		
		/* Информационный блок */
        .info-block {
            background-color: #252525;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 25px;
            display: flex;
            gap: 12px;
            font-size: 0.85rem;
            color: var(--tg-text-muted);
            line-height: 1.5;
        }

        .info-block i {
            color: var(--tg-purple);
            font-size: 1.1rem;
            margin-top: 2px;
        }

        .info-block ul {
            margin: 0;
            padding-left: 18px;
        }

        .info-block li {
            margin-bottom: 4px;
        }
		
		/* ============================================================
   КОНТЕЙНЕР ТАБОВ С НАВИГАЦИЕЙ
   ============================================================ */
.achtab_nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    width: 100%;
}

/* Само меню (скролл-контейнер) */
.achtab_nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth; /* Плавная прокрутка при клике на стрелки */
    
    /* Скрываем скроллбар */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    -webkit-overflow-scrolling: touch;
    
    /* Отступы внутри, чтобы кнопки не прилипали к краям */
    padding: 5px 0;
    
    /* Курсор для drag-and-scroll */
    cursor: grab;
    user-select: none; /* Запрещаем выделение текста при перетаскивании */
}

.achtab_nav::-webkit-scrollbar {
    display: none;
}

/* Состояние перетаскивания */
.achtab_nav.dragging {
    cursor: grabbing;
    scroll-behavior: auto; /* Отключаем плавность при ручном перетаскивании, иначе будет лагать */
}

/* Кнопки табов */
.achtab_btn {
    flex-shrink: 0; /* Не даем кнопкам сжиматься */
    /* Остальные ваши стили для кнопки (фон, цвет, паддинги) */
}

/* ============================================================
   КНОПКИ-СТРЕЛКИ (Влево/Вправо)
   ============================================================ */
.achtab_nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    color: var(--tg-text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    z-index: 10;
}

.achtab_nav-btn:hover {
    background-color: #252525;
    color: var(--tg-green);
    border-color: var(--tg-green);
}

/* Скрываем стрелки, если прокручивать некуда */
.achtab_nav-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Отступы для стрелок (чтобы не наезжали на табы) */
.achtab_nav-prev { margin-right: 10px; }
.achtab_nav-next { margin-left: 10px; }

/* Скрываем стрелки на мобильных, где работает свайп пальцем */
@media (max-width: 768px) {
    .achtab_nav-btn {
        display: none;
    }
    .achtab_nav-wrapper {
        margin-bottom: 20px;
    }
}

/* ============================================================
   РЕЗУЛЬТАТ СМЕНЫ ПАРОЛЯ (pwdres_)
   ============================================================ */
.pwdres_card {
    padding: 50px 30px;
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
    position: relative;
    animation: pwdres_fadeInUp 0.5s ease-out;
}



@keyframes pwdres_fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Иконка щита с неоновым свечением */
.pwdres_icon {
    font-size: 4rem;
    color: var(--tg-green);
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
    margin-bottom: 20px;
    display: inline-block;
    animation: pwdres_pulse 2s infinite;
}

@keyframes pwdres_pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.pwdres_title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
}

.pwdres_text {
    font-size: 1rem;
    color: var(--tg-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Выделение пароля */
.pwdres_password {
    display: inline-block;
    background-color: #252525;
    color: var(--tg-green);
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    margin: 0 5px;
    letter-spacing: 1px;
    vertical-align: middle;
    word-break: break-all;
}

/* Кнопка возврата (если понадобится) */
.pwdres_btn {
    background: linear-gradient(90deg, var(--tg-green), #2ecc71);
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 10px;
}

.pwdres_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(57, 255, 20, 0.3);
    color: #000;
}

/* ============================================================
   БЛОК "ПИСЬМО ОТПРАВЛЕНО" (resmsg_)
   ============================================================ */
.resmsg_wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    animation: resmsg_fadeIn 0.5s ease-out;
}

@keyframes resmsg_fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.resmsg_box {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--tg-dark-grey);
    border: 1px solid #333;
    border-left: 4px solid var(--tg-green);
    border-radius: 12px;
    padding: 24px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Легкое свечение слева */
.resmsg_box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100px;
    background: linear-gradient(90deg, rgba(57, 255, 20, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Иконка */
.resmsg_icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(57, 255, 20, 0.12);
    color: var(--tg-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    z-index: 1;
}

/* Текст */
.resmsg_content {
    z-index: 1;
}

.resmsg_title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.resmsg_text {
    font-size: 0.9rem;
    color: var(--tg-text-muted);
    line-height: 1.5;
    margin: 0;
}

.resmsg_text strong {
    color: var(--tg-orange); /* Акцент на слове СПАМ */
    font-weight: 600;
}

/* Адаптив для мобильных */
@media (max-width: 576px) {
    .resmsg_box {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    .resmsg_icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Стиль для контейнера "Нет наград" (такой же, как у награды, но с прозрачным фоном) */
.pidslist_last-ach-item.empty {
    background-color: rgba(255, 255, 255, 0.02); /* Еле заметный фон */
    border: 1px dashed #333; /* Пунктирная рамка, намекающая на пустоту */
}

/* Иконка (серая, без свечения) */
.pidslist_last-ach-item.empty .pidslist_last-ach-icon {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--tg-text-muted);
}

/* Текст (приглушенный) */
.pidslist_last-ach-item.empty .pidslist_last-ach-name {
    color: var(--tg-text-muted);
    font-weight: 500;
}

/* Убираем дату, если она там есть */
.pidslist_last-ach-item.empty .pidslist_last-ach-date {
    display: none;
}

/* ============================================================
   БЕЙДЖ ТАРИФА (Premium / Стандарт)
   ============================================================ */
.plan-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Стиль для Premium (градиент из логотипа) */
.plan-badge.premium {
    background: linear-gradient(90deg, rgba(255, 170, 0, 0.15), rgba(138, 43, 226, 0.15));
    color: var(--tg-orange, #ffaa00); /* Фоллбэк, если переменная не подгрузилась */
    border: 1px solid rgba(255, 170, 0, 0.3);
}

/* Стиль для Стандартного тарифа (серый) */
.plan-badge.standard {
    background-color: rgba(136, 136, 136, 0.15);
    color: var(--tg-text-muted, #888888);
    border: 1px solid transparent;
}

/* ============================================================
   СЧЕТЧИК В МЕНЮ (nav-badge-counter)
   ============================================================ */
.nav-badge-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Размеры и форма */
    height: 18px;
    min-width: 22px;
    padding: 0 6px;
    border-radius: 10px;
    
    /* Цвета */
    background-color: rgba(255, 170, 0, 0.15); /* Полупрозрачный оранжевый */
    color: var(--tg-orange); /* Оранжевый текст */
    border: 1px solid rgba(255, 170, 0, 0.3);
    
    /* Типографика */
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    
    /* Отступы и анимация */
    margin-left: 6px;
    vertical-align: middle;
    transition: all 0.2s ease;
}

/* Эффект при наведении на ссылку (чтобы бейдж вспыхивал) */
.nav-link:hover .nav-badge-counter {
    background-color: var(--tg-orange);
    color: #000;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.4);
}

/* ============================================================
           ОСНОВНОЙ КОНТЕНТ (psettings_)
           ============================================================ */
        .psettings_wrapper {
            max-width: 650px;
            margin: 0 auto;
            padding: 0 20px 60px;
            animation: psettings_fadeInUp 0.5s ease-out;
        }

        @keyframes psettings_fadeInUp {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .psettings_title {
            font-size: 1.8rem;
            font-weight: 900;
            color: #fff;
            margin-bottom: 30px;
            text-align: center;
        }

        /* Карточка настроек */
        .psettings_card {
            background-color: var(--tg-dark-grey);
            border: 1px solid #333;
            border-radius: 16px;
            overflow: hidden;
        }

        .psettings_card-header {
            background-color: #252525;
            padding: 15px 25px;
            border-bottom: 1px solid #333;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .psettings_card-header i {
            color: #ff4d4d;
            font-size: 1.1rem;
        }

        .psettings_card-title {
            font-size: 0.9rem;
            font-weight: 700;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin: 0;
        }

        .psettings_card-body {
            padding: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .psettings_info h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 6px;
        }

        .psettings_info p {
            font-size: 0.85rem;
            color: var(--tg-text-muted);
            margin: 0;
            line-height: 1.5;
            max-width: 400px;
        }

        /* Кнопка удаления */
        .psettings_btn-delete {
            background-color: transparent;
            border: 1px solid #ff4d4d;
            color: #ff4d4d;
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.9rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
            white-space: nowrap;
            cursor: pointer;
        }

        .psettings_btn-delete:hover {
            background-color: #ff4d4d;
            color: #000;
            box-shadow: 0 0 20px rgba(255, 77, 77, 0.4);
        }
		
.pidach_green {
            background-color: rgba(57, 255, 20, 0.15);
            color: var(--tg-green);
        }
		.pidach_red {
            color:red!important;
			
        }		
		
.achivka_locked {
    opacity: 0.9;
    filter: grayscale(30%);
}		

.achivka_locked:hover {
    opacity: 0.9;
    filter: grayscale(10%);
}

.achivka_hidden {
            background-color: #151515;
            border: 1px dashed #333;
            opacity: 0.4;
            filter: none;
            justify-content: center;
            align-items: center;
			min-height:180px;
        }
        .achivka_hidden .achtab_icon {
            background: transparent;
            border: none;
			 filter: grayscale(30%);
            box-shadow: none;
            color: 444;
            font-size: 1.5rem;
            margin-bottom: 0;
        }
		
.achtab_kogda {
	font-weight:400;
	font-size:12px;
}	

.icon_green {
    background-color: rgba(57, 255, 20, 0.15);
    color: var(--tg-green);
}

.icon_red {
    color: red !important;
    background-color: rgb(255 233 0 / 15%) !important;
}