
.activity-bar-outer {
    max-width: 1140px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.activity-bar {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 255, 0.32);
    background: rgba(22, 31, 58, 0.94);
    contain: layout style paint;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 8px 28px rgba(2, 6, 23, 0.45);
    -webkit-transition:
        opacity 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    transition:
        opacity 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .activity-bar:not(.activity-bar--resizing) {
        background: rgba(22, 31, 58, 0.82);
        -webkit-backdrop-filter: blur(10px) saturate(140%);
        backdrop-filter: blur(10px) saturate(140%);
    }
}

.activity-bar.activity-bar--resizing {
    background: rgba(22, 31, 58, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    -webkit-transition: none;
    transition: none;
}

.activity-bar.activity-bar--resizing .activity-bar__track {
    -webkit-transition: none;
    transition: none;
}

.activity-bar__live {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-right: 14px;
    margin-right: 4px;
    border-right: 1px solid rgba(148, 163, 255, 0.28);
}

.activity-bar__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    -webkit-animation: activity-bar-pulse 2s ease-in-out infinite;
    animation: activity-bar-pulse 2s ease-in-out infinite;
}

.activity-bar__live-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e8ecff;
}

.activity-bar__rail {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.activity-bar__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: -webkit-max-content;
    width: max-content;
    padding-left: 4px;
    -webkit-transition: -webkit-transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activity-bar__track.activity-bar__track--animating {
    will-change: transform;
}

.activity-bar__item {
    flex: 0 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 2px 10px;
    min-width: 0;
}

.activity-bar__item + .activity-bar__item {
    border-left: 1px solid rgba(148, 163, 255, 0.2);
}

.activity-bar__item--you {
    background: rgba(99, 102, 241, 0.28);
    border-radius: 10px;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.5);
}

.activity-bar__item-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 36px;
    color: #c7d2fe;
}

.activity-bar__item-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.activity-bar__item-icon--avatar {
    width: 28px;
    height: 28px;
}

.activity-bar__item-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.activity-bar__item-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    line-height: 1.15;
}

.activity-bar__name {
    font-size: 14px;
    font-weight: 700;
    color: #f4f6ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.activity-bar__suffix {
    font-size: 11px;
    font-weight: 500;
    color: #b4bfe8;
    white-space: nowrap;
}

.activity-bar.activity-bar--dim {
    opacity: 0.88;
    background: rgba(22, 31, 58, 0.72);
    border-color: rgba(148, 163, 255, 0.22);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 4px 18px rgba(2, 6, 23, 0.3);
}

.activity-bar:hover,
.activity-bar.activity-bar--dim:hover {
    opacity: 1;
    background: rgba(28, 39, 72, 0.96);
    border-color: rgba(148, 163, 255, 0.45);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.1) inset,
        0 8px 32px rgba(2, 6, 23, 0.4);
}

@-webkit-keyframes activity-bar-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.65;
    }
}

@keyframes activity-bar-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.65;
    }
}

@media (prefers-reduced-motion: reduce) {
    .activity-bar__track {
        -webkit-transition: none;
        transition: none;
    }
}

@media (max-width: 991px) {
    .activity-bar {
        padding: 9px 12px;
        border-radius: 14px;
    }

    .activity-bar__live {
        padding-right: 10px;
    }

    .activity-bar__name {
        font-size: 13px;
        }

    .activity-bar__suffix {
        font-size: 10px;
    }

    .activity-bar__item {
        padding: 2px 8px;
        gap: 6px;
    }

    .activity-bar__item-icon {
        width: 26px;
        height: 34px;
    }

    .activity-bar__item-icon svg {
        width: 22px;
        height: 22px;
    }

    .activity-bar__item-icon--avatar,
    .activity-bar__item-icon-img {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 575px) {
    .activity-bar-outer {
    max-width: 1140px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

    .activity-bar {
        padding: 8px 10px;
        border-radius: 12px;
    }

    .activity-bar__live-text {
        font-size: 11px;
    }

    .activity-bar__name {
        font-size: 12px;
        }

    .activity-bar__suffix {
        font-size: 10px;
    }

    .activity-bar__item-icon {
        width: 24px;
        height: 32px;
    }

    .activity-bar__item-icon svg {
        width: 22px;
        height: 22px;
    }

    .activity-bar__item-icon--avatar,
    .activity-bar__item-icon-img {
        width: 24px;
        height: 24px;
    }
}

.header-activity-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    contain: layout style;
}

body.is-viewport-resizing .site-header__bg,
body.is-viewport-resizing .site-header__dropdown-bg,
body.is-viewport-resizing .site-header__submenu-bg,
body.is-viewport-resizing .site-header__mobile-panel,
body.is-viewport-resizing .signup-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(255, 255, 255, 0.95);
}

.header-activity-sticky > .site-header,
.header-activity-sticky > #masthead,
.header-activity-sticky > .header,
.header-activity-sticky > header.header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
}

.header-activity-sticky .activity-bar-outer {
    max-width: 1140px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .header-activity-sticky .activity-bar-outer {
    max-width: 1140px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px 10px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
}
