/* R230: scoped fixes; keep each theme's own palette and layout. */
html[data-layout=v2][data-forumx-theme=v2][data-theme=light] body.fx-r98 #content .fx184-category-total,
html[data-layout=v2][data-forumx-theme=fivem][data-theme=light] body.fx-r98 #content .fx184-category-total{color:var(--fx98-muted)!important}
html[data-layout=v2][data-forumx-theme=lumen][data-theme=light] body.fx-r98 #content .button:not(.button-secondary):not(.button-danger){background:#0877a5!important;color:#fff!important}
html[data-layout=v2][data-forumx-theme=lumen][data-theme=dark] body.fx-r98 #content .button:not(.button-secondary):not(.button-danger){color:#241b09!important}
html[data-layout=v2][data-forumx-theme=v2][data-theme=dark] body.fx-r98 #content .fxms-section.fxms-pinned{background:#1b3b2a!important;color:#b7e9c4!important}
html[data-forumx-theme][data-theme] body .fx230-mode-toggle>svg{width:19px!important;height:19px!important;min-width:19px;min-height:19px;opacity:1!important;visibility:visible!important;flex:none;fill:none!important;stroke:currentColor!important;filter:none!important}
html[data-forumx-theme][data-theme=dark] body .fx230-mode-toggle>.fx230-moon,
html[data-forumx-theme][data-theme=light] body .fx230-mode-toggle>.fx230-sun{display:none!important}
html[data-forumx-theme][data-theme=dark] body .fx230-mode-toggle>.fx230-sun,
html[data-forumx-theme][data-theme=light] body .fx230-mode-toggle>.fx230-moon{display:block!important}
html[data-layout=v2][data-forumx-theme] body.fx-r98 :is(.fx135-header,.fx214-header,.fx223-header,.fx224-header){z-index:1300}
html[data-layout=v2][data-forumx-theme] body.fx-r98 .fx135-account-bar{position:relative;z-index:10}
html[data-layout=v2][data-forumx-theme=fivem][data-theme=light] body.fx-r98 .fx135-account-bar .fx-account-popover>summary,
html[data-layout=v2][data-forumx-theme=fivem][data-theme=light] body.fx-r98 .fx135-account-bar .fx-account-trigger-name{color:var(--fx98-text)!important}
html[data-layout=v2][data-forumx-theme=lumen] body.fx-r98 .fx214-account .fx-account-panel{position:fixed!important;top:var(--fx230-account-top,44px)!important;left:auto!important;right:var(--fx230-account-right,10px)!important;max-height:var(--fx230-account-height,calc(100dvh - 124px))!important;overflow-y:auto;overscroll-behavior:contain}
html[data-layout=v2][data-forumx-theme=lumen] body.fx-r98 .fx214-primary svg{opacity:1!important;color:#e2edf7!important}
html[data-layout=v2][data-forumx-theme=aurora][data-theme=light] body.fx-r98 .fx217-foot-col h3{color:#475569!important}
html[data-layout=v2][data-forumx-theme=aurora][data-theme=light] body.fx-r98 .fx217-foot-col:nth-of-type(3) h3,
html[data-layout=v2][data-forumx-theme=aurora][data-theme=light] body.fx-r98 .fx217-foot-col ul a.has-glow-line.is-violet{color:#7e22ce!important}
html[data-layout=v2][data-forumx-theme=aurora][data-theme=light] body.fx-r98 .fx217-foot-col:nth-of-type(4) h3,
html[data-layout=v2][data-forumx-theme=aurora][data-theme=light] body.fx-r98 .fx217-foot-col:nth-of-type(5) h3{color:#0e7490!important}
@media(max-width:600px){html[data-layout=v2][data-forumx-theme=lumen] body.fx-r98 .fx214-account .fx-account-panel{left:10px!important;right:10px!important;width:auto!important;max-width:none!important}}
@media(max-width:480px){html[data-layout=v2][data-forumx-theme=fivem] body.fx-r98 .fx135-subnav{gap:10px}}
