/* R100: shared color tokens, readable module surfaces, configurable community sections. */
html[data-layout][data-theme="light"]{--fx98-muted:#4d6077;--fx100-button:#1765bf;--fx100-button-text:#fff}
html[data-layout="cover"][data-theme="light"]{--fx100-button:#07666e}
html[data-layout][data-theme="dark"]{--fx100-button:var(--fx98-accent);--fx100-button-text:#071827}
html[data-layout]{--card:var(--fx98-panel);--card-2:var(--fx98-soft);--bg-soft:var(--fx98-soft);--text-strong:var(--fx98-text);--accent-strong:var(--fx98-link);--fx-profile-panel:var(--fx98-panel);--fx-profile-panel-2:var(--fx98-soft);--fx-profile-line:var(--fx98-line)}
html[data-layout] body.fx-r98{--card:var(--fx98-panel);--card-2:var(--fx98-soft);--bg-soft:var(--fx98-soft);--text-strong:var(--fx98-text);--fx-profile-panel:var(--fx98-panel);--fx-profile-panel-2:var(--fx98-soft);--fx-profile-line:var(--fx98-line)}
html[data-layout] body.fx-r98 #content :is(.thread-type-chip,.fx-r69-thread-meta-item,.fx-r69-thread-meta-item span,.fxp-signature,.fxp-signature p,.fx-guest-reply-copy p){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content :is(.profile-activity-item,.profile-posts-list) .activity-copy strong{color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content .activity-copy :is(small,span){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .profile-tabs a.active{color:var(--fx98-link)!important}
html[data-layout] body.fx-r98 #content .eyebrow{color:var(--fx98-link)!important}
html[data-layout] body.fx-r98 #content :is(.button,.fx-guest-reply-button.is-register,.fxr-footer button):not(.button-secondary):not(.button-danger):not(.button-success){background:var(--fx100-button)!important;color:var(--fx100-button-text)!important;border-color:var(--fx100-button)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content :is(.button,.fx-guest-reply-button.is-register,.fxr-footer button):not(.button-secondary):not(.button-danger):not(.button-success) :is(span,strong){color:inherit!important}
html[data-layout] body.fx-r98 #content :is(.forumx-terms-row,.forumx-auth-benefits span){background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-metric-card,.forumx-v25-filter-panel,.forumx-v25-section,.forumx-v25-empty,.forumx-v25-side-card,.forumx-v25-category-card,.forumx-v25-resource-card,.forumx-v25-media-card,.forumx-v27-activity-hero,.forumx-v27-live-panel,.forumx-v27-panel,.forumx-v27-card){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important;border-radius:5px!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-metric-grid,.forumx-v25-section-heading,.forumx-v25-side-card,.forumx-v25-category-card,.forumx-v25-resource-copy,.forumx-v25-media-copy,.forumx-v27-panel,.forumx-v27-card-copy) :is(h2,h3,strong,b){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-metric-grid,.forumx-v25-section-heading,.forumx-v25-side-card,.forumx-v25-category-card,.forumx-v25-resource-copy,.forumx-v25-media-copy,.forumx-v27-panel,.forumx-v27-card-copy,.forumx-v27-activity-hero) :is(p,small){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v27-soft-chip,.forumx-v27-live-chip,.forumx-v25-category-card,.forumx-v25-filter-form,.forumx-hot-period a,.forumx-v27-empty){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 :is(.forumx-v25-metric-card,.forumx-v27-panel)::before{display:none!important}
.fx100-statistics{margin:0 0 18px;border:1px solid var(--fx98-line);border-radius:5px;background:var(--fx98-panel);color:var(--fx98-text)}
.fx100-statistics dl{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin:0;padding:14px 0}
.fx100-statistics dl>div{padding:0 16px;border-right:1px solid var(--fx98-line);min-width:0}
.fx100-statistics dl>div:last-child{border-right:0}.fx100-statistics dt{color:var(--fx98-muted);font-size:12px}.fx100-statistics dd{margin:2px 0 0;font-size:21px;font-weight:700;color:var(--fx98-text)}
html[data-layout] body.fx-r98 .fx100-community{display:flex;flex-direction:column;gap:14px;min-width:0}
.fx100-module{padding:14px 16px;background:var(--fx98-panel);border:1px solid var(--fx98-line);border-radius:5px;color:var(--fx98-text);min-width:0}
.fx100-module>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.fx100-module h2{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:700;color:var(--fx98-text)}
.fx100-module h2 .forumx-icon{width:17px;height:17px;color:var(--fx98-muted)}.fx100-module>header>a{display:flex;color:var(--fx98-link)}
.fx100-people,.fx100-topics{margin:0;padding:0;list-style:none!important}.fx100-people li+li,.fx100-topics li+li{border-top:1px solid var(--fx98-line)}
.fx100-people li>a{display:flex;gap:10px;align-items:center;padding:9px 0;min-width:0;color:var(--fx98-text)!important}.fx100-people img{width:32px!important;height:32px!important;border-radius:50%;object-fit:cover;flex:none}.fx100-people span{flex:1;min-width:0}.fx100-people strong{display:block;font-size:13px;overflow-wrap:anywhere}.fx100-people small{display:block;font-size:11px;color:var(--fx98-muted)}.fx100-people i{width:7px;height:7px;border-radius:50%;background:#23a66a;flex:none}
.fx100-topics li{padding:9px 0}.fx100-topics a{display:block;font-size:13px;line-height:1.45;font-weight:600;color:var(--fx98-link)!important;overflow-wrap:anywhere}.fx100-topics small{display:block;font-size:11px;color:var(--fx98-muted);margin-top:4px;overflow-wrap:anywhere}
.fx100-presence{margin:0 0 7px;font-size:12px;color:var(--fx98-muted)}.fx100-presence b{color:var(--fx98-text)}.fx100-presence small{display:block;margin-top:4px}.fx100-empty{font-size:12px;color:var(--fx98-muted);margin:8px 0}
html[data-layout="classic"] body.fx-r98 .fx100-no-modules{grid-template-columns:minmax(0,1fr)}
html[data-layout="modern"] body.fx-r98 .fx100-modern-grid{grid-template-columns:170px minmax(0,1fr) 270px;gap:22px}
html[data-layout="modern"] body.fx-r98 .fx100-modern-grid.fx100-no-modules{grid-template-columns:170px minmax(0,1fr)}
html[data-layout="cover"] body.fx-r98 .fx100-cover-community{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px;align-items:start}
@media(max-width:1100px){html[data-layout="modern"] body.fx-r98 .fx100-modern-grid{grid-template-columns:140px minmax(0,1fr)}html[data-layout="modern"] body.fx-r98 .fx100-modern-grid>.fx100-community{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){html[data-layout="classic"] body.fx-r98 .fx100-community{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.fx100-statistics dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 0}.fx100-statistics dl>div:nth-child(3){border-right:0}html[data-layout="cover"] body.fx-r98 .fx100-cover-community{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){html[data-layout="classic"] body.fx-r98 .fx98-side.fx100-community{display:grid!important}html[data-layout="modern"] body.fx-r98 .fx100-modern-grid,html[data-layout="modern"] body.fx-r98 .fx100-modern-grid.fx100-no-modules{display:block}.fx100-modern-grid>.fx100-community{margin-top:18px}.fx100-statistics dl>div{padding:0 10px}.fx100-statistics dd{font-size:18px}.fx100-statistics dt{font-size:11px}.fx100-module{padding:12px}.fx100-module h2{font-size:13px}}
@media(max-width:480px){html[data-layout] body.fx-r98 .fx100-community,html[data-layout="modern"] body.fx-r98 .fx100-modern-grid>.fx100-community,html[data-layout="cover"] body.fx-r98 .fx100-cover-community{display:flex!important;flex-direction:column}.fx100-statistics dl{gap:12px 0}}
html[data-layout] body.fx-r98 #content #profile-posts .activity-copy strong{color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content #profile-posts .activity-copy :is(small,time){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-v25-panel,.forumx-v25-metric-grid>article,.forumx-v25-category-strip>a){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important;border-radius:5px!important}
html[data-layout] body.fx-r98 #content .forumx-v25-category-strip :is(strong,span){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content .forumx-v25-empty :is(p,small){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content .fx100-module h2{font-size:14px!important;line-height:1.35!important;color:var(--fx98-text)!important;margin:0!important}
html[data-layout] body.fx-r98 #content .fx100-main-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px;align-items:start}
html[data-layout] body.fx-r98 #content .forumx-v25-filter-form{padding:0;background:transparent!important;border:0!important}
html[data-layout] body.fx-r98 #content .forumx-v25-filter-search{background:var(--fx98-panel)!important;border:1px solid var(--fx98-line)!important;color:var(--fx98-muted)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 #content .forumx-v25-filter-search input{background:transparent!important;border:0!important;box-shadow:none!important}
@media(max-width:1100px){html[data-layout] body.fx-r98 #content .fx100-main-modules{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){html[data-layout] body.fx-r98 #content .fx100-community{display:flex!important;flex-direction:column;gap:12px}html[data-layout] body.fx-r98 #content .fx100-module h2{font-size:14px!important}}
@media(max-width:480px){html[data-layout] body.fx-r98 #content .fx100-community{align-items:stretch!important}html[data-layout] body.fx-r98 #content .fx100-community>.fx100-module{width:100%;min-width:0}}
html[data-layout] body.fx-r98 #content .fx-r69-thread-meta-item b{color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 #content .fx-guest-reply-copy>span{color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 #content :is(.forumx-search-results,.search-results) small>b{color:var(--fx98-link)!important}
html[data-layout][data-theme="light"]{--fx98-link:#145ba6}
html[data-layout="cover"][data-theme="light"]{--fx98-link:#08606b}
html[data-layout] body.fx-r98 #content .fx98-tabs a[aria-current]{color:var(--fx98-link)!important}
