.er-community-bar {
    position: relative;
    z-index: 4;
    background: #191c1f;
    border-bottom: 1px solid #343b40;
    color: #dbe1e4;
}
.er-community-inner,
.er-community-tabs,
.er-community-actions,
.er-community-group,
.er-staff-inner {
    display: flex;
    align-items: center;
}
.er-community-inner { justify-content: space-between; gap: 16px; }
.er-community-tabs { gap: 13px; }
.er-community-actions { gap: 15px; }
.er-community-tab,
.er-community-actions > a,
.er-nav-account > summary {
    display: inline-flex;
    align-items: center;
    min-height: 49px;
    padding: 0 4px;
    white-space: nowrap;
    font-size: 14px;
}
.er-community-tab.is-current {
    color: #f7f5f2;
    font-weight: 700;
    box-shadow: inset 0 -2px #ee9158;
}
.er-community-bar a:hover,
.er-community-bar summary:hover { color: #ffb487; }
.er-nav-login { color: #ffad7c; font-weight: 600; }
.er-nav-details { position: relative; }
.er-nav-details > summary {
    list-style: none;
    cursor: pointer;
    white-space: nowrap;
}
.er-nav-details > summary::-webkit-details-marker { display: none; }
.er-nav-details > summary::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin: 0 3px 3px 8px;
}
.er-tab-details > summary { display: grid; min-width: 28px; min-height: 44px; place-items: center; }
.er-tab-details > summary::after { margin: 0 3px 3px 0; }
.er-nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 185px;
    width: max-content;
    max-width: calc(100vw - 32px);
    padding: 5px;
    border: 1px solid #41494e;
    border-top: 2px solid #ee9158;
    border-radius: 0 0 5px 5px;
    background: #1b2024;
    color: #e0e5e8;
    box-shadow: 0 10px 24px #0007;
    font-size: 14px;
}
.er-nav-panel > a { display: block; padding: 7px 10px; border-radius: 3px; }
.er-nav-panel > a:hover { background: #282f34; }
.er-nav-account .er-nav-panel { left: auto; right: 0; }
.er-staff-bar {
    position: relative;
    z-index: 5;
    background: #252b2e;
    color: #dbe1e4;
    border-bottom: 1px solid #3a4247;
}
.er-staff-inner { gap: 20px; min-height: 32px; font-size: 13px; }
@media (max-width: 770px) {
    .er-community-inner { position: relative; flex-wrap: wrap; gap: 0 12px; padding: 3px 0; }
    .er-community-tabs { flex-wrap: wrap; gap: 0 9px; }
    .er-community-actions { margin-left: auto; gap: 12px; }
    .er-community-tab, .er-community-actions > a, .er-nav-account > summary { min-height: 40px; font-size: 13px; }
    .er-tab-details > summary { min-height: 40px; min-width: 25px; }
    .er-community-bar .er-nav-details { position: static; }
    .er-community-bar .er-nav-panel { left: 0; right: 0; width: auto; min-width: 0; max-width: none; }
}
