/* Modern Forum 1.4.2: per-member Forums submenu component UI only. */
@media (min-width:801px) {
    html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafMenuUserVisible { display:list-item!important; }
}
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafMenuUserHidden { display:none!important; }
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafMenuHasCustomizer { display:list-item!important; }
.oafMenuCustomizeEntry { border-top:1px solid rgba(0,0,0,.12); margin-top:4px; padding-top:4px; }
.oafCustomizeMenuLink { font-weight:700; }
.oafMenuCustomizerMask { background:rgba(0,0,0,.45); bottom:0; left:0; position:fixed; right:0; top:0; z-index:10060; }
.oafMenuCustomizerOverlay { background:#fff; border:1px solid #b8b8b8; border-radius:4px; box-shadow:0 10px 36px rgba(0,0,0,.3); box-sizing:border-box; left:50%; max-height:82vh; max-width:calc(100vw - 24px); overflow:auto; padding:18px; position:fixed; top:10vh; transform:translateX(-50%); width:560px; z-index:10061; }
.oafMenuCustomizerOverlay h2 { font-size:20px; margin:0 0 6px; }
.oafMenuCustomizerIntro { color:#666; line-height:1.4; margin:0 0 14px; }
.oafMenuCustomizerRows { border:1px solid #d2d2d2; }
.oafMenuCustomizerRow { align-items:center; background:#fff; border-bottom:1px solid #e2e2e2; box-sizing:border-box; display:flex; gap:9px; min-height:42px; padding:7px 9px; }
.oafMenuCustomizerRow:last-child { border-bottom:0; }
.oafMenuVisibleCheckbox { flex:0 0 auto; }
.oafMenuCustomizerLabel { flex:1 1 auto; font-size:14px; }
.oafMenuMoveUp,.oafMenuMoveDown { min-width:32px; }
.oafMenuCustomizerActions { display:flex; gap:8px; justify-content:flex-end; margin-top:14px; }
.oafMenuReset { margin-right:auto; }
@media (max-width:600px) { .oafMenuCustomizerOverlay { left:12px; right:12px; transform:none; width:auto; } .oafMenuCustomizerActions { flex-wrap:wrap; } }


/* 1.3.3: the member-menu control is independent of XenForo's responsive
 * navigationHidden overflow and stays discoverable on wide screens. */
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafMenuCustomizerOverflow {
    display:list-item!important;
    float:left;
}
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafMenuCustomizerOverflow > a.NoPopupGadget {
    display:block;
}

/* The personalized overflow becomes the single user-facing three-dot menu.
 * The older Modern Forum/XenForo utility overflow remains in markup for
 * compatibility, but is hidden while the personalized menu is available. */
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafStableSubNavOverflow {
    display:none!important;
}

/* Utility links can be promoted back into the visible row by the member. */
@media (min-width:801px) {
    html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafSubNavUtility.oafMenuUserVisible {
        display:list-item!important;
    }
}


/* 1.4.2: permanent user-facing Forums overflow/customizer control. */
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks > .blockLinksList > li.oafMenuCustomizerOverflow {
    display:list-item!important;
}
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafMenuCustomizerOverflow > a.oafMenuCustomizerToggle {
    display:block;
    font-weight:700;
    min-width:28px;
    text-align:center;
}
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafMenuUserHidden {
    display:none!important;
}
html.oafModern .navTabs .navTab.forums.selected .forumsTabLinks li.oafMenuUserVisible {
    display:list-item;
}
