/* FS-Portal Forum 1.0 — independent, scoped frontend. Modern provides the outer shell. */
.fsf{--fsf-bg:#202424;--fsf-bg2:#262b2a;--fsf-border:#3a4340;--fsf-muted:#a8afa9;--fsf-fg:#e9ebe8;--fsf-accent:#f6a45a;color:var(--fsf-fg);font-family:inherit;width:100%;max-width:none!important;box-sizing:border-box;font-size:14px;line-height:1.5}
.fsf *, .fsf *::before,.fsf *::after{box-sizing:border-box}
.fsf a{text-decoration:none;color:inherit}.fsf a:hover{color:var(--fsf-accent)}
.fsf button,.fsf input,.fsf select,.fsf textarea{font:inherit}
.fsf h1,.fsf h2,.fsf h3,.fsf p{margin:0}
.fsf h1,.fsf h2,.fsf h3{color:var(--fsf-fg)}
.fsf .fsf-hero{background:linear-gradient(110deg,#252b29,#1e2522 72%);border:1px solid #39453e;box-shadow:inset 3px 0 #ec9953;display:flex;justify-content:space-between;align-items:center;gap:25px;border-radius:17px;padding:32px 35px;margin-bottom:14px}
.fsf .fsf-eyebrow{font-size:11px;letter-spacing:.12em;font-weight:850;color:#eea263}
.fsf .fsf-hero h1{font-weight:830;font-size:clamp(26px,2.6vw,36px);letter-spacing:-.03em;line-height:1.2;margin:9px 0}
.fsf .fsf-hero p{color:var(--fsf-muted);font-size:13px;max-width:610px;line-height:1.7}
.fsf .fsf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:39px;gap:8px;background:#303633;border:1px solid #465049;padding:9px 16px;border-radius:9px;color:#edece9;font-size:12px;font-weight:760;white-space:normal;cursor:pointer;text-align:center;line-height:1.3}
.fsf .fsf-btn:hover{background:#3b423c;color:#fff;border-color:#74766d}.fsf .fsf-btn-primary{background:#f3a259;border-color:#f3a259;color:#201b17}.fsf .fsf-btn-primary:hover{background:#ffc08b;border-color:#ffc08b;color:#1b1715}
.fsf .fsf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:15px}
.fsf .fsf-stats div{background:#222724;border:1px solid #343e37;border-radius:11px;padding:17px 20px;display:flex;flex-direction:column;gap:3px}.fsf .fsf-stats strong{font-size:26px;color:#f5b174;line-height:1.2;letter-spacing:-.03em}.fsf .fsf-stats span{color:#a6b0a8;font-size:11px}
.fsf .fsf-layout{display:grid;grid-template-columns:minmax(170px,220px) minmax(0,1fr) minmax(200px,265px);gap:15px;align-items:start}.fsf .fsf-panel{min-width:0;background:var(--fsf-bg);border:1px solid var(--fsf-border);border-radius:14px;overflow:hidden}.fsf .fsf-side{padding:18px 12px}.fsf .fsf-side h2{color:#9a9f9b;font-size:11px;letter-spacing:.1em;margin:4px 10px 14px}.fsf .fsf-side>a{display:block;color:#c5cbc5;border-radius:9px;padding:11px 12px;font-size:12px;font-weight:700;margin-bottom:3px}.fsf .fsf-side>a:hover,.fsf .fsf-side>a.active{color:#ffc28d;background:#36352e}.fsf .fsf-aside-tip{margin:24px 9px 9px;padding:12px;border-radius:10px;border:1px solid #46463b;color:#b9b6a2;background:#302e25;font-size:11px;line-height:1.7}
.fsf .fsf-main{min-width:0}.fsf .fsf-panel-head{padding:21px 22px 13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.fsf .fsf-panel-head h2{font-size:18px}.fsf .fsf-panel-head span{font-size:11px;color:var(--fsf-muted)}
.fsf .fsf-search{display:flex;gap:8px;padding:7px 18px 16px;flex-wrap:wrap}.fsf .fsf-search input{flex:1 1 180px;min-width:0}.fsf :is(input,select,textarea){background:#1b201f;border:1px solid #414944;border-radius:9px;color:#f0f1ed;padding:10px 12px;min-height:42px;max-width:100%}.fsf :is(input,select,textarea):focus{outline:2px solid rgba(246,164,90,.28);border-color:#b68256}.fsf .fsf-search select{flex:0 1 143px;font-size:12px}.fsf .fsf-search button{min-width:75px}
.fsf .fsf-tabs{display:flex;gap:8px;overflow-x:auto;white-space:nowrap;padding:0 19px 13px;border-bottom:1px solid var(--fsf-border)}.fsf .fsf-tabs a{color:#b5beb6;font-size:11px;border:1px solid #414841;border-radius:20px;padding:6px 12px}
.fsf .fsf-topic-row{display:flex;gap:12px;align-items:flex-start;padding:18px;border-bottom:1px solid #333b36;transition:background .15s}.fsf .fsf-topic-row:hover{background:#2a302b}.fsf .fsf-topic-icon{display:grid;place-items:center;flex:0 0 35px;height:35px;background:#3c352a;color:#ffc085;border-radius:10px;font-size:18px}.fsf .fsf-topic-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.fsf .fsf-topic-copy strong{font-size:13px;color:#ecefec;line-height:1.4}.fsf .fsf-topic-copy small{font-size:11px;color:#b5a487}.fsf .fsf-topic-copy>span{font-size:11px;color:#9da9a0;line-height:1.6}.fsf .fsf-topic-count{min-width:60px;display:flex;flex-direction:column;text-align:right;color:#e0e6e0;font-size:14px;font-weight:750}.fsf .fsf-topic-count small{font-size:10px;color:#89968b;font-weight:400}.fsf .fsf-topic-count em{font-style:normal;font-size:10px;color:#aed88e;font-weight:650;white-space:nowrap}
.fsf .fsf-empty{padding:25px 20px;color:#afb8b0;font-size:13px}.fsf .fsf-page-nav{padding:15px 20px;display:flex;gap:9px;flex-wrap:wrap;align-items:center}.fsf .fsf-page-nav .page-numbers{padding:7px 12px;background:#2e3430;border-radius:7px;color:#e7ece6}.fsf .fsf-page-nav .current{background:#a57143}
.fsf .fsf-right{display:grid;gap:14px;min-width:0}.fsf .fsf-widget{padding:22px}.fsf .fsf-widget h3{font-size:17px;line-height:1.4;margin:9px 0}.fsf .fsf-widget p{font-size:12px;color:#a4aea6;line-height:1.75;margin:10px 0 16px}.fsf .fsf-widget img{width:100%;height:auto;border-radius:9px;margin:10px 0 15px}.fsf .fsf-write{padding:23px;margin-top:15px}.fsf .fsf-write h2{font-size:20px;margin-bottom:17px}.fsf .fsf-login{color:#b5bdb7;padding:15px}.fsf .fsf-form{display:grid;gap:15px}.fsf .fsf-form label,.fsf .fsf-report-dialog label{display:grid;gap:7px;font-size:12px;font-weight:730;color:#d1d8cf}.fsf .fsf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.fsf .fsf-form-mod{padding:13px;background:#2e332e;border-radius:9px;font-size:12px;color:#c9d1c7}.fsf .fsf-form textarea{width:100%;resize:vertical;min-height:140px}.fsf .fsf-hint{font-size:11px;color:#a6b0a6}.fsf .fsf-honeypot{position:absolute;left:-9999px;height:1px;width:1px;overflow:hidden}
.fsf-thread{padding-block:22px 40px}.fsf-thread .fsf-thread-grid{display:grid;grid-template-columns:minmax(0,1fr) 275px;align-items:start;gap:17px}.fsf-thread .fsf-thread-grid>main{min-width:0}.fsf-thread .fsf-thread-head{padding:26px}.fsf-thread h1{font-size:clamp(25px,2.6vw,33px);line-height:1.3;letter-spacing:-.025em;margin:8px 0 12px}.fsf-thread h2{font-size:19px}.fsf-thread-head p{color:#a4aaa5;font-size:12px;margin-top:14px}.fsf .fsf-badges{display:flex;flex-wrap:wrap;gap:8px}.fsf .fsf-badge{padding:6px 10px;border-radius:15px;background:#323731;border:1px solid #485149;font-size:10px;color:#d9e0d5}.fsf .fsf-badge.solved{color:#c9ed9a;background:#2e412d;border-color:#577450}
.fsf-thread .fsf-post,.fsf-thread .fsf-answer,.fsf-thread .fsf-compose{margin-top:14px;padding:22px}.fsf .fsf-post-author{display:flex;align-items:center;gap:11px;padding-bottom:15px;border-bottom:1px solid #39423b}.fsf .fsf-post-author img{border-radius:50%;width:40px;height:40px}.fsf .fsf-post-author div{display:grid}.fsf .fsf-post-author strong{font-size:13px}.fsf .fsf-post-author small{font-size:11px;color:#949c95}.fsf .fsf-message{color:#ccd4cc;line-height:1.8;font-size:13px;padding-top:18px;overflow-wrap:anywhere}.fsf .fsf-message p{margin-bottom:12px}.fsf .fsf-message a{color:#ffbf8a;text-decoration:underline}.fsf .fsf-replies>h2{margin:25px 0 5px}.fsf .fsf-response-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px}.fsf .fsf-link-btn{border:0;background:transparent;color:#c7b49e;font-size:12px;padding:3px;cursor:pointer}.fsf .fsf-link-btn:hover{color:#ffc28d}.fsf .fsf-solution{background:linear-gradient(140deg,#2b382a,#222927);border-color:#527048}.fsf .fsf-solution-label{color:#c0e59a;font-size:12px;font-weight:800}.fsf .fsf-solution p{color:#ccdaca;font-size:13px;margin-top:12px}.fsf .fsf-solution small{color:#a6c29d}.fsf .fsf-compose h2{margin-bottom:16px}.fsf .fsf-compose textarea{width:100%;resize:vertical;min-height:120px;margin-bottom:12px}.fsf .fsf-notice{padding:12px;background:#2f372a;color:#d8e2c4;border-radius:9px;margin-top:12px}
.fsf .fsf-report-dialog{background:#242a27;color:#fff;border:1px solid #586353;border-radius:14px;padding:24px;width:min(490px,calc(100vw - 32px))}.fsf .fsf-report-dialog::backdrop{background:rgba(0,0,0,.8)}.fsf .fsf-report-dialog h2{margin-bottom:18px}.fsf .fsf-report-dialog textarea{width:100%;min-height:90px}.fsf .fsf-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:17px}
.fsf-single-widget{background:linear-gradient(135deg,#232824,#1d221e);border:1px solid #464a3c;border-radius:15px;padding:19px;box-shadow:inset 0 2px rgba(255,174,93,.16)}.fsf-single-widget header{display:flex;justify-content:space-between;align-items:center;gap:7px}.fsf-single-widget h2{font-size:17px!important;color:#eef1e7!important;font-weight:850;margin:0!important}.fsf-single-widget header a{color:#eeb47c;font-size:11px;font-weight:700;white-space:nowrap}.fsf-single-widget>p{color:#a9b2aa;font-size:12px;line-height:1.7;margin:13px 0 17px}.fsf-single-widget .fsf-widget-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.fsf-single-widget .fsf-widget-quick a{background:#2d342f;border:1px solid #445044;border-radius:9px;color:#e7e9e0;padding:11px 8px;font-size:11px;font-weight:760;line-height:1.2}.fsf-single-widget .fsf-widget-quick a:first-child{grid-column:span 2}.fsf-single-widget .fsf-widget-quick a:hover{border-color:#edaa68}.fsf-single-widget .fsf-widget-recent{border-top:1px solid #42493f;padding-top:14px;margin-top:16px}.fsf-single-widget .fsf-widget-recent h3{font-size:11px;letter-spacing:.05em;color:#9ca79b;text-transform:uppercase;margin:0 0 8px}.fsf-single-widget .fsf-widget-recent>a{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 0;color:#e3e8e1;font-size:11px;border-bottom:1px solid #363d36}.fsf-single-widget .fsf-widget-recent a small{color:#a0ac9f;font-size:10px;flex:0 0 auto}.fsf-single-widget .fsf-widget-recent>p{font-size:11px;color:#a8b0a9;line-height:1.6}.fsf-single-widget .fsf-widget-all{display:block;text-align:center;background:#38382e;border:1px solid #50493b;color:#ffd19d;border-radius:9px;padding:10px;font-size:11px;font-weight:800;margin-top:14px}
@media(max-width:1190px){.fsf .fsf-layout{grid-template-columns:195px minmax(0,1fr)}.fsf .fsf-layout>.fsf-right{display:none}}
@media(max-width:820px){.fsf .fsf-layout{grid-template-columns:minmax(0,1fr)}.fsf .fsf-layout>.fsf-side{display:none}.fsf .fsf-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.fsf-thread .fsf-thread-grid{grid-template-columns:minmax(0,1fr)}.fsf-thread .fsf-thread-grid>.fsf-right{grid-row:2}.fsf .fsf-hero{padding:23px;flex-wrap:wrap}}
@media(max-width:480px){.fsf .fsf-hero h1{font-size:25px}.fsf .fsf-hero{padding:19px}.fsf .fsf-stats div{padding:13px}.fsf .fsf-stats strong{font-size:21px}.fsf .fsf-topic-row{gap:8px;padding:13px}.fsf .fsf-topic-icon{flex-basis:29px;height:29px}.fsf .fsf-topic-copy strong{font-size:12px}.fsf .fsf-topic-copy>span{display:none}.fsf .fsf-topic-count{min-width:42px}.fsf .fsf-search{padding:8px 12px 14px}.fsf .fsf-search input,.fsf .fsf-search select{flex:1 1 100%}.fsf .fsf-form-grid{grid-template-columns:1fr}.fsf-thread .fsf-thread-head,.fsf-thread .fsf-post,.fsf-thread .fsf-answer,.fsf-thread .fsf-compose{padding:16px}}

.fsf .fsf-attachment{margin:18px 0 0;max-width:760px}.fsf .fsf-attachment img{width:auto;max-width:100%;height:auto;border:1px solid #434a43;border-radius:12px}.fsf .fsf-form input[type=file]{font-size:12px;padding:10px;max-width:100%}.fsf .fsf-form input[type=file]::file-selector-button{background:#353d34;color:#eee;border:1px solid #5d6358;border-radius:6px;padding:7px 10px;margin-right:10px;cursor:pointer}

.fsf .fsf-verified-author{display:inline-block;border:1px solid #67835c;border-radius:99px;padding:1px 7px;font-size:10px;color:#c3e9a6;background:#2c3d2a;margin-left:5px}

/* Forum 1.0.3: isolated profile integration / image replies / status tools. */
.fsf .fsf-reply-attachment{margin:12px 0 2px;max-width:720px}
.fsf .fsf-reply-attachment img{display:block;max-width:100%;height:auto;max-height:500px;object-fit:contain;border-radius:11px;border:1px solid #465048}
.fsf .fsf-reply-file{display:flex;flex-direction:column;gap:8px;color:#bdc8bc;font-size:12px;margin:4px 0 12px}
.fsf .fsf-reply-file input[type=file]{width:100%;font-size:12px}
.fsf .fsf-creator-tools{margin:16px 0;border:1px solid #545748;border-radius:11px;padding:13px;background:#292c26}
.fsf .fsf-creator-tools h4{margin:0 0 10px;font-size:13px;color:#f6c496}
.fsf .fsf-creator-tools form{display:grid;gap:9px}
.fsf .fsf-creator-tools select{width:100%}
.fsf .fsf-creator-tools .fsf-btn{width:100%}
.fsf .fsf-creator-tools .fsf-hint{margin:10px 0 0;font-size:11px;color:#b1b9ab}
.fsf.fsf-profile-card{--fsf-fg:#edf1e9;margin-top:14px;padding:18px;border-radius:14px;min-width:0;background:#242b27;border:1px solid #39443a}
.fsf.fsf-profile-card .fsf-profile-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:0 0 13px}
.fsf.fsf-profile-card .fsf-profile-heading h2{font-size:15px;color:#edf2ec;margin:0}
.fsf.fsf-profile-card .fsf-profile-heading a{font-size:11px;color:#ffc28c}
.fsf.fsf-profile-card .fsf-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}
.fsf.fsf-profile-card .fsf-profile-stats>span{display:flex;flex-direction:column;padding:11px 13px;background:#1c231e;border:1px solid #3b443b;border-radius:10px}
.fsf.fsf-profile-card .fsf-profile-stats strong{font-size:19px;color:#f6ae6d}
.fsf.fsf-profile-card .fsf-profile-stats small{color:#b1b8ad;font-size:11px}
.fsf.fsf-profile-card .fsf-profile-list{display:grid;gap:4px}
.fsf.fsf-profile-card .fsf-profile-list a{display:grid;gap:3px;padding:9px 0;border-bottom:1px solid #3c443c}
.fsf.fsf-profile-card .fsf-profile-list a span{color:#e6eae4;font-size:12px;overflow-wrap:anywhere}
.fsf.fsf-profile-card .fsf-profile-list a small{color:#c4b096;font-size:10px}
.fsf.fsf-profile-card .fsf-profile-empty{font-size:12px;color:#b1bcb4;padding:6px 0 11px}
.fsf.fsf-profile-card .fsf-profile-new{display:inline-flex;margin-top:13px;font-size:12px;color:#f6ba84}
@media(max-width:640px){.fsf.fsf-profile-card{margin-top:10px;padding:14px}.fsf.fsf-profile-card .fsf-profile-heading{flex-wrap:wrap}}
