/* Forum + ferestre (dialoguri) + toasturi — doar variabile, deci urmeaza tema dark/light peste tot */
.nx-btn.sm{height:28px;font-size:12px;padding:0 10px}.nx-btn:disabled{opacity:.5;pointer-events:none}.nx-btn:hover{filter:brightness(1.1)}
.nx-btn.ghost{background:var(--tile);color:var(--tx)}
.fx{max-width:1150px;margin:0 auto;display:flex;flex-direction:column;gap:16px;padding-top:12px}
.fx a{color:inherit}.fx-center{display:flex;justify-content:center}
.nx-ch .fx-tools{margin-left:auto;display:flex;gap:8px;align-items:center;text-transform:none}.nx-ch .nx-btn{text-transform:none}
.fx-icobar button{background:none;border:0;color:var(--tx);font-size:15px;cursor:pointer;padding:4px 6px}.fx-icobar button:hover{color:var(--link)}
.fx-refresh{background:none;border:0;color:var(--tx);cursor:pointer;font-size:15px}.fx-refresh.spin i{animation:fxspin .6s linear}@keyframes fxspin{to{transform:rotate(360deg)}}
.fx-chip{padding:4px 10px;border-radius:99px;background:var(--tile);color:var(--dim);font-size:12px;font-weight:500}
.nx-tag{font-style:normal;text-transform:uppercase;font-size:10px;letter-spacing:.06em;background:var(--acc-bg);color:var(--acc-ink)}.nx-tag.bad{background:rgba(244,104,91,.18);color:var(--bad)}
/* chat */
.fx-chat-list{max-height:290px;overflow-y:auto;padding:6px 14px}
.fx-msg{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:start;padding:10px 0}
.fx-msg img{width:32px;height:32px;border-radius:50%;background:var(--inset);object-fit:cover;margin-top:2px}
.fx-msg a{color:var(--link);font-weight:500;font-size:13px}.fx-msg a.is-staff{font-weight:700}.fx-msg p{font-size:13px;margin-top:2px;word-break:break-word}
.fx-msg button{background:none;border:0;color:var(--dim);cursor:pointer;font-size:11px;margin-left:4px}.fx-msg button:hover{color:var(--bad)}
.fx-msg time{font-size:12px;color:var(--dim);white-space:nowrap}.fx-msg time i{margin-right:4px}
.fx-chat-send{display:flex;gap:10px;padding:10px 14px 14px}.fx-chat-send.is-off{justify-content:center;color:var(--faint)}.fx-chat-send.is-off a{color:var(--link)}
.fx input:not([type=checkbox]),.fx-dialog input,.fx-new input{background:var(--inset);border:1px solid var(--line);border-radius:6px;color:var(--tx);padding:0 14px;height:40px;font:500 14px Inter,system-ui;outline:0;width:100%}
.fx input:focus,.fx-dialog input:focus{border-color:var(--blue-2)}
/* categorii / subcategorii / topicuri */
.fx-sub{display:grid;grid-template-columns:64px minmax(0,1fr) 300px;align-items:center;gap:14px;padding:20px 22px}
.fx-sub:hover,.fx-topic:hover{background:var(--tile)}.fx-sub-ic{color:var(--dim);text-align:center}
.fx-sub-main b,.fx-topic-main b{display:block;font-size:14px;font-weight:600;color:var(--link)}.fx-sub-main span,.fx-topic-main>span{display:block;color:var(--dim);font-size:13px;margin-top:3px}
.fx-sub-last{display:flex;gap:12px;align-items:center;justify-content:flex-end;font-size:12px}.fx-sub-last img{width:38px;height:38px;border-radius:50%;background:var(--inset)}
.fx-sub-last a{color:var(--link);display:block;font-weight:500}.fx-sub-last span{display:block;color:var(--dim)}.fx-sub-last>div{min-width:0}
.fx-topic{display:grid;grid-template-columns:40px minmax(0,1fr) 70px 70px 150px;gap:14px;align-items:center;padding:14px 22px;border-top:1px solid var(--line)}
.fx-topic>img{width:34px;height:34px;border-radius:50%;background:var(--inset)}.fx-num{text-align:center;font-size:11px;color:var(--dim)}.fx-num b{display:block;font-size:15px;color:var(--tx)}.fx-topic-last{font-size:12px;color:var(--dim);text-align:right}
.is-deleted{opacity:.45}
/* pagina de topic */
.fx-posts{padding:10px;display:flex;flex-direction:column;gap:10px}
.fx-post{display:grid;grid-template-columns:190px minmax(0,1fr);background:var(--tile);padding:14px 10px}
.fx-post.is-new{animation:fxNew 1.4s ease-out}@keyframes fxNew{0%{box-shadow:0 0 0 2px var(--blue-2);opacity:0}30%{opacity:1}100%{box-shadow:none}}
.fx-author{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;font-size:12px;font-weight:600}
.fx-name{color:var(--link);font-weight:700;font-size:15px}.fx-av{display:block}.fx-av img{width:56px;height:56px;border-radius:50%;background:var(--inset);object-fit:cover;display:block}
.fx-content{display:flex;flex-direction:column;min-width:0;padding-right:10px}
.fx-posthead{font-size:12px;font-weight:700}.fx-posthead i{margin-right:4px}.fx-body{padding:14px 0 18px;font-size:13px;line-height:1.6;overflow-wrap:anywhere;min-height:46px}
.fx-body a{color:var(--link);text-decoration:underline}.fx-body blockquote{border-left:3px solid var(--blue);padding:2px 12px;margin:8px 0;color:var(--dim)}
.fx-quote{margin-top:10px}.fx-quote-h{background:var(--card-h);padding:6px 10px;font-size:12px;font-weight:600}.fx-quote-h a{color:var(--link)}.fx-quote-b{background:var(--inset);padding:10px;font-size:13px}
.fx-foot{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:8px;margin-top:auto}.fx-foot small{font-size:11px;font-weight:600}
.fx-actions{margin-left:auto;display:flex;gap:10px}.fx-actions button{background:none;border:0;color:var(--tx);font:600 12px Inter,system-ui;cursor:pointer;padding:2px 0}.fx-actions button:hover{color:var(--link)}
.fx-reply-bar{display:flex;gap:14px;align-items:center;padding:12px 14px}.fx-reply-bar img{width:40px;height:40px;border-radius:50%;background:var(--inset)}
.fx-reply-input{flex:1;text-align:left;height:42px;padding:0 16px;background:var(--inset);color:var(--dim);border:1px solid var(--line);border-radius:4px;font:500 13px Inter,system-ui;cursor:text}
.fx-reply-form{padding:0 14px 14px}.fx-reply textarea,.fx-new textarea{width:100%;min-height:150px;background:var(--inset);color:var(--tx);border:1px solid var(--line);border-radius:6px;padding:12px}
.fx-reply-f{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:12px}.fx-err{margin-right:auto;color:var(--bad);font-size:13px}
.fx-quote-pill{display:inline-block;margin-bottom:8px;font-size:12px;padding:4px 10px;border-radius:99px;background:var(--acc-bg);color:var(--acc-ink)}.fx-quote-pill button{background:none;border:0;color:inherit;cursor:pointer}
.fx-new label{display:block;padding:14px 14px 0;font-size:12.5px;font-weight:600;color:var(--dim)}.fx-new label input{margin-top:6px}.fx-new textarea{margin:14px;width:calc(100% - 28px)}.fx-new .fx-reply-f{padding:0 14px 14px}
.fx-pager{display:flex;gap:6px;justify-content:center}.fx-pager a{min-width:34px;height:34px;display:grid;place-items:center;border-radius:6px;background:var(--tile);font-weight:600}.fx-pager a.on{background:var(--blue-2);color:#fff}
/* ferestre (dialoguri) — acelasi stil pe tot site-ul */
.fx-modal{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;background:rgba(5,8,14,.62);padding:16px}.fx-modal[hidden]{display:none}
.fx-dialog{width:min(460px,100%);max-height:92vh;overflow:auto;background:var(--card);border-radius:4px;display:flex;flex-direction:column;gap:12px;padding:0 0 18px;box-shadow:0 30px 90px rgba(0,0,0,.5);animation:nxin .25s both}
.fx-dialog>*:not(h3){margin-left:18px;margin-right:18px}.fx-dialog h3{background:var(--card-h);text-align:center;padding:14px;font-size:14px;font-weight:700;margin:0 0 4px}
.fx-dialog label{display:block;font-size:12.5px;font-weight:600;color:var(--tx)}.fx-dialog label input{margin-top:6px}.fx-dialog p{color:var(--dim)}
.fx-dialog textarea{background:var(--inset);border:1px solid var(--line);border-radius:6px;color:var(--tx);padding:10px;font:inherit;width:calc(100% - 36px)}
.fx-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fx-icons{display:grid;grid-template-columns:repeat(auto-fill,minmax(30px,1fr));gap:2px;max-height:210px;overflow:auto;background:var(--inset);padding:6px;border-radius:4px}
.fx-icons button{height:30px;border:0;background:none;color:var(--tx);cursor:pointer;border-radius:4px;font-size:14px}.fx-icons button:hover{background:var(--tile)}.fx-icons button.on{background:var(--blue-2);color:#fff}
.fx-del{background:var(--bad);color:#fff;border:0;border-radius:4px;height:32px;font:600 13px Inter,system-ui;cursor:pointer}.fx-del[hidden]{display:none}
.fx-dialog-f{display:flex;gap:10px;justify-content:center;margin-top:4px}.fx-dialog-f .nx-btn{height:30px;font-size:12.5px}.fx-dialog-f .ghost,.fx-dialog-f .fx-btn.ghost{background:var(--bad);color:#fff}
.fx-btn{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 16px;border:0;border-radius:4px;background:var(--blue-2);color:#fff;font:600 12.5px Inter,system-ui;cursor:pointer}.fx-btn.ghost{background:var(--bad)}
.fx-btn.sm{height:28px;padding:0 10px}
/* toasturi */
.fx-toasts{position:fixed;left:30px;bottom:24px;display:flex;flex-direction:column;gap:12px;z-index:9500}
.fx-toast{padding:12px 18px;min-width:220px;background:var(--ok);color:#fff;font-weight:600;font-size:13px;animation:nxin .3s both;transition:opacity .3s}.fx-toast.bad{background:var(--bad)}.fx-toast.out{opacity:0}
@media(max-width:900px){.fx-sub{grid-template-columns:44px minmax(0,1fr)}.fx-sub-last{display:none}.fx-topic{grid-template-columns:36px minmax(0,1fr)}.fx-topic .fx-num,.fx-topic-last{display:none}
 .fx-post{grid-template-columns:1fr}.fx-author{flex-direction:row;justify-content:flex-start;margin-bottom:8px}.fx-author .fx-av img{width:36px;height:36px}}
