/* Standalone community promotion: deliberately independent of home/site UI revisions. */
.px-community-promo, .px-community-promo *, .px-community-promo__menu, .px-community-promo__menu * { box-sizing: border-box; }
.px-community-promo {
    --promo-green: #25ff5a;
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    color: #e8ffed;
    background: #07120b;
    border-block: 1px solid #25ff5a65;
    box-shadow: inset 0 1px 20px #25ff5a08, 0 5px 24px #0007;
}
.px-community-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 23px, #25ff5a06 23px 24px), linear-gradient(110deg, #25ff5a0e, transparent 38%, #25ff5a08);
}
.px-community-promo__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1440px;
    min-height: 64px;
    margin-inline: auto;
    padding: 8px 28px;
}
.px-community-promo__icon { color: var(--promo-green); flex: 0 0 26px; filter: drop-shadow(0 0 8px #25ff5a55); }
.px-community-promo__window { flex: 1 1 0%; min-width: 0; overflow: hidden; }
.px-community-promo__track { display: flex; width: max-content; }
.px-community-promo__segment { display: flex; flex: 0 0 auto; align-items: center; gap: 34px; padding-right: 34px; font: 700 15px/1.4 Orbitron, sans-serif; letter-spacing: .8px; white-space: nowrap; }
.px-community-promo__separator { color: var(--promo-green); font-size: 20px; }
.px-community-promo__join {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #73ff94;
    border-radius: 8px;
    background: var(--promo-green);
    color: #031407;
    font: 800 14px/1.3 Orbitron, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 0 18px #25ff5a24;
    transition: background .18s, box-shadow .18s;
}
.px-community-promo__join:hover { background: #72ff94; color: #031407; box-shadow: 0 0 22px #25ff5a50; }
.px-community-promo__pause {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #25ff5a40;
    border-radius: 50%;
    background: #091c10;
    color: #b4d9be;
    cursor: pointer;
}
.px-community-promo__pause[hidden], .px-community-promo__play-icon { display: none; }
.px-community-promo__pause[aria-pressed="true"] .px-community-promo__pause-icon { display: none; }
.px-community-promo__pause[aria-pressed="true"] .px-community-promo__play-icon { display: block; }
.px-community-promo__join:focus-visible, .px-community-promo__pause:focus-visible, .px-community-promo__menu:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.px-community-promo[data-community-enhanced="true"] .px-community-promo__track { animation: px-community-promo-scroll 42s linear infinite; }
.px-community-promo:hover .px-community-promo__track,
.px-community-promo:focus-within .px-community-promo__track,
.px-community-promo[data-community-paused="true"] .px-community-promo__track { animation-play-state: paused; }
@keyframes px-community-promo-scroll { to { transform: translateX(-50%); } }

/* Without JavaScript, keep the message fully readable instead of clipping it. */
.px-community-promo:not([data-community-enhanced="true"]) .px-community-promo__track { display: block; width: auto; }
.px-community-promo:not([data-community-enhanced="true"]) .px-community-promo__segment { display: block; padding: 0; white-space: normal; }
.px-community-promo:not([data-community-enhanced="true"]) .px-community-promo__segment + .px-community-promo__segment,
.px-community-promo:not([data-community-enhanced="true"]) .px-community-promo__segment > :not(:first-child) { display: none; }

.px-community-promo__menu {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 16px;
    margin-bottom: 16px;
    color: #25ff5a;
    background: linear-gradient(120deg, #0c2b15, #09120c);
    border: 1px solid #25ff5a75;
    border-radius: 12px;
    text-decoration: none;
}
.px-community-promo__menu > svg { flex: 0 0 25px; }
.px-community-promo__menu > span { min-width: 0; }
.px-community-promo__menu strong { display: block; color: #edfff1; font: 700 15px/1.5 Orbitron, sans-serif; }
.px-community-promo__menu small { display: block; color: #9fdfaF; font: 600 17px/1.4 Rajdhani, sans-serif; }
.px-community-promo__menu-arrow { margin-left: auto; font-size: 25px; }
.px-community-promo__menu:hover { border-color: #25ff5a; background: #102b18; }

@media (max-width: 660px) {
    .px-community-promo__inner { gap: 10px; min-height: 62px; padding: 8px 12px; }
    .px-community-promo__icon { flex-basis: 21px; width: 21px; height: 21px; }
    .px-community-promo__segment { gap: 24px; padding-right: 24px; font-size: 12px; letter-spacing: .3px; }
    .px-community-promo__join { gap: 7px; padding: 10px 11px; font-size: 11px; }
    .px-community-promo__pause { flex-basis: 36px; width: 36px; height: 44px; border: 0; background: transparent; }
    .px-community-promo[data-community-enhanced="true"] .px-community-promo__track { animation-duration: 34s; }
}
@media (prefers-reduced-motion: reduce) {
    .px-community-promo .px-community-promo__track { animation: none !important; transform: none; display: block; width: auto; }
    .px-community-promo__segment { display: block; white-space: normal; padding: 0; }
    .px-community-promo__segment + .px-community-promo__segment, .px-community-promo__segment > :not(:first-child), .px-community-promo__pause { display: none; }
    .px-community-promo__join { transition: none; }
}
