:root{--fx-bg:#eaeaea;--fx-line:#c9c9c9;--fx-dark:#535c6b;--fx-mid:#b6b6b6;--fx-soft:#f1f1f1;--fx-white:#fff;--fx-ink:#111;--fx-muted:#666;--fx-orange:#ff9900;--fx-blue:#465786;--shadow:0 16px 44px rgba(0,0,0,.12)}*{box-sizing:border-box}body{margin:0;padding:10px;background:var(--fx-bg);color:var(--fx-ink);font:14px 'Trebuchet MS',Verdana,Arial,sans-serif}a{color:#333;text-decoration:none}a:hover{color:var(--fx-orange);text-decoration:underline}.forum-shell{width:min(1080px,96vw);margin:0 auto;background:linear-gradient(90deg,#ddd,#fff 3%,#fff 97%,#ddd);min-height:100vh;padding:0 12px 30px}.fx-header{background:var(--fx-dark);color:#fff;border-radius:0 0 12px 12px;box-shadow:var(--shadow);display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 16px;margin-bottom:10px}.fx-logo{display:flex;align-items:center;gap:10px;color:#fff}.fx-logo:hover{color:#fff}.fx-logo span{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--fx-orange);color:#222;font-size:28px;font-weight:900}.fx-logo strong{font-size:26px}.fx-logo small{display:block;color:#e0e0f6}.fx-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fx-nav a,.fx-nav button,.fx-button,button{border:0;background:#b6b6b6;color:white;border-radius:7px;padding:8px 11px;font-weight:700;font-family:inherit;cursor:pointer}.fx-nav a:hover,.fx-button:hover,button:hover{background:var(--fx-orange);color:#222;text-decoration:none}.fx-admin{background:#222}.fx-breadcrumb,.admin-tabs{background:#f1f1f1;border:1px solid var(--fx-line);border-radius:8px;padding:9px 12px;margin:10px 0;display:flex;gap:8px;flex-wrap:wrap}.notice{padding:12px;border-radius:8px;background:#ffffcc;border:1px solid #d9d28a;margin:10px 0}.error{background:#ffe1e1;border-color:#d77}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;color:var(--fx-orange);font-weight:900}.fx-welcome,.fx-category-head,.fx-thread-head,.fx-profile{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#fff;border:1px solid var(--fx-line);border-radius:12px;padding:20px;margin:12px 0;box-shadow:var(--shadow)}.fx-welcome h1,.fx-category-head h1,.fx-thread-head h1,.fx-profile h1{margin:4px 0;font-size:30px}.fx-welcome aside{display:grid;grid-template-columns:auto auto;gap:4px 12px;background:#f1f1f1;border-radius:10px;padding:12px}.fx-welcome aside strong{font-size:24px;color:var(--fx-dark)}.fx-table{border:1px solid var(--fx-line);border-radius:12px;overflow:hidden;background:#fff;margin:14px 0;box-shadow:var(--shadow)}.fx-table-title{background:var(--fx-dark);color:#fff;padding:10px 12px;font-weight:900;display:flex;justify-content:space-between}.fx-table-title em{font-style:normal;color:#e0e0f6;font-size:12px}.fx-forum-row{display:grid;grid-template-columns:54px 1fr 90px 260px;gap:12px;align-items:center;background:#fff;border-bottom:1px solid #ddd;padding:12px}.fx-forum-row:nth-child(odd),.fx-topic-row:nth-child(odd){background:#f7f7f7}.fx-forum-icon,.fx-topic-status,.fx-avatar{display:grid;place-items:center;background:var(--fx-dark);color:#fff;border:3px solid var(--accent,var(--fx-orange));border-radius:12px;font-weight:900}.fx-forum-icon{width:42px;height:42px}.fx-forum-main>a{font-size:18px;font-weight:900}.fx-forum-main p{margin:4px 0;color:var(--fx-muted)}.fx-subforums{font-size:12px;color:#555}.fx-subforums a{display:inline-block;margin-right:8px;color:var(--fx-blue);font-weight:700}.fx-forum-count{text-align:center}.fx-forum-count strong,.fx-topic-stats strong{display:block;font-size:20px}.fx-forum-count span,.fx-topic-stats span,.fx-forum-last small{color:var(--fx-muted);font-size:12px}.fx-forum-last a{display:block;font-weight:700}.fx-thread-line{display:grid;grid-template-columns:100px 1fr 230px;gap:12px;align-items:center;padding:11px 12px;border-bottom:1px solid #ddd}.fx-thread-line:nth-child(odd){background:#f7f7f7}.fx-thread-line span{background:#f1f1f1;border:1px solid #ddd;border-radius:999px;padding:5px 8px;text-align:center;font-size:12px}.fx-topic-row{display:grid;grid-template-columns:42px 1fr 80px 80px;gap:12px;align-items:center;padding:12px;border-bottom:1px solid #ddd}.fx-topic-status{width:34px;height:34px}.thread-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.thread-tags a,.thread-tags span{background:#fff3d8;color:#8a4b08;border-radius:999px;padding:4px 8px;font-weight:700;font-size:12px}.fx-empty{padding:18px;color:var(--fx-muted)}.fx-post{display:grid;grid-template-columns:190px 1fr;border:1px solid var(--fx-line);border-radius:12px;overflow:hidden;background:#fff;margin:14px 0;box-shadow:var(--shadow)}.fx-post aside{background:#f1f1f1;border-right:1px solid #ddd;padding:16px;display:grid;gap:7px;align-content:start}.fx-avatar{width:58px;height:58px;border-color:var(--fx-orange);font-size:24px}.fx-avatar.large{width:92px;height:92px;font-size:42px}.bigusername{font-size:20px;font-weight:900}.fx-post-meta{background:#b6b6b6;color:#fff;font-weight:700;padding:8px 12px;display:flex;justify-content:space-between}.fx-post-body{padding:18px;line-height:1.55;min-height:120px}.fx-signature{border-top:1px dashed #bbb;margin:0 18px 14px;padding-top:10px;color:#666;font-style:italic}.post-actions,.moderation-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-top:1px solid #eee;padding:12px 18px}.fx-reply,.card,.panel{background:#fff;border:1px solid var(--fx-line);border-radius:12px;padding:18px;margin:14px 0;box-shadow:var(--shadow)}input,select,textarea{width:100%;border:1px solid #aaa;border-radius:7px;padding:9px;font:inherit;background:#fff}.form{display:grid;gap:12px;max-width:760px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.admin-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin:14px 0}.admin-card{background:#fff;border:1px solid #ccc;border-radius:12px;padding:16px;box-shadow:var(--shadow)}.notification,.user-row,.admin-thread,.category-edit{display:grid;gap:10px;align-items:center;padding:12px;border-bottom:1px solid #ddd}.user-row{grid-template-columns:1fr auto auto}.admin-thread{grid-template-columns:1.8fr 160px 100px repeat(4,auto) auto auto}.category-edit{grid-template-columns:1fr 110px 90px auto;border-left:8px solid var(--accent)}.category-edit textarea{grid-column:1/-1}.danger{background:#b42318}.spoiler{border:1px solid #ccc;border-radius:8px;padding:10px;margin:10px 0}blockquote{border-left:5px solid var(--fx-orange);background:#f5f5f5;padding:10px 14px;border-radius:8px}pre{white-space:pre-wrap;background:#1f2530;color:#fff;padding:14px;border-radius:8px;overflow:auto}.mention{background:#fff3d8;color:#8a4b08;border-radius:999px;padding:0 6px;font-weight:800}@media(max-width:820px){body{padding:0}.forum-shell{width:100%;padding:0 8px}.fx-header,.fx-welcome,.fx-category-head,.fx-thread-head,.fx-profile{display:grid}.fx-forum-row,.fx-topic-row,.fx-thread-line,.fx-post,.admin-thread,.category-edit,.user-row{grid-template-columns:1fr}.fx-forum-icon,.fx-topic-status{display:none}.grid{grid-template-columns:1fr}.fx-post aside{border-right:0;border-bottom:1px solid #ddd}.fx-nav a,.fx-nav button{font-size:12px}}
/* layout hardening */
html,body{max-width:100%;overflow-x:hidden}.forum-shell{overflow:hidden}.fx-header{min-width:0}.fx-logo{min-width:0;flex:1 1 320px}.fx-logo strong,.fx-logo small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fx-nav{justify-content:flex-end;min-width:260px}.fx-forum-row{grid-template-columns:54px minmax(0,1fr) minmax(70px,90px) minmax(180px,260px)}.fx-thread-line{grid-template-columns:minmax(70px,100px) minmax(0,1fr) minmax(150px,230px)}.fx-forum-main,.fx-forum-last,.fx-topic-main{min-width:0}.fx-forum-main a,.fx-forum-last a,.fx-thread-line strong,.fx-topic-main strong{overflow-wrap:anywhere}.fx-forum-last small{display:block;overflow-wrap:anywhere}.fx-breadcrumb span{color:#666}.fx-forum-icon{border-color:var(--accent,#ff9900)}@media(max-width:980px){.fx-header{display:grid}.fx-nav{justify-content:flex-start;min-width:0}.fx-logo{flex:none}.fx-forum-row{grid-template-columns:44px minmax(0,1fr) 72px}.fx-forum-last{grid-column:2/-1;border-top:1px solid #e5e5e5;padding-top:8px}.fx-thread-line{grid-template-columns:80px minmax(0,1fr)}}@media(max-width:620px){.fx-forum-row,.fx-thread-line{grid-template-columns:1fr}.fx-forum-icon{display:none}.fx-forum-count,.fx-forum-last{text-align:left;grid-column:auto}.fx-welcome aside{grid-template-columns:1fr 1fr}.fx-logo{display:grid;grid-template-columns:48px 1fr}.fx-logo small{grid-column:2}.fx-nav a,.fx-nav button{width:auto}}
/* admin forumexe-modern alignment */
.admin-panel-head{background:linear-gradient(135deg,#fff,#f1f1f1)}.admin-overview .admin-grid{padding:14px}.admin-card{border-top:5px solid var(--fx-dark);transition:.15s ease}.admin-card:hover{transform:translateY(-2px);border-top-color:var(--fx-orange);text-decoration:none}.admin-card strong{display:block;font-size:19px;margin-bottom:5px}.admin-card span{color:var(--fx-muted)}.fx-admin-form{background:#fff;border:1px solid var(--fx-line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);margin:14px 0}.fx-admin-form .form-body{display:grid;gap:10px;padding:14px}.fx-admin-form .form-body.inline{grid-template-columns:minmax(0,1fr) auto}.admin-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;border-bottom:1px solid #ddd;background:#fff}.admin-list-row:nth-child(odd){background:#f7f7f7}.admin-list-row.is-open{border-left:6px solid #b42318}.admin-list-row p{margin:5px 0;color:var(--fx-muted)}.admin-inline-delete{display:flex;justify-content:flex-end;padding:0 12px 12px;background:#fff}.user-row,.admin-thread,.category-edit{background:#fff}.user-row:nth-child(odd),.admin-thread:nth-child(odd),.category-edit:nth-child(odd){background:#f7f7f7}.admin-thread label{font-size:12px;white-space:nowrap}.admin-thread input[type=checkbox]{width:auto}.pagination{display:flex;gap:6px;list-style:none;padding:12px;flex-wrap:wrap}nav[role=navigation]{padding:12px}@media(max-width:820px){.fx-admin-form .form-body.inline,.admin-list-row{grid-template-columns:1fr}.admin-inline-delete{justify-content:flex-start}}
.backup-row{display:grid;grid-template-columns:220px 1fr;gap:12px;align-items:center;padding:14px;border-bottom:1px solid #ddd;background:#fff}.backup-row:nth-child(odd){background:#f7f7f7}.backup-row small{display:block;color:var(--fx-muted);margin-top:4px}.backup-files{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:760px){.backup-row{grid-template-columns:1fr}}
.category-edit{grid-template-columns:150px minmax(0,1fr) 110px 90px auto}.category-edit select{min-width:0}@media(max-width:900px){.category-edit{grid-template-columns:1fr}.category-edit textarea{grid-column:auto}}
.category-sort-actions{padding:12px;background:#f7f7f7;border-bottom:1px solid #ddd}.category-group-title{background:#535c6b;color:#fff;font-weight:900;padding:9px 12px;border-top:1px solid #404856}.category-group-title small{color:#e0e0f6;margin-left:8px}.category-admin-row{border-left:8px solid var(--accent);border-bottom:1px solid #ddd;background:#fff}.category-admin-row.level-1{margin-left:34px;border-left-style:double}.category-row-actions{display:flex;gap:8px;justify-content:flex-end;padding:0 12px 12px}.category-admin-row .category-edit{box-shadow:none;border:0;border-radius:0;margin:0;background:transparent}@media(max-width:760px){.category-admin-row.level-1{margin-left:12px}.category-row-actions{justify-content:flex-start;flex-wrap:wrap}}
.sortable-list{min-height:8px}.child-list{margin-left:34px}.category-admin-row[draggable=true]{cursor:grab}.category-admin-row.dragging{opacity:.45;outline:2px dashed var(--fx-orange)}.drag-handle{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:7px;background:#e7e7e7;color:#535c6b;font-weight:900;cursor:grab;margin-right:8px}.category-edit{grid-template-columns:34px 150px minmax(0,1fr) 110px 90px auto}.category-edit textarea{grid-column:2/-1}#sortStatus{align-self:center;color:var(--fx-muted);font-weight:700}@media(max-width:900px){.child-list{margin-left:12px}.category-edit{grid-template-columns:1fr}.category-edit textarea{grid-column:auto}.drag-handle{width:100%}}
.fx-footer{margin:22px 0 0;border-radius:12px;overflow:hidden;border:1px solid var(--fx-line);box-shadow:var(--shadow)}.fx-footer-menu{display:flex;justify-content:space-between;gap:16px;align-items:center;background:var(--fx-dark);color:#fff;padding:10px 12px}.fx-footer-menu strong{color:#ffac08}.fx-footer-menu nav{display:flex;gap:12px;flex-wrap:wrap}.fx-footer-menu a{color:#fff;font-weight:800}.fx-footer-menu a:hover{color:var(--fx-orange)}.fx-footer-panels{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff}.fx-footer-panels section{padding:16px;border-right:1px solid #ddd}.fx-footer-panels section:last-child{border-right:0}.fx-footer-panels h3{margin:0 0 8px;background:#b6b6b6;color:#fff;padding:7px 9px;border-radius:7px;font-size:14px}.fx-footer-panels p{color:var(--fx-muted);line-height:1.5}.fx-footer-stats{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.fx-footer-stats span{background:#f1f1f1;border:1px solid #ddd;border-radius:999px;padding:6px 10px;font-weight:800}.fx-footer blockquote{margin:0;background:#f7f7f7;border-left:5px solid var(--fx-orange);border-radius:8px;padding:12px;color:#333}.fx-footer-legal{font-size:12px}.fx-footer small{color:#777}@media(max-width:760px){.fx-footer-menu,.fx-footer-panels{grid-template-columns:1fr;display:grid}.fx-footer-menu nav{justify-content:flex-start}.fx-footer-panels section{border-right:0;border-bottom:1px solid #ddd}}
.fx-legal-notice{background:#f7f7f7;border-top:1px solid #ddd;padding:16px}.fx-legal-notice h3{margin:0 0 10px;background:#535c6b;color:#fff;padding:7px 9px;border-radius:7px;font-size:14px}.fx-legal-notice p{margin:8px 0;color:#4b4b4b;line-height:1.55}.fx-legal-notice a{font-weight:900;color:#8a4b08}.fx-legal-notice a:hover{color:var(--fx-orange)}

.presence{display:inline-flex;align-items:center;gap:6px;background:#f1f1f1;border:1px solid #ddd;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;color:#555}.presence i{width:9px;height:9px;border-radius:50%;background:#9ca3af;box-shadow:0 0 0 3px rgba(156,163,175,.15)}.presence.online i{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.18)}.presence.offline i{background:#9ca3af}.presence.mini{padding:3px 7px;font-size:11px}.fx-profile-hero{align-items:flex-start}.fx-profile-main{min-width:0;flex:1}.fx-profile-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.fx-profile-title h1{margin:0}.last-seen{color:var(--fx-muted);font-weight:800}.profile-tabs{display:flex;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid var(--fx-line);border-radius:12px;padding:10px;margin:14px 0;box-shadow:var(--shadow)}.profile-tabs a{background:#f1f1f1;border:1px solid #ddd;border-radius:999px;padding:8px 12px;font-weight:900}.profile-tabs a:hover{background:var(--fx-orange);color:#222;text-decoration:none}.profile-wall-form{display:grid;gap:10px;padding:14px;border-bottom:1px solid #ddd;background:#f7f7f7}.profile-wall-form button{justify-self:end}.profile-wall-message{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;padding:14px;border-bottom:1px solid #ddd;background:#fff}.profile-wall-message:nth-child(odd){background:#f7f7f7}.profile-wall-message header{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.profile-wall-message header small{color:var(--fx-muted)}.profile-wall-message p{line-height:1.55;margin:8px 0 10px;overflow-wrap:anywhere}.profile-wall-message form{display:flex;justify-content:flex-end}.profile-about-body{padding:16px}.profile-about-body p{margin:8px 0}@media(max-width:620px){.profile-wall-message{grid-template-columns:1fr}.profile-wall-form button{justify-self:stretch}}

.profile-replies{margin-top:12px;border-top:1px dashed #ccc;padding-top:10px}.profile-reply{background:#f8f8f8;border:1px solid #ddd;border-radius:9px;padding:10px;margin:8px 0}.profile-reply div{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.profile-reply small{color:var(--fx-muted)}.profile-reply p{margin:6px 0 8px}.profile-reply form,.profile-reply-form{display:flex;gap:8px;align-items:center}.profile-reply-form{margin-top:10px}.profile-reply-form input{flex:1}.profile-reply-form button{white-space:nowrap}.profile-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-edit-form label{display:grid;gap:6px;font-weight:900}.profile-edit-form label input,.profile-edit-form label textarea{font-weight:400}@media(max-width:700px){.profile-edit-grid,.profile-reply-form{grid-template-columns:1fr;display:grid}.profile-reply-form button{width:100%}}

/* profile hero alignment fix */
.fx-profile-hero{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start}.fx-profile-main>p{margin:7px 0}.fx-profile-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;margin:12px 0;max-width:620px}.fx-profile-stats span{display:block;background:#f1f1f1;border:1px solid #ddd;border-left:4px solid var(--fx-orange);border-radius:8px;padding:8px 10px;font-weight:900;color:#333;white-space:nowrap}.fx-profile-main>.fx-button{display:inline-flex;margin-top:2px;align-items:center;width:max-content}.fx-profile-title{min-width:0}.fx-profile-title h1{overflow-wrap:anywhere}@media(max-width:620px){.fx-profile-hero{grid-template-columns:1fr}.fx-profile-hero .fx-avatar.large{width:72px;height:72px;font-size:32px}.fx-profile-stats{grid-template-columns:1fr 1fr}.fx-profile-main>.fx-button{width:100%;justify-content:center}}

/* calmer profile stat chips */
.fx-profile-stats{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 12px;max-width:none}.fx-profile-stats span{display:inline-flex;align-items:center;width:auto;background:transparent;border:0;border-radius:0;padding:0;color:#333;font-weight:800;white-space:nowrap}.fx-profile-stats span+span:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:#b6b6b6;margin-right:10px}.fx-profile-main>.fx-button{margin-top:4px}@media(max-width:620px){.fx-profile-stats{display:flex}.fx-profile-stats span+span:before{margin-right:8px}}

.thread-create-form label{display:grid;gap:6px;font-weight:900}.thread-create-form label small{font-weight:700;color:var(--fx-muted)}.thread-create-form input,.thread-create-form textarea,.thread-create-form select{font-weight:400}

.locked-notice{border-left:6px solid #b42318;font-weight:900}

.topic-prefix{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;margin-right:7px;font-size:12px;line-height:1;font-weight:900;color:#fff;vertical-align:middle;background:#6b7280}.prefix-rehber{background:#16803a}.prefix-soru{background:#2563eb}.prefix-duyuru{background:#b42318}.fx-thread-line .topic-prefix{justify-content:center;margin-right:0}.fx-thread-head h1 .topic-prefix{font-size:13px;transform:translateY(-2px)}

.rich-editor{border:1px solid #aaa;border-radius:9px;overflow:hidden;background:#fff}.rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;background:#f1f1f1;border-bottom:1px solid #ccc;padding:8px}.rich-toolbar button{padding:6px 9px;background:#535c6b;color:#fff;border-radius:6px}.rich-toolbar button:hover{background:var(--fx-orange);color:#222}.rich-editor textarea{border:0;border-radius:0;min-height:180px}.editor-help{display:block;color:var(--fx-muted);padding:0 10px 10px;font-weight:700}.post-image{display:block;max-width:min(100%,760px);max-height:520px;border-radius:10px;border:1px solid #ddd;margin:10px 0;object-fit:contain;background:#f7f7f7}

.upload-button{display:inline-flex;align-items:center;background:#535c6b;color:#fff;border-radius:6px;padding:6px 9px;font-weight:900;cursor:pointer}.upload-button input{display:none}.editor-preview{border-top:1px solid #ddd;background:#fff;padding:14px;line-height:1.55}.fx-post-body h2,.editor-preview h2{font-size:22px;margin:10px 0}.fx-post-body ul,.editor-preview ul{list-style:disc;margin:10px 0 10px 24px}.poll-builder{border:1px solid #ddd;border-radius:10px;background:#f7f7f7;padding:12px;display:grid;gap:10px}.poll-toggle{display:flex!important;grid-template-columns:auto 1fr!important;gap:8px!important;align-items:center}.poll-toggle input,.poll-builder input[type=checkbox]{width:auto}.poll-builder [data-poll-box]{display:grid;gap:10px}.poll-options{display:grid;gap:8px}.poll-card form{padding:14px;display:grid;gap:10px}.poll-card h3{margin:0 0 6px;font-size:20px}.poll-option{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;font-weight:900}.poll-option input{width:auto}.poll-bar{height:8px;background:#e5e5e5;border-radius:999px;overflow:hidden}.poll-bar i{display:block;height:100%;background:var(--fx-orange)}
