/* R99: neutralize inherited R18/R84 dimensions and dark-only module colors. */
html[data-layout="classic"]{--fx99-avatar:76px;--fx99-cover:145px}
html[data-layout="modern"]{--fx99-avatar:45px;--fx99-cover:95px}
html[data-layout="cover"]{--fx99-avatar:58px;--fx99-cover:205px}
html[data-layout] body.fx-r98 #content :is(.fxp-avatar-wrap,.fxp-avatar){width:var(--fx99-avatar)!important;height:var(--fx99-avatar)!important;min-width:var(--fx99-avatar)!important;min-height:var(--fx99-avatar)!important;max-width:var(--fx99-avatar)!important;max-height:var(--fx99-avatar)!important;aspect-ratio:1!important;flex:0 0 var(--fx99-avatar)!important;padding:0!important;margin:0!important}
html[data-layout] body.fx-r98 #content .fxp-avatar{object-fit:cover!important;display:block!important}
html[data-layout] body.fx-r98 #content .fxp-author-area{height:auto!important;min-height:0!important;margin:0!important;align-content:start!important}
html[data-layout] body.fx-r98 #content .fxp-author-profile{min-height:0!important;margin:0!important}
html[data-layout] body.fx-r98 #content .fxp-post-content{margin:0!important;min-height:0!important}
html[data-layout] body.fx-r98 #content .fxp-body{min-height:0!important}
html[data-layout] body.fx-r98 #content .fxp-author-copy{gap:5px!important}
html[data-layout] body.fx-r98 #content .fxp-author-copy>strong{color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content .fxp-author-ranks .fx-rank__copy strong{color:inherit!important}
html[data-layout] body.fx-r98 #content .profile-cover{position:relative!important;isolation:isolate;height:var(--fx99-cover)!important;min-height:0!important;max-height:none!important;overflow:hidden!important;background-size:cover!important;background-position:center!important;flex:none!important}
html[data-layout] body.fx-r98 #content .profile-cover::before{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;pointer-events:none!important}
html[data-layout] body.fx-r98 #content .profile-cover::after{content:none!important;display:none!important}
html[data-layout] body.fx-r98 #content :is(.profile-cover-label,.profile-cover-label *,.profile-online){color:#fff!important}
html[data-layout] body.fx-r98 #content :is(.profile-header,.profile-overview){min-height:0!important}
html[data-layout] body.fx-r98 #content .profile-tabs{background:var(--fx98-soft)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content .profile-tabs a{color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .profile-tabs a[aria-selected="true"]{color:var(--fx98-accent)!important;background:var(--fx98-tint)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-hero,.forumx-page-heading){background:transparent!important;color:var(--fx98-text)!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-hero,.forumx-page-heading)::before{display:none!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-hero p,.forumx-v25-hero small,.forumx-v25-hero .eyebrow,.forumx-v25-hero .forumx-v25-stat,.forumx-v25-member-stats,.forumx-v25-member-stats span,.forumx-result-count,.forumx-page-heading p){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-hero__meta,.forumx-v25-result-count){color:var(--fx98-muted)!important;background:var(--fx98-soft)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-member-stats strong,.forumx-v25-member-copy>strong){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content .forumx-v25-card-arrow{color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .forumx-v25-searchbar{display:flex!important;gap:10px!important;align-items:center!important;background:transparent!important;box-shadow:none!important;padding:0!important;border:0!important}
html[data-layout] body.fx-r98 #content .forumx-v25-searchbar label{position:relative!important;display:flex!important;align-items:center!important;flex:1!important;min-width:0!important;gap:8px!important;border:1px solid var(--fx98-line)!important;border-radius:5px!important;background:var(--fx98-panel)!important;color:var(--fx98-muted)!important;box-shadow:none!important;padding:0 12px!important}
html[data-layout] body.fx-r98 #content .forumx-v25-searchbar label input{flex:1!important;width:100%!important;min-width:0!important;background:transparent!important;border:0!important;padding:10px 0!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content .forumx-v25-searchbar :is(label svg,label .forumx-icon){flex:none!important;width:18px!important;height:18px!important;color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .forumx-v25-searchbar button{flex:none!important;min-height:40px!important;margin:0!important}
html[data-layout] body.fx-r98 #content :is(.forumx-auth-heading p,.forumx-auth-footer,.forumx-auth-footer p,.fx-messenger-titlebar p,.fx-inbox-empty p){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-guest-reply,.forumx-guest-reply-card){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}
@media(max-width:760px){html[data-layout]{--fx99-avatar:40px}html[data-layout="classic"]{--fx99-cover:120px}html[data-layout="modern"]{--fx99-cover:80px}html[data-layout="cover"]{--fx99-cover:145px}html[data-layout] body.fx-r98 #content .fxp-author-area{padding-top:10px!important;padding-bottom:10px!important}html[data-layout] body.fx-r98 #content .forumx-v25-searchbar{gap:7px!important}html[data-layout] body.fx-r98 #content .forumx-v25-searchbar label{padding:0 9px!important}}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-count-chip,.forumx-v25-soft-chip){background:var(--fx98-soft)!important;color:var(--fx98-muted)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content .forumx-v25-member-stats b{color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content .forumx-v25-member-stats small{color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .fx-guest-reply{background:var(--fx98-panel)!important;border-color:var(--fx98-line)!important;box-shadow:none!important;color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content .fx-guest-reply :is(strong,p,small){color:var(--fx98-text)!important}

html[data-layout] body.fx-r98 #content .fx-rank-progress-head > b{background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 #content .fx-rank-progress-foot span{color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .fx-rank-progress-head small{color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .fx-guest-reply-button.is-register{background:var(--fx98-accent)!important;color:#fff!important;border-color:var(--fx98-accent)!important}
html[data-layout] body.fx-r98 #content .fx-guest-reply-button.is-login{background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}
