.dyn-empty-inline {
    color: #999;
    font-size: 13px;
    padding: 10px 0;
}

.dyn-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dyn-player-btn {
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
}
.dyn-player-btn:hover { background: #f5f5f5; }
.dyn-player-btn--main {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.dyn-player-btn--main:hover { background: color-mix(in srgb, var(--color-primary), black 12%); }

.dyn-player-speed {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #999;
}
.dyn-player-speed input[type="range"] {
    width: 100px;
}

/* --- COMMUNITY EVOLUTION --- */
.dyn-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.dyn-legend-item {
    font-size: 11px;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dyn-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.dyn-legend-dot--collapse {
    background: rgba(148, 163, 184, 0.35);
    border: 1px solid #94a3b8;
}

/* Community Evolution (.dyn-alluvial-wrap) — moved to lens/primitives/chart/
   CommunityEvolutionChart.css, colocated with the primitive; that class was already exclusive to
   it (.dyn-legend/.dyn-empty-inline above stay here — still shared, now just with Momentum's own
   pages). FragmentationFunnel/NodeTrendBoard (dynamic.js-only primitives, .dyn-frag-*/.dyn-trend-*)
   удалены 2026-09-27 вместе с dynamic.js. */

/* --- MEMBER POPUP --- */
.dyn-popup-list {
    max-height: 320px;
    overflow-y: auto;
    padding-inline-start: 18px;
    font-size: 13px;
}

/* --- ERROR OVERLAY --- */
.dyn-error-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dyn-error-overlay.active {
    display: flex;
}

.dyn-error-box {
    background: #fff;
    border-radius: 10px;
    padding: 24px 28px;
    text-align: center;
    max-width: 360px;
}

.dyn-error-box i {
    font-size: 28px;
    color: #ef4444;
    margin-bottom: 10px;
}

.dyn-error-box p {
    font-size: 14px;
    color: #333;
    margin-bottom: 16px;
}
