*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f5f6f8;color:#222}body.menu-open{overflow:hidden}a{text-decoration:none;color:inherit}.header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid #ddd;height:64px;display:flex;align-items:center;padding:0 24px;gap:16px}.logo{font-size:22px;font-weight:bold;color:#d9480f;white-space:nowrap}.nav{display:flex;gap:18px;font-size:14px}.nav a{color:#555}.nav a:hover{color:#d9480f}.header-search{margin-left:auto}.header-search input{height:36px;border:1px solid #ddd;border-radius:7px;padding:0 12px}.header-right{display:flex;gap:10px}.btn{display:inline-block;border:1px solid #ddd;background:#fff;padding:8px 14px;border-radius:6px;cursor:pointer;font-size:14px;color:#333}.btn-primary{background:#d9480f;color:#fff!important;border-color:#d9480f}.btn.small{padding:5px 9px;font-size:12px}.mobile-icon{display:none;border:0;background:transparent;cursor:pointer;padding:8px;color:#333;font-size:22px}.mobile-search-box{display:none;background:#fff;border-bottom:1px solid #ddd;padding:10px 15px;position:sticky;top:64px;z-index:999}.mobile-search-box.active{display:block}.mobile-search-box input{width:100%;height:40px;border:1px solid #ddd;border-radius:7px;padding:0 12px}.bell{position:relative;cursor:pointer;font-size:20px}.bell span{position:absolute;top:-9px;right:-10px;background:#d9480f;color:#fff;font-size:11px;border-radius:20px;padding:2px 6px}.notif-dropdown{display:none;position:absolute;right:0;top:36px;width:310px;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.12);overflow:hidden}.notif-dropdown.active{display:block}.notif-item,.notif-row{display:block;padding:10px 12px;border-bottom:1px solid #eee}.notif-item p,.notif-row p{margin:4px 0;color:#666;font-size:13px}.notif-item small{display:block;color:#999}.unread{background:#fff7f3}.clear-notifs{width:100%;border:0;background:#fafafa;padding:10px;cursor:pointer}.user-mini{font-weight:bold;color:#555}.container{max-width:1200px;margin:20px auto;padding:0 15px;display:grid;grid-template-columns:260px 1fr;gap:20px}.sidebar{position:sticky;top:84px;align-self:start}.side-card,.forum-hero,.tabs,.form-card,.topic-head,.profile-card{background:#fff;border:1px solid #ddd;border-radius:8px;margin-bottom:15px;overflow:hidden}.side-title{padding:12px 15px;font-weight:bold;border-bottom:1px solid #eee;background:#fafafa}.category-title{padding:10px 15px;font-size:13px;font-weight:bold;color:#777;text-transform:uppercase;background:#fafafa;border-bottom:1px solid #eee}.category-item{border-bottom:1px solid #f1f1f1}.category-main,.side-menu a{display:block;padding:11px 15px;font-size:14px;font-weight:bold;color:#333;background:#fff;border-bottom:1px solid #f1f1f1}.sub-category{padding:0 0 8px}.sub-category a{display:block;padding:7px 15px 7px 28px;font-size:13px;color:#666}.sub-category a:before{content:'›';margin-right:6px;color:#aaa}.category-main:hover,.sub-category a:hover,.side-menu a:hover{color:#d9480f;background:#fafafa}.stats,.widget-html{padding:15px;font-size:14px;line-height:1.8;color:#555}.mini-list a{display:block;padding:10px 15px;border-bottom:1px solid #eee;color:#444}.main{min-width:0}.forum-hero,.topic-head{padding:20px}.forum-hero h1,.topic-head h1{margin:0 0 8px;font-size:24px}.forum-hero p{margin:0 0 10px;color:#666;font-size:14px}.tab-buttons{display:flex;border-bottom:1px solid #ddd;background:#fafafa;overflow-x:auto}.tab-btn{padding:14px 18px;cursor:pointer;border:none;background:transparent;font-size:14px;color:#555;white-space:nowrap;border-bottom:3px solid transparent}.tab-btn.active{color:#d9480f;border-bottom-color:#d9480f;background:#fff;font-weight:bold}.tab-content{display:none}.tab-content.active{display:block}.topic-list{list-style:none;margin:0;padding:0}.topic-item{display:flex;gap:12px;padding:15px;border-bottom:1px solid #eee;background:#fff}.topic-item:hover{background:#fafafa}.avatar{width:42px;height:42px;border-radius:50%;background:#ddd;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-weight:bold;color:#777}.topic-body{flex:1;min-width:0}.topic-title{display:block;font-size:15px;font-weight:bold;margin-bottom:5px;color:#222}.topic-title:hover{color:#d9480f}.topic-meta{font-size:13px;color:#777}.topic-stats{display:flex;gap:15px;align-items:center;font-size:13px;color:#777;white-space:nowrap}.badge{display:inline-block;padding:3px 7px;font-size:12px;border-radius:12px;background:#f1f1f1;color:#666;margin-right:5px}.badge-sticky{background:#fff3cd;color:#856404}.badge-popular{background:#ffe3e3;color:#c92a2a}.load-more-wrap{padding:15px;text-align:center;background:#fff}.empty-state{padding:20px;text-align:center;color:#777}.forum-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.forum-card{display:flex;gap:12px;background:#fff;border:1px solid #ddd;border-radius:8px;padding:16px}.forum-card i{font-size:24px;color:#d9480f}.forum-card p{margin:4px 0;color:#666}.form-card{padding:20px}.form-card label{display:block;font-weight:bold;margin-top:12px}.form-card input,.form-card textarea,.form-card select,.search-page input{width:100%;border:1px solid #ddd;border-radius:7px;padding:10px;margin-top:6px}.auth{max-width:520px;margin:auto}.alert{padding:12px;border-radius:8px;background:#fff3cd;margin-bottom:12px}.error{background:#ffe3e3;color:#b00020}.topic-head{display:flex;justify-content:space-between;align-items:center}.post{display:grid;grid-template-columns:210px 1fr;background:#fff;border:1px solid #ddd;border-radius:8px;margin-bottom:12px;overflow:hidden}.postbit{background:#fafafa;border-right:1px solid #eee;padding:15px;text-align:center}.post-avatar{width:92px;height:92px;border-radius:50%;object-fit:cover;background:#ddd}.post-user{display:block;font-size:17px;font-weight:bold;margin:8px 0}.userbanner{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:bold;border-radius:20px;padding:5px 10px;margin-bottom:8px}.banner-admin{background:#ffe3d9;color:#c2410c}.banner-member{background:#e7f0ff;color:#2563eb}.postbit-line{font-size:12px;color:#666;margin:6px 0}.post-content{padding:16px;min-width:0}.post-meta{display:flex;justify-content:space-between;color:#777;font-size:13px;border-bottom:1px solid #eee;padding-bottom:8px;margin-bottom:12px}.message-content{line-height:1.7;overflow-wrap:anywhere}.message-content img{max-width:100%;height:auto;cursor:zoom-in;border-radius:6px}.message-content table{width:100%;border-collapse:collapse;overflow:auto;display:block}.message-content td,.message-content th{border:1px solid #ddd;padding:8px}.mention{color:#d9480f;font-weight:bold;background:#fff3ed;padding:1px 4px;border-radius:4px}.post-actions{border-top:1px solid #eee;margin-top:15px;padding-top:10px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.react{border:1px solid #ddd;background:#fff;border-radius:6px;padding:6px 10px;cursor:pointer}.inline{display:inline}.rep{height:8px;background:#eee;border-radius:10px;overflow:hidden;margin-top:10px}.rep-fill{height:100%;background:#6b7280}.rep-good{background:#22c55e}.rep-mid{background:#3b82f6}.rep-bad{background:#ef4444}.rep-score{font-size:12px;color:#555;margin-top:5px}.profile-card{padding-bottom:20px;text-align:center}.cover{height:150px;background:#ddd center/cover}.profile-avatar{width:120px;height:120px;border-radius:50%;object-fit:cover;margin-top:-60px;border:4px solid #fff;background:#ddd}.profile-stats{display:flex;justify-content:center;gap:18px;color:#666;flex-wrap:wrap}.footer{margin-top:30px;background:#fff;border-top:1px solid #ddd;color:#555}.footer-container{max-width:1200px;margin:0 auto;padding:30px 15px;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:25px}.footer-col h4{margin:0 0 12px;color:#222}.footer-col a{display:block;margin-bottom:8px;color:#555}.footer-bottom{border-top:1px solid #eee;padding:14px 15px;text-align:center;font-size:13px;color:#777;background:#fafafa}.offcanvas-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:1500;opacity:0;visibility:hidden;transition:.25s}.offcanvas-overlay.active{opacity:1;visibility:visible}.offcanvas{position:fixed;top:0;left:0;width:290px;max-width:85%;height:100vh;background:#fff;z-index:1600;transform:translateX(-100%);transition:.25s;overflow-y:auto;border-right:1px solid #ddd}.offcanvas.active{transform:translateX(0)}.offcanvas-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid #eee}.offcanvas-logo{font-size:20px;font-weight:bold;color:#d9480f}.offcanvas-close{border:0;background:transparent;font-size:28px}.offcanvas-auth{display:flex;gap:10px;padding:14px 15px;border-bottom:1px solid #eee}.offcanvas-auth a{flex:1;text-align:center;padding:10px 8px;border-radius:6px}.offcanvas-login{border:1px solid #ddd}.offcanvas-register{background:#d9480f;color:#fff!important}.offcanvas-section{padding:12px 0;border-bottom:1px solid #eee}.offcanvas-title{padding:8px 16px;font-size:12px;color:#888;font-weight:bold;text-transform:uppercase}.offcanvas a{display:block;padding:11px 16px;color:#444;border-bottom:1px solid #f5f5f5}.offcanvas .sub-link{padding-left:30px;font-size:13px;color:#666}.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.88);display:none;align-items:center;justify-content:center;z-index:3000}.lightbox.active{display:flex}.lightbox img{max-width:92vw;max-height:88vh}.lightbox button{position:absolute;top:20px;right:20px;border:0;background:#fff;border-radius:50%;width:40px;height:40px;font-size:22px}.pager{display:flex;gap:10px;margin:15px 0}
@media(max-width:900px){.header{height:58px;padding:0 10px;justify-content:space-between}.mobile-icon{display:inline-flex}.logo{position:absolute;left:50%;transform:translateX(-50%);font-size:20px}.nav,.header-right,.header-search,.user-mini{display:none}.mobile-search-box{top:58px}.container{grid-template-columns:1fr;margin-top:15px}.main{order:1}.sidebar{order:2;position:static}.topic-stats{display:none}.footer-container{grid-template-columns:1fr 1fr}.forum-grid{grid-template-columns:1fr}.post{grid-template-columns:1fr}.postbit{display:flex;align-items:center;text-align:left;gap:10px;border-right:0;border-bottom:1px solid #eee}.post-avatar{width:48px;height:48px}.postbit-line,.postbit .rep,.postbit .rep-score{display:none}.post-user{margin:0}.userbanner{margin:0}.notif-dropdown{right:-40px}}
@media(max-width:600px){.container{padding:0 10px}.footer-container{grid-template-columns:1fr}.forum-hero{padding:16px}.forum-hero h1{font-size:21px}.tab-btn{padding:13px 14px;font-size:13px}.topic-item{padding:13px}.avatar{width:38px;height:38px;font-size:13px}.topic-title{font-size:14px}.topic-meta{font-size:12px}}
/* 2026 update */
.site-logo-img{max-height:38px;display:block}.home-hero,.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.home-hero h1,.page-title-row h1{margin-bottom:4px}.new-topic-trigger{white-space:nowrap}.topic-modal{position:fixed;inset:0;background:rgba(0,0,0,.48);display:none;align-items:center;justify-content:center;z-index:3500;padding:18px}.topic-modal.active{display:flex}.topic-modal-box{background:#fff;border-radius:14px;border:1px solid #ddd;width:min(560px,96vw);max-height:86vh;overflow:auto;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.2);position:relative}.topic-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#555}.forum-picker{display:grid;gap:10px}.forum-picker a{display:block;border:1px solid #eee;border-radius:10px;padding:12px;background:#fafafa}.forum-picker a:hover{border-color:#d9480f;background:#fff7f3}.forum-picker span{display:block;color:#888;font-size:12px}.forum-picker strong{display:block;color:#222}.forum-list-page{display:grid;gap:16px}.category-panel{background:#fff;border:1px solid #ddd;border-radius:12px;overflow:hidden}.category-panel-head{padding:16px;border-bottom:1px solid #eee;background:#fafafa}.category-panel-head h2{margin:0 0 6px;font-size:19px}.category-panel-head p{margin:0;color:#666}.forum-grid.full{grid-template-columns:1fr 1fr;padding:15px}.forum-card small{color:#888}.topic-section-label{padding:12px 15px;background:#fafafa;border-bottom:1px solid #eee;font-weight:bold;color:#555}.sticky-label{color:#a16207;background:#fffaf0}.topic-divider{display:flex;align-items:center;gap:12px;padding:12px 15px;color:#777;font-size:13px;font-weight:bold;text-transform:uppercase;background:#f5f6f8}.topic-divider:before,.topic-divider:after{content:'';height:1px;background:#ddd;flex:1}.all-notifs{display:block;padding:11px 12px;text-align:center;border-bottom:1px solid #eee;background:#fff;color:#d9480f!important;font-weight:bold}.notif-empty{padding:16px;color:#777;text-align:center}.bell{order:20}.header-search{order:21;margin-left:0}.header-right,.user-mini,.header>.btn{order:22}.modern-profile{text-align:left;padding-bottom:18px}.modern-profile .cover{height:180px;background:#ddd center/cover}.profile-mainline{display:flex;gap:16px;align-items:flex-end;padding:0 20px}.modern-profile .profile-avatar{margin-top:-62px;flex:0 0 auto}.profile-title{flex:1;min-width:0}.profile-title h1{margin:0 0 5px}.profile-title p{margin:0;color:#666}.profile-actions{margin-left:auto}.profile-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:16px 20px 5px}.profile-stat{border:1px solid #eee;background:#fafafa;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:5px}.profile-stat i{color:#d9480f;font-size:18px}.profile-stat span{color:#777;font-size:12px}.profile-stat strong{font-size:20px}.modern-profile>.rep,.modern-profile>.rep-score{margin-left:20px;margin-right:20px}.social-links{padding:10px 20px 0;display:flex;gap:10px}.social-links a{width:34px;height:34px;border:1px solid #eee;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#555}.social-links a:hover{color:#d9480f;border-color:#d9480f}.profile-tabs .real-links .tab-btn{display:block;text-decoration:none}.activity-list{background:#fff}.activity-row{display:block;padding:14px 16px;border-bottom:1px solid #eee}.activity-row p{margin:5px 0;color:#666}.activity-row small{color:#999}.about-box{padding:18px}.about-social{display:flex;gap:10px;flex-wrap:wrap}.about-social a{border:1px solid #eee;border-radius:20px;padding:8px 12px}.dm-layout{display:grid;grid-template-columns:260px 1fr;gap:15px}.dm-users,.dm-panel{background:#fff;border:1px solid #ddd;border-radius:10px;overflow:hidden}.dm-users h3,.dm-panel h3{margin:0;padding:14px;border-bottom:1px solid #eee;background:#fafafa}.dm-users a{display:flex;gap:8px;align-items:center;padding:10px 14px;border-bottom:1px solid #eee}.dm-users a.active,.dm-users a:hover{background:#fff7f3;color:#d9480f}.dm-users img{width:30px;height:30px;border-radius:50%;object-fit:cover}.dm-thread{padding:14px;display:flex;flex-direction:column;gap:10px;max-height:520px;overflow:auto}.dm-bubble{max-width:72%;border:1px solid #eee;border-radius:12px;padding:10px;background:#fafafa}.dm-bubble.me{align-self:flex-end;background:#fff3ed;border-color:#ffd8c8}.dm-bubble p{margin:4px 0}.dm-bubble small{color:#888}.dm-form{padding:14px;border-top:1px solid #eee}.dm-form textarea{width:100%;border:1px solid #ddd;border-radius:8px;padding:10px}.pager{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.pager a,.pager span{border:1px solid #ddd;background:#fff;border-radius:7px;padding:8px 12px}.pager .current{background:#d9480f;color:#fff;border-color:#d9480f}.load-more{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:11px 20px;font-weight:bold;box-shadow:0 4px 14px rgba(0,0,0,.05)}.load-more.loading{opacity:.6;pointer-events:none}.topic-title{display:flex;align-items:center;gap:5px;min-width:0}.topic-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:normal}
@media(max-width:900px){.bell{order:3;margin-left:auto}.mobile-search-btn{order:4;margin-left:0}.logo{order:2}.home-hero,.page-title-row{align-items:flex-start}.profile-mainline{align-items:center}.profile-stat-grid{grid-template-columns:1fr 1fr}.dm-layout{grid-template-columns:1fr}.forum-grid.full{grid-template-columns:1fr}.profile-actions{margin-left:0}.modern-profile{text-align:left}.topic-title-text{white-space:nowrap}.topic-title{max-width:100%}.topic-body{overflow:hidden}.home-hero .btn{padding:9px 11px;font-size:13px}}
@media(max-width:600px){.home-hero,.page-title-row{flex-direction:row}.home-hero h1,.page-title-row h1{font-size:20px}.profile-mainline{padding:0 14px}.profile-stat-grid{padding:14px;grid-template-columns:1fr 1fr;gap:10px}.profile-stat{padding:12px}.profile-stat strong{font-size:18px}.modern-profile>.rep,.modern-profile>.rep-score{margin-left:14px;margin-right:14px}.dm-bubble{max-width:88%}.notif-dropdown{right:-68px;width:300px}.topic-item{min-width:0}.topic-title-text{max-width:100%}}

/* === 1YZ 2026-05-05 UI düzeltmeleri === */
.header-tools{margin-left:auto;display:flex;align-items:center;gap:14px;height:100%;min-width:0}.header-tools .bell{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;font-size:19px;color:#1f2937;transition:.15s}.header-tools .bell:hover{background:#fff3ed;color:#d9480f}.header-tools .header-search{margin-left:0}.header-tools .header-search input{width:222px;height:40px}.user-chip{display:inline-flex;align-items:center;gap:9px;height:40px;padding:0 10px;border:1px solid #eee;border-radius:999px;background:#fff;color:#333;font-weight:700}.user-chip:hover{border-color:#ffd8c8;background:#fff7f3;color:#d9480f}.header-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;background:#e5e7eb;display:block}.logout-btn{height:40px;display:inline-flex;align-items:center}.load-more{border:1px solid #e5e7eb!important;background:#fff!important;box-shadow:none!important;color:#444}.load-more:hover{border-color:#d9480f!important;background:#fff7f3!important;color:#d9480f}.load-more-wrap{border-top:1px solid #f1f1f1;background:#fff;padding:14px}.profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.profile-actions .btn{display:inline-flex;align-items:center;gap:7px;height:38px}.char-counter{font-size:12px;color:#777;text-align:right;margin-top:5px}.char-counter.warn{color:#d9480f;font-weight:bold}.form-card .topic-title-input{padding-right:64px}.notif-dropdown{z-index:1700}.notif-dropdown .all-notifs{position:sticky;bottom:0}.topic-title-text{max-width:100%}
@media(min-width:901px){.header{gap:18px}.nav{flex:0 0 auto}.mobile-search-btn{display:none!important}.header-tools{flex:1;justify-content:flex-end}.header-right{align-items:center}.header-right .btn{height:40px;display:inline-flex;align-items:center}.user-mini{display:inline-flex!important}.header-search{display:block!important}}
@media(max-width:900px){.header-tools{margin-left:auto;order:3;flex:0 0 auto;gap:4px;height:58px}.header-tools .header-search,.header-tools .header-right,.header-tools .user-chip,.header-tools .logout-btn{display:none!important}.header-tools .bell{width:38px;height:38px}.mobile-search-btn{order:4}.profile-actions{justify-content:flex-start;width:100%;padding-top:8px}.profile-actions .btn{height:auto;padding:8px 10px;font-size:13px}.topic-title-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topic-title{display:flex;min-width:0}.topic-body{min-width:0;overflow:hidden}}
@media(max-width:600px){.header-tools .bell{font-size:18px}.profile-actions{gap:6px}.profile-actions .btn{font-size:12px}.load-more{padding:9px 16px}.topic-title{line-height:1.25}}


/* === 1YZ final mobile notification + avatar + form alignment fixes === */
.topic-avatar{object-fit:cover;overflow:hidden;background:#e5e7eb}.topic-list .avatar img{width:100%;height:100%;object-fit:cover}.notif-mobile-overlay{display:none}.notif-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #eee;background:#fff;position:sticky;top:0;z-index:2}.notif-all-top{display:inline-flex!important;align-items:center;gap:6px;width:auto!important;border:1px solid #f1e1d9!important;border-radius:999px!important;padding:6px 10px!important;background:#fff7f3!important;color:#d9480f!important;font-size:12px!important;font-weight:700!important}.notif-close{width:30px;height:30px;border:0;background:#f5f6f8;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;color:#555}.notif-close:hover{background:#fff3ed;color:#d9480f}.notif-login-hint{padding:12px;text-align:center;color:#777;font-size:13px;background:#fafafa}.search-page{display:flex;align-items:center;gap:10px;width:100%;max-width:560px;margin-top:10px}.search-page input{flex:1;margin-top:0!important;height:42px}.search-page .btn{height:42px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;margin-top:0}.form-card button.btn,.form-card .btn[type="submit"],.form-card button.btn-primary{margin-top:16px;display:inline-flex;align-items:center;justify-content:center;min-height:42px}.note-editor{margin-top:6px}.note-editor + .btn,.note-editor ~ button.btn{clear:both}
@media(max-width:900px){body.notif-open{overflow:hidden}.notif-mobile-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:1500;opacity:0;visibility:hidden;transition:.22s}.notif-mobile-overlay.active{opacity:1;visibility:visible}.notif-dropdown{position:fixed!important;top:0!important;right:0!important;left:auto!important;width:min(360px,88vw)!important;height:100vh!important;max-height:none!important;border-radius:18px 0 0 18px!important;border:0!important;box-shadow:-18px 0 45px rgba(0,0,0,.18)!important;transform:translateX(105%);transition:transform .25s ease!important;display:block!important;visibility:hidden;overflow-y:auto;background:#fff;z-index:1700}.notif-dropdown.active{transform:translateX(0);visibility:visible}.notif-item,.notif-row{padding:13px 14px}.notif-item strong{font-size:14px}.notif-item p{font-size:12.5px;line-height:1.45}.clear-notifs{position:sticky;bottom:0;background:#fff;border-top:1px solid #eee}.bell .notif-dropdown{font-size:14px}.search-page{max-width:none}.search-page .btn{padding-left:14px;padding-right:14px}}
@media(max-width:600px){.search-page{gap:8px}.search-page input{min-width:0}.search-page .btn{padding:0 14px}.form-card button.btn,.form-card button.btn-primary{width:100%;}.notif-dropdown{width:min(335px,90vw)!important;border-radius:16px 0 0 16px!important}.notif-panel-head{padding:12px}.notif-all-top{font-size:11.5px!important}}


/* === 1YZ 2026-05-05 header / mobile notification / sticky badge polish === */
.user-actions{display:flex;align-items:center;gap:10px}.logout-btn{padding-left:12px;padding-right:12px}.header-right{display:flex;align-items:center;gap:10px}.header-right .btn{height:40px;display:inline-flex;align-items:center}.notif-mobile-overlay{pointer-events:none}.notif-mobile-overlay.active{pointer-events:auto}.notif-dropdown{pointer-events:auto}.notif-empty{padding:16px 14px;color:#777;font-size:13px}.badge{display:inline-flex;align-items:center;gap:6px;line-height:1}.badge i{font-size:11px}.badge-sticky{background:linear-gradient(180deg,#fff8eb 0%,#fff1d6 100%);color:#a56706;border:1px solid #f1d59b;padding:4px 9px;border-radius:999px;font-weight:700;vertical-align:middle}.badge-sticky i{font-size:11px;transform:translateY(-.5px)}
@media(min-width:901px){.header-tools{gap:12px}.user-actions{display:flex!important;align-items:center;gap:10px}.user-chip{padding-right:12px}.logout-btn{margin-left:0}}
@media(max-width:900px){.bell{position:static}.notif-mobile-overlay{background:rgba(17,24,39,.34)!important}.notif-dropdown{z-index:2005!important}.notif-mobile-overlay{z-index:2000!important}.notif-panel-head{backdrop-filter:blur(6px)}.notif-item,.clear-notifs,.notif-all-top,.notif-close{position:relative;z-index:1}.badge-sticky{padding:4px 8px;font-size:11px}.badge-sticky i{font-size:10px}}

/* === 1YZ profile, DM, notification and editor stabilization patch === */
.profile-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:5px}.profile-name-row h1{margin:0;font-size:28px;line-height:1.1}.profile-title h1{margin:0}.userbanner{border-radius:6px!important;padding:6px 10px!important;margin:0!important;line-height:1;letter-spacing:.04em;text-transform:uppercase;border:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.55);font-size:11px!important}.userbanner i{font-size:12px}.banner-admin{background:linear-gradient(180deg,#1f2937,#111827)!important;color:#fff!important;border-color:#374151!important}.banner-member{background:linear-gradient(180deg,#f8fafc,#e5e7eb)!important;color:#334155!important;border-color:#cbd5e1!important}.banner-member i{color:#d9480f}.banner-admin i{color:#f59e0b}.profile-title p{margin:6px 0 0;color:#667085}.edit-media-grid{display:grid;grid-template-columns:220px 1fr;gap:16px;margin:12px 0 18px}.edit-media-box{border:1px solid #eee;border-radius:12px;padding:14px;background:#fafafa}.edit-media-box label{margin-top:0}.edit-avatar-preview{width:96px;height:96px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 6px 18px rgba(0,0,0,.08);display:block;margin:8px 0}.edit-cover-preview{height:110px;border-radius:10px;background:center/cover #e5e7eb;margin:8px 0;border:1px solid #e5e7eb}.danger-light{border-color:#fee2e2!important;background:#fff5f5!important;color:#b91c1c!important}.danger-light:hover{background:#fee2e2!important}.dm-users h3 i,.dm-panel h3 i{color:#d9480f}.dm-users a span{min-width:0;display:flex;flex-direction:column}.dm-users a strong{font-size:14px}.dm-users a small{color:#777;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:170px}.dm-users a em{margin-left:auto;background:#d9480f;color:#fff;border-radius:999px;font-size:11px;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-style:normal}.dm-panel h3{display:flex;align-items:center;gap:8px}.dm-panel h3 img{width:30px;height:30px;border-radius:50%;object-fit:cover}.empty-state.small{font-size:13px;padding:14px;text-align:left}.notifications-hero{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff;border:1px solid #ddd;border-radius:12px;padding:20px;margin-bottom:14px}.notifications-hero h1{margin:0 0 6px;font-size:25px}.notifications-hero p{margin:0;color:#667085}.notification-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.notification-tabs a{display:inline-flex;align-items:center;gap:8px;border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:9px 13px;color:#475467;font-weight:700}.notification-tabs a.active{border-color:#d9480f;background:#fff7f3;color:#d9480f}.notification-tabs b{font-size:11px;background:#f2f4f7;color:#344054;border-radius:999px;padding:2px 7px}.notification-tabs a.active b{background:#d9480f;color:#fff}.modern-notif-list{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.modern-notif-list .notif-row{display:grid;grid-template-columns:38px 1fr auto;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid #f1f1f1}.modern-notif-list .notif-row:hover{background:#fafafa}.modern-notif-list .notif-row.unread{background:#fff7f3}.notif-dot{width:38px;height:38px;border-radius:12px;background:#f2f4f7;display:inline-flex;align-items:center;justify-content:center;color:#667085}.unread .notif-dot{background:#d9480f;color:#fff}.notif-copy{min-width:0}.notif-copy strong{display:block;margin-bottom:4px}.notif-copy p{margin:0 0 3px;color:#667085;font-size:13px}.notif-copy small{color:#98a2b3}.modern-notif-list em{font-style:normal;font-size:11px;color:#667085;border:1px solid #e5e7eb;border-radius:999px;padding:4px 8px}.modern-notif-list .unread em{color:#d9480f;border-color:#ffd8c8;background:#fff}.header-tools .bell{position:relative!important;flex:0 0 38px}.header-tools .bell #bellCount,.bell #bellCount{position:absolute!important;top:1px!important;right:1px!important;transform:translate(38%,-35%);min-width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff;line-height:1;background:#d9480f;color:#fff;font-size:10px;font-weight:800;border-radius:999px;z-index:3}.notif-mobile-overlay,.notif-mobile-overlay.active{opacity:0!important;visibility:hidden!important;pointer-events:none!important;background:transparent!important}.notif-dropdown{z-index:3000!important}.clear-notifs{font-weight:700;color:#475467}.clear-notifs:hover{background:#fff7f3;color:#d9480f}.user-actions{margin-left:0;order:10}.logout-btn{order:11}.note-btn .fa-code{margin-right:4px}
@media(min-width:901px){.header-tools{justify-content:flex-end}.header-tools .header-search{order:2}.header-tools .bell{order:1}.user-actions{order:3}.logout-btn{order:4}.user-chip{height:40px}.logout-btn{height:40px}.profile-mainline{align-items:center}.profile-actions{margin-left:auto}}
@media(max-width:900px){.profile-name-row{gap:7px}.profile-name-row h1{font-size:22px}.userbanner{font-size:10px!important;padding:5px 8px!important}.edit-media-grid{grid-template-columns:1fr}.notifications-hero{align-items:flex-start;flex-direction:column}.modern-notif-list .notif-row{grid-template-columns:34px 1fr;align-items:start}.modern-notif-list em{grid-column:2;width:max-content}.notif-dot{width:34px;height:34px;border-radius:10px}.header-tools .bell #bellCount{top:3px!important;right:3px!important;transform:translate(35%,-35%)}.notif-dropdown{position:fixed!important;top:0!important;right:0!important;left:auto!important;width:min(360px,90vw)!important;height:100vh!important;border-radius:18px 0 0 18px!important;box-shadow:-14px 0 35px rgba(15,23,42,.18)!important;z-index:3000!important}.header{z-index:2500!important}}
@media(max-width:600px){.profile-name-row h1{font-size:20px}.modern-notif-list .notif-row{padding:13px}.notification-tabs a{padding:8px 11px;font-size:13px}.dm-bubble{max-width:90%}}


/* === 1YZ stable notification + header + mobile profile final patch === */
.header-tools{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:12px!important;
  min-width:0!important;
}
.header-tools .bell{
  order:1!important;
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  border-radius:50%!important;
  cursor:pointer!important;
  color:#1f2937!important;
  font-size:19px!important;
}
.header-tools .bell:hover{background:#fff3ed!important;color:#d9480f!important}
.header-tools .header-search{order:2!important;margin-left:0!important;display:block!important}
.user-chip{
  order:3!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  height:40px!important;
  white-space:nowrap!important;
}
.logout-btn{
  order:4!important;
  height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
}
.header-tools .header-right{order:3!important;display:flex!important;align-items:center!important;gap:10px!important}
.header-tools .bell #bellCount{
  position:absolute!important;
  top:2px!important;
  right:2px!important;
  transform:translate(38%,-38%)!important;
  min-width:18px!important;
  height:18px!important;
  padding:0 5px!important;
  border:2px solid #fff!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:999px!important;
  background:#d9480f!important;
  color:#fff!important;
  line-height:1!important;
  font-size:10px!important;
  font-weight:800!important;
  z-index:5!important;
}

.notif-dropdown{
  display:none!important;
  position:fixed!important;
  top:66px!important;
  right:24px!important;
  left:auto!important;
  width:340px!important;
  max-height:72vh!important;
  height:auto!important;
  overflow:auto!important;
  background:#fff!important;
  border:1px solid #e5e7eb!important;
  border-radius:14px!important;
  box-shadow:0 18px 50px rgba(15,23,42,.16)!important;
  z-index:5000!important;
  transform:none!important;
  visibility:visible!important;
}
.notif-dropdown.active{display:block!important}
.notif-mobile-overlay{
  position:fixed!important;
  inset:0!important;
  z-index:4900!important;
  background:rgba(15,23,42,.38)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:.2s ease!important;
}
.notif-mobile-overlay.active{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
.notif-panel-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  padding:12px!important;
  border-bottom:1px solid #eee!important;
  background:#fff!important;
  position:sticky!important;
  top:0!important;
  z-index:2!important;
}
.notif-all-top{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  width:auto!important;
  border:1px solid #f1e1d9!important;
  border-radius:999px!important;
  padding:7px 11px!important;
  background:#fff7f3!important;
  color:#d9480f!important;
  font-size:12px!important;
  font-weight:800!important;
}
.notif-close{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:32px!important;
  border:0!important;
  border-radius:50%!important;
  background:#f5f6f8!important;
  color:#475467!important;
  font-size:22px!important;
  line-height:1!important;
  cursor:pointer!important;
}
.notif-close:hover{background:#fff3ed!important;color:#d9480f!important}
.clear-notifs{
  position:sticky!important;
  bottom:0!important;
  width:100%!important;
  border:0!important;
  border-top:1px solid #eee!important;
  background:#fff!important;
  padding:12px!important;
  font-weight:800!important;
  color:#475467!important;
  cursor:pointer!important;
}
.clear-notifs:hover{background:#fff7f3!important;color:#d9480f!important}
.notif-empty{padding:18px 14px!important;color:#667085!important;font-size:13px!important;text-align:center!important}

.modern-profile{text-align:left!important}
.profile-mainline{
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  padding:0 20px 12px!important;
}
.profile-title{flex:1!important;min-width:0!important}
.profile-name-row{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  margin:0 0 6px!important;
}
.profile-name-row h1{
  margin:0!important;
  line-height:1.05!important;
}
.profile-title p{margin:0!important;color:#667085!important}
.profile-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-left:auto!important;
}

@media(min-width:901px){
  .mobile-search-btn{display:none!important}
  .header-tools .header-search input{width:222px!important;height:40px!important}
}

@media(max-width:900px){
  .header{z-index:4500!important}
  .header-tools{
    order:3!important;
    flex:0 0 auto!important;
    height:58px!important;
    gap:2px!important;
    margin-left:auto!important;
  }
  .header-tools .header-search,
  .header-tools .header-right,
  .header-tools .user-chip,
  .header-tools .logout-btn{display:none!important}
  .header-tools .bell{
    width:40px!important;
    height:40px!important;
    flex:0 0 40px!important;
    font-size:18px!important;
  }
  .header-tools .bell #bellCount{
    top:3px!important;
    right:3px!important;
    transform:translate(34%,-34%)!important;
  }
  .notif-dropdown{
    display:block!important;
    top:0!important;
    right:0!important;
    left:auto!important;
    width:min(370px,90vw)!important;
    height:100vh!important;
    max-height:100vh!important;
    border-radius:18px 0 0 18px!important;
    border:0!important;
    box-shadow:-18px 0 45px rgba(15,23,42,.22)!important;
    transform:translateX(105%)!important;
    visibility:hidden!important;
    z-index:5001!important;
  }
  .notif-dropdown.active{
    transform:translateX(0)!important;
    visibility:visible!important;
  }
  .profile-mainline{
    display:grid!important;
    grid-template-columns:74px 1fr!important;
    gap:12px!important;
    align-items:center!important;
    padding:0 14px 14px!important;
    text-align:left!important;
  }
  .modern-profile .profile-avatar{
    width:74px!important;
    height:74px!important;
    margin-top:-36px!important;
    grid-column:1!important;
    grid-row:1!important;
  }
  .profile-title{
    grid-column:2!important;
    grid-row:1!important;
  }
  .profile-name-row{
    gap:7px!important;
    align-items:center!important;
    margin-bottom:4px!important;
  }
  .profile-name-row h1{
    font-size:21px!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .profile-title p{
    font-size:13px!important;
    line-height:1.45!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .profile-actions{
    grid-column:1 / -1!important;
    grid-row:2!important;
    margin-left:0!important;
    justify-content:flex-start!important;
    padding-top:8px!important;
    width:100%!important;
  }
  .profile-actions .btn{
    font-size:12.5px!important;
    padding:8px 10px!important;
    height:auto!important;
  }
}

@media(max-width:600px){
  .notif-dropdown{width:min(340px,92vw)!important;border-radius:16px 0 0 16px!important}
  .profile-actions .btn{flex:1 1 auto!important;justify-content:center!important}
}


/* === 1YZ desktop notification alignment + modern homepage topic table === */
@media(min-width:901px){
  .notif-dropdown{
    position:fixed!important;
    right:auto!important;
    width:380px!important;
    border-radius:16px!important;
    overflow:visible!important;
  }
  .notif-dropdown::before{
    content:"";
    position:absolute;
    top:-8px;
    left:calc(var(--notif-arrow-left, 50%) - 8px);
    width:16px;
    height:16px;
    background:#fff;
    border-left:1px solid #e5e7eb;
    border-top:1px solid #e5e7eb;
    transform:rotate(45deg);
  }
  .notif-dropdown .notif-panel-head,
  .notif-dropdown .notif-item,
  .notif-dropdown .clear-notifs,
  .notif-dropdown .notif-empty{position:relative;z-index:1;background:#fff}
}
.tabs{border-radius:12px!important;border:1px solid #dfe3e8!important;box-shadow:0 8px 24px rgba(15,23,42,.04)!important;overflow:hidden!important}.modern-topic-tabs{background:#fff!important;border-bottom:1px solid #d9dee5!important;gap:0!important;overflow-x:auto!important}.modern-topic-tabs .tab-btn{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:15px 18px!important;border-right:1px solid #edf0f3!important;border-bottom:3px solid transparent!important;font-weight:800!important;color:#1f2937!important;background:#fff!important}.modern-topic-tabs .tab-btn i{font-size:15px;color:#111827}.modern-topic-tabs .tab-btn.active{background:#eef6fc!important;color:#111827!important;border-bottom-color:#111827!important}.modern-topic-tabs .tab-btn.active i{color:#d9480f!important}.topic-list-table{display:block!important;margin:0!important;padding:0!important}.topic-table-head{display:grid!important;grid-template-columns:minmax(360px,1fr) 170px 92px 120px 150px;align-items:center;gap:16px;padding:13px 14px!important;background:#fff!important;border-bottom:1px solid #e5e7eb!important;color:#7b8490!important;font-size:13px!important;font-weight:900!important;text-transform:uppercase;letter-spacing:.02em}.topic-table-head .hash{display:inline-block;margin-right:14px;color:#9aa3af}.topic-row{display:grid!important;grid-template-columns:minmax(360px,1fr) 170px 92px 120px 150px!important;align-items:center!important;gap:16px!important;padding:12px 14px!important;border-bottom:1px solid #e5e7eb!important;background:#fff!important}.topic-row:hover{background:#fafafa!important}.topic-row-sticky{background:#fffefb!important}.topic-main-cell{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}.topic-row-no{width:24px;height:24px;flex:0 0 24px;border-radius:7px;background:#e9f3ff;color:#1476b8;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:900}.topic-row-sticky .topic-row-no{background:#eaf7ec;color:#23843a}.topic-row .avatar{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:9px!important}.topic-row .topic-body{min-width:0!important;overflow:hidden!important}.topic-row .topic-title{display:flex!important;align-items:center!important;gap:7px!important;margin:0 0 4px!important;font-size:15px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.topic-row .topic-title-text{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important}.topic-row .topic-meta{font-size:12.5px!important;color:#7b8490!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.topic-forum-cell,.topic-num,.topic-last-cell{font-size:13.5px!important;color:#6b7280!important;min-width:0!important}.topic-forum-cell a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#6b7280}.topic-forum-cell a:hover{color:#d9480f}.topic-num{text-align:center;font-weight:700}.topic-last-cell{display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right}.topic-last-cell span{white-space:nowrap}.topic-last-cell a{font-weight:800;color:#d9480f;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.load-more-wrap{border-top:0!important}.badge-popular{display:inline-flex!important;align-items:center!important;gap:5px!important;background:#fee2e2!important;color:#b91c1c!important;border:1px solid #fecaca!important;border-radius:999px!important;font-weight:800!important}
@media(max-width:900px){
  .topic-table-head{display:none!important}.topic-row{display:flex!important;gap:12px!important;padding:13px!important}.topic-main-cell{flex:1!important}.topic-row-no,.topic-forum-cell,.topic-num,.topic-last-cell{display:none!important}.modern-topic-tabs .tab-btn{padding:13px 15px!important;font-size:13px!important}.topic-row .avatar{border-radius:50%!important}.topic-row .topic-title{white-space:nowrap!important}.topic-row .topic-title-text{max-width:100%!important}
}

/* === 1YZ 2026-05-05 table fit / search / sidebar members / code / quote fixes === */
@media(min-width:901px){
  .bell{position:relative!important}
  .bell .notif-dropdown{
    position:absolute!important;
    top:48px!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:360px!important;
    max-width:calc(100vw - 24px)!important;
  }
  .bell .notif-dropdown:before{
    content:"";
    position:absolute;
    top:-7px;
    left:50%;
    transform:translateX(-50%) rotate(45deg);
    width:14px;height:14px;
    background:#fff;
    border-left:1px solid #ddd;
    border-top:1px solid #ddd;
  }
}
.topic-table-head,
.topic-row{
  grid-template-columns:minmax(260px,1fr) 118px 70px 86px 118px!important;
  gap:10px!important;
  padding-left:12px!important;
  padding-right:12px!important;
}
.topic-table-head{
  font-size:12px!important;
  white-space:nowrap!important;
}
.topic-table-head .hash{margin-right:8px!important}
.topic-row .topic-title{font-size:14.5px!important}
.topic-row .avatar{width:36px!important;height:36px!important;flex-basis:36px!important}
.topic-main-cell{gap:8px!important}
.topic-forum-cell,.topic-num,.topic-last-cell{font-size:12.5px!important}
.topic-last-cell{overflow:hidden!important}
.topic-last-cell span,
.topic-last-cell a{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
@media(max-width:900px){
  .tab-buttons{overflow:visible!important}
  .modern-topic-tabs{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    overflow:visible!important;
  }
  .modern-topic-tabs .tab-btn{
    width:100%!important;
    justify-content:center!important;
    padding:12px 8px!important;
    font-size:12.5px!important;
    border-right:1px solid #edf0f3!important;
  }
  .topic-table-head{display:none!important}
}
@media(max-width:420px){
  .modern-topic-tabs .tab-btn{font-size:12px!important;padding:11px 6px!important}
  .modern-topic-tabs .tab-btn i{font-size:13px!important}
}
.search-page{
  width:100%!important;
  max-width:none!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
.search-page input{flex:1!important;min-width:0!important}
.search-page .btn{flex:0 0 auto!important}
.search-results-wrap{overflow:hidden!important}
.search-results-wrap .topic-list-table{width:100%!important;overflow:hidden!important}
@media(max-width:900px){
  .search-page{gap:8px!important}
  .search-page input{width:100%!important}
}
.latest-members{border-top:1px solid #eee;margin-top:10px;padding:12px 14px}
.latest-members-title{font-weight:800;font-size:13px;color:#222;margin-bottom:10px;display:flex;align-items:center;gap:7px}
.latest-members-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.latest-member{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0}
.latest-member img{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#e5e7eb;border:1px solid #eee}
.latest-member span{font-size:11.5px;font-weight:700;color:#444;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.codebox{border:1px solid #202a3a;border-radius:10px;overflow:hidden;margin:14px 0;background:#0f172a}
.codebox.light{background:#f8fafc;border-color:#e5e7eb}
.codebox-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:#111827;color:#d1d5db;font-size:12px;font-weight:800}
.codebox.light .codebox-toolbar{background:#f1f5f9;color:#334155;border-bottom:1px solid #e5e7eb}
.codebox-copy{border:0;border-radius:7px;background:#d9480f;color:#fff;font-size:12px;font-weight:800;padding:6px 9px;cursor:pointer}
.codebox.light .codebox-copy{background:#0f172a}
.codebox pre{margin:0!important;border-radius:0!important;overflow:auto}
.codebox.light pre{background:#f8fafc!important;color:#0f172a!important}
.codebox.light code{background:transparent!important;color:#0f172a!important}
.quote-box,.message-content blockquote{margin:10px 0;padding:10px 12px;border-left:4px solid #d9480f;background:#fff7f3;border-radius:8px;color:#444}
.quote-btn{display:inline-flex!important;align-items:center;gap:5px}
.forum-picker-grouped{display:flex;flex-direction:column;gap:12px;max-height:60vh;overflow:auto}
.forum-picker-category{border:1px solid #eee;border-radius:10px;overflow:hidden;background:#fff}
.forum-picker-category-title{padding:10px 12px;background:#fafafa;border-bottom:1px solid #eee;font-weight:900;color:#1f2937;display:flex;align-items:center;gap:7px}
.forum-picker-category a{border:0;border-bottom:1px solid #f1f1f1;border-radius:0!important}
.forum-picker-category a:last-child{border-bottom:0}
.forum-picker-category a em{display:block;font-style:normal;color:#8a94a3;font-size:12px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


/* === HIDE sistemi, off-canvas bildirim, tablo liste ve arama düzeltmeleri === */
.notif-dropdown{display:block!important;position:fixed!important;top:0!important;right:0!important;left:auto!important;width:min(390px,92vw)!important;height:100vh!important;max-height:none!important;border-radius:18px 0 0 18px!important;border:0!important;box-shadow:-20px 0 50px rgba(15,23,42,.2)!important;transform:translateX(105%)!important;transition:transform .22s ease!important;visibility:hidden!important;overflow:auto!important;background:#fff!important;z-index:5000!important}.notif-dropdown.active{transform:translateX(0)!important;visibility:visible!important}.notif-mobile-overlay.active{opacity:1!important;visibility:visible!important;pointer-events:auto!important;background:rgba(15,23,42,.38)!important}.notif-panel-head{border-radius:18px 0 0 0}.topic-table-wrap{width:100%;overflow:hidden}.topic-table-head,.topic-row{display:grid;grid-template-columns:42px minmax(290px,1fr) 130px 86px 100px 142px;align-items:center;gap:10px}.topic-table-head{padding:11px 16px;border-bottom:1px solid #e5e7eb;color:#6b7280;text-transform:uppercase;font-size:12px;font-weight:800;background:#fff}.topic-row{padding:12px 16px;border-bottom:1px solid #eef0f3;background:#fff}.topic-row:hover{background:#fafafa}.topic-table-list{display:block}.topic-title-flex{display:flex;align-items:center;gap:11px;min-width:0}.topic-col-title{min-width:0}.topic-col-forum,.topic-col-replies,.topic-col-views,.topic-col-last{font-size:13px;color:#64748b;min-width:0}.topic-col-replies,.topic-col-views{text-align:center;font-weight:700}.topic-col-last{text-align:right;display:flex;flex-direction:column;gap:2px;overflow:hidden}.topic-col-last span,.topic-col-last small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-num{width:26px;height:26px;border-radius:8px;background:#eff6ff;color:#1476bd;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:12px}.row-num.pin{background:#ecfdf3;color:#20803b}.topic-title{display:flex!important;align-items:center;gap:7px;min-width:0;margin:0}.topic-title-text{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.modern-topic-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible!important}.modern-topic-tabs .tab-btn{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:14px 16px}.search-page{display:flex!important;width:100%!important;max-width:none!important;gap:10px;align-items:center}.search-page input{flex:1!important;min-width:0!important;margin-top:0!important}.search-results-wrap,.search-results-wrap *{min-width:0}.search-results-wrap{overflow:hidden}.modern-stats{display:grid;gap:8px}.modern-stats div{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;border:1px solid #eef0f3;border-radius:9px;background:#fafafa}.modern-stats span{color:#667085}.latest-members{border-top:1px solid #eee;padding:12px}.latest-members h4{margin:0 0 10px;font-size:14px;display:flex;gap:7px;align-items:center}.latest-members a{display:flex;align-items:center;gap:9px;padding:7px 0;border-bottom:1px solid #f2f4f7}.latest-members img{width:32px;height:32px;border-radius:50%;object-fit:cover}.latest-members span{display:flex;flex-direction:column;min-width:0}.latest-members strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.latest-members small{font-size:11px;color:#98a2b3}.hidden-content-box{display:flex;gap:12px;align-items:flex-start;margin:12px 0;padding:13px 14px;border:1px solid #e5e7eb;border-left:4px solid #d9480f;background:#fafafa;border-radius:8px}.hidden-content-icon{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:#fff3ed;color:#d9480f;flex:0 0 auto}.hidden-content-copy strong{display:block;margin-bottom:4px}.hidden-content-copy p{margin:0 0 8px;color:#667085;font-size:13px}.hide-mini-action{display:inline-flex;align-items:center;gap:6px;border:1px solid #ffd8c8;background:#fff7f3;color:#d9480f;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.hidden-content-visible{border-left:3px solid #16a34a;padding-left:10px;margin:10px 0}.codebox{border:1px solid #d8dee9;border-radius:10px;overflow:hidden;margin:12px 0;background:#fff}.codebox-toolbar{display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#334155;font-size:12px;font-weight:800}.codebox-copy{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #cbd5e1!important;background:#fff!important;color:#334155!important;border-radius:7px!important;padding:5px 9px!important;font-size:12px!important;cursor:pointer!important;line-height:1!important}.codebox-copy:hover{background:#eff6ff!important;color:#0f172a!important}.codebox pre{margin:0!important;padding:12px!important;overflow:auto;background:#fff!important;color:#111827!important}.codebox code{font-family:Consolas,Monaco,monospace;font-size:13px}.check-row{display:flex!important;align-items:center;gap:8px;font-weight:normal!important}.check-row input{width:auto!important;margin:0!important}
@media(max-width:1100px){.topic-table-head,.topic-row{grid-template-columns:36px minmax(230px,1fr) 110px 72px 82px 118px;gap:8px}.topic-table-head{font-size:11px}.topic-col-last{font-size:12px}.modern-topic-tabs .tab-btn{padding:13px 10px;font-size:13px}}
@media(max-width:900px){.topic-table-head{display:none}.topic-row{display:flex!important;gap:11px;padding:13px}.topic-col-index{display:none}.topic-col-forum,.topic-col-replies,.topic-col-views,.topic-col-last{display:none}.topic-col-title{width:100%;min-width:0}.modern-topic-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.modern-topic-tabs .tab-btn{font-size:13px;text-align:center}.notif-dropdown{width:min(360px,90vw)!important}.search-page{gap:8px}.search-page .btn{flex:0 0 auto}}
@media(max-width:600px){.modern-topic-tabs .tab-btn{padding:11px 8px;font-size:12px}.topic-title-text{max-width:100%}.search-page{flex-direction:column}.search-page .btn,.search-page input{width:100%!important}.hidden-content-box{padding:12px;gap:10px}.hidden-content-icon{width:30px;height:30px}.notif-dropdown{width:min(335px,92vw)!important}}


/* === Google Login + code light + son mesaj kolon final === */
.google-auth-btn{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;height:42px;border-color:#e5e7eb!important;background:#fff!important;color:#1f2937!important;font-weight:800;margin:10px 0}
.google-auth-btn i{color:#db4437}.google-auth-btn:hover{background:#f8fafc!important;border-color:#cbd5e1!important}
.auth-sep{display:flex;align-items:center;gap:10px;color:#94a3b8;font-size:12px;font-weight:800;text-transform:uppercase;margin:10px 0}.auth-sep:before,.auth-sep:after{content:"";height:1px;background:#e5e7eb;flex:1}
.codebox{position:relative}.codebox.light{background:#fff!important;border:1px solid #dbe3ec!important;border-radius:10px!important;overflow:hidden!important}
.codebox.light .codebox-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;background:#f8fafc!important;color:#0f172a!important;border-bottom:1px solid #dbe3ec!important;min-height:38px!important}
.codebox-copy{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:5!important;min-width:72px!important;height:28px!important;border:1px solid #cbd5e1!important;border-radius:7px!important;background:#fff!important;color:#0f172a!important;font-size:12px!important;font-weight:900!important;padding:0 9px!important;cursor:pointer!important}
.codebox-copy:hover{border-color:#d9480f!important;color:#d9480f!important;background:#fff7f3!important}
.codebox.light pre{background:#fff!important;color:#0f172a!important;padding:12px!important}
.codebox.light code{background:transparent!important;color:#0f172a!important}
@media(min-width:901px){
  .topic-table-head{grid-template-columns:minmax(300px,1fr) 145px 82px 105px 185px!important;gap:10px!important;font-size:12.5px!important}
  .topic-row{grid-template-columns:minmax(300px,1fr) 145px 82px 105px 185px!important;gap:10px!important}
  .topic-last-cell{font-size:12.5px!important;align-items:flex-end!important;min-width:0!important;overflow:hidden!important}
  .topic-last-cell span,.topic-last-cell a{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}
@media(max-width:900px){
  .modern-topic-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;overflow:visible!important}
  .modern-topic-tabs .tab-btn{width:100%!important;justify-content:center!important;padding:12px 8px!important;font-size:12.5px!important}
}

/* === 1YZ FINAL: Ana sayfa tab konu tablosu hizalama düzeltmesi === */
.topic-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.topic-table-head,
.topic-row{
  display:grid!important;
  grid-template-columns:42px minmax(0,1.55fr) minmax(105px,.65fr) 78px 102px 176px!important;
  align-items:center!important;
  column-gap:12px!important;
}
.topic-table-head{
  padding:12px 16px!important;
  background:#fff!important;
  border-bottom:1px solid #e5e7eb!important;
  color:#6b7280!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.015em!important;
}
.topic-table-head > span{
  display:block!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.topic-row{
  padding:12px 16px!important;
  border-bottom:1px solid #eef0f3!important;
  background:#fff!important;
  min-width:0!important;
}
.topic-row > div{
  min-width:0!important;
}
.topic-col-index{
  text-align:center!important;
}
.topic-col-title{
  min-width:0!important;
  overflow:hidden!important;
}
.topic-title-flex{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-width:0!important;
  max-width:100%!important;
}
.topic-title-flex .avatar,
.topic-row .avatar{
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
}
.topic-row .topic-body{
  min-width:0!important;
  overflow:hidden!important;
}
.topic-row .topic-title{
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.topic-row .topic-title-text{
  display:inline-block!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.topic-row .topic-meta{
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.topic-col-forum,
.topic-col-replies,
.topic-col-views,
.topic-col-last{
  min-width:0!important;
  font-size:13px!important;
  color:#64748b!important;
}
.topic-col-forum{
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.topic-col-replies,
.topic-col-views{
  text-align:center!important;
  font-weight:800!important;
}
.topic-col-last{
  text-align:right!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  gap:2px!important;
  overflow:hidden!important;
}
.topic-col-last span,
.topic-col-last small{
  display:block!important;
  max-width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.topic-table-head .topic-col-last{
  text-align:right!important;
}
.modern-topic-tabs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  overflow:hidden!important;
  width:100%!important;
}
.modern-topic-tabs .tab-btn{
  min-width:0!important;
  width:100%!important;
  justify-content:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
@media(max-width:1120px){
  .topic-table-head,
  .topic-row{
    grid-template-columns:36px minmax(0,1.45fr) minmax(92px,.6fr) 68px 88px 145px!important;
    column-gap:8px!important;
  }
  .topic-table-head{font-size:11px!important;padding-left:12px!important;padding-right:12px!important;}
  .topic-row{padding-left:12px!important;padding-right:12px!important;}
  .topic-col-last{font-size:12px!important;}
}
@media(max-width:900px){
  .topic-table-head{display:none!important;}
  .topic-row{
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    padding:13px!important;
  }
  .topic-col-index,
  .topic-col-forum,
  .topic-col-replies,
  .topic-col-views,
  .topic-col-last{
    display:none!important;
  }
  .topic-col-title{
    width:100%!important;
    min-width:0!important;
  }
  .modern-topic-tabs{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    overflow:hidden!important;
  }
  .modern-topic-tabs .tab-btn{
    padding:12px 8px!important;
    font-size:12.5px!important;
    gap:6px!important;
  }
}
@media(max-width:420px){
  .modern-topic-tabs .tab-btn{
    font-size:11.5px!important;
    padding:11px 6px!important;
  }
}


/* === 1YZ full-width layout + Google Login visibility final === */
html,body{width:100%!important;max-width:none!important;overflow-x:hidden!important;}
.header{width:100%!important;max-width:none!important;}
.container{width:100%!important;max-width:none!important;margin:18px 0!important;padding:0 18px!important;grid-template-columns:minmax(260px,300px) minmax(0,1fr)!important;}
.main{width:100%!important;max-width:none!important;min-width:0!important;}
.footer-container{width:100%!important;max-width:none!important;padding-left:18px!important;padding-right:18px!important;}
.forum-hero,.tabs,.form-card,.topic-head,.profile-card{max-width:none!important;}
.topic-table-wrap{width:100%!important;max-width:100%!important;}
.google-auth-btn{display:flex!important;visibility:visible!important;opacity:1!important;}
@media(max-width:900px){.container{grid-template-columns:1fr!important;padding:0 10px!important;margin-top:12px!important;}.footer-container{padding-left:10px!important;padding-right:10px!important;}}


/* === 1YZ final request: username change, 10 replies, sticky sidebar, cleaner modal/profile/pages === */
@media(min-width:901px){.sidebar{position:sticky!important;top:84px!important;align-self:start!important;max-height:calc(100vh - 92px);overflow:auto;padding-right:2px}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:#d7dde7;border-radius:99px}}
.username-change-box{border:1px solid #e5e7eb;background:#f8fafc;border-radius:12px;padding:14px;margin:16px 0}.username-change-box small{display:flex;align-items:center;gap:7px;color:#64748b;font-size:12.5px;margin-top:7px}.username-change-box small i{color:#d9480f}.topic-modal{position:fixed;inset:0;background:rgba(15,23,42,.42);z-index:4000;display:none;align-items:center;justify-content:center;padding:18px}.topic-modal.active{display:flex}.topic-modal-box{width:min(680px,96vw);max-height:88vh;background:#fff;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.24);overflow:hidden;position:relative}.topic-modal-box h3{margin:0;padding:18px 22px;border-bottom:1px solid #eef0f3;font-size:18px}.topic-modal-close{position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:50%;background:#f3f4f6;font-size:22px;line-height:1;cursor:pointer}.topic-modal-close:hover{background:#fff3ed;color:#d9480f}.forum-picker-grouped{padding:14px;max-height:68vh;overflow:auto}.forum-picker-category{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff;margin-bottom:12px}.forum-picker-category-title{padding:11px 14px;background:linear-gradient(180deg,#f8fafc,#f3f4f6);border-bottom:1px solid #e5e7eb;font-weight:900;color:#111827;display:flex;align-items:center;gap:8px}.forum-picker-category a{display:grid!important;grid-template-columns:1fr auto;gap:2px 10px;padding:12px 14px!important;border-bottom:1px solid #f1f5f9;color:#334155}.forum-picker-category a:hover{background:#fff7f3;color:#d9480f}.forum-picker-category a span{display:none}.forum-picker-category a strong{font-size:14px}.forum-picker-category a em{grid-column:1 / -1;font-style:normal;color:#94a3b8;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-picker-category a:after{content:'Konu aç';align-self:center;border:1px solid #ffd8c8;background:#fff7f3;color:#d9480f;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}.profile-topic-grid{display:grid;gap:10px;padding:14px}.profile-topic-card{display:grid;grid-template-columns:42px minmax(0,1fr) 64px;align-items:center;gap:12px;border:1px solid #e5e7eb;background:#fff;border-radius:13px;padding:12px;transition:.15s}.profile-topic-card:hover{border-color:#ffd8c8;background:#fff7f3}.pt-icon{width:42px;height:42px;border-radius:12px;background:#f1f5f9;color:#d9480f;display:inline-flex;align-items:center;justify-content:center}.pt-main{min-width:0}.pt-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#111827}.pt-main small{display:block;color:#64748b;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pt-stats{text-align:center;border-left:1px solid #edf0f5}.pt-stats b{display:block;color:#111827}.pt-stats em{font-style:normal;color:#94a3b8;font-size:11px}.codebox.light .codebox-toolbar{position:relative}.codebox-copy{visibility:visible!important;opacity:1!important;display:inline-flex!important;z-index:20!important}.codebox.dark,.codebox:not(.light){background:#fff!important;border-color:#dbe3ec!important}.codebox.dark .codebox-toolbar,.codebox:not(.light) .codebox-toolbar{background:#f8fafc!important;color:#0f172a!important}.codebox.dark pre,.codebox:not(.light) pre{background:#fff!important;color:#0f172a!important}.codebox.dark code,.codebox:not(.light) code{color:#0f172a!important}.topic-table-head,.topic-row{grid-template-columns:38px minmax(0,1.6fr) minmax(96px,.54fr) 68px 88px 142px!important;column-gap:8px!important}.topic-table-head{font-size:11px!important}.topic-col-last{font-size:12px!important}.topic-col-replies,.topic-col-views{font-size:12px!important}.topic-col-forum{font-size:12px!important}
@media(max-width:900px){.profile-topic-card{grid-template-columns:38px minmax(0,1fr);}.pt-stats{grid-column:1 / -1;border-left:0;border-top:1px solid #edf0f5;padding-top:8px;display:flex;gap:5px;justify-content:flex-end}.topic-modal{align-items:flex-end;padding:0}.topic-modal-box{width:100%;max-height:88vh;border-radius:18px 18px 0 0}.forum-picker-category a{grid-template-columns:1fr}.forum-picker-category a:after{display:none}}


/* === 1YZ new topic popup category/forum list fix === */
.topic-modal-box{width:min(720px,96vw)!important;}
.forum-picker-grouped{display:flex!important;flex-direction:column!important;gap:10px!important;padding:12px!important;max-height:70vh!important;overflow:auto!important;}
.forum-picker-category{margin:0!important;border:1px solid #e5e7eb!important;border-radius:12px!important;background:#fff!important;overflow:visible!important;}
.forum-picker-category-title{padding:9px 12px!important;font-size:13px!important;background:#f8fafc!important;border-bottom:1px solid #eef0f3!important;color:#111827!important;}
.forum-picker-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:8px!important;}
.forum-picker-row{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;gap:1px 8px!important;border:1px solid #edf0f5!important;border-radius:9px!important;background:#fff!important;padding:8px 9px!important;color:#334155!important;min-height:52px!important;}
.forum-picker-row:after{display:none!important;content:none!important;}
.forum-picker-row:hover{background:#fff7f3!important;border-color:#ffd8c8!important;color:#d9480f!important;}
.forum-picker-row>i{grid-row:1 / span 2;width:28px;height:28px;border-radius:8px;background:#f1f5f9;color:#d9480f;display:inline-flex;align-items:center;justify-content:center;font-size:13px;}
.forum-picker-name{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#111827!important;font-weight:800!important;font-size:13px!important;}
.forum-picker-row small{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#94a3b8!important;font-size:11px!important;line-height:1.2!important;}
@media(max-width:900px){.topic-modal-box{width:100%!important;max-height:90vh!important}.forum-picker-grouped{max-height:72vh!important;padding:10px!important}.forum-picker-list{grid-template-columns:1fr!important}.forum-picker-row{min-height:48px!important;padding:8px!important}.forum-picker-row small{display:none!important}}

/* === 1YZ sticky sidebar + sticky postbit final fix === */
@media (min-width:901px){
  body{overflow-x:hidden;}
  .container{align-items:start;}
  .sidebar{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:82px!important;
    align-self:start!important;
    height:max-content!important;
    max-height:calc(100vh - 92px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding-right:4px!important;
  }
  .sidebar::-webkit-scrollbar{width:6px;}
  .sidebar::-webkit-scrollbar-thumb{background:#d7dde7;border-radius:99px;}
  .post{
    align-items:start!important;
    overflow:visible!important;
  }
  .postbit{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:82px!important;
    align-self:start!important;
    z-index:5!important;
    border-radius:8px 0 0 8px!important;
    max-height:calc(100vh - 96px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  .postbit::-webkit-scrollbar{width:5px;}
  .postbit::-webkit-scrollbar-thumb{background:#d7dde7;border-radius:99px;}
  .post-content{
    min-height:260px;
  }
}
@media (max-width:900px){
  .sidebar,.postbit{position:static!important;max-height:none!important;overflow:visible!important;}
  .post{overflow:hidden!important;}
}

/* === 1YZ ajax reply + similar topics + true sticky patch === */
@media (min-width:901px){
  .container{align-items:start!important;overflow:visible!important;}
  .main{overflow:visible!important;}
  .sidebar{position:sticky!important;top:82px!important;height:max-content!important;max-height:calc(100vh - 92px)!important;overflow-y:auto!important;align-self:start!important;}
  .post{overflow:visible!important;align-items:start!important;}
  .postbit{position:sticky!important;top:82px!important;align-self:start!important;max-height:calc(100vh - 96px)!important;overflow:auto!important;}
}
.topic-top-pager{margin:0 0 14px}.topic-top-pager .pager{margin-top:0}.posts-list{overflow:visible}.guest-reply-box{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #ffd8c8;border-radius:14px;padding:18px;margin:16px 0;color:#334155}.guest-reply-box>div:first-child{width:42px;height:42px;border-radius:12px;background:#fff3ed;color:#d9480f;display:flex;align-items:center;justify-content:center;font-size:18px;flex:0 0 auto}.guest-reply-box strong{display:block;color:#111827;font-size:16px}.guest-reply-box p{margin:5px 0 12px;color:#64748b}.guest-actions{display:flex;gap:8px;flex-wrap:wrap}.similar-topics{background:#fff;border:1px solid #ddd;border-radius:12px;margin:16px 0;overflow:hidden}.similar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border-bottom:1px solid #eef0f3;background:#fafafa}.similar-head h3{margin:0;font-size:15px;display:flex;align-items:center;gap:8px}.similar-head h3 i{color:#d9480f}.similar-head span{font-size:12px;color:#94a3b8}.similar-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}.similar-item{display:flex;gap:10px;align-items:center;padding:12px 14px;border-bottom:1px solid #f1f5f9;border-right:1px solid #f1f5f9;min-width:0}.similar-item:hover{background:#fff7f3;color:#d9480f}.similar-avatar{width:34px;height:34px;border-radius:50%;background:#e5e7eb;display:flex;align-items:center;justify-content:center;flex:0 0 auto;font-weight:800;color:#64748b;overflow:hidden}.similar-avatar img{width:100%;height:100%;object-fit:cover}.similar-copy{display:block;min-width:0}.similar-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13.5px}.similar-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#94a3b8;font-size:12px;margin-top:3px}.ajax-reply-form .reply-form-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.reply-status{font-size:13px;color:#64748b}.new-post-highlight{animation:newPostGlow 2.2s ease}@keyframes newPostGlow{0%{box-shadow:0 0 0 3px rgba(217,72,15,.22)}100%{box-shadow:none}}
@media(max-width:900px){.similar-list{grid-template-columns:1fr}.similar-head{align-items:flex-start;flex-direction:column}.guest-reply-box{padding:14px}.ajax-reply-form .reply-form-footer{align-items:stretch;flex-direction:column}.ajax-reply-form .reply-form-footer .btn{width:100%;justify-content:center}.topic-top-pager .pager{justify-content:center}.postbit,.sidebar{position:static!important;max-height:none!important;overflow:visible!important;}}


/* === 1YZ TRUE STICKY FINAL OVERRIDE: no inner sidebar/postbit scroll === */
@media (min-width:901px){
  html, body { overflow-x: hidden !important; }
  .container,
  .main,
  .posts-list,
  .post,
  .post-content,
  .topic-page,
  .content-wrap {
    overflow: visible !important;
  }
  .container{
    align-items:start!important;
  }
  .sidebar{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:82px!important;
    align-self:flex-start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
  }
  .sidebar::-webkit-scrollbar{width:0!important;height:0!important;}
  .post{
    overflow:visible!important;
    align-items:start!important;
  }
  .postbit{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:82px!important;
    align-self:flex-start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    z-index:3!important;
  }
}
@media (max-width:900px){
  .sidebar,
  .postbit{
    position:static!important;
    top:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}

/* === Report / Prefix / Tags / Badges / Full-topic profile layout === */
.container.no-sidebar{grid-template-columns:1fr!important;max-width:none!important}.container.no-sidebar .main{width:100%;min-width:0}.report-btn{border:0;background:transparent;color:#64748b;font-size:12px;cursor:pointer}.report-btn:hover{color:#d9480f}.report-modal{position:fixed;inset:0;background:rgba(15,23,42,.42);z-index:7000;display:none;align-items:center;justify-content:center;padding:18px}.report-modal.active{display:flex}.report-box{width:min(470px,94vw);background:#fff;border-radius:16px;box-shadow:0 24px 70px rgba(15,23,42,.25);overflow:hidden}.report-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e5e7eb}.report-head h3{margin:0;font-size:18px}.report-close{width:32px;height:32px;border:0;border-radius:50%;background:#f1f5f9;font-size:20px;cursor:pointer}.report-form{padding:16px;display:grid;gap:10px}.report-form select,.report-form textarea{width:100%;border:1px solid #d8dee9;border-radius:9px;padding:10px}.report-status{font-size:13px;color:#64748b}.topic-prefix{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--pf-border,#ffd8c8);background:var(--pf-bg,#fff3ed);color:var(--pf-text,#d9480f);border-radius:999px;padding:3px 8px;font-size:12px;font-weight:900;white-space:nowrap;line-height:1.2}.topic-prefix i{font-size:11px}.topic-prefix-solid{background:var(--pf-text,#d9480f);color:#fff;border-color:var(--pf-text,#d9480f)}.topic-prefix-outline{background:transparent;color:var(--pf-text,#d9480f);border-color:var(--pf-border,var(--pf-text,#d9480f))}.prefix-select,.tag-input{width:100%;height:42px;border:1px solid #d8dee9;border-radius:8px;padding:0 10px}.topic-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0}.topic-tags a{display:inline-flex;align-items:center;gap:5px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:999px;padding:5px 9px;font-size:12px;color:#475569}.topic-tags a:hover{background:#fff7f3;border-color:#ffd8c8;color:#d9480f}.post-badges{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap;margin-top:8px}.user-badge{display:inline-flex;align-items:center;gap:5px;border-radius:8px;background:var(--badge-bg,#fff3ed);color:var(--badge-text,#d9480f);padding:5px 7px;font-size:12px;font-weight:900}.post-badges .user-badge{width:26px;height:26px;justify-content:center;padding:0}.badges-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}.badge-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:16px;text-align:center}.badge-card.badge-earned{border-color:#bbf7d0;background:#f0fdf4}.badge-big-icon{width:54px;height:54px;border-radius:16px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;background:var(--badge-bg,#fff3ed);color:var(--badge-text,#d9480f);font-size:24px}.badge-card h3{margin:8px 0 6px}.badge-card p{color:#64748b;font-size:13px}.badge-card small{font-weight:800;color:#64748b}.profile-tabs .tab-buttons.real-links{display:flex;flex-wrap:wrap}.profile-tabs .tab-buttons.real-links .tab-btn{flex:0 0 auto}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.admin-tabs a{border:1px solid #d8dee9;border-radius:999px;padding:7px 12px;background:#fff}.check-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}.check-grid label{border:1px solid #e5e7eb;border-radius:9px;padding:8px;background:#fff}
@media(max-width:900px){.container.no-sidebar{display:block}.badges-grid{grid-template-columns:1fr 1fr}.report-box{width:94vw}.post-badges{justify-content:flex-start}}
.notif-item{display:flex!important;gap:10px}.notif-img{width:44px;height:44px;border-radius:10px;object-fit:cover;flex:0 0 auto}.notif-copy{min-width:0;display:block}.notif-pin{font-size:10px;color:#d9480f;background:#fff3ed;border:1px solid #ffd8c8;border-radius:999px;padding:2px 6px;margin-left:5px;white-space:nowrap}.sticky-notif{background:#fff7f3!important}
.inline-edit-box{margin:12px 0;border:1px solid #e5e7eb;border-radius:10px;padding:10px;background:#f8fafc}.inline-edit-text{width:100%;min-height:160px;border:1px solid #d8dee9;border-radius:8px;padding:10px}.inline-edit-actions{display:flex;align-items:center;gap:8px;margin-top:8px}.inline-edit-status{font-size:12px;color:#64748b}


/* === 1YZ verified users + ajax inline edit + cooldown === */
.username-link{display:inline-flex;align-items:center;max-width:100%;vertical-align:middle}
.username-with-verified{display:inline-flex;align-items:center;gap:5px;vertical-align:middle;max-width:100%;line-height:1.2}
.username{font-weight:700;display:inline-flex;align-items:center;gap:4px;line-height:1.2;min-width:0}
.username-admin{color:#d93025!important}
.username-verified{color:#1d74d8!important}
.username-member{color:#111!important}
.verified-badge{display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;color:#1d9bf0;font-size:13px;line-height:1;vertical-align:middle;flex:0 0 auto}
.verified-badge .verified-fallback{display:none}
.verified-badge .fa-badge-check:before{content:"\f058"}
.inline-edit-box{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px;margin:12px 0;box-shadow:0 10px 25px rgba(0,0,0,.06)}
.inline-edit-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.inline-edit-close{border:0;background:#f3f4f6;border-radius:50%;width:30px;height:30px;cursor:pointer;font-size:18px}
.inline-edit-box label{display:block;font-weight:700;font-size:13px;margin:10px 0 5px}
.inline-edit-box input,.inline-edit-box textarea{width:100%;border:1px solid #ddd;border-radius:8px;padding:10px}
.inline-edit-box textarea{min-height:180px}
.edit-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin-top:12px}
.edit-status{font-size:13px;color:#777;margin-top:8px}
.edited-info{border-top:1px dashed #eee;margin-top:10px;padding-top:8px;color:#888;font-size:12px}
.cooldown-alert{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:10px;padding:12px;margin:10px 0}
.edit-toast{position:fixed;right:20px;bottom:20px;background:#111827;color:#fff;border-radius:10px;padding:11px 14px;box-shadow:0 16px 30px rgba(0,0,0,.18);opacity:0;transform:translateY(10px);transition:.2s;z-index:3000}
.edit-toast.active{opacity:1;transform:translateY(0)}
.edit-toast.ok{background:#15803d}.edit-toast.err{background:#b91c1c}
.post-user .username-link{justify-content:center}
.user-chip .username-with-verified{font-size:14px}
@media(max-width:700px){.edit-actions{flex-direction:column}.edit-actions .btn{width:100%}.verified-badge{width:13px;height:13px;font-size:12px}}


/* === 1YZ topic list last post + topic hero + mobile postbit prefix fix === */
.topic-table-head,
.topic-row{
  grid-template-columns: 44px minmax(340px,1fr) minmax(120px,160px) 86px 112px minmax(150px,190px) !important;
  gap: 12px !important;
}
.topic-table-head .topic-col-last,
.topic-col-last{min-width:0!important}
.topic-col-last{
  text-align:right;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:5px!important;
}
.last-post-date{font-size:12.5px;color:#475569;white-space:nowrap}
.last-post-user{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  min-width:0;
  max-width:100%;
}
.last-post-avatar{
  width:22px!important;
  height:22px!important;
  border-radius:50%;
  object-fit:cover;
  flex:0 0 22px;
  background:#e5e7eb;
}
.last-post-name,
.last-post-name .username-link,
.last-post-name .username-with-verified{
  min-width:0;
  max-width:130px;
}
.last-post-name .username{
  font-size:12.5px!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.topic-hero{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}
.topic-hero-main{min-width:0;flex:1}
.topic-hero-badges{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:8px;
  min-height:24px;
}
.topic-hero-title{
  margin:0!important;
  font-size:28px!important;
  line-height:1.18!important;
  letter-spacing:-.02em;
  color:#111827;
  overflow-wrap:anywhere;
}
.topic-hero-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 16px;
  margin-top:10px;
  color:#64748b;
  font-size:13px;
}
.topic-hero-meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.topic-hero-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  flex-wrap:wrap!important;
  margin-left:auto;
  max-width:460px;
}
.topic-hero-actions .btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:38px;
  border-radius:9px;
  white-space:nowrap;
}
.topic-prefix{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  max-width:100%;
  vertical-align:middle;
}
.post{
  border-radius:12px!important;
  overflow:hidden;
}
.postbit-sticky-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.post-user .username-with-verified,
.post-user .username-link{
  justify-content:center;
}
.postbit-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}
.post-actions .btn,
.post-actions .react{
  min-height:34px;
}
@media(max-width:900px){
  .topic-table-head{display:none!important}
  .topic-row{
    display:flex!important;
    grid-template-columns:none!important;
  }
  .topic-col-forum,.topic-col-replies,.topic-col-views,.topic-col-last{display:none!important}
  .topic-hero{
    flex-direction:column;
    gap:14px;
    padding:16px!important;
  }
  .topic-hero-title{
    font-size:22px!important;
    line-height:1.25!important;
  }
  .topic-hero-meta{
    font-size:12.5px;
    gap:7px 12px;
  }
  .topic-hero-actions{
    width:100%;
    max-width:none;
    justify-content:flex-start!important;
    gap:7px!important;
  }
  .topic-hero-actions .btn{
    min-height:36px;
    padding:8px 10px;
    font-size:13px;
    flex:0 0 auto;
  }
  .post{
    display:block!important;
  }
  .postbit{
    border-right:0!important;
    border-bottom:1px solid #edf0f5!important;
    padding:12px!important;
    text-align:left!important;
    background:#fff!important;
  }
  .postbit-sticky-inner{
    display:grid!important;
    grid-template-columns:54px 1fr;
    grid-template-areas:
      "avatar user"
      "avatar banner"
      "stats stats"
      "rep rep"
      "badges badges";
    align-items:center;
    gap:5px 10px;
    text-align:left;
  }
  .post-avatar{
    grid-area:avatar;
    width:54px!important;
    height:54px!important;
    margin:0!important;
  }
  .post-user{
    grid-area:user;
    margin:0!important;
    font-size:16px!important;
    line-height:1.2;
  }
  .userbanner{
    grid-area:banner;
    margin:0!important;
    width:max-content;
    max-width:100%;
    border-radius:8px!important;
    padding:4px 8px!important;
  }
  .postbit-line{
    justify-content:flex-start;
    display:inline-flex!important;
    margin:0!important;
    font-size:11.5px!important;
  }
  .postbit-line:nth-of-type(1){grid-area:stats}
  .postbit-line:nth-of-type(2){grid-area:stats;margin-left:118px!important}
  .postbit-line:nth-of-type(3){grid-area:stats;margin-left:205px!important}
  .postbit .rep,.postbit .rep-score{grid-area:rep;max-width:100%;width:100%;margin-top:6px}
  .postbit .user-badges,.postbit .post-badges{grid-area:badges}
  .post-content{
    padding:14px!important;
  }
  .post-meta{
    font-size:12.5px;
  }
}
@media(max-width:600px){
  .topic-hero-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .topic-hero-actions .btn{
    justify-content:center;
    min-width:0;
    width:100%;
    white-space:normal;
  }
  .postbit-sticky-inner{
    grid-template-columns:48px 1fr;
  }
  .post-avatar{width:48px!important;height:48px!important}
  .postbit-line:nth-of-type(2),
  .postbit-line:nth-of-type(3){
    margin-left:0!important;
  }
  .postbit-line{
    margin-right:8px!important;
  }
  .topic-hero-title{font-size:20px!important}
}

/* compact postbit stats wrapper */
.postbit-mini-stats{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:6px}
@media(max-width:900px){
  .postbit-mini-stats{
    grid-area:stats;
    display:flex!important;
    flex-wrap:wrap;
    flex-direction:row!important;
    align-items:center;
    justify-content:flex-start!important;
    gap:6px 10px;
    margin-top:6px;
  }
  .postbit-mini-stats .postbit-line{
    margin:0!important;
    justify-content:flex-start!important;
    white-space:nowrap;
  }
}


/* === 1YZ prefix/title same-line + aligned topic actions + mobile badges row fix === */
.topic-hero-title-row{
  display:flex;
  align-items:center;
  gap:9px;
  flex-wrap:wrap;
  min-width:0;
}
.topic-hero-title-row .topic-prefix,
.topic-hero-title-row .badge-sticky{
  flex:0 0 auto;
  margin:0!important;
  align-self:center;
}
.topic-hero-title-row .topic-hero-title{
  flex:1 1 auto;
  min-width:220px;
  margin:0!important;
}
.topic-hero-actions .report-btn,
.topic-actions .report-btn{
  border:1px solid #d8dee9!important;
  background:#fff!important;
  color:#334155!important;
  padding:8px 12px!important;
  border-radius:9px!important;
  font-size:14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  min-height:38px!important;
  white-space:nowrap!important;
}
.topic-hero-actions .report-btn:hover,
.topic-actions .report-btn:hover{
  border-color:#ffd8c8!important;
  background:#fff7f3!important;
  color:#d9480f!important;
}
.topic-hero-actions{
  align-content:flex-start;
}
.post-user-line{
  display:flex!important;
  align-items:center!important;
  justify-content:center;
  gap:7px;
  min-width:0;
}
.post-user-name{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-badges-mobile{display:none}
.post-badges-desktop{display:block}
.post-badges-mobile .post-badges,
.post-badges-desktop .post-badges{margin:0!important}
@media(max-width:900px){
  .topic-hero-title-row{
    gap:7px;
    align-items:center;
  }
  .topic-hero-title-row .topic-hero-title{
    min-width:0;
    flex:1 1 100%;
    order:3;
  }
  .topic-hero-title-row .topic-prefix,
  .topic-hero-title-row .badge-sticky{
    order:1;
  }
  .topic-hero-actions{
    display:flex!important;
    width:100%;
    justify-content:flex-start!important;
    gap:7px!important;
  }
  .topic-hero-actions .btn,
  .topic-hero-actions .report-btn{
    flex:1 1 calc(50% - 7px);
    min-width:132px;
    height:38px;
    white-space:nowrap!important;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .post-user-line{
    grid-area:user;
    justify-content:flex-start!important;
    width:100%;
  }
  .post-badges-mobile{
    display:inline-flex;
    align-items:center;
    margin-left:auto;
    flex:0 0 auto;
  }
  .post-badges-mobile .post-badges{
    display:flex!important;
    align-items:center;
    justify-content:flex-end!important;
    gap:4px;
    flex-wrap:nowrap!important;
  }
  .post-badges-mobile .user-badge{
    width:23px!important;
    height:23px!important;
    border-radius:7px!important;
    font-size:11px!important;
  }
  .post-badges-desktop{display:none!important}
  .postbit .userbanner{max-width:max-content}
}
@media(max-width:600px){
  .topic-hero-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .topic-hero-actions .btn,
  .topic-hero-actions .report-btn{
    min-width:0;
    width:100%;
    padding:8px 9px!important;
    font-size:12.5px!important;
  }
  .topic-hero-title-row .topic-hero-title{font-size:20px!important;line-height:1.25!important}
}
