/* ═══════════════════════════════════════════════════
   COMMUNITY PAGE — STYLES
═══════════════════════════════════════════════════ */body.pch-community body.pch-community{
    --c-primary:   #667eea;
    --c-secondary: #764ba2;
    --c-accent:    #f59e0b;
    --c-success:   #10b981;
    --c-danger:    #ef4444;
    --c-dark:      #111827;
    --c-gray:      #6b7280;
    --c-light:     #f9fafb;
    --c-border:    #e5e7eb;
    --radius:      14px;
    --shadow:      0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:   0 8px 32px rgba(0,0,0,.12);
}body.pch-community .community-page{ background: #fff; }/* ── Hero ── */body.pch-community .cp-hero{
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    color: #fff;
    padding: 64px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}body.pch-community .cp-hero::after{
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 60px;
    background: #fff;
    clip-path: ellipse(55% 100% at 50% 100%);
}body.pch-community .cp-hero-badge{
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 20px;
}body.pch-community .cp-hero h1{
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
}body.pch-community .cp-hero p{
    font-size: clamp(15px, 2vw, 20px);
    opacity: .9;
    max-width: 600px;
    margin: 0 auto 36px;
}body.pch-community .cp-hero-stats{
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}body.pch-community .cp-hero-stat{
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
}body.pch-community .cp-hero-stat-num{
    font-size: 32px;
    font-weight: 800;
    display: block;
    transition: all 0.3s;
}body.pch-community .cp-hero-stat-num.cp-stat-updated{
    color: #10b981;
    animation: cp-stat-bounce 0.6s ease;
}
@keyframes cp-stat-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}body.pch-community .cp-hero-stat-lbl{
    font-size: 13px;
    opacity: .8;
}/* ── Online users indicator ── */body.pch-community #online-users-count{
    display: inline-flex;
    align-items: center;
    gap: 8px;
}body.pch-community #online-users-count .cp-live-dot{
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: cp-pulse 1.5s infinite;
}/* ── Layout ── */body.pch-community .cp-wrap{
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}body.pch-community .cp-section{
    padding: 60px 20px;
}body.pch-community .cp-section-alt{ background: var(--c-light); border-radius: 20px;}body.pch-community .cp-loading{
    padding: 28px 16px;
    text-align: center;
    color: var(--c-gray);
    font-size: 14px;
}body.pch-community .cp-section-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}body.pch-community .cp-section-title{
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--c-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}body.pch-community .cp-section-title span{ font-size: 1.1em; }body.pch-community .cp-see-all{
    font-size: 14px;
    font-weight: 600;
    color: var(--c-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap .2s;
}body.pch-community .cp-see-all:hover{ gap: 8px; }/* ── News grid ── */body.pch-community .cp-news-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    overflow: auto;
    
}body.pch-community .cp-news-card{
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    min-width: fit-content;
}body.pch-community .cp-news-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}body.pch-community .cp-news-card-img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,.6);
    flex-shrink: 0;
}body.pch-community .cp-news-card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: top;
}body.pch-community .cp-news-card-body{
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}body.pch-community .cp-news-card-meta{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}body.pch-community .cp-tag{
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
}body.pch-community .cp-tag-news{ background: #dbeafe; color: #1d4ed8; }body.pch-community .cp-tag-action{ background: #fef3c7; color: #92400e; }body.pch-community .cp-tag-new{ background: #d1fae5; color: #065f46; }body.pch-community .cp-news-card-date{ font-size: 12px; color: var(--c-gray); }body.pch-community .cp-news-card-title{
    font-size: 16px;
    font-weight: 600;
    color: var(--c-dark);
    margin: 0 0 10px;
    line-height: 1.4;
    flex: 1;
}body.pch-community .cp-news-card-title a{
    color: inherit;
    text-decoration: none;
}body.pch-community .cp-news-card-title a:hover{ color: var(--c-primary); }body.pch-community .cp-news-card-excerpt{
    font-size: 13px;
    color: var(--c-gray);
    line-height: 1.5;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}body.pch-community .cp-news-card-link{
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}body.pch-community .cp-news-card-link:hover{ gap: 8px; }/* ── Actions (акции) ── */body.pch-community .cp-actions-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}body.pch-community .cp-action-card{
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 2px solid #fde68a;
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
    min-width: fit-content;
    transition: transform .25s, box-shadow .25s;
}body.pch-community .cp-action-card:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}body.pch-community .cp-action-card::before{
    content: '🔥';
    position: absolute;
    top: 12px; right: 16px;
    font-size: 28px;
    opacity: .4;
}body.pch-community .cp-action-card-title{
    font-size: 16px;
    font-weight: 700;
    color: var(--c-dark);
    margin: 0 0 8px;
    padding-right: 36px;
}body.pch-community .cp-action-card-title a{ color: inherit; text-decoration: none; }body.pch-community .cp-action-card-title a:hover{ color: var(--c-accent); }body.pch-community .cp-action-card-date{ font-size: 12px; color: #92400e; margin-bottom: 12px; }body.pch-community .cp-action-card-excerpt{
    font-size: 13px;
    color: #78350f;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}body.pch-community .cp-action-btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}body.pch-community .cp-action-btn:hover{ background: #d97706; }/* ── Top Partners ── */body.pch-community .cp-partners-list{ display: flex; flex-direction: column; gap: 12px; }body.pch-community .cp-partner-row{
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    transition: transform .2s, background .3s;
}body.pch-community .cp-partner-row:hover{ transform: translateX(4px); }body.pch-community .cp-partner-row.cp-partner-updated{
    background: linear-gradient(90deg, #d1fae5 0%, #fff 100%);
    animation: cp-partner-pulse 0.5s ease;
}
@keyframes cp-partner-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}body.pch-community .cp-partner-rank{
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800;
    flex-shrink: 0;
}body.pch-community .cp-partner-rank-1{ background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }body.pch-community .cp-partner-rank-2{ background: linear-gradient(135deg, #9ca3af, #6b7280); color: #fff; }body.pch-community .cp-partner-rank-3{ background: linear-gradient(135deg, #cd7c3a, #b45309); color: #fff; }body.pch-community .cp-partner-rank-n{ background: var(--c-light); color: var(--c-gray); }body.pch-community .cp-partner-avatar{
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}body.pch-community .cp-partner-avatar img{ width: 100%; height: 100%; object-fit: cover; display: block; }body.pch-community .cp-partner-avatar .first_letter{
    font-size: 18px; font-weight: 700; color: #fff;
    line-height: 1; text-transform: uppercase; background: border-box;
}body.pch-community .cp-partner-info{ flex: 1; min-width: 0; }body.pch-community .cp-partner-name{
    font-size: 15px; font-weight: 600; color: var(--c-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}body.pch-community .cp-partner-label{ font-size: 12px; color: var(--c-gray); }body.pch-community .cp-partner-balance{
    font-size: 16px; font-weight: 700; color: var(--c-success);
    white-space: nowrap;
}/* ── Top Competition ── */body.pch-community .cp-competition-wrap{
    /* background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%); */
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}body.pch-community .cp-competition-wrap::before{
    content: '🏆';
    position: absolute;
    right: 30px; top: 20px;
    font-size: 80px;
    opacity: .15;
}body.pch-community .cp-competition-title{
    font-size: 24px; font-weight: 800; margin: 0 0 8px;
}body.pch-community .cp-competition-sub{
    font-size: 14px; opacity: .8; margin: 0 0 28px;
}body.pch-community .cp-competition-inner{ position: relative; z-index: 1; }/* ── Latest Companies ── */body.pch-community .cp-companies-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}body.pch-community .cp-company-card{
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: fit-content;
    transition: transform .25s, box-shadow .25s;
    position: relative;
}body.pch-community .cp-company-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}body.pch-community .cp-company-new-badge{
    position: absolute;
    top: 12px; right: 12px;
    background: var(--c-success);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: .5px;
}body.pch-community .cp-company-logo{
    width: 64px; height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 700; color: #fff;
    margin-bottom: 14px;
    overflow: hidden;
    flex-shrink: 0;
}body.pch-community .cp-company-logo img{ width: 100%; height: 100%; object-fit: cover; }body.pch-community .cp-company-name{
    font-size: 14px; font-weight: 600; color: var(--c-dark);
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}body.pch-community .cp-company-name a{ color: inherit; text-decoration: none; }body.pch-community .cp-company-name a:hover{ color: var(--c-primary); }body.pch-community .cp-company-date{ font-size: 11px; color: var(--c-gray); margin-bottom: 14px; }body.pch-community .cp-company-link{
    font-size: 12px; font-weight: 600;
    color: var(--c-primary);
    text-decoration: none;
    border: 1.5px solid var(--c-primary);
    padding: 5px 14px;
    border-radius: 8px;
    transition: all .2s;
    margin-top: auto;
}body.pch-community .cp-company-link:hover{
    background: var(--c-primary);
    color: #fff;
}/* ── Pulse live indicator ── */body.pch-community .cp-live{
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--c-success);
}body.pch-community .cp-live-dot{
    width: 8px; height: 8px;
    background: var(--c-success);
    border-radius: 50%;
    animation: cp-pulse 1.5s infinite;
}
@keyframes cp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(1.4); }
}/* ── Join Section ── */body.pch-community .cp-join-section{
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}body.pch-community .cp-join-card{
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 32px 40px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
}body.pch-community .cp-join-card::before{
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-secondary) 100%);
}body.pch-community .cp-join-content{
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}body.pch-community .cp-join-icon{
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    animation: cp-pulse 2s infinite;
}body.pch-community .cp-join-text{ flex: 1; }body.pch-community .cp-join-title{
    font-size: 22px;
    font-weight: 700;
    color: var(--c-dark);
    margin: 0 0 8px;
}body.pch-community .cp-join-desc{
    font-size: 15px;
    color: var(--c-gray);
    margin: 0;
    line-height: 1.5;
}body.pch-community .cp-join-btn{
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}body.pch-community .cp-join-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    color: #fff;
    gap: 12px;
}body.pch-community .cp-join-btn svg{
    transition: transform 0.3s ease;
}body.pch-community .cp-join-btn:hover svg{
    transform: translateX(4px);
}/* ── Empty state ── */body.pch-community .cp-empty{
    text-align: center;
    padding: 48px 20px;
    color: var(--c-gray);
    font-size: 15px;
}body.pch-community .cp-empty-icon{ font-size: 48px; margin-bottom: 12px; }/* ── Rewards Stats ── */body.pch-community .cp-rewards-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}body.pch-community .cp-reward-card{
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .2s, box-shadow .2s, background .3s;
    border-left: 4px solid transparent;
}body.pch-community .cp-reward-card:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}body.pch-community .cp-reward-card.cp-reward-updated{
    background: linear-gradient(90deg, #fef3c7 0%, #fff 100%);
    animation: cp-reward-pulse 0.5s ease;
}
@keyframes cp-reward-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}body.pch-community .cp-reward-card-top{
    display: flex;
    align-items: center;
    gap: 12px;
}body.pch-community .cp-reward-icon{
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}body.pch-community .cp-reward-name{
    font-size: 15px;
    font-weight: 600;
    color: var(--c-dark);
    flex: 1;
    min-width: 0;
}body.pch-community .cp-reward-count{
    font-size: 22px;
    font-weight: 800;
    color: var(--c-dark);
    white-space: nowrap;
}body.pch-community .cp-reward-bar-wrap{
    height: 6px;
    background: #f3f4f6;
    border-radius: 99px;
    overflow: hidden;
}body.pch-community .cp-reward-bar{
    height: 100%;
    border-radius: 99px;
    transition: width .6s ease;
}body.pch-community .cp-reward-footer{
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--c-gray);
}/* ── Activity Feed ── */body.pch-community .cp-feed{
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 850px;
    overflow-y: auto;
    padding-right: 4px;
}body.pch-community .cp-feed::-webkit-scrollbar{ width: 4px; }body.pch-community .cp-feed::-webkit-scrollbar-track{ background: var(--c-light); border-radius: 4px; }body.pch-community .cp-feed::-webkit-scrollbar-thumb{ background: var(--c-border); border-radius: 4px; }body.pch-community .cp-feed-item{
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border);
    position: relative;
    transition: background 0.3s;
}body.pch-community .cp-feed-item:last-child{ border-bottom: none; }body.pch-community .cp-feed-item.cp-feed-item-new{
    background: linear-gradient(90deg, #dbeafe 0%, transparent 100%);
    animation: cp-feed-slide-in 0.5s ease;
}
@keyframes cp-feed-slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}body.pch-community .cp-feed-dot{
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}body.pch-community .cp-feed-body{ flex: 1; min-width: 0; }body.pch-community .cp-feed-label{
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin-bottom: 3px;
}body.pch-community .cp-feed-title{
    font-size: 14px;
    font-weight: 500;
    color: var(--c-dark);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}body.pch-community .cp-feed-title a{
    color: inherit;
    text-decoration: none;
}body.pch-community .cp-feed-title a:hover{ color: var(--c-primary); }body.pch-community .cp-feed-time{
    font-size: 11px;
    color: var(--c-gray);
    margin-top: 3px;
}/* ── Two-col layout ── */body.pch-community .cp-two-col{
    display: grid;
    gap: 32px;
    align-items: start;
}body.pch-community .cp-two-col-equal{ grid-template-columns: 1fr 1fr; }body.pch-community .cp-two-col-wide{ grid-template-columns: 1fr 1.4fr; }/* ── Initiatives in community ── */body.pch-community .cp-initiatives-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}body.pch-community .cp-ini-card{
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 4px solid transparent;
    transition: transform .2s, box-shadow .2s, background .3s;
}body.pch-community .cp-ini-card:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}body.pch-community .cp-ini-card.cp-ini-updated{
    background: linear-gradient(90deg, #dbeafe 0%, #fff 100%);
    animation: cp-ini-pulse 0.5s ease;
}
@keyframes cp-ini-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}body.pch-community .cp-ini-card-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}body.pch-community .cp-ini-status{
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    white-space: nowrap;
}body.pch-community .cp-ini-votes{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    white-space: nowrap;
}body.pch-community .cp-ini-title{
    font-size: 15px;
    font-weight: 600;
    color: var(--c-dark);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}body.pch-community .cp-ini-bar-wrap{
    height: 4px;
    background: #f3f4f6;
    border-radius: 99px;
    overflow: hidden;
}body.pch-community .cp-ini-bar{
    height: 100%;
    border-radius: 99px;
}body.pch-community .cp-ini-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--c-gray);
}body.pch-community .cp-ini-hint{ font-size: 12px; color: var(--c-gray); }body.pch-community .cp-ini-link{
    font-size: 12px;
    font-weight: 600;
    color: var(--c-primary);
    text-decoration: none;
}body.pch-community .cp-ini-link:hover{ text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {body.pch-community .cp-two-col-equal,body.pch-community .cp-two-col-wide{ grid-template-columns: 1fr; }
}
@media (max-width: 768px) {body.pch-community .cp-section{ padding: 40px 16px; }body.pch-community .cp-competition-wrap{ padding: 24px 20px; }body.pch-community .cp-hero{ padding: 48px 16px 64px; }body.pch-community .cp-hero-stats{ gap: 24px; }body.pch-community .cp-news-grid{ display: flex; overflow: auto; }body.pch-community .cp-actions-grid{ display: flex; overflow: auto; }body.pch-community .cp-companies-grid{ grid-template-columns: repeat(2, 1fr); }body.pch-community .cp-feed{ max-height: 300px; }/* partner/reward rows — не дать имени вылезти */body.pch-community .cp-partner-name{ font-size: 13px; }body.pch-community .cp-partner-label{ display: none; }body.pch-community .cp-partner-balance{ font-size: 13px; }body.pch-community .cp-partner-avatar{ width: 36px; height: 36px; font-size: 14px; }body.pch-community .cp-partner-rank{ width: 28px; height: 28px; font-size: 12px; }/* Join section mobile */body.pch-community .cp-join-section{ padding: 24px 16px; }body.pch-community .cp-join-card{
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }body.pch-community .cp-join-content{
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }body.pch-community .cp-join-icon{
        width: 56px; height: 56px;
        font-size: 24px;
    }body.pch-community .cp-join-title{ font-size: 20px; }body.pch-community .cp-join-desc{ font-size: 14px; }body.pch-community .cp-join-btn{
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }
}
@media (max-width: 480px) {body.pch-community .cp-companies-grid{ display: flex; overflow: auto; }body.pch-community .cp-partner-row{gap:10px;}body.pch-community .cp-action-card{padding: 12px;}body.pch-community .cp-section-head{ flex-direction: column; align-items: flex-start; }
}
/* Community in the public ProCodeHub design system. */
body.pch-community{--c-primary:#617be3;--c-secondary:#273b68;--c-accent:#7f96dc;--c-success:#528b7b;--c-danger:#bf6767;--c-dark:#192438;--c-gray:#7d8a9e;--c-light:#f3f4f6;--c-border:#dfe4ed;--radius:8px;--shadow:none;--shadow-lg:none}body.pch-community .community-page{background:#0c1018}body.pch-community .cp-new-hero{min-height:820px;height:100svh;max-height:1100px}body.pch-community .cp-new-hero h1{font-size:clamp(50px,6.5vw,94px)}body.pch-community .cp-new-hero .hero-content{padding:40px 0}body.pch-community .cp-hero-stats{position:relative;z-index:2;justify-content:flex-start;gap:60px;border-top:1px solid #ffffff20;padding-top:25px;flex-wrap:nowrap}body.pch-community .cp-hero-stat{text-align:left;align-items:flex-start;min-width:0}body.pch-community .cp-hero-stat-num{font:500 35px Arial;letter-spacing:-1px}body.pch-community .cp-hero-stat-lbl{font-size:11px;line-height:1.6;color:#95a4bd}body.pch-community .cp-shortcuts{display:flex;gap:35px;padding:25px 5.5%;border-bottom:1px solid #ffffff20;color:#aebeda;font-size:12px;flex-wrap:wrap}body.pch-community .cp-wrap{max-width:none;padding:0}body.pch-community .cp-section{padding:75px max(5.5%,calc((100% - 1424px)/2));margin:0;border-radius:0;background:#101722;color:#e7edf8}body.pch-community .cp-section-alt{background:#f3f4f6;color:#192438}body.pch-community .cp-section-head{margin-bottom:30px;gap:20px}body.pch-community .cp-section-title{font-size:clamp(26px,3vw,42px);font-weight:500;letter-spacing:-1.1px;line-height:1.2;color:inherit;scroll-margin-top:75px}body.pch-community .cp-see-all{font-size:11px;color:#6d85c7;font-weight:500}body.pch-community .cp-news-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}body.pch-community .cp-news-card{border-radius:8px;box-shadow:none;border:1px solid #dce2eb;overflow:hidden;transition:transform .2s}body.pch-community .cp-news-card:hover{transform:translateY(-3px);box-shadow:none}body.pch-community .cp-news-card-img{height:185px;background:linear-gradient(140deg,#273b64,#152034);color:#7189c1}body.pch-community .cp-news-card-body{padding:25px}body.pch-community .cp-news-card-title{font-size:20px;line-height:1.4;font-weight:500;letter-spacing:-.5px;margin:20px 0 12px}body.pch-community .cp-news-card-excerpt{font-size:12px;line-height:1.8;color:#7c899e}body.pch-community .cp-news-card-link{font-size:11px;font-weight:500}body.pch-community .cp-tag{font:9px monospace;padding:5px 8px;border-radius:4px;letter-spacing:.6px}body.pch-community .cp-tag-news{background:#e7ecfa;color:#7b8fc3}body.pch-community .cp-news-card-date{font-size:10px}body.pch-community .cp-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}body.pch-community .cp-action-card{background:#18243a;border:1px solid #ffffff1c;border-radius:8px;padding:28px;box-shadow:none;color:#dce6fb}body.pch-community .cp-action-card::before{display:none}body.pch-community .cp-action-card:hover{transform:translateY(-3px);box-shadow:none}body.pch-community .cp-action-card-title{font-size:21px;font-weight:500;letter-spacing:-.4px;margin:0 0 16px;color:inherit;line-height:1.4}body.pch-community .cp-action-card-date,body.pch-community .cp-action-card-excerpt{color:#99a9c6;font-size:12px}body.pch-community .cp-action-btn{background:#2c416b;color:#c7d5f4;border-radius:5px;padding:11px 15px;font-size:11px;border:1px solid #ffffff15;box-shadow:none}body.pch-community .cp-two-col{gap:45px}body.pch-community .cp-two-col-wide{grid-template-columns:1fr 1.3fr}body.pch-community .cp-live{font-size:10px;color:#8595af}body.pch-community .cp-live-dot{animation:none;background:#668f85;width:6px;height:6px}body.pch-community .cp-partners-list{display:grid;gap:0;background:#fff;border:1px solid #dce2ec;border-radius:8px;overflow:hidden}body.pch-community .cp-partner-row{background:transparent;border:0;border-bottom:1px solid #e8ecf2;border-radius:0;padding:17px;box-shadow:none;gap:13px;color:#263956}body.pch-community .cp-partner-row:last-child{border-bottom:0}body.pch-community .cp-partner-row:hover{background:#f4f6fc;transform:none;box-shadow:none}body.pch-community .cp-partner-rank{background:#edf1f8;color:#7d8eac;border-radius:5px;width:26px;height:26px;flex-shrink:0;font:11px monospace}body.pch-community .cp-partner-avatar{width:38px;height:38px;border-radius:8px;background:#e7edf9;color:#788db7;font-size:16px;flex-shrink:0}body.pch-community .cp-partner-name{font-size:12px;font-weight:500}body.pch-community .cp-partner-label{font-size:9px;color:#94a0b6}body.pch-community .cp-partner-balance{font-size:12px;color:#6b83b9!important;font-weight:500;white-space:nowrap}body.pch-community .cp-feed{background:#fff;border:1px solid #dce2ec;border-radius:8px;padding:12px 22px;max-height:610px}body.pch-community .cp-feed-item{padding:17px 0;border-bottom:1px solid #e7ecf3;gap:16px}body.pch-community .cp-feed-label{font:9px monospace;letter-spacing:.3px}body.pch-community .cp-feed-title{font-size:12px;color:#384b68;line-height:1.7}body.pch-community .cp-feed-time{font-size:9px;color:#a0acbf}body.pch-community .cp-feed-dot{width:5px;height:5px}body.pch-community .cp-competition-wrap{background:#17243a;border:1px solid #ffffff1f;padding:28px;border-radius:8px;color:#d4e1f9;box-shadow:none}body.pch-community .cp-competition-wrap::before{display:none}body.pch-community .cp-competition-inner h2,body.pch-community .cp-competition-inner h3{font-size:24px;font-weight:500;color:#d4e1f9}body.pch-community .cp-competition-inner .top-competition-container{box-shadow:none;border:0;background:transparent}body.pch-community .cp-two-col-equal .cp-partners-list{background:#18243a;border-color:#ffffff1f}body.pch-community .cp-two-col-equal .cp-partner-row{border-color:#ffffff14;color:#b4c6e5}body.pch-community .cp-two-col-equal .cp-partner-name{color:#dce5f6}body.pch-community .cp-two-col-equal .cp-partner-row:hover{background:#20314d}body.pch-community .cp-two-col-equal .cp-partner-avatar,body.pch-community .cp-two-col-equal .cp-partner-rank{background:#2b3d5e}body.pch-community .cp-companies-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}body.pch-community .cp-company-card{background:#fff;border:1px solid #dce2ec;border-radius:8px;box-shadow:none;padding:25px;min-width:0}body.pch-community .cp-company-card:hover{box-shadow:none;transform:translateY(-3px)}body.pch-community .cp-company-name{font-size:14px;font-weight:500;line-height:1.5}body.pch-community .cp-company-logo{border-radius:8px;background:#edf1fa;color:#8698bb;width:58px;height:58px}body.pch-community .cp-company-new-badge{background:#e8edf8;color:#7187b8;border-radius:4px;font:8px monospace;right:12px;top:12px}body.pch-community .cp-company-date{font-size:10px}body.pch-community .cp-company-link{font-size:10px;font-weight:500}body.pch-community .cp-initiatives-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}body.pch-community .cp-ini-card{background:#18243a;color:#b7c8e7;border:1px solid #ffffff20;border-left:2px solid #7b8fbb;border-radius:8px;padding:25px;box-shadow:none}body.pch-community .cp-ini-card:hover{box-shadow:none;transform:translateY(-3px)}body.pch-community .cp-ini-title{color:#d9e4f8;font-size:16px;font-weight:500;margin:8px 0;line-height:1.6;-webkit-line-clamp:3}body.pch-community .cp-ini-status{font-size:9px;font-weight:500;border-radius:4px}body.pch-community .cp-ini-votes{font-size:10px;font-weight:400;color:#a1b5e5}body.pch-community .cp-ini-footer{font-size:10px;flex-wrap:wrap;gap:10px}body.pch-community .cp-ini-hint{font-size:10px}body.pch-community .cp-ini-bar-wrap{background:#29384f;height:3px}body.pch-community .cp-rewards-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}body.pch-community .cp-reward-card{border:1px solid #dce2ec;border-left:2px solid #8296c7;background:#fff;border-radius:8px;padding:24px;box-shadow:none}body.pch-community .cp-reward-icon,body.pch-community .cp-empty-icon{display:none}body.pch-community .cp-reward-name{font-size:13px;font-weight:500}body.pch-community .cp-reward-count{font-size:23px;font-weight:500}body.pch-community .cp-reward-footer{font-size:10px;flex-wrap:wrap;gap:10px}body.pch-community .cp-reward-bar-wrap{height:3px;margin:20px 0;background:#eef1f6}body.pch-community .cp-loading,body.pch-community .cp-empty{padding:25px;text-align:left;color:#8796b2;font-size:12px;min-height:100px;background:transparent;border:1px solid #8593af30;border-radius:8px}body.pch-community .cp-shortcuts{padding-left:max(5.5%,calc((100% - 1424px)/2));padding-right:max(5.5%,calc((100% - 1424px)/2))}
@media(max-width:1050px){body.pch-community .cp-companies-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.pch-community .cp-news-grid,body.pch-community .cp-initiatives-grid,body.pch-community .cp-rewards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){body.pch-community .cp-new-hero{min-height:810px;height:auto;padding-bottom:35px}body.pch-community .cp-new-hero h1{font-size:clamp(37px,10vw,62px)}body.pch-community .cp-new-hero .hero-content{padding:45px 0}body.pch-community .cp-hero-stats{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:25px}body.pch-community .cp-hero-stat-num{font-size:28px}body.pch-community .cp-hero-stat-lbl{font-size:9px}body.pch-community .cp-shortcuts{padding:22px 6%;gap:20px;font-size:11px}body.pch-community .cp-section{padding:50px 6%}body.pch-community .cp-section-title{font-size:28px;letter-spacing:-.8px}body.pch-community .cp-section-head{align-items:flex-start;flex-direction:column;gap:16px}body.pch-community .cp-two-col-wide,body.pch-community .cp-two-col-equal{grid-template-columns:1fr;gap:40px}body.pch-community .cp-news-grid,body.pch-community .cp-actions-grid,body.pch-community .cp-initiatives-grid,body.pch-community .cp-rewards-grid{display:grid;grid-template-columns:1fr;overflow:visible}body.pch-community .cp-companies-grid{display:grid;grid-template-columns:1fr 1fr;overflow:visible;gap:12px}body.pch-community .cp-company-card{padding:25px 15px 20px}body.pch-community .cp-company-name{font-size:12px}body.pch-community .cp-company-new-badge{top:8px;right:8px;font-size:7px}body.pch-community .cp-company-logo{width:44px;height:44px}body.pch-community .cp-news-card-img{height:180px}body.pch-community .cp-news-card-body{padding:22px}body.pch-community .cp-partner-row{padding:14px;gap:9px}body.pch-community .cp-partner-name{font-size:11px}body.pch-community .cp-partner-balance{font-size:10px}body.pch-community .cp-partner-avatar{width:30px;height:30px;font-size:13px}body.pch-community .cp-partner-rank{width:22px;height:22px}body.pch-community .cp-feed{padding:12px 18px;max-height:480px}body.pch-community .cp-competition-wrap{padding:22px}body.pch-community .cp-action-card{padding:25px}body.pch-community .cp-new-hero .hero-meta{gap:20px}body.pch-community .cp-new-hero .hero-meta>span{max-width:45%;line-height:1.8}}
body.pch-community .cp-online-stat[hidden]{display:none}body.pch-community .cp-section-note{font-size:12px;line-height:1.8;color:#8fa0bc;margin:-8px 0 30px;max-width:680px}
body.pch-community .cp-company-link{border-radius:5px;border:1px solid #dae1ee;padding:9px 13px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;color:#6c81b3}body.pch-community .cp-competition-inner .competition-header h3,body.pch-community .cp-competition-inner .top-companies-list>h4{color:#d5e2f9!important;font-size:21px!important;font-weight:500!important;text-align:left!important;line-height:1.5}body.pch-community .cp-competition-inner .month-progress,body.pch-community .cp-competition-inner .prize-info{background:#243552!important;border:1px solid #ffffff16;border-radius:6px!important;text-align:left!important;padding:20px!important}body.pch-community .cp-competition-inner .month-progress span,body.pch-community .cp-competition-inner .month-progress div{color:#a6b9df!important;font-size:11px!important;font-weight:400!important}body.pch-community .cp-competition-inner #month-progress-bar{background:#718ae0!important}body.pch-community .cp-competition-inner .prize-info h4{font-size:15px!important;font-weight:500!important;color:#c8d8f7!important}body.pch-community .cp-competition-inner .prize-info p{font-size:12px!important;line-height:1.8;color:#a5b8da}body.pch-community .cp-competition-inner .competition-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}body.pch-community .cp-competition-inner .stat-card{background:#243552!important;border-color:#ffffff15!important;border-radius:6px!important;padding:15px 8px!important}body.pch-community .cp-competition-inner .stat-card>div:first-child{color:#a0b5f1!important;font-size:23px!important;font-weight:500!important}body.pch-community .cp-competition-inner .stat-card>div:last-child{color:#849cbe!important;font-size:9px!important}body.pch-community .cp-competition-inner .companies-grid{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}body.pch-community .cp-competition-inner .company-card{background:#f3f5fa!important;border:1px solid #dce4f0!important;border-radius:6px!important;padding:20px!important;box-shadow:none!important;color:#253956}body.pch-community .cp-competition-inner .company-card a{color:#3e547a!important;font-size:14px!important;font-weight:500!important}body.pch-community .cp-competition-inner .company-card .position-badge{background:#7387bc!important;width:28px!important;height:28px!important;border-radius:5px!important;font-size:11px!important;color:#e6edff!important}body.pch-community .cp-competition-inner .company-card .position-badge::before{display:none!important}body.pch-community .cp-competition-inner .company-logo{width:38px!important;height:38px!important;border-radius:6px!important}body.pch-community .cp-competition-inner a[href*="popadi-v-top"]{background:#334c7a!important;border:1px solid #526c99!important;border-radius:5px!important;box-shadow:none!important;padding:13px 18px!important;font-size:11px!important;font-weight:500!important}body.pch-community .cp-competition-inner a[href*="popadi-v-top"]>span:first-child{display:none}@media(max-width:760px){body.pch-community .cp-company-link{min-height:40px}}
/* Independent markup: generic shortcode and theme classes do not apply here. */
body.pch-community .cp-top-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}body.pch-community .cp-top-card{display:block;min-width:0;width:100%;height:auto;overflow:visible;position:relative;background:#f3f5fa;border:1px solid #dce4f0;border-radius:7px;padding:20px;color:#283d5f;box-shadow:none}body.pch-community .cp-top-head{display:grid;grid-template-columns:40px minmax(0,1fr) 30px;align-items:center;gap:13px}body.pch-community .cp-top-logo{display:grid;place-items:center;width:40px;height:40px;overflow:hidden;border-radius:6px;background:#e1e8f5;color:#8195b9;font:18px monospace}body.pch-community .cp-top-logo img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;margin:0;padding:0;border:0}body.pch-community .cp-top-info{min-width:0}body.pch-community .cp-top-title{display:block;font-size:14px;font-weight:500;line-height:1.5;color:#3e547a;overflow-wrap:anywhere}body.pch-community .cp-top-title:hover{color:#516dde}body.pch-community .cp-top-city{display:block;font-size:10px;color:#8a98b1;line-height:1.6;margin-top:5px;overflow-wrap:anywhere}body.pch-community .cp-top-rank{display:grid;place-items:center;align-self:start;width:30px;height:27px;background:#dfe7f8;color:#6d84b9;border-radius:5px;font:10px monospace}body.pch-community .cp-top-metrics{display:flex;justify-content:space-between;gap:18px;margin-top:18px;border-top:1px solid #dfe5ef;padding-top:14px}body.pch-community .cp-top-metrics>div{display:grid;gap:4px}body.pch-community .cp-top-metrics>div:last-child{text-align:right}body.pch-community .cp-top-metrics b{font:500 20px Arial;letter-spacing:-.5px;color:#6e86c6}body.pch-community .cp-top-metrics>div:last-child b{font-size:14px;color:#7893ab}body.pch-community .cp-top-metrics span{font-size:9px;color:#92a0b7;line-height:1.6}body.pch-community .cp-top-progress{height:3px;margin-top:15px;border-radius:3px;overflow:hidden;background:#e0e6f0}body.pch-community .cp-top-progress i{display:block;height:100%;background:#879cdc;border-radius:3px}@media(max-width:760px){body.pch-community .cp-top-card{padding:17px}body.pch-community .cp-top-head{grid-template-columns:36px minmax(0,1fr) 26px;gap:10px}body.pch-community .cp-top-logo{width:36px;height:36px}body.pch-community .cp-top-rank{width:26px;height:25px}body.pch-community .cp-top-title{font-size:12px}}
