/* Shared functional foundation. Layout-specific rules live in three separate files. */
html[data-layout]{--accent:var(--fx98-accent);--accent-soft:var(--fx98-tint);--bg:var(--fx98-bg);--panel:var(--fx98-panel);--panel-2:var(--fx98-soft);--text:var(--fx98-text);--muted:var(--fx98-muted);--line:var(--fx98-line);--border:var(--fx98-line);color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}
body.fx-r98{margin:0!important;background:var(--fx98-bg)!important;color:var(--fx98-text)!important;font:14px/1.5 Arial,Helvetica,sans-serif!important;--fx84-bg:var(--fx98-bg);--fx84-panel:var(--fx98-panel);--fx84-panel-2:var(--fx98-soft);--fx84-panel-soft:var(--fx98-soft);--fx84-line:var(--fx98-line);--fx84-line-strong:var(--fx98-line);--fx84-text:var(--fx98-text);--fx84-muted:var(--fx98-muted);--fx84-soft:var(--fx98-muted);--fx84-accent:var(--fx98-accent);--msg-bg:var(--fx98-panel);--msg-panel:var(--fx98-soft)}
html[data-layout] body.fx-r98 *, html[data-layout] body.fx-r98 *::before,html[data-layout] body.fx-r98 *::after{box-sizing:border-box}
html[data-layout] body.fx-r98 a{color:var(--fx98-link);text-decoration:none}html[data-layout] body.fx-r98 a:hover{color:var(--fx98-accent)}
html[data-layout] body.fx-r98 :is(h1,h2,h3,p){margin-top:0}html[data-layout] body.fx-r98 :is(h1,h2,h3){color:var(--fx98-text);letter-spacing:-.025em}html[data-layout] body.fx-r98 h1{font-size:28px}html[data-layout] body.fx-r98 h2{font-size:17px}
html[data-layout] body.fx-r98 .page-shell{width:calc(100% - 48px)!important;max-width:1320px!important;margin:0 auto!important;padding:22px 0 32px!important;min-height:45vh!important;overflow:visible!important}
html[data-layout] body.fx-r98 .container{max-width:1320px}html[data-layout] body.fx-r98 img{max-width:100%}html[data-layout] body.fx-r98 :is(.card,.premium-panel){color:var(--fx98-text);background:var(--fx98-panel)!important;border:1px solid var(--fx98-line)!important;border-radius:7px!important;box-shadow:none!important}
html[data-layout] body.fx-r98 :is(input,textarea,select){font:inherit;color:var(--fx98-text)!important;background:var(--fx98-panel)!important;border:1px solid var(--fx98-line)!important;box-shadow:none!important;max-width:100%;border-radius:5px!important}
html[data-layout] body.fx-r98 :is(input,select){min-height:40px}html[data-layout] body.fx-r98 :is(button,.button){font:inherit}html[data-layout] body.fx-r98 .button{background:var(--fx98-accent)!important;color:#fff!important;border:1px solid transparent!important;border-radius:5px!important;min-height:38px;padding:8px 14px!important;box-shadow:none!important;font-weight:600;display:inline-flex;align-items:center;gap:7px;justify-content:center}
html[data-layout] body.fx-r98 .button-secondary{background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}html[data-layout] body.fx-r98 .button-danger{background:#a82738!important}
html[data-layout] body.fx-r98 :focus-visible{outline:2px solid var(--fx98-accent)!important;outline-offset:3px}
html[data-layout] body.fx-r98 :is(.forumx-icon,svg){flex-shrink:0}html[data-layout] body.fx-r98 .forumx-icon{width:20px;height:20px}
.fx98-header{position:relative;color:var(--fx98-header-text);background:var(--fx98-header);border-bottom:1px solid var(--fx98-line);z-index:30}
.fx98-headrow{max-width:1320px;margin:auto;min-height:70px;padding:12px 0;display:flex;align-items:center;gap:32px}
.fx98-brand{display:flex;align-items:center;gap:9px;color:var(--fx98-header-text)!important;flex:none}.fx98-brand strong{font-size:25px;font-weight:750;letter-spacing:-1px}.fx98-brand small{display:none}.fx98-logo{width:34px!important;height:34px!important;object-fit:contain}.fx98-logo-letter{font-weight:900;letter-spacing:-3px;font-size:32px;line-height:1;color:#2494ff}
.fx98-primary{display:flex;align-items:center;gap:30px;align-self:stretch}.fx98-primary a,.fx98-cover-nav nav a{display:flex;align-items:center;color:var(--fx98-header-text);position:relative;font-size:14px;font-weight:500;white-space:nowrap}.fx98-primary a[aria-current]::after,.fx98-cover-nav nav a[aria-current]::after{content:"";position:absolute;bottom:-12px;left:0;right:0;height:3px;background:var(--fx98-accent)}
.fx98-actions{display:flex;align-items:center;gap:18px;margin-left:auto}.fx98-icon{display:inline-flex;position:relative;align-items:center;justify-content:center;min-width:30px;min-height:36px;padding:0;background:transparent!important;border:0!important;border-radius:0!important;color:var(--fx98-header-text)!important;cursor:pointer;box-shadow:none!important}.fx98-icon .forumx-icon{width:21px;height:21px}.fx98-user img{width:34px;height:34px;object-fit:cover;border-radius:50%;display:block}.fx98-login{color:var(--fx98-header-text)!important;white-space:nowrap;font-weight:600}.fx98-icon .nav-badge{right:-5px;top:-2px}
.fx98-menu{display:none;position:absolute;right:max(18px,calc((100vw - 1320px)/2));top:calc(100% + 8px);width:260px;max-height:calc(100dvh - 110px);overflow:auto;padding:10px;background:var(--fx98-panel);border:1px solid var(--fx98-line);border-radius:7px;box-shadow:0 12px 32px #0002;color:var(--fx98-text);z-index:60}.fx98-menu.open{display:grid;gap:2px}.fx98-menu>a{display:block;padding:10px 12px;border-radius:4px;color:var(--fx98-text)}.fx98-menu>a:hover{background:var(--fx98-soft)}.fx98-appearance{border-top:1px solid var(--fx98-line);padding:10px 2px}.fx98-appearance summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;padding:4px 8px;color:var(--fx98-text)}.fx98-appearance form{display:grid;gap:12px;padding:12px 8px 4px}.fx98-appearance label{display:grid;gap:6px;font-size:13px}.fx98-appearance select{width:100%}
.fx98-cover-nav{display:none}
.fx98-category{min-width:0;background:var(--fx98-panel);margin-bottom:16px;overflow:hidden;border-radius:5px}.fx98-category>header{background:var(--fx98-tint);display:grid;grid-template-columns:minmax(0,1fr) 330px;align-items:center;gap:15px;min-height:42px;padding:8px 16px}.fx98-category>header>span{display:flex;gap:10px;align-items:center}.fx98-category>header strong{font-size:15px}.fx98-category>header .forumx-icon{display:none}.fx98-column-labels{display:grid;grid-template-columns:60px 65px 1fr;gap:12px;color:var(--fx98-muted);font-size:12px}.fx98-column-labels small{font-size:12px}
.fx98-forum-row{display:grid;grid-template-columns:minmax(0,1fr) 60px 65px 1fr;grid-template-columns:minmax(0,1fr) 60px 65px 205px;gap:12px;align-items:center;min-height:79px;padding:14px 16px;border-bottom:1px solid var(--fx98-line)}.fx98-forum-row:last-child{border-bottom:0}.fx98-forum-main{display:flex;gap:14px;align-items:center;min-width:0}.fx98-forum-main>span:last-child{min-width:0;display:block}.fx98-forum-main strong{font-size:15px;display:block;color:var(--fx98-text);font-weight:650;overflow-wrap:anywhere}.fx98-forum-main small{display:block;color:var(--fx98-muted);font-size:12px;line-height:1.45;margin-top:4px}.fx98-forum-icon{color:var(--fx98-accent);display:flex;align-items:center;justify-content:center;width:30px;flex:none}.fx98-forum-icon .forumx-icon{width:26px;height:26px}.fx98-count{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px}.fx98-count b{font-weight:500}.fx98-count small{display:none;color:var(--fx98-muted);font-size:11px}.fx98-last{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}.fx98-last img{width:28px;height:28px;object-fit:cover;border-radius:50%;flex:none}.fx98-last>span{min-width:0}.fx98-last a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.fx98-last small{display:block;font-size:11px;color:var(--fx98-muted);margin-top:4px}
.fx98-topic{display:grid;grid-template-columns:44px minmax(0,1fr) 150px 46px;align-items:center;gap:15px;padding:20px 10px;border-bottom:1px solid var(--fx98-line);min-width:0}.fx98-topic.is-pinned{background:var(--fx98-tint);border-radius:5px}.fx98-topic-author{display:block}.fx98-topic-author img{width:44px;height:44px;object-fit:cover;border-radius:50%;display:block}.fx98-topic-copy{min-width:0}.fx98-topic-title{font-size:15px;line-height:1.45;font-weight:650;color:var(--fx98-text)!important;overflow-wrap:anywhere;display:block}.fx98-topic-copy p{font-size:13px;line-height:1.5;color:var(--fx98-muted);margin:5px 0 6px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fx98-topic-copy>small{font-size:11px;color:var(--fx98-muted);display:block}.fx98-topic-copy>small a{color:var(--fx98-muted)}.fx98-topic-copy>small a::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--fx98-accent);margin-right:6px}.fx98-mobile-date{display:none}.fx98-topic-last{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--fx98-text);min-width:0}.fx98-topic-last img{width:28px;height:28px;object-fit:cover;border-radius:50%}.fx98-topic-last span{min-width:0;overflow-wrap:anywhere}.fx98-topic-last small{display:block;color:var(--fx98-muted);font-size:11px;margin-top:4px}.fx98-topic-replies{display:flex;align-items:center;justify-content:flex-end;gap:5px;color:var(--fx98-muted)!important;font-size:12px}.fx98-topic-replies .forumx-icon{width:17px;height:17px}.fx98-pin{display:inline-flex;vertical-align:middle;margin-right:7px;color:var(--fx98-accent)}.fx98-pin .forumx-icon{width:15px;height:15px}.fx98-prefix{font-size:10px;padding:2px 5px;background:var(--fx98-tint);color:var(--fx98-accent);border-radius:3px;margin-right:6px}
.fx98-online,.fx98-recent{padding:18px;background:var(--fx98-panel);border-radius:5px;margin-bottom:16px}.fx98-online h2,.fx98-recent h2{font-size:15px;display:flex;gap:7px;align-items:center;margin-bottom:14px}.fx98-avatar-list{display:flex;gap:8px;flex-wrap:wrap}.fx98-avatar-list img{width:32px;height:32px;object-fit:cover;border-radius:50%;display:block}.fx98-online>small{display:block;font-size:12px;color:var(--fx98-muted);margin-top:12px}.fx98-online>a{font-size:12px;display:inline-flex;align-items:center;gap:3px;margin-top:8px}.fx98-online>a .forumx-icon{width:13px;height:13px}.fx98-online-strip{display:flex;align-items:center;gap:16px;padding:14px 18px;margin:18px 0}.fx98-online-strip h2{margin:0;font-size:13px;white-space:nowrap}.fx98-online-strip>small,.fx98-online-strip>a{margin:0}.fx98-online-strip>a{margin-left:auto;white-space:nowrap}.fx98-empty{padding:24px 16px;color:var(--fx98-muted);font-size:14px}
.fx98-footer{border-top:1px solid var(--fx98-line);background:var(--fx98-panel);margin-top:14px}.fx98-footer-inner{max-width:1320px;margin:auto;padding:26px 0 20px;display:flex;justify-content:space-between;align-items:flex-start;gap:30px}.fx98-footer-brand strong{display:block;font-size:20px;margin-bottom:5px}.fx98-footer-brand small{color:var(--fx98-muted);font-size:12px}.fx98-footer-links{display:flex;flex-wrap:wrap;gap:12px 22px;max-width:700px;font-size:12px}.fx98-footer-bottom{max-width:1320px;margin:auto;padding:14px 0;color:var(--fx98-muted);font-size:11px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--fx98-line)}.fx98-footer-bottom .fx98-appearance{border:0;padding:0;position:relative}.fx98-footer-bottom .fx98-appearance[open] form{position:absolute;bottom:35px;right:0;width:250px;background:var(--fx98-panel);border:1px solid var(--fx98-line);border-radius:5px;padding:15px;box-shadow:0 6px 25px #0002;z-index:20}
.fx98-bottom{display:none}
/* Existing routes retain their forms/actions; only the presentation changes. */
html[data-layout] body.fx-r98 :is(.thread-title-card,.forum-header-card,.profile-header,.fx-messenger){box-shadow:none!important;background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 :is(.thread-title-meta,.thread-title-meta span,.thread-title-meta strong,.breadcrumbs,.breadcrumbs a,.fxp-author-copy strong,.fxp-author-copy small,.fxp-author-ranks,.profile-about-text){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 :is(.fxp-post,.fxp-post-meta,.fxp-post-content,.fxp-author-area,.fxp-post-footer,.reply-editor-premium){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 .fxp-post-content :is(p,li,div){color:inherit}html[data-layout] body.fx-r98 :is(.fxp-body,.post-body,.fxp-author-copy strong){color:var(--fx98-text)!important}html[data-layout] body.fx-r98 .fxp-body :is(blockquote,pre){background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}html[data-layout] body.fx-r98 .fxp-body :is(img,video){max-width:100%!important;height:auto}html[data-layout] body.fx-r98 .fxp-body pre{overflow:auto;max-width:100%;white-space:pre-wrap}html[data-layout] body.fx-r98 .fxp-post-time{display:none!important}html[data-layout] body.fx-r98 .fxp-author-facts{display:none!important}html[data-layout] body.fx-r98 :is(.fxp-tool,.fxp-action,.fxp-reaction-button){background:transparent!important;box-shadow:none!important;color:var(--fx98-muted)!important;border-color:transparent!important}html[data-layout] body.fx-r98 .fxp-action-primary{color:var(--fx98-accent)!important}html[data-layout] body.fx-r98 .fxp-avatar-wrap{background:transparent!important;box-shadow:none!important;border:0!important}html[data-layout] body.fx-r98 .fxp-avatar{border:0!important;box-shadow:none!important}html[data-layout] body.fx-r98 .fxp-post-number{color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 :is(.fx-inbox-header,.fx-messenger-topbar,.fx-chat-header,.fx-inbox-filters,.fx-chat-composer,.fx-messenger-sidebar){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}html[data-layout] body.fx-r98 :is(.fx-inbox-row,.fx-chat-message,.fx-chat-bubble,.fx-chat-scroll,.fx-chat-main,.fx-messenger-inbox){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;box-shadow:none!important}html[data-layout] body.fx-r98 .fx-chat-message.is-mine .fx-chat-bubble{background:var(--fx98-tint)!important;color:var(--fx98-text)!important}html[data-layout] body.fx-r98 .fx-inbox-empty{border:0!important;background:transparent!important;padding:36px 20px!important}html[data-layout] body.fx-r98 :is(.fx-chat-bubble p,.fx-inbox-row strong,.fx-chat-header strong,.fx-inbox-title){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 :is(.profile-tab-button,.profile-stat,.profile-bio,.profile-meta,.profile-header-meta){color:var(--fx98-text)!important}html[data-layout] body.fx-r98 .profile-header{overflow:hidden}html[data-layout] body.fx-r98 .profile-stats{background:var(--fx98-soft)!important;border-color:var(--fx98-line)!important}html[data-layout] body.fx-r98 .profile-stat strong{color:var(--fx98-text)!important}html[data-layout] body.fx-r98 .profile-tab-button.active{color:var(--fx98-accent)!important}
@media(max-width:1400px){.fx98-headrow,.fx98-cover-nav,.fx98-footer-inner,.fx98-footer-bottom{margin-left:24px;margin-right:24px}}
@media(max-width:1050px){html[data-layout] body.fx-r98 .page-shell{width:calc(100% - 32px)!important}.fx98-headrow{gap:20px;margin:0 16px}.fx98-primary{gap:20px}.fx98-actions{gap:12px}.fx98-forum-row{grid-template-columns:minmax(0,1fr) 45px 50px 170px;gap:8px}.fx98-category>header{grid-template-columns:minmax(0,1fr) 281px}.fx98-column-labels{grid-template-columns:45px 50px 170px;gap:8px}.fx98-topic{grid-template-columns:42px minmax(0,1fr) 120px 40px;gap:10px}.fx98-online-strip{flex-wrap:wrap}}
@media(max-width:760px){html[data-layout] body.fx-r98{padding-bottom:64px!important}html[data-layout] body.fx-r98 .page-shell{width:calc(100% - 24px)!important;padding-top:15px!important}.fx98-headrow{min-height:62px;margin:0 12px;padding:10px 0;gap:10px;flex-wrap:wrap}.fx98-brand strong{font-size:22px}.fx98-logo{width:29px!important;height:29px!important}.fx98-actions{gap:10px}.fx98-actions .fx98-icon{min-width:25px;min-height:36px}.fx98-actions .forumx-icon{width:19px;height:19px}.fx98-user img{width:30px;height:30px}.fx98-primary{order:3;flex-basis:100%;height:33px;gap:25px;margin:2px 0 0;justify-content:flex-start}.fx98-primary a{font-size:12px}.fx98-primary a[aria-current]::after{bottom:-10px}.fx98-header:not(.fx98-with-cover) .fx98-headrow{padding-bottom:10px}.fx98-menu{right:10px;width:260px;max-width:calc(100vw - 20px)}.fx98-category>header{display:block;padding:9px 12px;min-height:38px}.fx98-column-labels{display:none}.fx98-forum-row{grid-template-columns:minmax(0,1fr) 44px 46px;padding:13px 12px;gap:8px}.fx98-forum-main{gap:10px}.fx98-forum-main strong{font-size:14px}.fx98-forum-main small{font-size:11px}.fx98-forum-icon{width:25px}.fx98-forum-icon .forumx-icon{width:23px;height:23px}.fx98-count b{font-size:12px}.fx98-count small{display:block;font-size:10px}.fx98-last{grid-column:1/-1;padding-left:35px;font-size:11px}.fx98-last img{width:20px;height:20px}.fx98-last>span{display:flex;gap:7px;align-items:center;max-width:100%}.fx98-last small{margin:0;font-size:10px;white-space:nowrap}.fx98-last a{max-width:185px}.fx98-topic{grid-template-columns:35px minmax(0,1fr) 32px;gap:10px;padding:16px 0}.fx98-topic-author img{width:35px;height:35px}.fx98-topic-last{display:none}.fx98-topic-title{font-size:14px}.fx98-topic-copy p{font-size:12px}.fx98-mobile-date{display:inline}.fx98-topic-replies{font-size:11px}.fx98-topic-replies .forumx-icon{width:14px;height:14px}.fx98-online-strip{padding:14px 12px;gap:12px}.fx98-online-strip h2{font-size:12px}.fx98-online-strip .fx98-avatar-list{gap:5px}.fx98-online-strip .fx98-avatar-list img{width:27px;height:27px}.fx98-footer-inner{margin:0 12px;padding:23px 0;display:block}.fx98-footer-links{margin-top:16px;gap:9px 15px}.fx98-footer-bottom{margin:0 12px;font-size:10px;gap:10px}.fx98-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;padding:8px 4px calc(8px + env(safe-area-inset-bottom));background:var(--fx98-panel);border-top:1px solid var(--fx98-line);justify-content:space-around}.fx98-bottom a{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--fx98-muted);font-size:10px;min-width:55px}.fx98-bottom a[aria-current]{color:var(--fx98-accent)}.fx98-bottom .forumx-icon{width:20px;height:20px}html[data-layout] body.fx-r98 .fxp-post{max-width:100%;min-width:0}html[data-layout] body.fx-r98 :is(.fxp-post-content,.fxp-author-area,.thread-title-copy,.profile-main){min-width:0}html[data-layout] body.fx-r98 .fxp-body{overflow-wrap:anywhere!important}html[data-layout] body.fx-r98 .fxp-post-footer{flex-wrap:wrap!important}html[data-layout] body.fx-r98 .fxp-post-meta{padding:8px 10px!important}html[data-layout] body.fx-r98 .fxp-post-tools{flex-wrap:wrap!important}html[data-layout] body.fx-r98 .breadcrumbs{overflow:auto!important;white-space:nowrap;font-size:11px}html[data-layout] body.fx-r98 .profile-cover{max-height:150px!important}html[data-layout] body.fx-r98 h1{font-size:23px}html[data-layout] body.fx-r98 .fx-messenger{max-width:100%;min-width:0}}
@media(max-width:380px){.fx98-brand strong{font-size:19px}.fx98-headrow{gap:5px}.fx98-actions{gap:5px}.fx98-logo{width:25px!important;height:25px!important}.fx98-forum-row{grid-template-columns:minmax(0,1fr) 35px 39px;gap:5px}.fx98-last a{max-width:135px}.fx98-last small{max-width:120px;overflow:hidden;text-overflow:ellipsis}}
@media(prefers-reduced-motion:reduce){html[data-layout] body.fx-r98 *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

html[data-layout] body.fx-r98 main.page-shell{max-width:1320px!important;margin-left:auto!important;margin-right:auto!important;width:calc(100% - 48px)!important;padding:24px 0!important}
@media(max-width:1050px){html[data-layout] body.fx-r98 main.page-shell{width:calc(100% - 32px)!important}}
@media(max-width:760px){html[data-layout] body.fx-r98 main.page-shell{width:calc(100% - 24px)!important;padding:15px 0!important}}

html[data-layout] body.fx-r98 :is(.fx-poll,.fx-poll-head,.fx-poll-foot,.forumx-premium-reply,.fxr-header,.fxr-body,.fxr-footer,.forumx-mod-panel,.forumx-mod-header,.forumx-mod-body){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 :is(.fx-poll,.forumx-premium-reply,.forumx-mod-panel) :is(h2,h3,strong,label,span,small,p){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 .fx-poll-option{background:var(--fx98-soft)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 .fx-poll-option.is-selected{background:var(--fx98-tint)!important}
html[data-layout] body.fx-r98 input:is([type=checkbox],[type=radio]){width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;accent-color:var(--fx98-accent)}
html[data-layout] body.fx-r98 .fxp-post-content{border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-layout] body.fx-r98 :is(.fxp-tool,.fxp-action){border-radius:4px!important;background:transparent!important;color:var(--fx98-muted)!important;box-shadow:none!important}
html[data-layout] body.fx-r98 .fxp-action-primary{color:var(--fx98-accent)!important}
html[data-layout] body.fx-r98 .fxr-editor textarea{min-height:145px!important;height:145px!important}
html[data-layout] body.fx-r98 :is(.forumx-mod-action,.forumx-mod-stat,.forumx-mod-danger){background:var(--fx98-soft)!important;color:var(--fx98-text)!important;box-shadow:none!important;border-color:var(--fx98-line)!important}
html[data-layout] body.fx-r98 #content.page-shell{max-width:1320px!important;margin:0 auto!important;width:calc(100% - 48px)!important;padding:24px 0!important;min-width:0!important}
html[data-layout] body.fx-r98 .fxp-post-meta{position:static!important;inset:auto!important;width:auto!important;max-width:100%!important;min-width:0!important;transform:none!important}
html[data-layout] body.fx-r98 .fxp-post-number{display:inline-flex!important;order:10;margin-left:auto}
html[data-layout] body.fx-r98 .fxp-post-tools{display:flex!important;justify-content:flex-end;max-width:100%!important}
html[data-layout] body.fx-r98 .fxp-management-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important}
html[data-layout] body.fx-r98 .fxp-management-actions .fxp-action{width:auto!important;min-height:30px!important;padding:4px 6px!important}
html[data-layout] body.fx-r98 :is(.profile-stat-grid,.profile-overview,.profile-sidebar,.profile-main,.profile-meta,.profile-identity){min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
html[data-layout] body.fx-r98 :is(.profile-overview,.profile-tab-panel,.profile-visitors-card,.fx-rank-progress-card,.profile-warning-panel,.stat-card,.metric-card){background:var(--fx98-panel)!important;border-color:var(--fx98-line)!important;box-shadow:none!important;border-radius:5px!important;color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 :is(.profile-layout,.fx-rank-progress-card) :is(h2,h3,strong,p,small,label,.stat-value,.metric-value){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 :is(.profile-detail-list,.profile-meta,.profile-activity-item,.profile-posts-heading){color:var(--fx98-muted)!important}
html[data-layout] body.fx-r98 .profile-meta{display:flex!important;flex-wrap:wrap!important;gap:8px 16px!important}
html[data-layout] body.fx-r98 .profile-meta a{max-width:100%;overflow-wrap:anywhere}
@media(max-width:1050px){html[data-layout] body.fx-r98 #content.page-shell{width:calc(100% - 32px)!important}}
@media(max-width:760px){html[data-layout] body.fx-r98 #content.page-shell{width:calc(100% - 24px)!important;padding:15px 0!important}.fxp-post{overflow:hidden!important}}
html[data-layout] body.fx-r98 .fx98-primary a{color:var(--fx98-header-text)!important}
html[data-layout] body.fx-r98 .fx98-cover-nav nav a{color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 :is(.profile-stat-grid>div,.profile-warning-summary,.forumx-mod-tools){background:var(--fx98-panel)!important;color:var(--fx98-text)!important;border-color:var(--fx98-line)!important;border-radius:5px!important;box-shadow:none!important}
html[data-layout] body.fx-r98 :is(.profile-stat-grid,.profile-warning-summary,.forumx-mod-tools) :is(h2,h3,strong,span,small,p){color:var(--fx98-text)!important}
html[data-layout] body.fx-r98 .fxp-manage-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;align-items:center!important;justify-content:flex-end!important}
html[data-layout] body.fx-r98 .fxp-manage-actions :is(form,.fxp-action){width:auto!important;min-height:30px!important;margin:0!important}
html[data-layout] body.fx-r98 .fxp-manage-actions .fxp-action{padding:4px 6px!important}
html[data-layout] body.fx-r98 .fxr-footer button{background:var(--fx98-accent)!important;color:#fff!important;box-shadow:none!important}
html[data-layout] body.fx-r98 .fxr-footer button[data-preview]{background:var(--fx98-soft)!important;color:var(--fx98-text)!important}
@media(max-width:760px){html[data-layout] body.fx-r98 .profile-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;overflow:visible!important}html[data-layout] body.fx-r98 .profile-tabs a{width:auto!important;min-width:0!important;padding:8px 3px!important;font-size:10px!important;gap:4px!important}html[data-layout] body.fx-r98 .profile-tabs .forumx-icon{width:16px!important;height:16px!important}}

html[data-layout] body.fx-r98 :is(.fxp-body,.fxp-post-content){min-height:0!important}
