
/* Themenansicht / Diskussion */
.topic-link{display:inline-block;text-decoration:none;cursor:pointer}
.topic-link b{transition:color .15s ease}
.topic-link:hover b,.topic-link:focus b{color:#f00}
.topic-view-head{display:flex;flex-direction:column;gap:8px}
.reply-box{margin-top:18px;border-top:1px solid #333}
.reply-box h3{margin:0 0 10px;color:#fff;font-size:16px}
.reply-box textarea{width:100%;min-height:130px;box-sizing:border-box;margin:8px 0 10px}

/* Klassischer Foren-Themenaufbau */
.forum-topic-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:18px 20px;border:1px solid #303030;background:#0c0c0c}
.forum-topic-main{display:flex;align-items:center;gap:15px;min-width:0}
.forum-topic-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;background:#193b9b;color:#fff;font-size:25px}
.forum-topic-titlewrap{min-width:0}
.forum-topic-titlewrap h1{font-size:22px;line-height:1.25;margin:0 0 5px;color:#f2f2f2;font-weight:500}
.forum-topic-by{font-size:11px;color:#888}
.forum-topic-category{font-size:11px;color:var(--r);margin-top:4px}
.forum-topic-stats{display:flex;align-items:center;gap:28px;flex:0 0 auto}
.forum-topic-stats>div{min-width:65px;text-align:center}
.forum-topic-stats b{display:block;font-size:16px;color:#eee}
.forum-topic-stats span{font-size:9px;color:#888}
.topic-answer-top{white-space:nowrap;padding:11px 18px}
.forum-topic-back{padding:9px 0}
.forum-post{margin-top:9px;border:1px solid #303030;background:#0b0b0b;overflow:hidden}
.forum-post-bar{height:34px;background:linear-gradient(90deg,#d20b12,#a90006);display:flex;align-items:center;padding:0 12px;color:#fff;font-size:11px;font-weight:bold}
.forum-post-no{margin-left:auto}
.forum-post-grid{display:grid;grid-template-columns:155px minmax(0,1fr);min-height:190px}
.forum-user-panel{background:#121212;border-right:1px solid #333;padding:14px 10px;text-align:center}
.forum-user-avatar{width:96px;height:96px;margin:0 auto 9px;border-radius:3px;border:1px solid #3d3d3d;background:#1a1a1a;display:grid;place-items:center;color:#ddd;font-size:32px;font-weight:bold;overflow:hidden}
.forum-user-avatar img{width:100%;height:100%;object-fit:cover}
.forum-user-name{display:block;font-weight:bold;color:#f1f1f1;margin-bottom:4px}
.forum-user-role{font-size:10px;color:var(--r);margin-bottom:10px}
.forum-user-meta{font-size:9px;color:#777;line-height:1.7}
.forum-post-content{padding:18px 20px;min-width:0;background:#0d0d0d}
.forum-post-content .postbody{font-size:15px;line-height:1.65;color:#e6e6e6;overflow-wrap:anywhere}.forum-post-content .postbody p{margin:0 0 14px}.forum-post-content .postbody ul,.forum-post-content .postbody ol{padding-left:25px}.forum-post-content .postbody blockquote{margin:12px 0;padding:10px 14px;border-left:3px solid var(--r);background:#151515;color:#bbb}.forum-post-content .postbody pre{padding:12px;background:#151515;border:1px solid #333;overflow:auto;font-family:monospace}.forum-post-content .postbody code{background:#181818;padding:2px 5px;border-radius:2px;font-family:monospace}.forum-post-content .postbody a{color:#e30613}.forum-post-content .postbody img{max-width:100%;height:auto;cursor:zoom-in}.posttool-actions .danger{border-color:#7a0000;color:#ff4b4b}.posttool-actions .danger:hover{border-color:#e30613;background:#260000;color:#fff}
.post-image-wrap{margin-top:16px;display:inline-block;max-width:100%}
.post-image-thumb{display:block;width:180px;height:120px;object-fit:cover;border:1px solid #3b3b3b;border-radius:2px;cursor:zoom-in;background:#111}
.post-image-thumb:hover{border-color:var(--r);filter:brightness(1.08)}
.image-hint{display:block;margin-top:5px;color:#777;font-size:9px}
.forum-post-content .posttools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:10px;border-top:1px solid #222}
.posttool-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
.post-reply-btn{border-color:#555;background:#151515;color:#fff;font-weight:bold;padding:8px 13px}
.post-reply-btn:hover{border-color:var(--r);background:#1b1b1b;color:#fff}
.quick-reply{margin-top:17px;border:1px solid #303030;background:#0c0c0c;padding:0 12px 12px}
.quick-reply-title{color:var(--r);font-size:13px;font-weight:bold;padding:13px 0 10px}
.quick-reply-grid{display:grid;grid-template-columns:155px minmax(0,1fr);gap:10px}
.quick-avatar{margin-top:0;width:70px;height:70px}
.quick-reply-editor{position:relative;border:1px solid #333;background:#111;overflow:visible}
.editor-toolbar{height:38px;display:flex;align-items:center;gap:18px;padding:0 10px;border-bottom:1px solid #333;background:#171717;color:#ccc;font-size:14px}
.editor-toolbar span{min-width:13px;text-align:center}
.quick-reply-editor textarea{display:block;width:100%;min-height:145px;resize:vertical;background:#0b0b0b;color:#eee;border:0;outline:0;padding:13px;font:14px Arial,Helvetica,sans-serif;box-sizing:border-box}
.quick-reply-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px;border-top:1px solid #333;background:#171717}
.attach-btn{position:relative;cursor:pointer}
.attach-btn input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
body.lightbox-open{overflow:hidden}
.image-lightbox{display:none;position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.94);align-items:center;justify-content:center;padding:25px;cursor:zoom-out}
.image-lightbox.show{display:flex}
.image-lightbox img{max-width:92vw;max-height:90vh;object-fit:contain;box-shadow:0 0 35px rgba(0,0,0,.8);cursor:default}
.image-lightbox-close{position:absolute;right:20px;top:10px;border:0;background:transparent;color:#fff;font-size:42px;line-height:1;cursor:pointer;z-index:2}
@media(max-width:750px){
 .forum-topic-header{align-items:flex-start;flex-direction:column}.forum-topic-stats{width:100%;justify-content:space-between;gap:10px}.forum-post-grid,.quick-reply-grid{grid-template-columns:1fr}.forum-user-panel{border-right:0;border-bottom:1px solid #333;text-align:left;display:grid;grid-template-columns:78px 1fr;grid-template-rows:auto auto auto;column-gap:10px}.forum-user-avatar{grid-row:1/4;width:68px;height:68px;margin:0}.forum-user-name,.forum-user-role,.forum-user-meta{align-self:center}.forum-user-meta{font-size:9px}.quick-avatar{display:none}.quick-reply-actions{align-items:stretch;flex-direction:column}.quick-reply-actions .btn{width:100%}.post-image-thumb{width:160px;height:110px}
}

.reply-editor-content{min-height:150px;padding:13px;background:#0b0b0b;color:#eee;outline:0;line-height:1.6;overflow:auto;white-space:normal}.reply-editor-content:empty:before{content:attr(data-placeholder);color:#777;pointer-events:none}.reply-editor-content blockquote{margin:10px 0;padding:10px 14px;border-left:3px solid var(--r);background:#151515;color:#bbb}.reply-editor-content pre{padding:10px;background:#151515;border:1px solid #333;overflow:auto}.editor-tool{min-width:28px;height:30px;padding:3px 7px;border:1px solid transparent;background:transparent;color:#eee;border-radius:3px;cursor:pointer}.editor-tool:hover{border-color:#555;background:#222;color:#fff}.editor-select{display:inline-flex;align-items:center}.editor-select select{height:28px;background:#0d0d0d;color:#eee;border:1px solid #444;border-radius:3px;padding:2px 5px;cursor:pointer}.emoji-picker{position:absolute;left:8px;top:43px;z-index:20;display:grid;grid-template-columns:repeat(7,32px);gap:3px;padding:6px;background:#151515;border:1px solid #444;box-shadow:0 8px 25px #000}.emoji-picker button{width:32px;height:32px;border:1px solid #333;background:#0d0d0d;color:#fff;border-radius:3px;cursor:pointer;font-size:18px}.emoji-picker button:hover{background:#252525;border-color:var(--r)}

/* Themenliste: klassischer Forenaufbau mit Statistik und letztem Beitrag */
.topic-list-header{display:grid;grid-template-columns:minmax(0,1fr) 180px 300px;gap:18px;padding:10px 14px;border-bottom:1px solid #333;color:#888;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.topic-list-header span:nth-child(2){text-align:center}.topic-list-header span:nth-child(3){text-align:right}
.topicrow-modern{display:grid!important;grid-template-columns:minmax(0,1fr) 180px 300px;gap:18px;align-items:center;min-height:74px;padding:10px 14px!important;border-bottom:1px solid #333!important;background:#0e0e0e}
.topicrow-modern:hover{background:#151515}
.topicrow-main{display:flex;align-items:center;min-width:0;gap:12px}.topicrow-icon{width:38px;height:38px;min-width:38px;display:flex;align-items:center;justify-content:center;background:#202020;border:1px solid #444;color:#ddd;font-size:20px}.topicrow-info{min-width:0}.topicrow-info .topic-link{font-size:16px}.topicrow-meta{margin-top:5px;color:#777;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topic-status{color:#d71920;font-weight:700}
.topicrow-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:center;border-left:1px solid #292929;border-right:1px solid #292929;padding:3px 8px}.topicrow-stats div{display:flex;flex-direction:column;gap:4px}.topicrow-stats span{color:#777;font-size:11px}.topicrow-stats b{color:#ddd;font-size:14px;font-weight:500}
.topicrow-last{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.topicrow-last-text{text-align:right;display:flex;flex-direction:column;gap:3px;min-width:0}.topicrow-last-text small{color:#777;font-size:10px}.topicrow-last-text strong{color:#ddd;font-size:12px;font-weight:500;white-space:nowrap}.topicrow-last-text span{color:#888;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.topicrow-avatar{width:40px;height:40px;min-width:40px;border:1px solid #444;background:#1b1b1b;overflow:hidden;display:flex;align-items:center;justify-content:center}.topicrow-avatar img{width:100%;height:100%;object-fit:cover}.topicrow-avatar span{color:#ddd;font-size:18px}
@media(max-width:900px){.topic-list-header{grid-template-columns:minmax(0,1fr) 150px 220px}.topicrow-modern{grid-template-columns:minmax(0,1fr) 150px 220px;gap:10px}.topicrow-info .topic-link{font-size:14px}}
@media(max-width:700px){.topic-list-header{display:none}.topicrow-modern{grid-template-columns:1fr;gap:10px;align-items:stretch}.topicrow-stats{border:0;border-top:1px solid #292929;border-bottom:1px solid #292929;padding:8px}.topicrow-last{justify-content:flex-start}.topicrow-last-text{text-align:left}.topicrow-avatar{order:-1}.topicrow-last{flex-direction:row-reverse;justify-content:flex-end}.topicrow-last-text{flex:1}}

.admin-divider{border:0;border-top:1px solid #292929;margin:22px 0}.footer-admin-col{border:1px solid #292929;background:#101010;padding:14px;border-radius:4px}.footer-admin-col h4{margin:0 0 10px;color:#f4f4f4}.footer-admin-link{border-top:1px solid #252525;margin-top:12px;padding-top:12px}.footer-admin-link label{display:block;margin-top:5px}

/* Modernes Rechtliches-Admin-Design */
.legal-admin-shell{padding:4px 0 18px}
.legal-admin-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;margin-bottom:12px;background:linear-gradient(135deg,#171717,#0d0d0d);border:1px solid #303030;border-radius:6px;border-top:2px solid var(--r)}
.legal-eyebrow{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--r);margin-bottom:7px}
.legal-admin-hero h2{margin:0 0 6px;font-size:24px;letter-spacing:.01em}
.legal-admin-hero p{margin:0;color:#999;font-size:12px;line-height:1.55;max-width:720px}
.legal-admin-notice{display:flex;align-items:flex-start;gap:12px;padding:12px 15px;margin-bottom:14px;background:#15120b;border:1px solid #4d3d1c;border-left:3px solid #c39a38;border-radius:4px;color:#cdbb8b}
.legal-notice-icon{width:22px;height:22px;display:grid;place-items:center;border:1px solid #8f712b;border-radius:50%;font-weight:800;color:#e0bc63;flex:0 0 auto}
.legal-admin-notice b{display:block;color:#eee;font-size:12px;margin-bottom:2px}.legal-admin-notice span{font-size:11px;line-height:1.5}
.legal-admin-grid{display:grid;grid-template-columns:1fr;gap:12px}
.legal-editor-card{background:#111;border:1px solid #303030;border-radius:6px;overflow:hidden;box-shadow:0 8px 28px rgba(0,0,0,.16)}
.legal-editor-head{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 17px;background:linear-gradient(180deg,#181818,#131313);border-bottom:1px solid #292929}
.legal-editor-icon{width:42px;height:42px;display:grid;place-items:center;background:#22090c;border:1px solid #6e2027;color:#ff2734;border-radius:5px;font-size:19px}
.legal-editor-title h3{margin:0 0 4px;font-size:14px;color:#fff;letter-spacing:.02em}.legal-editor-title p{margin:0;color:#888;font-size:10px;line-height:1.45}
.legal-status{font-size:9px;font-weight:800;letter-spacing:.08em;padding:6px 8px;border-radius:3px;white-space:nowrap}.legal-status.is-set{color:#9ad7ad;border:1px solid #315b3d;background:#0f1a12}.legal-status.is-empty{color:#999;border:1px solid #444;background:#151515}
.legal-editor-body{padding:16px 17px 18px;display:grid;gap:14px}
.legal-field label,.legal-upload label{display:flex;align-items:center;gap:7px;color:#bbb;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}.legal-field input,.legal-field textarea{width:100%;box-sizing:border-box;background:#080808;color:#eee;border:1px solid #333;border-radius:4px;padding:11px;outline:none;transition:border-color .15s,box-shadow .15s}.legal-field input:focus,.legal-field textarea:focus{border-color:#777;box-shadow:0 0 0 2px rgba(227,6,19,.1)}.legal-field textarea{min-height:240px;resize:vertical;line-height:1.65}.legal-field small{display:block;color:#666;font-size:9px;margin-top:5px}
.legal-upload{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px;background:#0d0d0d;border:1px solid #292929;border-radius:4px}.legal-upload label span{color:#777;font-weight:500;font-size:8px}.legal-upload small{display:block;color:#777;font-size:9px;word-break:break-all}.legal-upload input[type=file]{max-width:300px;color:#aaa;font-size:10px}
.legal-admin-savebar{position:sticky;bottom:10px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:14px;padding:12px 14px;background:rgba(18,18,18,.96);border:1px solid #3b3b3b;border-left:3px solid var(--r);border-radius:5px;box-shadow:0 12px 35px rgba(0,0,0,.5);backdrop-filter:blur(6px)}.legal-admin-savebar strong{display:block;font-size:12px}.legal-admin-savebar>div:first-child span{display:block;color:#777;font-size:9px;margin-top:3px}.legal-admin-savebar>div:last-child{display:flex;align-items:center;gap:10px}.legal-admin-savebar .error{min-width:0;margin:0}.legal-save-btn{white-space:nowrap}
@media(max-width:700px){.legal-admin-hero{align-items:flex-start;flex-direction:column}.legal-editor-head{grid-template-columns:40px minmax(0,1fr);align-items:start}.legal-status{grid-column:2;justify-self:start}.legal-upload{align-items:flex-start;flex-direction:column}.legal-upload input[type=file]{max-width:100%;width:100%}.legal-admin-savebar{align-items:stretch;flex-direction:column}.legal-admin-savebar>div:last-child{justify-content:space-between}.legal-save-btn{flex:1}}
.footer-pdf-upload{grid-column:1/-1;margin-top:2px;padding:10px 12px;background:#0b0b0b;border:1px dashed #333;border-radius:4px}.footer-pdf-upload label{display:block;color:#9a9a9a;font-size:9px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}.footer-pdf-upload label span{color:#666;margin-left:5px}.footer-pdf-upload input[type=file]{width:100%;color:#bbb;background:#080808;border:1px solid #2d2d2d;padding:8px;font-size:11px}.footer-pdf-upload small{display:block;color:#666;font-size:9px;margin-top:6px;line-height:1.4}
.footer-pdf-manager{margin:16px 0;padding:14px;background:linear-gradient(180deg,#121212,#0b0b0b);border:1px solid #3a3a3a;border-left:2px solid #e50914;border-radius:5px}.footer-pdf-manager-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:4px;border-bottom:1px solid #292929}.footer-pdf-manager-head strong{display:block;color:#f2f2f2;font-size:11px;letter-spacing:.06em}.footer-pdf-manager-head span{display:block;color:#777;font-size:9px;margin-top:4px}.footer-pdf-badge{display:flex!important;align-items:center;justify-content:center;width:34px;height:26px;background:#e50914!important;color:#fff!important;font-size:10px!important;font-weight:800;border-radius:3px;margin:0!important}.footer-pdf-row{display:grid;grid-template-columns:145px 1fr;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #222}.footer-pdf-row:last-child{border-bottom:0}.footer-pdf-name{display:flex;align-items:center;gap:9px;color:#ddd;font-size:11px}.footer-pdf-name b{display:flex;align-items:center;justify-content:center;width:26px;height:24px;border:1px solid #333;border-radius:3px;color:#e50914;font-size:9px}.footer-pdf-file input[type=file]{width:100%;box-sizing:border-box;color:#bbb;background:#080808;border:1px solid #343434;border-radius:3px;padding:7px;font-size:10px}.footer-pdf-file small{display:block;color:#777;font-size:9px;margin-top:5px}.footer-pdf-manager input[type=file]::file-selector-button{background:#e50914;color:#fff;border:0;border-radius:3px;padding:6px 9px;margin-right:8px;font-weight:700;cursor:pointer}@media(max-width:700px){.footer-pdf-row{grid-template-columns:1fr}.footer-pdf-name{margin-bottom:2px}}

/* Separater Admin-Bereich */
.admin-mode .footer{display:none}
.admin-page{padding:18px 0 40px}
.admin-shell{background:linear-gradient(145deg,#0d0d0d,#151515);border:1px solid #2d2d2d;border-top:2px solid var(--r);border-radius:6px;overflow:hidden;min-height:70vh;box-shadow:0 18px 60px rgba(0,0,0,.35)}
.admin-shell-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;border-bottom:1px solid #292929;background:linear-gradient(180deg,#171717,#101010)}
.admin-eyebrow{font-size:10px;color:var(--r);font-weight:800;letter-spacing:.14em;margin-bottom:7px}.admin-shell-top h1{margin:0;font-size:25px;letter-spacing:.03em}.admin-shell-top p{margin:7px 0 0;color:#777;font-size:11px}.admin-close{white-space:nowrap}
.admin-shell .admin-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:13px 15px;border-bottom:1px solid #292929;background:#0b0b0b}.admin-tab{background:#111;color:#ddd;border:1px solid #383838;border-radius:3px;padding:10px 13px;font-size:11px;font-weight:800;cursor:pointer}.admin-tab:hover{border-color:#777;color:#fff}.admin-tab.active{background:var(--r);border-color:var(--r);color:#fff}.admin-tab-primary{border-color:#7a2027}.admin-tab-legal{border-color:#7a2027}.admin-tab-maintenance{border-color:#7a2027;color:#ff7b83}.admin-shell #adminOut{padding:0 20px 24px}.admin-shell .topichead{padding:0}.admin-shell .admin-section{margin-top:16px}
.legal-admin-quick{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0;padding:14px 16px;background:#0e0e0e;border:1px solid #333;border-left:3px solid var(--r);border-radius:5px}.legal-admin-quick strong{display:block;font-size:11px;color:#fff}.legal-admin-quick span{display:block;color:#777;font-size:10px;margin-top:4px}.legal-admin-quick .btn{white-space:nowrap}
@media(max-width:700px){.admin-shell-top{align-items:flex-start;flex-direction:column}.admin-shell .admin-tabs{overflow:auto;flex-wrap:nowrap}.admin-tab{white-space:nowrap}.legal-admin-quick{align-items:flex-start;flex-direction:column}.legal-admin-quick .btn{width:100%}}
.legal-upload-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.legal-delete-pdf{border-color:#6a2525;color:#ff5a5a}.legal-delete-pdf:hover{border-color:#f00;color:#fff;background:#250606}

.footer-pdf-file-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.footer-pdf-delete{white-space:nowrap!important;padding:10px 14px!important;border-color:#e30613!important;color:#fff!important;background:#e30613!important}
.footer-pdf-delete:hover{filter:brightness(1.12)}
/* Zweistufige Forumstruktur */
.subcategory-page{padding:4px 0 18px}.subcategory-intro{display:flex;gap:12px;align-items:center;padding:14px 18px;border-bottom:1px solid #292929;background:#111}.subcategory-intro strong{color:#e30613;font-size:11px;letter-spacing:.5px}.subcategory-intro span{color:#888;font-size:11px}.subcategory-list{display:grid;gap:0}.subcategory-row{display:grid;grid-template-columns:52px minmax(0,1fr) 90px 90px 24px;gap:12px;align-items:center;padding:16px;border-bottom:1px solid #292929;background:#101010}.subcategory-row:hover{background:#171717}.subcategory-icon{width:42px;height:42px;border:1px solid #333;border-radius:50%;display:grid;place-items:center;background:#191919;font-size:19px}.subcategory-info b{display:block;font-size:14px}.subcategory-info small{display:block;color:#888;margin-top:4px}.subcategory-count{text-align:center}.subcategory-count b{display:block}.subcategory-count small{font-size:8px;color:#777}.category-tree-main{margin-bottom:14px}.category-main-row{border-left:3px solid #e30613!important}.category-level-badge{display:block;color:#e30613;font-size:9px;font-weight:700;letter-spacing:.7px;margin-bottom:3px}.category-level-badge.child{color:#888}.category-children{margin-left:28px;border-left:1px solid #333;padding-left:12px}.category-child-row{background:#0e0e0e!important;border-left:2px solid #333!important}.category-child-row:hover{border-left-color:#e30613!important}.category-child-line{color:#e30613;font-size:20px;flex:none}.category-no-children{padding:10px 16px 10px 54px;border:1px dashed #303030;background:#101010;color:#666;font-size:11px}.category-no-children .btn{padding:6px 9px;margin-left:8px;font-size:9px}.category-form select{width:100%;background:#080808;color:#eee;border:1px solid #333;padding:10px}.category-create-box .category-form{grid-template-columns:2fr 1fr 100px 1.6fr}.category-create-box .category-form .full{grid-column:1/-1}@media(max-width:800px){.subcategory-row{grid-template-columns:46px 1fr 70px 70px 20px}.category-children{margin-left:8px;padding-left:6px}.category-create-box .category-form{grid-template-columns:1fr}.category-create-box .category-form .full{grid-column:auto}}

/* Forum-Struktur: Hauptkategorien und Unterkategorien */
.cat-with-children{border:1px solid #292929;border-top:0;background:#111}
.cat-with-children>.cat{border:0}
.cat-subpreview{margin:0 18px 12px 78px;border-left:2px solid #e30613;background:#0d0d0d}
.cat-subitem{display:grid;grid-template-columns:28px minmax(0,1fr) 90px 20px;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid #242424;color:#ddd;text-decoration:none}
.cat-subitem:last-child{border-bottom:0}.cat-subitem:hover{background:#171717}.cat-subicon{width:26px;height:26px;border:1px solid #333;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#e30613;font-size:12px}.cat-subitem b{display:block;font-size:13px;color:#fff}.cat-subitem small{display:block;color:#777;font-size:10px;margin-top:3px}.cat-subcount{font-size:9px;text-transform:uppercase;color:#777;text-align:right}.cat-subitem .arrow{color:#e30613;font-size:24px;text-align:right}
.category-admin-card{border-top:2px solid #e30613}
@media(max-width:800px){.cat-subpreview{margin-left:20px}.cat-subitem{grid-template-columns:28px minmax(0,1fr) 20px}.cat-subcount{display:none}}
.category-create-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.category-create-choice{display:flex;align-items:center;gap:14px;text-align:left;padding:16px;border:1px solid #333;background:#101010;color:#eee;border-radius:4px;cursor:pointer}.category-create-choice:hover{border-color:#e30613;background:#151515}.category-create-main{border-left:3px solid #e30613}.category-create-choice .choice-icon{width:34px;height:34px;display:grid;place-items:center;background:#e30613;color:#fff;font-size:20px;border-radius:3px;flex:none}.category-create-choice b{display:block;font-size:12px}.category-create-choice small{display:block;color:#777;margin-top:4px;font-size:10px}@media(max-width:700px){.category-create-choices{grid-template-columns:1fr}}
.category-create-modal{min-width:min(760px,86vw)}
.category-create-modal h2{margin:6px 0 8px;font-size:22px}
.category-create-modal .category-form{display:grid;grid-template-columns:1.4fr 1fr 110px 1.4fr;gap:14px;margin-top:18px}
.category-create-modal .category-form .full{grid-column:1/-1}
.category-create-modal .category-form input,.category-create-modal .category-form select,.category-create-modal .category-form textarea,.category-parent-fixed{width:100%;box-sizing:border-box;background:#090909;color:#eee;border:1px solid #333;border-radius:3px;padding:11px}
.category-create-modal .category-form textarea{min-height:100px;resize:vertical}
.category-parent-fixed{margin:18px 0 0;border-left:3px solid #e30613}
.category-parent-fixed span{display:block;color:#777;font-size:9px;letter-spacing:.8px}
.category-parent-fixed strong{display:block;margin-top:4px;color:#fff;font-size:14px}
.category-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px;padding-top:16px;border-top:1px solid #292929}
@media(max-width:800px){.category-create-modal .category-form{grid-template-columns:1fr}.category-create-modal .category-form .full{grid-column:auto}.category-modal-actions{flex-wrap:wrap}}
/* Robuste Kategorienanzeige */
#cats{min-height:20px}
#cats .cat{color:#f4f4f4!important;text-decoration:none!important}
#cats .cat .name{color:#fff!important;display:block!important}
.forum-category-section .cat .name{display:block!important}
#cats .cat .desc{color:#888!important;display:block!important}
#cats .cat .icon{color:#e30613!important;display:grid!important}
#cats .cat .count{color:#fff!important;display:block!important}
#cats .cat .arrow{display:block!important;color:#e30613!important}

/* Globale Dialoge: niemals im normalen Seitenfluss/unterhalb der Kategorien anzeigen */
body > #modal,
#modal.modal{position:fixed!important;inset:0!important;z-index:100000!important;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(0,0,0,.82)}
body > #modal.modal.show,
#modal.modal.show{display:flex!important}
body > #modal .dialog,
#modal .dialog{position:relative;width:min(760px,96vw)!important;max-height:90vh!important;overflow:auto;background:#121212!important;border:1px solid #4a4a4a!important;box-shadow:0 25px 90px rgba(0,0,0,.75);border-radius:5px;padding:22px!important}
body > #modal .category-create-modal{min-width:0!important;width:100%}

/* Kategorie-Aktionen: immer über der Zeile klickbar */
.category-admin-row{position:relative}
.category-admin-actions{position:relative;z-index:20;pointer-events:auto}
.category-admin-actions .btn{position:relative;z-index:21;pointer-events:auto;cursor:pointer}

/* Kategorie-Bearbeitung als echtes zentriertes Overlay */
#modal{pointer-events:none!important}
#modal.show{pointer-events:auto!important}
#modal .dialog{pointer-events:auto!important}

/* Forum-Kategorien als getrennte Startseiten-Abschnitte */
.forum-category-section{margin:0 0 28px;border:1px solid #292929;background:#101010}
.forum-category-section-head{padding:18px 22px 14px;border-bottom:1px solid #292929;background:#0d0d0d}
.forum-category-section-head h3{margin:0;color:#f4f4f4;font-size:18px;text-transform:uppercase;letter-spacing:.3px}
.forum-category-section-head p{margin:6px 0 0;color:#777;font-size:12px}
.forum-category-section .cat{border:0;border-bottom:1px solid #292929;background:#111;}
.forum-category-section .cat:last-child{border-bottom:0}
.category-admin-section{margin-top:22px;padding:18px;border:1px solid #292929;background:#101010}
.category-admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.category-admin-section-head h3{margin:0;color:#f4f4f4;font-size:14px;letter-spacing:.6px}
.category-group-admin-block{margin:18px 0;border:1px solid #292929;background:#0d0d0d}
.category-group-admin-title{padding:12px 15px;color:#e30613;font-size:11px;font-weight:800;letter-spacing:1px;border-bottom:1px solid #292929}
.forum-group-admin-row{border-left:3px solid #e30613!important}
.subcategory-admin-row{margin-left:30px;border-left:2px solid #e30613!important;background:#0d0d0d!important}
@media(max-width:800px){.forum-category-section-head{padding:15px}.subcategory-admin-row{margin-left:10px}.category-admin-section{padding:12px}}

.forum-category-empty{padding:22px 18px;color:#777;background:#0d0d0d;border:1px solid #252525;text-transform:uppercase;font-size:10px;letter-spacing:.4px}
/* Symbolauswahl für Forum-Bereiche */
.symbol-picker-field{min-width:0}
.symbol-picker-wrap{position:relative}
.symbol-picker-trigger{width:100%;height:38px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px;background:#090909;color:#fff;border:1px solid #444;border-radius:4px;cursor:pointer;font-size:22px;text-align:left}
.symbol-picker-trigger:hover{border-color:#e30613;background:#101010}
.symbol-picker-preview{display:flex;align-items:center;justify-content:center;width:28px;height:28px}
.symbol-picker-chevron{font-size:12px;color:#888}
.symbol-picker-popover{position:fixed;width:340px;max-width:calc(100vw - 16px);max-height:360px;overflow:auto;background:#111;border:1px solid #444;border-top:2px solid #e30613;border-radius:4px;box-shadow:0 18px 50px rgba(0,0,0,.75);z-index:100010;padding:12px}
.symbol-picker-popover[hidden]{display:none!important}
.symbol-picker-title{font-size:10px;font-weight:800;letter-spacing:1px;color:#e30613;margin-bottom:10px}
.symbol-picker-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:6px}
.symbol-choice{height:38px;border:1px solid #292929;background:#090909;color:#fff;border-radius:3px;cursor:pointer;font-size:21px;display:grid;place-items:center;padding:0}
.symbol-choice:hover{border-color:#e30613;background:#191919;transform:translateY(-1px)}
@media(max-width:500px){.symbol-picker-popover{width:300px}.symbol-picker-grid{grid-template-columns:repeat(6,1fr)}}
.forum-category-section-head{display:flex;align-items:center;gap:12px}
.forum-category-section-icon{width:42px;height:42px;flex:0 0 42px;border:1px solid #333;border-radius:50%;display:grid;place-items:center;background:#191919;font-size:20px}

/* AITRACHBIKES – dunkle Symbolauswahl */
.symbol-picker-field{position:relative}
.symbol-picker-wrap{position:relative;display:block}
.symbol-picker-trigger{appearance:none;-webkit-appearance:none;width:100%;min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 10px;background:#0b0b0b!important;color:#f2f2f2!important;border:1px solid #444!important;border-radius:4px;cursor:pointer;font-size:20px;text-align:left;box-shadow:none}
.symbol-picker-trigger:focus,.symbol-picker-trigger:hover{outline:none;border-color:#e30613!important;background:#111!important}
.symbol-picker-preview{width:30px;height:30px;display:flex;align-items:center;justify-content:center;background:#151515;border:1px solid #333;border-radius:50%;font-size:19px;line-height:1}
.symbol-picker-chevron{color:#999;font-size:11px}
.symbol-picker-popover{position:fixed!important;box-sizing:border-box;width:360px;max-width:calc(100vw - 24px);max-height:390px;overflow:auto;background:#111!important;color:#eee!important;border:1px solid #3a3a3a!important;border-top:2px solid #e30613!important;border-radius:5px;box-shadow:0 20px 60px rgba(0,0,0,.9)!important;padding:14px!important;z-index:2147483647}
.symbol-picker-popover[hidden]{display:none!important}
.symbol-picker-title{margin:0 0 12px;font-size:10px;font-weight:800;letter-spacing:1.3px;color:#e30613!important;text-transform:uppercase}
.symbol-picker-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.symbol-choice{appearance:none;-webkit-appearance:none;width:100%;height:46px!important;margin:0;padding:0;border:1px solid #2d2d2d!important;border-radius:4px;background:#0a0a0a!important;color:#fff!important;display:flex!important;align-items:center;justify-content:center;font-size:23px!important;line-height:1;cursor:pointer;box-shadow:none!important}
.symbol-choice:hover,.symbol-choice:focus{background:#191919!important;border-color:#e30613!important;outline:none;transform:none!important}
@media(max-width:500px){.symbol-picker-popover{width:calc(100vw - 20px);padding:10px!important}.symbol-picker-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.symbol-choice{height:44px!important}}

/* Status controls for forum structure */
.status-badge{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid #444;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.status-badge.active{color:#9ee6b0;border-color:#245b34;background:#102117}.status-badge.inactive{color:#ff8f96;border-color:#6b252a;background:#210f11}.toggle-field{display:flex;align-items:center;gap:8px;margin-top:8px;cursor:pointer}.toggle-field input{accent-color:#e30613;width:16px;height:16px}.toggle-field span{font-size:12px;color:#ddd}
.status-badge{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid #444;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase}.status-badge.active{color:#9ee6b0;border-color:#245b34;background:#102117}.status-badge.inactive{color:#ff8f96;border-color:#6b252a;background:#210f11}.toggle-field{display:flex;align-items:center;gap:8px;margin-top:8px;cursor:pointer}.toggle-field input{accent-color:#e30613;width:16px;height:16px}.toggle-field span{font-size:12px;color:#ddd}

/* Themenaktionen: Antworten + Sperren/Entsperren */
.forum-topic-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-left:12px}
.forum-topic-actions .btn{white-space:nowrap;cursor:pointer;position:relative;z-index:5}
@media(max-width:760px){.forum-topic-actions{width:100%;margin:10px 0 0;justify-content:flex-start}}

/* Themen-Sperrbutton im geöffneten Thema */
.topic-lock-btn{white-space:nowrap;min-width:110px;}
.forum-topic-stats{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;}
@media(max-width:760px){.forum-topic-stats{gap:8px}.topic-lock-btn{min-width:96px}}


/* Moderationsverlauf eines Themas */
.topic-moderation-history{margin:0 0 14px;border:1px solid #2b2b2b;background:#101010;overflow:hidden}
.topic-moderation-history-summary{display:flex;align-items:center;gap:11px;min-height:58px;padding:10px 14px;cursor:pointer;list-style:none;user-select:none;transition:background .15s,border-color .15s}
.topic-moderation-history-summary::-webkit-details-marker{display:none}
.topic-moderation-history-summary:hover{background:#171717}
.topic-moderation-history-icon{width:30px;height:30px;border:1px solid #3a3a3a;border-radius:50%;display:grid;place-items:center;color:#ef0016;font-size:17px;flex:0 0 auto}
.topic-moderation-history-summary-text{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.topic-moderation-history-summary-text strong{font-weight:800;color:#fff;letter-spacing:.08em;font-size:12px}
.topic-moderation-history-summary-text small{color:#777;font-size:10px;letter-spacing:.03em}
.topic-moderation-history-chevron{color:#ef0016;font-size:26px;line-height:1;transform:rotate(0deg);transition:transform .15s}
.topic-moderation-history[open] .topic-moderation-history-chevron{transform:rotate(90deg)}
.topic-moderation-history-list{border-top:1px solid #292929;padding:0 14px 4px}
.topic-moderation-history-row{border-top:1px solid #262626;padding:12px 0}
.topic-moderation-history-row:first-child{border-top:0}
.topic-moderation-history-row strong{display:inline-block;color:#fff;font-size:12px;margin-right:10px}
.topic-moderation-history-row .history-lock{color:#ef0016}
.topic-moderation-history-row .history-unlock{color:#fff}
.topic-moderation-history-meta{color:#888;font-size:11px}
.topic-moderation-history-reason-label{margin-top:8px;color:#666;font-size:9px;font-weight:800;letter-spacing:.08em}
.topic-moderation-history-reason{margin-top:3px;color:#ddd;white-space:pre-wrap;line-height:1.45;font-size:13px}


/* Live-Chat */
.live-chat-page{padding:0}.live-chat-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px;border:1px solid #2e2e2e;border-top:2px solid #e30613;background:linear-gradient(135deg,#171717,#0d0d0d);border-radius:4px;margin-bottom:14px}.live-chat-head .eyebrow{color:#e30613;font-size:10px;font-weight:800;letter-spacing:1px}.live-chat-head h2{margin:5px 0 6px;font-size:25px;color:#fff}.live-chat-head p{margin:0;color:#888}.live-chat-panel{border:1px solid #303030;background:#0d0d0d;overflow:hidden}.live-chat-panel-head{height:58px;padding:0 16px;border-bottom:1px solid #292929;background:#141414;display:flex;align-items:center;justify-content:space-between}.live-chat-panel-head strong{display:block;color:#fff;font-size:13px;letter-spacing:.7px}.live-chat-panel-head small{display:block;color:#777;font-size:10px;margin-top:3px}.live-chat-dot{width:9px;height:9px;border-radius:50%;background:#e30613;box-shadow:0 0 10px rgba(227,6,19,.45)}.live-chat-messages{height:520px;overflow-y:auto;padding:14px;background:#090909}.live-chat-message{display:flex;gap:11px;padding:11px 7px;border-bottom:1px solid #202020}.live-chat-message:last-child{border-bottom:0}.live-chat-avatar{width:38px;height:38px;flex:0 0 38px;border:1px solid #343434;border-radius:50%;background:#181818;color:#ddd;display:flex;align-items:center;justify-content:center;font-weight:800;overflow:hidden}.live-chat-avatar img{width:100%;height:100%;object-fit:cover}.live-chat-body{min-width:0;flex:1}.live-chat-meta{display:flex;align-items:center;gap:9px;margin-bottom:4px}.live-chat-meta strong{color:#fff;font-size:12px}.live-chat-meta span{color:#666;font-size:10px}.live-chat-text{color:#ddd;font-size:13px;line-height:1.5;white-space:pre-wrap;word-break:break-word}.live-chat-compose{border-top:1px solid #292929;background:#121212;padding:12px}.live-chat-compose textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:62px;background:#080808;color:#eee;border:1px solid #333;padding:10px;font:inherit}.live-chat-compose textarea:focus{outline:1px solid #e30613;border-color:#e30613}.live-chat-compose-foot{display:flex;align-items:center;gap:10px;margin-top:8px}.live-chat-compose-foot small{color:#666;flex:1}.live-chat-error{color:#e30613;font-size:11px;min-height:14px}.live-chat-login{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#888}.live-chat-login span{font-size:12px}@media(max-width:700px){.live-chat-head{flex-direction:column}.live-chat-messages{height:60vh}.live-chat-compose-foot{flex-wrap:wrap}.live-chat-compose-foot small{order:3;width:100%}}

.site-header-image-manager{margin-top:14px;padding:15px;background:#101010;border:1px solid #2d2d2d;border-left:3px solid #e30613}.site-header-image-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.site-header-image-head strong{display:block;color:#fff;font-size:12px;letter-spacing:.05em}.site-header-image-head span{display:block;color:#777;font-size:10px;margin-top:4px;line-height:1.5}.site-header-image-badge{padding:5px 8px!important;border:1px solid #444;color:#e30613!important;font-size:9px!important;white-space:nowrap}.site-header-image-preview{margin:12px 0;border:1px solid #2c2c2c;background:#080808;height:150px;overflow:hidden}.site-header-image-preview img{width:100%;height:100%;object-fit:cover;display:block}.site-header-image-empty{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#666;font-size:12px;letter-spacing:.08em;background:#080808}.site-header-image-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.site-header-image-actions input[type=file]{max-width:100%;color:#999;font-size:11px}.site-header-image-actions input[type=file]::file-selector-button{background:#171717;color:#eee;border:1px solid #444;padding:8px 10px;margin-right:8px;cursor:pointer}.site-header-image-manager>small{display:block;margin-top:9px}@media(max-width:700px){.site-header-image-preview{height:110px}.site-header-image-head{flex-direction:column}.site-header-image-actions{align-items:stretch;flex-direction:column}.site-header-image-actions .btn{width:100%}}
/* Hauptkategorien deutlich hervorheben */
.forum-category-section .cat.main-category-only{
  position:relative;
  background:linear-gradient(90deg,#171717 0%,#121212 55%,#101010 100%);
  border-left:3px solid #e30613;
  min-height:82px;
  padding:14px 16px 14px 13px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
.forum-category-section .cat.main-category-only:hover{
  background:linear-gradient(90deg,#1d1d1d 0%,#151515 55%,#111 100%);
  border-left-color:#ff2734;
}
.forum-category-section .cat.main-category-only .icon{
  width:50px;height:50px;
  border-color:#4a4a4a;
  box-shadow:0 0 0 1px rgba(227,6,19,.18);
}
.forum-category-section .cat.main-category-only .name{
  font-weight:800;
  letter-spacing:.1px;
}
.forum-category-section .cat.main-category-only .count b{color:#fff;font-size:15px}
.forum-category-section .cat.main-category-only .arrow{font-weight:700}
@media(max-width:1000px){.forum-category-section .cat.main-category-only{min-height:76px;padding-left:10px}.forum-category-section .cat.main-category-only .icon{width:46px;height:46px}}
/* Hauptkategorien deutlich hervorheben */
.forum-category-section .cat.main-category-only{position:relative;background:linear-gradient(90deg,#171717 0%,#121212 55%,#101010 100%);border-left:3px solid #e30613;min-height:82px;padding:14px 16px 14px 13px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.forum-category-section .cat.main-category-only:hover{background:linear-gradient(90deg,#1d1d1d 0%,#151515 55%,#111 100%);border-left-color:#ff2734}
.forum-category-section .cat.main-category-only .icon{width:50px;height:50px;border-color:#4a4a4a;box-shadow:0 0 0 1px rgba(227,6,19,.18)}
.forum-category-section .cat.main-category-only .name{font-weight:800;letter-spacing:.1px}
.forum-category-section .cat.main-category-only .count b{color:#fff;font-size:15px}
.forum-category-section .cat.main-category-only .arrow{font-weight:700}
@media(max-width:1000px){.forum-category-section .cat.main-category-only{min-height:76px;padding-left:10px}.forum-category-section .cat.main-category-only .icon{width:46px;height:46px}}

/* Individuelle Farbe der Forum-Kategorie-Überschrift */
.forum-category-section-head h3{transition:color .15s ease}
.category-create-modal input[type=color]{width:100%;min-height:42px;padding:4px;background:#080808;border:1px solid #333;cursor:pointer}
.category-create-modal input[type=color]:focus{outline:1px solid #e30613;border-color:#e30613}

/* Kompakter, moderner Themen-Löschbutton */
.topic-list-delete{
  width:118px;
  min-width:118px;
  min-height:36px;
  padding:6px 8px !important;
  margin:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.15;
  font-size:9px !important;
  font-weight:700;
  letter-spacing:.2px;
  border:1px solid #9b1f28 !important;
  border-radius:4px;
  background:rgba(227,6,19,.04);
  color:#ff5b65;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.topic-list-delete:hover{
  background:rgba(227,6,19,.14);
  border-color:#e30613 !important;
  color:#fff;
  transform:translateY(-1px);
}
.topic-list-delete:active{transform:translateY(0)}
.topic-list-delete:focus-visible{outline:1px solid #e30613;outline-offset:2px}
@media(max-width:700px){
  .topic-list-delete{width:104px;min-width:104px;font-size:8px !important;padding:6px !important}
}

/* TOP-EVENTS */
.top-events-section{padding:18px 20px 20px;border-top:2px solid #e30613}.top-events-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.top-events-head .title{margin:0 0 3px;color:#e30613;font-size:12px;font-weight:800;text-transform:uppercase}.top-events-head>div>span{color:#777;font-size:11px}.top-events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.top-event-card{position:relative;min-height:145px;padding:16px;border:1px solid #3a3a3a;border-left:3px solid #e30613;background:linear-gradient(135deg,#171717,#101010);cursor:pointer;transition:.18s ease;box-sizing:border-box}.top-event-card:hover{border-color:#e30613;transform:translateY(-2px);box-shadow:0 7px 20px rgba(0,0,0,.35)}.top-event-badge{display:inline-block;padding:4px 7px;background:#e30613;color:#fff;font-size:9px;font-weight:800;letter-spacing:.7px}.top-event-date{margin-top:11px;color:#aaa;font-size:10px}.top-event-card h3{margin:7px 0 5px;color:#fff;font-size:17px}.top-event-location{font-size:11px;color:#bbb}.top-event-card p{margin:8px 0 0;color:#777;font-size:11px;line-height:1.45}.top-event-empty{padding:16px;border:1px dashed #333;text-align:center}.cal-event-top{border-color:#e30613!important;background:rgba(227,6,19,.08)!important}.cal-top-badge{display:inline-block;color:#e30613;font-size:8px;font-weight:800;letter-spacing:.5px;margin-right:6px}.top-event-option{grid-column:1/-1;position:relative;margin-top:6px;padding:15px 16px 14px;border:1px solid #7f171d;border-left:4px solid #e30613;background:linear-gradient(135deg,#241012,#151515);border-radius:4px;box-shadow:0 0 0 1px rgba(227,6,19,.08),0 5px 18px rgba(0,0,0,.25)}.top-event-option:before{content:"★ TOP-EVENT";display:inline-block;margin-bottom:9px;padding:4px 8px;background:#e30613;color:#fff;font-size:9px;font-weight:800;letter-spacing:.8px;border-radius:2px}.top-event-option label{display:flex;align-items:flex-start;gap:10px;color:#fff;font-weight:700;cursor:pointer;line-height:1.35}.top-event-option input{width:18px!important;height:18px;margin:1px 0 0!important;flex:0 0 18px;accent-color:#e30613;cursor:pointer}.top-event-option strong{color:#fff;font-size:13px}.top-event-option small{display:block;color:#aaa;font-size:10px;font-weight:400;margin:5px 0 0 28px;line-height:1.5}.top-event-option:has(input:checked){border-color:#e30613;background:linear-gradient(135deg,#3a0d12,#171717);box-shadow:0 0 0 1px rgba(227,6,19,.22),0 6px 22px rgba(227,6,19,.10)}.top-event-option:has(input:checked) strong{color:#ff2734}@media(max-width:700px){.top-event-option{grid-column:auto}}.top-event-detail-badge{display:inline-block;padding:5px 8px;background:#e30613;color:#fff;font-size:10px;font-weight:800;letter-spacing:.7px;margin-bottom:8px}@media(max-width:800px){.top-events-grid{grid-template-columns:1fr}.top-events-head{align-items:flex-start;flex-direction:column}.top-event-card{min-height:0}}
.calendar-date-time{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:7px;align-items:center}.calendar-date-time input{min-width:0}.calendar-date-time span{grid-column:1/-1;color:#777;font-size:10px;margin-top:-2px}.all-day-option{margin-top:4px;padding:13px 15px;border:1px solid #333;border-left:3px solid #555;background:#171717;border-radius:4px}.all-day-option label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.all-day-option input{width:18px!important;height:18px;margin:1px 0 0!important;accent-color:#e30613;cursor:pointer;flex:0 0 18px}.all-day-option strong{display:block;color:#fff;font-size:12px;letter-spacing:.3px}.all-day-option small{display:block;color:#999;font-size:10px;font-weight:400;margin-top:4px;line-height:1.45}.all-day-option:has(input:checked){border-color:#555;background:#1b1b1b}.calendar-date-time input:disabled{opacity:.45;cursor:not-allowed}@media(max-width:700px){.calendar-date-time{grid-template-columns:1fr 1fr}.calendar-date-time span{grid-column:1/-1}}

/* Pflichtbegründung beim Sperren/Entsperren eines Themas */
.topic-lock-reason-form{min-width:min(560px,86vw)}
.topic-lock-reason-badge{display:inline-block;margin-bottom:10px;padding:6px 10px;border:1px solid #e30613;background:rgba(227,6,19,.10);color:#e30613;font-size:11px;font-weight:800;letter-spacing:.5px}
.topic-lock-reason-required{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 7px;color:#fff;font-size:12px}
.topic-lock-reason-required span{color:#e30613;font-size:10px;text-transform:uppercase;letter-spacing:.5px}
#topicLockReason{width:100%;min-height:120px;box-sizing:border-box;background:#080808;border:1px solid #444;color:#fff;padding:12px;resize:vertical;outline:none}
#topicLockReason:focus{border-color:#e30613;box-shadow:0 0 0 2px rgba(227,6,19,.12)}

/* Pflichtbegründung beim Sperren/Entsperren */
.topic-lock-reason-form{min-width:min(560px,86vw)}
.topic-lock-reason-badge{display:inline-block;margin-bottom:10px;padding:6px 10px;border:1px solid #e30613;background:rgba(227,6,19,.10);color:#e30613;font-size:11px;font-weight:800;letter-spacing:.5px}
.topic-lock-reason-required{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 7px;color:#fff;font-size:12px}
.topic-lock-reason-required span{color:#e30613;font-size:10px;text-transform:uppercase;letter-spacing:.5px}
#topicLockReason{width:100%;min-height:120px;box-sizing:border-box;background:#080808;border:1px solid #444;color:#fff;padding:12px;resize:vertical;outline:none}
#topicLockReason:focus{border-color:#e30613;box-shadow:0 0 0 2px rgba(227,6,19,.12)}

/* Schreibbann: Stunden + Live-Countdown */
.admin-ban-countdown{display:inline-flex;align-items:center;margin-left:6px;padding:3px 7px;border:1px solid #6d252b;border-radius:999px;background:rgba(227,6,19,.08);color:#ff7b83;font-size:9px;font-weight:800;letter-spacing:.35px;white-space:nowrap}
.admin-ban-countdown-large{margin:7px 0 0;width:max-content;font-size:10px;padding:5px 9px}
.admin-ban-countdown.unlimited{color:#aaa;border-color:#444;background:#171717}
.admin-ban-status-field{display:flex;flex-direction:column;align-items:flex-start}
.admin-ban-modal{min-width:min(620px,88vw)}
.admin-ban-modal-head{display:flex;align-items:flex-start;gap:14px;padding-bottom:16px;border-bottom:1px solid #292929}
.admin-ban-modal-head h2{margin:4px 0 6px;color:#fff;font-size:22px}
.admin-ban-modal-head p{margin:0;color:#888;font-size:11px;line-height:1.5}
.admin-ban-info{margin:15px 0;padding:12px 14px;border:1px solid #314d70;border-left:3px solid #4c8bd9;background:#111b28;color:#a9c7e8;font-size:11px;line-height:1.5}
.admin-ban-modal label{display:block;margin:12px 0 6px;color:#999;font-size:10px;text-transform:uppercase;letter-spacing:.45px}
.admin-ban-modal input,.admin-ban-modal select,.admin-ban-modal textarea{width:100%;box-sizing:border-box;background:#090909!important;color:#eee!important;border:1px solid #3a3a3a!important;border-radius:4px;padding:11px!important;outline:none}
.admin-ban-modal input:focus,.admin-ban-modal select:focus,.admin-ban-modal textarea:focus{border-color:#e30613!important;box-shadow:0 0 0 2px rgba(227,6,19,.12)}
.admin-ban-modal textarea{min-height:130px;resize:vertical}
.admin-ban-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:18px;padding-top:15px;border-top:1px solid #292929}
@media(max-width:700px){.admin-ban-modal{min-width:0}.admin-ban-modal-head{gap:8px}.admin-ban-actions{flex-wrap:wrap}.admin-ban-actions .btn{flex:1}}


/* Private Nachrichten */
.pm-nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 5px;border-radius:999px;background:#e30613;color:#fff;font-size:9px;font-weight:800;vertical-align:middle;margin-left:4px}
#messagesNav.has-new-messages{color:#fff;font-weight:800}
#messagesNav.has-new-messages .pm-nav-new{animation:pmPulse 1.5s ease-in-out infinite;box-shadow:0 0 10px rgba(227,6,19,.45)}
.pm-nav-new{min-width:auto;padding:2px 7px}
@keyframes pmPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}}
.private-messages-page{padding:0}.private-messages-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px;border:1px solid #2c2c2c;border-top:2px solid #e30613;background:linear-gradient(135deg,#171717,#0d0d0d);border-radius:4px;margin-bottom:12px}.private-messages-head h2{margin:4px 0 6px;color:#fff}.private-messages-head p{margin:0;color:#888;font-size:11px}.private-messages-head-actions{display:flex;gap:7px;flex-wrap:wrap}.private-messages-panel{border:1px solid #2b2b2b;background:#0d0d0d;border-radius:4px;overflow:hidden}.pm-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 16px;background:#101010;color:#ddd;border:0;border-bottom:1px solid #252525;cursor:pointer}.pm-row:hover{background:#161616}.pm-row.unread{background:linear-gradient(90deg,rgba(227,6,19,.10),#101010)}.pm-row-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid #333;border-radius:50%;background:#171717;flex:0 0 32px}.pm-row-main{display:flex;flex-direction:column;min-width:0;flex:1;gap:3px}.pm-row-main strong{color:#fff;font-size:12px}.pm-row-main small{color:#777;font-size:9px}.pm-row-main span{color:#aaa;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pm-unread-dot{font-size:8px;color:#fff;background:#e30613;border-radius:999px;padding:4px 7px}.pm-empty{padding:45px 20px;text-align:center;color:#777}.pm-empty div{font-size:30px;margin-bottom:8px}.pm-empty strong{display:block;color:#ddd;font-size:12px}.pm-empty span{display:block;margin-top:5px;font-size:10px}.pm-detail{width:min(680px,100%)}.pm-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:14px;border-bottom:1px solid #2b2b2b}.pm-detail-head h2{margin:4px 0}.pm-detail-body{margin-top:16px;padding:16px;background:#0b0b0b;border:1px solid #2b2b2b;border-radius:4px;color:#ddd;line-height:1.7;white-space:normal;word-break:break-word;min-height:120px}.pm-detail-actions,.pm-compose-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}.pm-compose{width:min(680px,100%)}.pm-compose label{display:block;margin-top:10px}.pm-compose input,.pm-compose textarea,.pm-compose select{width:100%;box-sizing:border-box;background:#080808;color:#eee;border:1px solid #333;border-radius:3px;padding:11px;margin-top:5px}.pm-compose textarea{min-height:180px;resize:vertical}.pm-compose input:focus,.pm-compose textarea:focus,.pm-compose select:focus{outline:1px solid #e30613;border-color:#e30613}@media(max-width:700px){.private-messages-head{flex-direction:column}.pm-row{padding:12px}.pm-row-main span{display:none}}

.top-messages-btn{border-color:#3d3d3d;position:relative}.top-messages-btn:hover{border-color:#e30613;color:#fff}.top-messages-btn .pm-nav-badge{margin-left:5px}.member-list-row{align-items:center}.member-message-btn{margin-left:auto;flex:0 0 auto}@media(max-width:650px){.top-messages-btn{font-size:10px;padding:8px 10px}.member-list-row{align-items:flex-start}.member-message-btn{margin-top:2px}}

/* Private Nachrichten: Navigation garantiert klickbar */
#messagesNav{position:relative;z-index:30;pointer-events:auto!important;cursor:pointer!important;user-select:none}
#messagesNav[aria-disabled="true"]{pointer-events:none!important;cursor:default!important}
#messagesNav:hover{color:#e30613}
.pm-nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;margin-left:5px;padding:0 5px;border-radius:9px;background:#e30613;color:#fff;font-size:9px;font-weight:800}

/* Private Nachrichten – getrennte Bereiche für Eingang und Gesendet */
.pm-tabs{display:flex;gap:6px;margin:0 0 10px;padding:0 2px}
.pm-tab{appearance:none;border:1px solid #303030;background:#101010;color:#999;border-radius:4px;padding:10px 15px;font:700 11px Arial,sans-serif;cursor:pointer;transition:.15s ease}
.pm-tab:hover{border-color:#555;color:#fff}
.pm-tab.active{background:#e30613;border-color:#e30613;color:#fff}
.pm-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;margin-left:5px;padding:0 4px;border-radius:9px;background:rgba(255,255,255,.14);font-size:9px}
.pm-folder{display:none}
.pm-folder.active{display:block}
.pm-folder-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid #292929;background:linear-gradient(90deg,#141414,#0d0d0d)}
.pm-folder-head>div{display:flex;flex-direction:column;gap:3px}
.pm-folder-head strong{font-size:11px;color:#fff;letter-spacing:.2px}
.pm-folder-head span{font-size:9px;color:#777;font-weight:400}
.pm-folder-head>b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;padding:0 7px;border:1px solid #333;border-radius:999px;color:#aaa;font-size:9px}
@media(max-width:600px){.pm-tabs{width:100%}.pm-tab{flex:1;padding:9px 8px}.pm-folder-head{align-items:flex-start}}
/* Private Nachrichten: Papierkorb */
.pm-row-wrap{display:flex;align-items:stretch;border-bottom:1px solid #252525;background:#101010}
.pm-row-wrap .pm-row{border-bottom:0;flex:1;min-width:0}
.pm-delete-btn{width:46px;flex:0 0 46px;border:0;border-left:1px solid #2b2b2b;background:#101010;color:#777;cursor:pointer;font-size:15px}
.pm-delete-btn:hover{background:#1b1b1b;color:#e30613}
.pm-folder-head .btn{font-size:9px;padding:7px 10px}
@media(max-width:600px){.pm-delete-btn{width:40px;flex-basis:40px}.pm-folder-head{align-items:flex-start;flex-wrap:wrap}}
/* Private Nachrichten: eigener, vollwertiger Seitenbereich */
.messages-page-standalone{width:100%;box-sizing:border-box;margin:0 0 22px;padding:0;}
.messages-page-standalone .private-messages-page{width:100%;box-sizing:border-box;}
.messages-page-standalone .private-messages-head{min-height:92px;}
@media(max-width:700px){.messages-page-standalone{margin-bottom:14px;}}

/* Private Nachrichten: Nur TOP-EVENTS und FORUM KATEGORIEN ausblenden.
   Die linke Community-Spalte, die Sidebar und alle übrigen Bereiche bleiben sichtbar. */
body.messages-open #homeHero,
body.messages-open #topEventsSection,
body.messages-open #homeStats,
body.messages-open #forumCategoriesSection{display:none!important}
body.messages-open #messagesPage{display:block!important;width:100%;box-sizing:border-box;margin:0 0 22px}
body.messages-open #publicGrid{display:grid!important}
body.messages-open #publicGrid > aside{display:flex!important;min-width:0}

.search-result-section{border-top:1px solid var(--l);padding-bottom:6px}.search-result-title{padding:12px 18px 8px;color:var(--r);font-size:11px;font-weight:700}.search-user-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.search-user-row>a{flex:1}.search-user-row .member-message-btn{flex:0 0 auto}


/* Aktive Mitglieder: feste, sichtbare Rollengruppen */
.sidebar-members-box #activeMembers{display:block;width:100%;}
.sidebar-member-group{display:block;width:100%;margin:0;padding:0 0 6px;}
.sidebar-member-group + .sidebar-member-group{border-top:1px solid var(--l);margin-top:4px;padding-top:6px;}
.sidebar-member-group-title{display:block;width:100%;box-sizing:border-box;padding:4px 0 5px;color:var(--r);font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;}
.sidebar-member-group .sidebar-member-link{padding:6px 0;}

/* Aktive Mitglieder: direkt zum Profil */
.sidebar-member-link{display:flex;align-items:center;text-decoration:none;color:inherit;cursor:pointer;border-radius:8px;padding:4px 6px;margin:-4px -6px;transition:background .15s ease,transform .15s ease;}
.sidebar-member-link:hover{background:rgba(255,255,255,.04);}
.sidebar-member-link:hover .sidebar-member-name{text-decoration:underline;}
.sidebar-member-link:focus-visible{outline:1px solid #ed0016;outline-offset:2px;}

/* Aktive Mitglieder: Sidebar-Profilzugriff garantiert klickbar */
.sidebar-members-box{position:relative;z-index:5}
.sidebar-members-box .sidebar-member-link{position:relative;z-index:6;width:100%;display:flex;align-items:center;gap:9px;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;pointer-events:auto!important;padding:5px 0;margin:0}
.sidebar-members-box .sidebar-member-link *{pointer-events:none}
.sidebar-members-box .sidebar-member-link:hover{background:rgba(255,255,255,.04)}
/* Sidebar: aktive Mitglieder als sauber gestaltete, vollflächig klickbare Einträge */
.sidebar-members-box .sidebar-member-link,
.sidebar-members-box button.sidebar-member-link{
  width:100%;
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
  padding:7px 0;
  margin:0;
  background:transparent;
  border:0;
  border-radius:3px;
  color:inherit;
  text-align:left;
  appearance:none;
  -webkit-appearance:none;
  cursor:pointer;
  box-shadow:none;
  line-height:normal;
}
.sidebar-members-box .sidebar-member-link:hover{
  background:#171717;
}
.sidebar-members-box .sidebar-member-link:focus-visible{
  outline:1px solid var(--r);
  outline-offset:2px;
}
.sidebar-members-box .sidebar-member-link > span:last-child{
  min-width:0;
  flex:1;
  display:block;
}
.sidebar-members-box .sidebar-member-name{
  display:block;
  font-size:11px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.sidebar-members-box .sidebar-member-role{
  display:block;
  margin-top:2px;
  font-size:9px;
  line-height:1.2;
  color:#888;
  white-space:nowrap;
}
.sidebar-members-box .sidebar-member-link .avatar{
  flex:0 0 32px;
}

/* FINAL SIDEBAR MEMBER DESIGN FIX: no native button styling */
.sidebar-members-box .sidebar-member-link {
  box-sizing:border-box !important;
  width:100% !important;
  min-height:42px !important;
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  padding:5px 0 !important;
  margin:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  color:#f4f4f4 !important;
  border:0 !important;
  border-radius:3px !important;
  box-shadow:none !important;
  outline:none;
  text-align:left !important;
  cursor:pointer;
  appearance:none !important;
  -webkit-appearance:none !important;
  font:inherit !important;
  line-height:1.2 !important;
}
.sidebar-members-box .sidebar-member-link:hover { background:#171717 !important; }
.sidebar-members-box .sidebar-member-link:focus-visible { outline:1px solid #e30613 !important; outline-offset:2px; }
.sidebar-members-box .sidebar-member-link > .avatar {
  width:32px !important; height:32px !important; flex:0 0 32px !important;
}
.sidebar-members-box .sidebar-member-text {
  display:flex !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  gap:0 !important;
  line-height:1 !important;
}
.sidebar-members-box .sidebar-member-name {
  display:block !important; width:100% !important;
  color:#f4f4f4 !important; font-size:11px !important; font-weight:700 !important;
  line-height:14px !important; white-space:nowrap !important;
  overflow:hidden !important; text-overflow:ellipsis !important;
}
.sidebar-members-box .sidebar-member-role {
  display:block !important; width:100% !important;
  margin:2px 0 0 !important; padding:0 !important;
  color:#888 !important; font-size:9px !important; font-weight:400 !important;
  line-height:11px !important; white-space:nowrap !important;
  overflow:hidden !important; text-overflow:ellipsis !important;
}
.sidebar-members-box .sidebar-member-link .online-dot {
  display:inline-block !important; width:6px !important; height:6px !important;
  flex:0 0 6px !important; margin:0 4px 0 0 !important; vertical-align:middle !important;
}
.sidebar-members-box .sidebar-member-link * { pointer-events:none !important; }

/* Moderationshinweis für den aktuell betroffenen Benutzer */
.own-moderation-status{margin:0 0 14px;padding:14px 16px;border:1px solid #e30613;border-left:4px solid #e30613;border-radius:4px;background:#16090b;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.own-moderation-status.account{border-color:#ff2734;background:#1b080a}
.own-moderation-status-title{font-weight:800;color:#fff;font-size:13px;letter-spacing:.2px;margin-bottom:5px}
.own-moderation-status-text,.own-moderation-status-reason{color:#bdbdbd;font-size:12px;line-height:1.55}
.own-moderation-status-time{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:6px 9px;border:1px solid #6f1b22;border-radius:999px;color:#fff;background:#210b0d;font-size:12px}
.own-moderation-status-time strong{color:#fff;font-variant-numeric:tabular-nums;letter-spacing:.4px}
.own-moderation-status-reason{margin-top:8px;color:#d2d2d2}

/* Beitragsmeldungen */
.post-report-btn{border-color:#6d2b2f!important;color:#ff9a9f!important;background:#160b0c!important}
.post-report-btn:hover{border-color:#e30613!important;color:#fff!important;background:#2a0d10!important}
.report-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.report-modal-head h2{margin:4px 0 6px}
.report-modal-head p{margin:0;color:#999;font-size:13px;line-height:1.5}
.report-context{padding:12px 14px;margin:0 0 16px;border:1px solid #292929;background:#0b0b0b;display:flex;flex-direction:column;gap:4px}
.report-context span,.report-modal-footer small{font-size:10px;letter-spacing:.8px;text-transform:uppercase}
.report-context strong{color:#eee;font-size:13px}
#reportReason{width:100%;min-height:150px;box-sizing:border-box;resize:vertical;margin-top:7px;background:#090909;color:#eee;border:1px solid #444;border-radius:4px;padding:11px 12px;font:inherit;line-height:1.5}
#reportReason:focus{outline:none;border-color:#e30613;box-shadow:0 0 0 2px rgba(227,6,19,.1)}
.report-modal-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-top:14px}
.report-modal-footer>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.admin-report-stat{border-color:#6d2b2f!important}
.report-admin-section .admin-section-head{margin-bottom:14px}
.admin-report-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid #292929}
.admin-report-filter.active{border-color:#e30613!important;color:#fff!important;background:#2a0b0e!important}
.admin-report-row{border:1px solid #292929;background:#101010;margin:0 0 12px;padding:16px}
.admin-report-row.open{border-left:3px solid #e30613}
.admin-report-row.resolved{border-left:3px solid #39734a}
.admin-report-row.dismissed{border-left:3px solid #555}
.admin-report-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid #252525}
.admin-report-number{font-size:11px;font-weight:800;letter-spacing:1px;color:#eee;margin-right:9px}
.admin-report-status{display:inline-flex;padding:3px 7px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.7px}
.admin-report-status.open{color:#ff9a9f;background:#260d10;border:1px solid #6d2b2f}
.admin-report-status.resolved{color:#9ee6b0;background:#102117;border:1px solid #245b34}
.admin-report-status.dismissed{color:#aaa;background:#181818;border:1px solid #444}
.admin-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 0}
.admin-report-grid>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.admin-report-label{display:block;font-size:9px;font-weight:800;letter-spacing:1px;color:#777;text-transform:uppercase;margin-bottom:5px}
.admin-report-grid strong,.admin-report-grid a{font-size:12px;color:#eee;overflow-wrap:anywhere}
.admin-report-grid a{color:#ff858b;text-decoration:none}
.admin-report-reason,.admin-report-post{padding:12px;margin-top:8px;background:#0b0b0b;border:1px solid #252525}
.admin-report-reason>div,.admin-report-post>div{white-space:pre-wrap;line-height:1.55;color:#ddd;font-size:13px;overflow-wrap:anywhere}
.admin-report-post>div{color:#999}
.admin-report-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:14px}
.admin-report-actions small{margin-left:auto}
@media(max-width:800px){.admin-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-modal-footer{flex-direction:column;align-items:stretch}.report-modal-footer>div{justify-content:flex-start}}
@media(max-width:500px){.admin-report-grid{grid-template-columns:1fr}.admin-report-head{align-items:flex-start;flex-direction:column}.report-modal-head{gap:8px}.report-modal-footer>div{width:100%}.report-modal-footer>div .btn{flex:1}}


/* FINAL: Beitragsmeldungen in der rechten Sidebar */
#sidebarReportsBox.sidebar-reports-box.sidebar-reports-hidden{display:none!important}
#sidebarReportsBox.sidebar-reports-box{
  width:100%!important;
  box-sizing:border-box!important;
  position:relative!important;
  overflow:hidden!important;
  padding:12px!important;
  margin:0 0 12px!important;
  border:1px solid #343434!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#151515 0%,#0b0b0b 100%)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.34)!important;
}
#sidebarReportsBox.sidebar-reports-box::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  border:1px solid rgba(227,6,19,.18)!important;
  border-radius:10px!important;
}
#sidebarReportsBox.sidebar-reports-box.alert{
  animation:sidebarReportAlert 0.8s ease-in-out 0s 4!important;
}
@keyframes sidebarReportAlert{
  0%,100%{border-color:#343434;box-shadow:0 8px 24px rgba(0,0,0,.34)}
  20%,55%{border-color:#e30613;box-shadow:0 0 8px rgba(227,6,19,.5),0 0 25px rgba(227,6,19,.28),0 8px 24px rgba(0,0,0,.45)}
  38%,75%{border-color:#6f0006;box-shadow:0 0 3px rgba(227,6,19,.2),0 8px 24px rgba(0,0,0,.38)}
}
#sidebarReportsBox .sidebar-report-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-height:31px!important;
  box-sizing:border-box!important;
  gap:8px!important;
  border-bottom:1px solid #292929!important;
  padding:0 2px 9px!important;
  margin:0 0 9px!important;
}
#sidebarReportsBox .sidebar-report-title-wrap{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
#sidebarReportsBox .sidebar-report-head h3{
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  color:#f2f2f2!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:800!important;
  letter-spacing:.05em!important;
  white-space:nowrap!important;
}
#sidebarReportsBox .sidebar-report-flag{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  border-radius:50%!important;
  background:#2b0d0f!important;
  border:1px solid #65151a!important;
  color:#e30613!important;
  font-size:13px!important;
  line-height:1!important;
}
#sidebarReportsBox .sidebar-report-badge{
  min-width:25px!important;
  width:25px!important;
  height:25px!important;
  flex:0 0 25px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  border-radius:50%!important;
  background:#e30613!important;
  color:#fff!important;
  border:0!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:900!important;
  box-shadow:0 0 0 2px #24090b!important;
}
#sidebarReportsBox #sidebarReports{
  display:flex!important;
  flex-direction:column!important;
  width:100%!important;
  min-width:0!important;
  gap:7px!important;
}
#sidebarReportsBox .sidebar-report-item{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:9px 10px!important;
  margin:0!important;
  border:1px solid #303030!important;
  border-left:3px solid #e30613!important;
  border-radius:7px!important;
  background:#111!important;
  color:#eee!important;
  text-align:left!important;
  text-decoration:none!important;
  cursor:pointer!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  font:inherit!important;
  line-height:normal!important;
  box-shadow:none!important;
  transition:border-color .18s ease,background .18s ease,transform .18s ease!important;
}
#sidebarReportsBox .sidebar-report-item:hover{
  border-color:#5d2023!important;
  border-left-color:#e30613!important;
  background:#171717!important;
  transform:translateY(-1px)!important;
}
#sidebarReportsBox .sidebar-report-item-top{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  gap:8px!important;
  color:#777!important;
  font-size:8px!important;
  line-height:1.2!important;
}
#sidebarReportsBox .sidebar-report-item-top strong{
  display:block!important;
  color:#e30613!important;
  font-size:10px!important;
  font-weight:900!important;
  white-space:nowrap!important;
}
#sidebarReportsBox .sidebar-report-item-title{
  display:block!important;
  width:100%!important;
  margin-top:4px!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:800!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#sidebarReportsBox .sidebar-report-item-meta{
  display:block!important;
  width:100%!important;
  margin-top:3px!important;
  color:#999!important;
  font-size:9px!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#sidebarReportsBox .sidebar-report-item-reason{
  display:block!important;
  width:100%!important;
  margin-top:5px!important;
  color:#aaa!important;
  font-size:9px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#sidebarReportsBox .sidebar-report-empty{
  display:block!important;
  padding:8px 2px!important;
  color:#777!important;
  font-size:10px!important;
  line-height:1.4!important;
}
#sidebarReportsBox .sidebar-report-open{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:32px!important;
  box-sizing:border-box!important;
  margin:2px 0 0!important;
  padding:7px 10px!important;
  border:1px solid #444!important;
  border-radius:7px!important;
  background:#0d0d0d!important;
  color:#eee!important;
  font-size:9px!important;
  font-weight:800!important;
  letter-spacing:.03em!important;
  cursor:pointer!important;
}
#sidebarReportsBox .sidebar-report-open:hover{border-color:#e30613!important;color:#fff!important;background:#151515!important}
@media(max-width:650px){
  #sidebarReportsBox.sidebar-reports-box{border-radius:9px!important;padding:10px!important}
}

/* Strafpunktesystem / Meldungsbearbeitung */
.penalty-badge{border-color:#7a4b1d!important;color:#ffc47a!important;background:#24170b!important}
.report-points{display:block;color:#d99b55;font-size:10px;margin-top:4px}
.admin-report-decision{display:inline-flex;margin-left:6px;padding:3px 7px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.6px}
.admin-report-decision.justified{color:#ffb1b6;background:#300d10;border:1px solid #7d252d}
.admin-report-decision.not-justified{color:#aaa;background:#181818;border:1px solid #444}
.admin-report-measure,.admin-report-note{padding:12px;margin-top:8px;background:#0b0b0b;border:1px solid #252525}
.admin-report-measure strong{font-size:12px;color:#eee}
.report-edit-modal{width:100%;min-width:0;max-width:820px;box-sizing:border-box} 
/* Meldungsbearbeitung: kein horizontaler Scrollbalken, Dialog passt sich an die Bildschirmhöhe/-breite an */
#modal .dialog:has(.report-edit-modal){width:min(820px,calc(100vw - 32px))!important;max-width:820px!important;max-height:calc(100vh - 32px)!important;overflow-x:hidden!important;overflow-y:auto!important;padding:20px!important;box-sizing:border-box}
.report-edit-modal *{box-sizing:border-box}
.report-edit-content,.report-edit-grid,.report-modal-footer{min-width:0}
.report-edit-modal .report-modal-head{min-width:0}
.report-edit-modal .report-modal-head>div{min-width:0}
.report-edit-modal select,.report-edit-modal textarea{max-width:100%;box-sizing:border-box}
.report-edit-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.report-edit-summary>div{padding:12px;background:#0b0b0b;border:1px solid #292929;border-radius:5px}
.report-edit-summary span{display:block;color:#777;font-size:9px;font-weight:800;letter-spacing:1px;margin-bottom:5px}
.report-edit-summary strong{font-size:12px;color:#eee}
.report-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.report-edit-grid>div{min-width:0}
.report-edit-modal select,.report-edit-modal textarea{width:100%;margin-top:6px}
.report-edit-modal textarea{min-height:120px;resize:vertical}
.report-edit-warning{margin-top:12px;padding:12px 14px;background:#24170b;border:1px solid #6a421c;color:#d8b083;font-size:11px;line-height:1.5;border-radius:4px}
.penalty-settings-section{padding:20px}
.penalty-settings-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.penalty-settings-head h2{margin:5px 0 8px}
.penalty-setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.penalty-setting-card{display:flex;gap:14px;padding:16px;background:#101010;border:1px solid #292929;border-radius:6px}
.penalty-setting-card.full{grid-column:1/-1}
.penalty-setting-icon{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:50%;background:#250b0e;border:1px solid #6d2229;color:#ff8e94;font-weight:900}
.penalty-setting-card label{display:block;color:#ddd;font-size:10px;font-weight:900;letter-spacing:.8px}
.penalty-setting-card p{margin:6px 0 10px;color:#888;font-size:11px;line-height:1.5}
.penalty-setting-card input[type=number]{width:110px}
.penalty-setting-card small{color:#666;margin-left:6px}
.penalty-info{margin-top:14px;padding:14px;background:#0b0b0b;border:1px solid #292929;color:#aaa;font-size:11px;line-height:1.6;border-radius:5px}
.penalty-info b{color:#eee}
.penalty-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid #292929}
@media(max-width:700px){.report-edit-summary,.penalty-setting-grid{grid-template-columns:1fr}.penalty-setting-card.full{grid-column:auto}.penalty-settings-head{flex-direction:column}.report-edit-grid{grid-template-columns:1fr}}
/* FINAL FIX: Meldungs-Dialog darf niemals horizontal über den Bildschirm hinausragen */
html,body{max-width:100%;overflow-x:hidden}
#modal{overflow-x:hidden!important;padding:10px!important}
#modal .dialog{width:calc(100vw - 20px)!important;max-width:820px!important;min-width:0!important;max-height:calc(100vh - 20px)!important;overflow-x:hidden!important;overflow-y:auto!important;padding:16px!important}
#modal .dialog,.report-edit-modal,.report-edit-modal *{box-sizing:border-box!important;min-width:0}
.report-edit-modal{width:100%!important;max-width:100%!important;overflow:hidden!important}
.report-edit-summary{width:100%;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.report-edit-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.report-edit-grid>div,.report-edit-modal>div{min-width:0!important;max-width:100%!important}
.report-edit-modal select,.report-edit-modal textarea{display:block;width:100%!important;max-width:100%!important;min-width:0!important}
.report-modal-head{width:100%;min-width:0!important}
.report-modal-head>div{min-width:0!important;max-width:100%!important}
.report-modal-head h2,.report-modal-head p{overflow-wrap:anywhere}
.report-modal-footer{width:100%;min-width:0!important;flex-wrap:wrap!important;align-items:center!important}
.report-modal-footer>div{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important}
.report-modal-footer .btn{white-space:normal!important;max-width:100%;}
@media(max-width:700px){
  #modal{padding:6px!important}
  #modal .dialog{width:calc(100vw - 12px)!important;max-height:calc(100vh - 12px)!important;padding:14px!important}
  .report-edit-summary,.report-edit-grid{grid-template-columns:1fr!important}
  .report-modal-footer{display:flex!important;flex-direction:column!important;align-items:stretch!important}
  .report-modal-footer>div{width:100%!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important}
  .report-modal-footer>div .btn{flex:1 1 auto!important}
}

/* Strafpunkte: eigener Kontostand und berechtigte Moderationsansicht */
.profile-penalty-card{margin-top:18px;padding:14px 16px;border:1px solid #2d2d2d;border-left:3px solid #e30613;background:linear-gradient(135deg,#151515,#0d0d0d);border-radius:7px}
.profile-penalty-card>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.profile-penalty-label{font-size:10px;letter-spacing:1px;font-weight:900;color:#aaa}.profile-penalty-value{font-size:26px;line-height:1;color:#e30613}.profile-penalty-card small{font-size:10px}
.admin-penalty-points-badge{display:inline-flex;align-items:center;margin-left:8px;padding:4px 8px;border:1px solid #5a2a2a;border-radius:999px;color:#ffb0b0;background:#180d0d;font-size:10px;font-weight:800;white-space:nowrap}
/* Strafpunkte deutlich hervorheben + Pflichtbegründung bei manueller Änderung */
.admin-penalty-editor{margin-top:2px;padding:14px 15px 13px;border:1px solid #5f2026;border-radius:8px;background:linear-gradient(145deg,#190b0d,#0e0e0e);box-shadow:0 0 0 1px rgba(227,6,19,.08),0 8px 24px rgba(0,0,0,.18)}
.admin-penalty-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.admin-penalty-editor-head label{font-size:11px!important;letter-spacing:1.2px!important;color:#fff!important}.admin-penalty-current{font-size:10px;color:#aaa}.admin-penalty-current b{color:#ff3b45;font-size:15px}.admin-penalty-control{display:flex;align-items:center;gap:8px}.admin-penalty-control input{width:130px!important;height:46px!important;font-size:24px!important;font-weight:900!important;text-align:center;color:#fff!important;border:1px solid #9d2a32!important;background:#090909!important}.penalty-unit{font-size:10px;font-weight:900;letter-spacing:1px;color:#e30613}.admin-penalty-editor>.muted{display:block;margin-top:7px;font-size:10px}.admin-penalty-reason{margin-top:12px;padding-top:12px;border-top:1px solid #3a1d20}.admin-penalty-reason label{font-size:10px!important;letter-spacing:.8px!important;color:#ffb1b5!important}.admin-penalty-reason textarea{width:100%;min-height:75px;margin-top:6px;resize:vertical}.admin-penalty-reason small{display:block;margin-top:5px;color:#777;font-size:10px}

/* Strafpunkte-Verlauf – moderne einheitliche Darstellung */
.penalty-history-card{margin:18px 0 20px;padding:16px 18px;border:1px solid #2b2b2b;border-left:3px solid var(--red);border-radius:8px;background:linear-gradient(145deg,#141414,#0b0b0b);box-shadow:0 8px 28px rgba(0,0,0,.22)}
.penalty-history-total{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;column-gap:14px;padding-bottom:13px;border-bottom:1px solid #262626}
.penalty-history-total span{font-size:11px;letter-spacing:1px;font-weight:900;color:#f2f2f2}.penalty-history-total strong{grid-column:2;grid-row:1 / span 2;font-size:28px;line-height:1;color:#fff}.penalty-history-total small{font-size:10px;color:#777}
.penalty-history-table{width:100%;margin-top:4px}.penalty-history-row{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(80px,.25fr) minmax(180px,2fr);gap:18px;align-items:center;padding:11px 0;border-bottom:1px solid #1d1d1d;font-size:12px}.penalty-history-row:last-child{border-bottom:0}.penalty-history-head{padding-top:10px;padding-bottom:8px;border-bottom:1px solid #303030;color:#aaa;font-size:10px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.penalty-history-row strong{font-size:13px}.penalty-history-row .positive{color:#f2f2f2}.penalty-history-row .negative{color:#e30613}.penalty-history-empty{padding:14px 0;color:#777;font-size:11px}
@media(max-width:700px){.penalty-history-row{grid-template-columns:90px 55px 1fr;gap:10px}.penalty-history-head{font-size:9px}.penalty-history-total strong{font-size:24px}}

/* Strafpunkte – einheitliche Verlaufskarte nach der gewünschten Vorlage */
.penalty-history-card{margin:18px 0 20px!important;padding:0!important;border:1px solid #292929!important;border-left:3px solid var(--red)!important;border-radius:7px!important;background:#101010!important;box-shadow:none!important;overflow:hidden}
.penalty-history-top{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:18px!important;padding:16px 18px!important;border-bottom:1px solid #292929!important}
.penalty-history-title{font-size:14px!important;font-weight:900!important;color:#fff!important;letter-spacing:.2px!important;text-transform:none!important}
.penalty-history-sub{margin-top:5px!important;font-size:10px!important;color:#777!important}
.penalty-history-score{display:flex!important;align-items:baseline!important;gap:7px!important;white-space:nowrap!important}
.penalty-history-score strong{font-size:27px!important;line-height:1!important;color:#fff!important;font-weight:900!important}
.penalty-history-score span{font-size:10px!important;font-weight:900!important;color:#e30613!important;letter-spacing:.6px!important}
.penalty-history-table{width:100%!important;margin:0!important}
.penalty-history-row{display:grid!important;grid-template-columns:minmax(150px,.8fr) minmax(90px,.25fr) minmax(180px,2fr)!important;gap:18px!important;align-items:center!important;padding:11px 18px!important;border-bottom:1px solid #1f1f1f!important;font-size:12px!important;min-width:0!important}
.penalty-history-row:last-child{border-bottom:0!important}
.penalty-history-head{padding-top:10px!important;padding-bottom:9px!important;color:#888!important;font-size:9px!important;font-weight:900!important;letter-spacing:1px!important;text-transform:uppercase!important;background:#0d0d0d!important}
.penalty-history-change{font-size:13px!important;font-weight:900!important}
.penalty-history-change.positive{color:#f2f2f2!important}
.penalty-history-change.negative{color:#e30613!important}
.penalty-history-reason{min-width:0!important;overflow-wrap:anywhere!important;color:#eee!important}
.penalty-history-empty{padding:16px 18px!important;color:#777!important;font-size:11px!important}
.admin-member-edit-section>h3{margin-bottom:0!important}
.admin-member-edit-section>.penalty-history-card{margin-top:16px!important}
.admin-penalty-editor{margin:0 0 16px!important;padding:14px 15px 13px!important;border:1px solid #5f2026!important;border-radius:8px!important;background:linear-gradient(145deg,#190b0d,#0e0e0e)!important}
.admin-penalty-readonly{margin:0 0 16px;padding:14px 15px;border:1px solid #303030;border-left:3px solid #777;border-radius:8px;background:#111;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.admin-penalty-readonly span{font-size:10px;font-weight:900;letter-spacing:1px;color:#aaa}.admin-penalty-readonly strong{font-size:24px;color:#fff}.admin-penalty-readonly small{color:#777;font-size:10px}
@media(max-width:700px){.penalty-history-top{align-items:flex-start!important}.penalty-history-row{grid-template-columns:90px 55px minmax(0,1fr)!important;gap:10px!important;padding:10px 12px!important}.penalty-history-score strong{font-size:23px!important}.penalty-history-title{font-size:13px!important}}

/* =========================================================
   STRAFPUNKTE – FINALER, EIGENSTÄNDIGER AUFBAU
   Der Verlauf darf niemals Bestandteil des zweispaltigen
   Mitgliederformulars werden.
   ========================================================= */
.admin-member-edit-section{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.admin-member-edit-section>h3{
  display:block!important;
  width:100%!important;
  margin:0 0 18px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid #2d2d2d!important;
}
.admin-penalty-area{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin:0 0 22px!important;
  padding:0!important;
}
.admin-penalty-area .penalty-history-card,
.admin-penalty-area .admin-penalty-editor,
.admin-penalty-area .admin-penalty-readonly{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  float:none!important;
  position:relative!important;
  left:auto!important;
  right:auto!important;
}
.admin-penalty-area .penalty-history-card{
  margin:0 0 12px!important;
}
.admin-penalty-area .admin-penalty-editor,
.admin-penalty-area .admin-penalty-readonly{
  margin:0 0 16px!important;
}

.penalty-history-card{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #303030!important;
  border-left:3px solid #e30613!important;
  border-radius:8px!important;
  background:linear-gradient(145deg,#151515,#0d0d0d)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.22)!important;
}
.penalty-history-top{
  display:flex!important;
  width:100%!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  padding:17px 18px!important;
  border-bottom:1px solid #2b2b2b!important;
  background:#111!important;
}
.penalty-history-heading{min-width:0!important;display:block!important}
.penalty-history-title{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1.25!important;
  font-weight:900!important;
  letter-spacing:.5px!important;
  text-transform:uppercase!important;
}
.penalty-history-sub{
  display:block!important;
  margin-top:5px!important;
  color:#777!important;
  font-size:10px!important;
  line-height:1.3!important;
}
.penalty-history-score{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:baseline!important;
  gap:7px!important;
  white-space:nowrap!important;
}
.penalty-history-score strong{
  display:block!important;
  margin:0!important;
  color:#fff!important;
  font-size:29px!important;
  line-height:1!important;
  font-weight:900!important;
}
.penalty-history-score span{
  color:#e30613!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:1px!important;
}
.penalty-history-table{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.penalty-history-row{
  display:grid!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(140px,.8fr) minmax(90px,.25fr) minmax(220px,2fr)!important;
  gap:18px!important;
  align-items:center!important;
  padding:12px 18px!important;
  margin:0!important;
  border-bottom:1px solid #1f1f1f!important;
  background:transparent!important;
  color:#eee!important;
  font-size:12px!important;
}
.penalty-history-row:last-child{border-bottom:0!important}
.penalty-history-head{
  padding-top:11px!important;
  padding-bottom:9px!important;
  background:#0c0c0c!important;
  color:#888!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:1.1px!important;
  text-transform:uppercase!important;
}
.penalty-history-date,
.penalty-history-change,
.penalty-history-reason{min-width:0!important;overflow-wrap:anywhere!important}
.penalty-history-date{color:#eee!important}
.penalty-history-change{font-size:13px!important;font-weight:900!important}
.penalty-history-change.positive{color:#fff!important}
.penalty-history-change.negative{color:#e30613!important}
.penalty-history-change.neutral{color:#aaa!important}
.penalty-history-reason{color:#ddd!important;line-height:1.4!important}
.penalty-history-empty{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:16px 18px!important;
  color:#777!important;
  font-size:11px!important;
}
.admin-member-edit-section>.admin-form-grid{
  display:grid!important;
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
@media(max-width:700px){
  .penalty-history-top{align-items:flex-start!important;gap:12px!important}
  .penalty-history-score{margin-left:auto!important}
  .penalty-history-score strong{font-size:24px!important}
  .penalty-history-row{grid-template-columns:85px 55px minmax(0,1fr)!important;gap:10px!important;padding:10px 12px!important}
}

/* =========================================================
   STRAFPUNKTE – UNTERER BEREICH IM MITGLIEDSKONTO
   Der Strafpunktebereich steht bewusst unter dem kompletten
   Mitgliederformular und ist als eigener Moderationsbereich aufgebaut.
   ========================================================= */
.admin-penalty-bottom{
  width:100%;
  box-sizing:border-box;
  margin-top:26px;
  padding:0;
  border:1px solid #2d2d2d;
  border-radius:10px;
  background:linear-gradient(145deg,#121212,#0b0b0b);
  overflow:hidden;
}
.admin-penalty-bottom-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:18px 20px;
  border-bottom:1px solid #2d2d2d;
  background:linear-gradient(90deg,#18090b,#101010 55%,#101010);
}
.admin-penalty-eyebrow{
  color:#e30613;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.4px;
  margin-bottom:5px;
}
.admin-penalty-bottom-head h4{
  margin:0;
  color:#fff;
  font-size:15px;
  letter-spacing:.4px;
}
.admin-penalty-bottom-head p{
  margin:5px 0 0;
  color:#777;
  font-size:10px;
}
.admin-penalty-total{
  min-width:115px;
  padding:10px 14px;
  border:1px solid #6b2229;
  border-radius:8px;
  background:#12090a;
  text-align:center;
}
.admin-penalty-total span{display:block;color:#888;font-size:8px;font-weight:900;letter-spacing:1px}
.admin-penalty-total strong{display:inline-block;margin-top:2px;color:#fff;font-size:28px;line-height:1;font-weight:900}
.admin-penalty-total small{margin-left:5px;color:#e30613;font-size:8px;font-weight:900;letter-spacing:.8px}
.admin-penalty-bottom-grid{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);
  gap:0;
}
.admin-penalty-history-wrap{min-width:0;padding:16px 18px;border-right:1px solid #292929}
.admin-penalty-editor-wrap{min-width:0;padding:16px 18px;background:#0e0e0e}
.admin-penalty-bottom .penalty-history-card{
  margin:0!important;
  border:0!important;
  border-left:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.admin-penalty-bottom .penalty-history-top{
  display:none!important;
}
.admin-penalty-bottom .penalty-history-table{margin:0!important}
.admin-penalty-bottom .penalty-history-row{grid-template-columns:minmax(100px,.7fr) minmax(65px,.3fr) minmax(150px,2fr)!important;padding:10px 0!important}
.admin-penalty-bottom .penalty-history-head{padding-top:0!important;background:transparent!important}
.admin-penalty-editor-wrap .admin-penalty-editor,
.admin-penalty-editor-wrap .admin-penalty-readonly{
  margin:0!important;
}
.admin-penalty-editor-wrap .admin-penalty-editor{
  height:100%;
  box-sizing:border-box;
  border-color:#542026!important;
  background:linear-gradient(145deg,#18090b,#0d0d0d)!important;
}
.admin-penalty-editor-wrap .admin-penalty-editor-head{margin-bottom:14px}
.admin-penalty-editor-wrap .admin-penalty-reason{margin-top:14px}
@media(max-width:850px){
  .admin-penalty-bottom-grid{grid-template-columns:1fr}
  .admin-penalty-history-wrap{border-right:0;border-bottom:1px solid #292929}
}
@media(max-width:600px){
  .admin-penalty-bottom-head{align-items:flex-start;flex-direction:column}
  .admin-penalty-total{align-self:stretch}
  .admin-penalty-bottom .penalty-history-row{grid-template-columns:80px 50px minmax(0,1fr)!important;gap:8px!important}
}

/* STRAFPUNKTE – NEUER ÜBERSICHTLICHER ADMIN-AUFBAU */
.admin-penalty-bottom{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
  margin:28px 0 0!important;
  padding:0!important;
  border:1px solid #303030!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#151515,#0c0c0c)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.24)!important;
}
.admin-penalty-bottom-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 150px!important;
  align-items:center!important;
  gap:24px!important;
  padding:24px 24px 22px!important;
  border-bottom:1px solid #292929!important;
  background:#101010!important;
  box-sizing:border-box!important;
}
.admin-penalty-bottom-head .admin-penalty-eyebrow{
  color:#e30613!important;font-size:9px!important;font-weight:900!important;letter-spacing:1.5px!important;margin-bottom:7px!important;
}
.admin-penalty-bottom-head h4{
  margin:0!important;color:#fff!important;font-size:18px!important;font-weight:900!important;letter-spacing:.3px!important;
}
.admin-penalty-bottom-head p{
  margin:7px 0 0!important;color:#888!important;font-size:11px!important;line-height:1.5!important;
}
.admin-penalty-total{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  min-height:105px!important;padding:12px!important;box-sizing:border-box!important;
  border:1px solid #8e2028!important;border-radius:8px!important;background:linear-gradient(145deg,#21090c,#12090a)!important;
}
.admin-penalty-total span{font-size:9px!important;letter-spacing:1.2px!important;color:#aaa!important;font-weight:800!important}
.admin-penalty-total strong{margin:5px 0 2px!important;color:#fff!important;font-size:34px!important;line-height:1!important;font-weight:900!important}
.admin-penalty-total small{color:#e30613!important;font-size:9px!important;letter-spacing:1px!important;font-weight:900!important}
.admin-penalty-bottom-grid{display:block!important;width:100%!important}
.admin-penalty-history-wrap{display:block!important;width:100%!important;border-bottom:1px solid #292929!important}
.admin-penalty-history-wrap .penalty-history-table-standalone{width:100%!important;margin:0!important}
.admin-penalty-history-wrap .penalty-history-row{grid-template-columns:minmax(150px,.7fr) minmax(100px,.2fr) minmax(260px,2fr)!important;padding:15px 24px!important;font-size:12px!important}
.admin-penalty-history-wrap .penalty-history-head{background:#0d0d0d!important;color:#888!important;padding-top:12px!important;padding-bottom:10px!important}
.admin-penalty-history-wrap .penalty-history-change{font-size:14px!important;font-weight:900!important}
.admin-penalty-history-wrap .penalty-history-change.positive{color:#e30613!important}
.admin-penalty-history-wrap .penalty-history-change.negative{color:#ff6870!important}
.admin-penalty-history-wrap .penalty-history-reason{color:#eee!important;overflow-wrap:anywhere!important}
.admin-penalty-history-wrap .penalty-history-empty{padding:20px 24px!important;color:#777!important}
.admin-penalty-editor-wrap{display:block!important;width:100%!important;padding:0!important}
.admin-penalty-editor-wrap .admin-penalty-editor,
.admin-penalty-editor-wrap .admin-penalty-readonly{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#111!important}
.admin-penalty-editor-wrap .admin-penalty-editor{padding:22px 24px 24px!important}
.admin-penalty-editor-wrap .admin-penalty-editor-head{margin-bottom:16px!important}
.admin-penalty-editor-wrap .admin-penalty-control input{width:180px!important;height:50px!important;font-size:25px!important}
.admin-penalty-editor-wrap .admin-penalty-reason{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,1.4fr)!important;gap:18px!important;align-items:start!important}
.admin-penalty-editor-wrap .admin-penalty-reason label{grid-column:1 / -1!important;margin:0!important}
.admin-penalty-editor-wrap .admin-penalty-reason textarea{grid-column:1 / -1!important;min-height:95px!important;width:100%!important;box-sizing:border-box!important}
.admin-penalty-editor-wrap .admin-penalty-reason small{grid-column:1 / -1!important}
.admin-penalty-editor-wrap .admin-penalty-editor:after{content:'';display:block;clear:both}
@media(max-width:700px){
 .admin-penalty-bottom-head{grid-template-columns:1fr!important;gap:16px!important}
 .admin-penalty-total{min-height:90px!important;align-items:center!important}
 .admin-penalty-history-wrap .penalty-history-row{grid-template-columns:90px 60px minmax(0,1fr)!important;padding:11px 14px!important;gap:10px!important}
 .admin-penalty-editor-wrap .admin-penalty-editor{padding:18px 14px!important}
}

/* Mein Konto – kompakter, moderner Sidebar-Zugang und Konto-Dashboard */
.sidebar-account-box{border:1px solid #343434!important;border-radius:8px!important;background:linear-gradient(145deg,#151515,#0d0d0d)!important;overflow:hidden;padding:0!important}
.sidebar-account-head{display:flex;align-items:center;justify-content:space-between;padding:12px 13px 10px;border-bottom:1px solid #292929}
.sidebar-account-head h3{margin:2px 0 0!important;font-size:11px!important;letter-spacing:.4px}
.sidebar-account-kicker{display:block;color:#e30613;font-size:8px;font-weight:900;letter-spacing:1.2px}
.sidebar-account-icon{width:28px;height:28px;border:1px solid #5b2025;border-radius:50%;display:grid;place-items:center;color:#e30613;background:#170b0c;font-size:13px}
.sidebar-account-user{display:flex;align-items:center;gap:9px;padding:11px 13px 8px}
.sidebar-account-user .avatar{width:32px;height:32px;flex:none;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#1d1d1d;border:1px solid #3a3a3a}
.sidebar-account-user .avatar img{width:100%;height:100%;object-fit:cover}
.sidebar-account-user strong{display:block;color:#fff;font-size:11px}
.sidebar-account-user small{display:block;color:#777;font-size:8px;margin-top:2px}
.sidebar-account-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 13px 9px}
.sidebar-account-stats>div{border:1px solid #292929;background:#101010;border-radius:5px;padding:7px 8px}
.sidebar-account-stats b{display:block;color:#fff;font-size:11px}
.sidebar-account-stats>div:first-child b{color:#e30613;font-size:15px}
.sidebar-account-stats small{display:block;color:#666;font-size:7px;letter-spacing:.7px;margin-top:2px}
.sidebar-account-links{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:0 13px 10px}
.sidebar-account-links button{appearance:none;background:#101010;color:#bbb;border:1px solid #303030;border-radius:4px;padding:7px 5px;font:inherit;font-size:8px;font-weight:800;cursor:pointer}
.sidebar-account-links button:hover{color:#fff;border-color:#777;background:#181818}
.sidebar-account-open{margin:0 13px 12px!important;width:calc(100% - 26px)!important}

.my-account-page{padding:4px 2px 25px}
.my-account-head{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 20px;background:linear-gradient(145deg,#151515,#0d0d0d);border:1px solid #333;border-top:2px solid #e30613;border-radius:7px;margin-bottom:12px}
.my-account-head h2{margin:3px 0 5px;font-size:22px}
.my-account-head p{margin:0;color:#888;font-size:11px;line-height:1.5;max-width:700px}
.my-account-head .eyebrow{color:#e30613;font-size:9px;font-weight:900;letter-spacing:1.3px}
.my-account-user{min-width:130px;text-align:center;border:1px solid #333;background:#101010;border-radius:6px;padding:10px 12px}
.my-account-user .bigavatar{width:42px;height:42px;margin:0 auto 6px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#1b1b1b;border:1px solid #444}
.my-account-user .bigavatar img{width:100%;height:100%;object-fit:cover}
.my-account-user strong,.my-account-user small{display:block}.my-account-user strong{font-size:11px}.my-account-user small{color:#777;font-size:8px;margin-top:2px}
.account-status{display:inline-block;margin-top:6px;padding:3px 6px;border-radius:20px;font-size:7px;font-weight:900;letter-spacing:.5px}.account-status.ok{color:#7ee89b;background:#0b2414;border:1px solid #1e6d39}.account-status.danger{color:#ff6972;background:#2a0b0e;border:1px solid #8e1c23}
.my-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.my-account-card{appearance:none;display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:10px;text-align:left;width:100%;padding:13px;background:linear-gradient(145deg,#151515,#0d0d0d);color:#fff;border:1px solid #303030;border-radius:6px;cursor:pointer;font:inherit}
.my-account-card:hover{border-color:#666;background:#181818;transform:translateY(-1px)}
.my-account-card.primary{border-left:3px solid #e30613}.my-account-card>span{width:32px;height:32px;border-radius:5px;background:#1a0b0d;border:1px solid #5b2025;color:#e30613;display:grid;place-items:center;font-size:14px}.my-account-card b{display:block;font-size:10px;letter-spacing:.3px}.my-account-card small{display:block;color:#777;font-size:8px;line-height:1.4;margin-top:3px}.my-account-card em{font-style:normal;color:#e30613;font-size:18px;text-align:right}
.my-account-insights{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #303030;border-radius:6px;overflow:hidden;background:#101010;margin-bottom:12px}.my-account-insight{padding:11px 12px;border-right:1px solid #292929}.my-account-insight:last-child{border-right:0}.my-account-insight small{display:block;color:#777;font-size:7px;letter-spacing:1px;font-weight:900}.my-account-insight strong{display:block;color:#fff;font-size:14px;margin-top:4px}.my-account-insight:first-child strong{color:#e30613;font-size:18px}.my-account-insight span{display:block;color:#666;font-size:7px;margin-top:2px}
.my-account-section{border:1px solid #303030;border-radius:6px;background:#101010;overflow:hidden}.my-account-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #292929}.my-account-section-head h3{margin:2px 0 0;font-size:11px}.my-account-section-head .eyebrow{color:#e30613;font-size:7px;font-weight:900;letter-spacing:1px}.account-activity-row{display:grid;grid-template-columns:110px 70px minmax(0,1fr);gap:10px;padding:10px 14px;border-bottom:1px solid #222;font-size:9px;align-items:center}.account-activity-row:last-child{border-bottom:0}.account-activity-row b.positive{color:#e30613}.account-activity-row b.negative{color:#69d58a}.account-activity-row span:last-child{color:#bbb;overflow-wrap:anywhere}.my-account-bottom{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
@media(max-width:800px){.my-account-head{align-items:flex-start}.my-account-grid{grid-template-columns:1fr}.my-account-insights{grid-template-columns:1fr 1fr}.my-account-insight:nth-child(2){border-right:0}.my-account-insight{border-bottom:1px solid #292929}.my-account-insight:nth-last-child(-n+2){border-bottom:0}}
@media(max-width:550px){.my-account-head{display:block}.my-account-user{margin-top:12px}.my-account-insights{grid-template-columns:1fr}.my-account-insight{border-right:0!important;border-bottom:1px solid #292929!important}.my-account-insight:last-child{border-bottom:0!important}.account-activity-row{grid-template-columns:80px 45px minmax(0,1fr);font-size:8px}.my-account-section-head{align-items:flex-start;flex-direction:column}}


/* Beitragsmeldungen im Hauptmenü */
.report-nav-btn{display:none;align-items:center;gap:6px;position:relative;flex:0 0 auto;padding:7px 10px;border:1px solid #3a3a3a;border-radius:5px;background:#101010;color:#fff;text-decoration:none;font-size:10px;font-weight:900;letter-spacing:.5px;line-height:1;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.report-nav-btn:hover{border-color:#e30613;background:#17090b;color:#fff}
.report-nav-icon{color:#e30613;font-size:12px;line-height:1}
.report-nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 5px;border-radius:999px;background:#e30613;color:#fff;font-size:9px;font-weight:900}
.report-nav-btn.has-new{border-color:#e30613;box-shadow:0 0 12px rgba(227,6,19,.65);animation:reportNavBlink .75s ease-in-out infinite alternate}
.report-nav-btn.has-new .report-nav-count{animation:reportCountBlink .75s ease-in-out infinite alternate}
@keyframes reportNavBlink{from{box-shadow:0 0 4px rgba(227,6,19,.25);background:#100d0d}to{box-shadow:0 0 18px rgba(227,6,19,.95);background:#2a080b}}
@keyframes reportCountBlink{from{transform:scale(1);box-shadow:0 0 2px rgba(227,6,19,.3)}to{transform:scale(1.12);box-shadow:0 0 10px rgba(227,6,19,.9)}}
@media(max-width:800px){.report-nav-label{display:none}.report-nav-btn{padding:7px 8px}}

/* MEIN KONTO: im Hauptmenü ganz rechts neben KALENDER */
.nav-spacer{margin-left:auto;min-width:12px;flex:1 1 auto}
.nav .account-nav{display:none;flex:0 0 auto;padding:0 4px;border-bottom:2px solid transparent;color:#fff}
.nav .account-nav:hover{color:#e30613;border-bottom-color:#e30613}
.nav .account-nav::first-letter{color:#e30613}
@media(max-width:650px){.nav{gap:18px}.nav-spacer{min-width:6px}.nav .account-nav{font-size:11px}}


/* Mitglieder-Seite: gleiche Gruppierung wie Sidebar, aber als große übersichtliche Ansicht */
.members-page{width:100%;}
.members-page-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 0 20px;border-bottom:1px solid var(--l);margin-bottom:12px}
.members-page-head h2{margin:3px 0 7px;font-size:24px;letter-spacing:.3px}
.members-page-head p{margin:0;color:#9a9a9a;font-size:12px}
.members-page-total{min-width:120px;padding:12px 16px;border:1px solid #3a3a3a;border-radius:10px;background:#111;text-align:center}
.members-page-total small{display:block;color:#999;font-size:9px;letter-spacing:1.4px}.members-page-total strong{display:block;font-size:24px;line-height:1.1;margin:2px 0;color:#fff}.members-page-total span{font-size:9px;color:#e30613;font-weight:700;letter-spacing:1px}
.members-page-group{border:1px solid #303030;border-radius:9px;background:#111;margin:10px 0;overflow:hidden}
.members-page-group-head{height:42px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2d2d2d;background:#151515;color:#e30613;font-size:11px;font-weight:800;letter-spacing:.7px}
.members-page-group-head b{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#1c1c1c;border:1px solid #3b3b3b;color:#fff;font-size:10px}
.members-page-row{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;border-bottom:1px solid #252525}
.members-page-row:last-child{border-bottom:0}
.members-page-link{display:flex;align-items:center;gap:12px;min-width:0;flex:1;color:inherit;text-decoration:none}
.members-page-avatar{width:42px;height:42px;flex:0 0 42px;border:1px solid #3a3a3a;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#181818;color:#fff}
.members-page-avatar img{width:100%;height:100%;object-fit:cover}
.members-page-info{display:flex;flex-direction:column;min-width:0}.members-page-info strong{font-size:13px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.members-page-info span{font-size:10px;color:#888;margin-top:3px;text-transform:capitalize}
.members-page-row .member-message-btn{flex:0 0 auto;margin-left:auto}
.members-page-empty{padding:16px;color:#777;font-size:11px}
@media(max-width:700px){.members-page-head{align-items:flex-start}.members-page-total{min-width:90px}.members-page-row{align-items:center}.members-page-row .member-message-btn{padding:7px 9px;font-size:9px}}
@media(max-width:520px){.members-page-head{display:block}.members-page-total{margin-top:12px;width:max-content}.members-page-row{gap:8px}.members-page-avatar{width:38px;height:38px;flex-basis:38px}.members-page-row .member-message-btn{font-size:8px;padding:6px 7px}}

/* Private Nachrichten – Mehrfach-Empfänger */
.pm-compose-multi{width:min(760px,100%)}
.pm-recipient-box{margin-top:5px;border:1px solid #333;border-radius:4px;background:#090909;overflow:hidden}
.pm-selected{min-height:42px;padding:8px;display:flex;gap:6px;flex-wrap:wrap;align-items:center;border-bottom:1px solid #252525}
.pm-chip{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid #7f1017;background:#1a090a;color:#fff;border-radius:999px;font-size:10px;font-weight:700}
.pm-recipient-search{width:100%!important;margin:0!important;border:0!important;border-bottom:1px solid #252525!important;border-radius:0!important}
.pm-recipient-list{max-height:190px;overflow:auto;padding:4px}
.pm-recipient-option{display:flex;align-items:center;gap:9px;padding:8px;border:1px solid transparent;border-radius:3px;cursor:pointer}
.pm-recipient-option:hover{background:#151515;border-color:#292929}
.pm-recipient-option input{width:auto!important;margin:0!important;accent-color:#e30613}
.pm-recipient-avatar{width:30px;height:30px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#181818;border:1px solid #333;flex:0 0 30px}
.pm-recipient-avatar img{width:100%;height:100%;object-fit:cover}
.pm-recipient-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.pm-recipient-info strong{font-size:11px;color:#eee}
.pm-recipient-info small{font-size:9px;color:#777}


/* Private Nachrichten – @Benutzername Empfänger, ohne Mitgliederliste */
.pm-recipient-box{position:relative;margin-top:5px;border:1px solid #333;border-radius:4px;background:#090909;overflow:visible}
.pm-selected{min-height:42px;padding:8px;display:flex;gap:6px;flex-wrap:wrap;align-items:center;border-bottom:1px solid #252525}
.pm-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border:1px solid #e30613;background:#17090a;color:#fff;border-radius:999px;font-size:10px;font-weight:700;line-height:1.2}
.pm-chip-remove{border:0!important;background:transparent!important;color:#fff!important;padding:0!important;margin:0!important;min-width:0!important;width:auto!important;font-size:13px!important;line-height:1;cursor:pointer}
.pm-recipient-input-wrap{position:relative;display:flex;align-items:center}
.pm-at{position:absolute;left:10px;z-index:2;color:#e30613;font-weight:700;font-size:14px;pointer-events:none}
.pm-recipient-search{width:100%!important;margin:0!important;padding-left:26px!important;border:0!important;border-bottom:1px solid #252525!important;border-radius:0!important;background:#0b0b0b!important;color:#fff!important;height:42px}
.pm-recipient-search:focus{outline:none!important;box-shadow:inset 0 -2px 0 #e30613!important}
.pm-recipient-suggestions{position:absolute;left:0;right:0;top:100%;z-index:100010;background:#111;border:1px solid #444;border-top:0;border-radius:0 0 6px 6px;box-shadow:0 10px 25px rgba(0,0,0,.55);overflow:hidden}
.pm-recipient-suggestion{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;text-align:left!important;border:0!important;border-bottom:1px solid #292929!important;background:#111!important;color:#fff!important;padding:10px 12px!important;cursor:pointer!important}
.pm-recipient-suggestion:hover{background:#1a1a1a!important}
.pm-suggestion-name{font-weight:700;color:#fff}.pm-suggestion-role{font-size:10px;color:#888;margin-left:12px}
.pm-recipient-box>small{display:block;padding:7px 9px 9px}
.pm-recipient-box>small strong{color:#fff}
/* Private Nachrichten: Smilies & Anhänge */
.pm-editor-wrap{border:1px solid #333;border-radius:4px;background:#090909;margin-top:5px;overflow:visible;position:relative}
.pm-editor-toolbar{display:flex;align-items:center;gap:5px;padding:6px 8px;border-bottom:1px solid #252525;background:#101010;position:relative}
.pm-tool-btn{width:32px;height:30px;padding:0;border:1px solid #333;border-radius:4px;background:#151515;color:#eee;cursor:pointer;font-size:16px;display:grid;place-items:center}
.pm-tool-btn:hover{border-color:#e30613;background:#1a090a}
.pm-editor-wrap textarea#pmBody{border:0!important;border-radius:0!important;margin:0!important;background:#080808!important;min-height:180px;display:block}
.pm-emoji-picker{position:absolute;left:8px;top:43px;z-index:100020;width:min(300px,calc(100vw - 60px));padding:8px;background:#111;border:1px solid #444;border-radius:6px;box-shadow:0 12px 28px rgba(0,0,0,.65);display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.pm-emoji-picker[hidden]{display:none}
.pm-emoji{height:34px;border:1px solid transparent;border-radius:4px;background:#171717;color:#fff;font-size:19px;cursor:pointer}
.pm-emoji:hover{border-color:#e30613;background:#22090c}
.pm-attachment-list{display:flex;flex-wrap:wrap;gap:6px;padding:7px 8px;border-top:1px solid #252525;min-height:18px}
.pm-attachment-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #333;border-radius:999px;background:#151515;color:#ddd;font-size:10px;max-width:100%}
.pm-attachment-chip button{border:0;background:transparent;color:#fff;cursor:pointer;padding:0 2px;font-size:13px}
.pm-detail-attachments{margin-top:12px;padding:12px;background:#101010;border:1px solid #2b2b2b;border-radius:4px;display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.pm-detail-attachments strong{width:100%;font-size:9px;letter-spacing:.12em;color:#888}
.pm-attachment-link{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid #383838;border-radius:4px;background:#151515;color:#eee;text-decoration:none;font-size:10px}
.pm-attachment-link:hover{border-color:#e30613;color:#fff}
/* PM Composer: Smiley- und Anhang-Buttons an das Forum-Design angleichen */
.pm-editor-toolbar .pm-tool-btn,
button.pm-tool-btn,
.pm-tool-btn[type="button"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  box-sizing:border-box!important;
  width:32px!important;
  height:30px!important;
  min-width:32px!important;
  min-height:30px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #292929!important;
  border-radius:3px!important;
  background:#0d0d0d!important;
  background-image:none!important;
  color:#eee!important;
  box-shadow:none!important;
  outline:none!important;
  cursor:pointer!important;
  display:grid!important;
  place-items:center!important;
  font-size:16px!important;
  line-height:1!important;
}
.pm-editor-toolbar .pm-tool-btn:hover,
button.pm-tool-btn:hover{
  border-color:#e30613!important;
  background:#171717!important;
  color:#fff!important;
  box-shadow:0 0 0 1px rgba(227,6,19,.18)!important;
}
.pm-editor-toolbar .pm-tool-btn:focus-visible,
button.pm-tool-btn:focus-visible{
  border-color:#e30613!important;
  outline:1px solid #e30613!important;
  outline-offset:1px!important;
}
.pm-editor-toolbar .pm-tool-btn::-moz-focus-inner{border:0!important;padding:0!important}

/* Umkreissuche Mitglieder */
.member-radius-search{margin:14px 0 16px;border:1px solid #303030;border-radius:9px;background:#111;overflow:hidden}
.member-radius-search-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border-bottom:1px solid #292929;background:#151515}
.member-radius-eyebrow{font-size:9px;color:var(--r);font-weight:800;letter-spacing:1.2px;margin-bottom:4px}.member-radius-search-head h3{margin:0;font-size:15px}.member-radius-search-head p{margin:5px 0 0;color:#888;font-size:10px}.member-radius-icon{width:38px;height:38px;border:1px solid #3b3b3b;border-radius:50%;display:grid;place-items:center;color:var(--r);font-size:20px}
.member-radius-form{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:10px;padding:14px 16px;align-items:end}.member-radius-form label{display:block;color:#aaa;font-size:9px;text-transform:uppercase;letter-spacing:.5px}.member-radius-form input,.member-radius-form select{display:block;width:100%;box-sizing:border-box;margin-top:5px;background:#0b0b0b;color:#eee;border:1px solid #383838;border-radius:4px;padding:10px 11px;font-size:12px}.member-radius-form input:focus,.member-radius-form select:focus{outline:none;border-color:var(--r);box-shadow:0 0 0 1px var(--r)}.member-radius-submit{white-space:nowrap;height:37px}.member-radius-status{padding:0 16px 12px;font-size:10px}.member-radius-results{border-top:1px solid #292929}.member-radius-result{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid #252525}.member-radius-result:last-child{border-bottom:0}.member-radius-result .members-page-link{min-width:0}.member-radius-distance{margin-left:auto;text-align:right;min-width:72px}.member-radius-distance strong{display:block;color:#fff;font-size:12px}.member-radius-distance small{display:block;color:#777;font-size:8px;margin-top:2px}.member-radius-loading,.member-radius-empty{padding:16px;color:#888;font-size:11px}.member-radius-result .member-message-btn{flex:0 0 auto}.member-radius-result:hover{background:#151515}
@media(max-width:760px){.member-radius-form{grid-template-columns:1fr 1fr}.member-radius-submit{grid-column:1/-1;width:max-content}.member-radius-result{flex-wrap:wrap}.member-radius-distance{margin-left:auto}.member-radius-result .member-message-btn{margin-left:auto}}
@media(max-width:520px){.member-radius-form{grid-template-columns:1fr}.member-radius-submit{width:100%}.member-radius-result{align-items:flex-start}.member-radius-distance{order:2}.member-radius-result .member-message-btn{order:3;width:100%}}

/* UMKREISSUCHE – luftigeres, modernes Layout */
.members-page{padding:4px 2px 20px}
.members-page-head{padding:22px 4px 24px;margin-bottom:18px;gap:28px}
.members-page-head h2{font-size:27px;margin:4px 0 9px}
.members-page-head p{font-size:13px;line-height:1.5}
.members-page-total{min-width:132px;padding:15px 20px;border-radius:11px}
.members-page-total strong{font-size:28px;margin:4px 0}

.member-radius-search{margin:18px 0 22px;border-radius:11px}
.member-radius-search-head{padding:19px 22px;min-height:78px;gap:22px}
.member-radius-search-head h3{font-size:17px}
.member-radius-search-head p{font-size:11px;margin-top:7px}
.member-radius-icon{width:42px;height:42px;flex:0 0 42px}
.member-radius-form{grid-template-columns:minmax(0,1fr) 170px auto;gap:14px;padding:19px 22px 14px}
.member-radius-form label{font-size:10px}
.member-radius-form input,.member-radius-form select{margin-top:7px;padding:12px 13px;min-height:43px;font-size:13px}
.member-radius-submit{height:43px;padding:10px 18px}
.member-radius-status{padding:0 22px 17px;font-size:11px}

.members-page-group{margin:16px 0;border-radius:11px}
.members-page-group-head{height:50px;padding:0 20px;font-size:12px}
.members-page-group-head b{min-width:28px;height:28px;font-size:11px}
.members-page-row{min-height:88px;padding:16px 20px;gap:20px}
.members-page-link{gap:15px}
.members-page-avatar{width:50px;height:50px;flex-basis:50px}
.members-page-info strong{font-size:14px}
.members-page-info span{font-size:10px;margin-top:5px}
.members-page-row .member-message-btn{padding:9px 13px;font-size:10px}

.member-radius-result{min-height:88px;padding:16px 22px;gap:15px}
.member-radius-result .members-page-avatar{width:50px;height:50px;flex-basis:50px}
.member-radius-distance{min-width:90px}
.member-radius-distance strong{font-size:13px}
.member-radius-distance small{font-size:9px;margin-top:3px}
.member-radius-loading,.member-radius-empty{padding:20px 22px;font-size:12px}

@media(max-width:760px){
  .members-page-head{padding:18px 4px 20px}
  .member-radius-search-head{padding:16px 18px}
  .member-radius-form{grid-template-columns:1fr 1fr;padding:17px 18px 12px}
  .member-radius-status{padding:0 18px 15px}
  .members-page-group-head{padding:0 16px}
  .members-page-row{min-height:82px;padding:14px 16px}
  .member-radius-result{padding:14px 18px;min-height:82px}
}
@media(max-width:520px){
  .members-page{padding-left:0;padding-right:0}
  .members-page-head h2{font-size:23px}
  .members-page-total{min-width:110px}
  .member-radius-search-head{padding:15px 16px}
  .member-radius-form{grid-template-columns:1fr;padding:15px 16px 11px}
  .member-radius-status{padding:0 16px 14px}
  .members-page-row{padding:14px 14px;gap:12px}
  .members-page-avatar{width:46px;height:46px;flex-basis:46px}
  .member-radius-result{padding:14px 16px}
}

/* FINAL SIDEBAR FIX: Mein Konto + Administration oben nebeneinander */
.sidebar-account-admin-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:10px !important;
  width:100% !important;
  margin:0 !important;
  align-items:stretch !important;
}
.sidebar-account-admin-row > .box{
  min-width:0 !important;
  width:auto !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
.sidebar-account-box,
.sidebar-admin-box{
  min-height:0 !important;
  height:auto !important;
}
.sidebar-admin-open,
.sidebar-account-open{
  box-sizing:border-box !important;
}
/* Die allgemeine Responsive-Regel .side{display:grid} darf die Sidebar nicht mehr zerreißen. */
@media (max-width:1000px){
  .side{
    display:flex !important;
    flex-direction:column !important;
    gap:11px !important;
  }
  .sidebar-account-admin-row{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }
}
@media (max-width:480px){
  .sidebar-account-admin-row{
    grid-template-columns:1fr 1fr !important;
    gap:6px !important;
  }
  .sidebar-account-head,.sidebar-admin-head{padding:9px 8px 7px !important}
  .sidebar-account-user{padding:8px 8px 5px !important}
  .sidebar-account-stats{padding-left:8px !important;padding-right:8px !important}
  .sidebar-account-links{padding-left:8px !important;padding-right:8px !important}
  .sidebar-account-open,.sidebar-admin-open{margin-left:8px !important;margin-right:8px !important;width:calc(100% - 16px) !important}
}


/* IDEE / FEHLER: großes, gut lesbares Zahnrad im Header */
.feedback-gear-btn{
  appearance:none!important;-webkit-appearance:none!important;
  border:0!important;outline:0!important;background:transparent!important;
  box-shadow:none!important;padding:0!important;margin:0 10px 0 0!important;
  width:138px!important;height:138px!important;min-width:138px!important;min-height:138px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  cursor:pointer!important;border-radius:50%!important;
  position:relative!important;flex:0 0 138px!important;
  transition:transform .18s ease!important;
}
.feedback-gear-btn img{
  display:block!important;width:138px!important;height:138px!important;
  max-width:none!important;object-fit:contain!important;
  border:0!important;background:transparent!important;
  filter:drop-shadow(0 0 3px rgba(227,6,19,.35));
  transition:filter .18s ease,transform .18s ease!important;
}
.feedback-gear-btn:hover img{
  filter:drop-shadow(0 0 7px rgba(227,6,19,.95)) drop-shadow(0 0 18px rgba(227,6,19,.55));
  transform:scale(1.04);
}
.feedback-gear-btn:focus-visible{outline:2px solid #e30613!important;outline-offset:4px!important}
.feedback-gear-btn:focus-visible img{filter:drop-shadow(0 0 8px rgba(227,6,19,1)) drop-shadow(0 0 20px rgba(227,6,19,.55));}
.feedback-gear-btn.feedback-gear-blink img{animation:feedbackGearPulse 1.15s ease-in-out infinite}
@keyframes feedbackGearPulse{
  0%,100%{filter:drop-shadow(0 0 3px rgba(227,6,19,.35))}
  50%{filter:drop-shadow(0 0 10px rgba(227,6,19,1)) drop-shadow(0 0 25px rgba(227,6,19,.7))}
}
.actions{align-items:center!important}
@media(max-width:900px){.feedback-gear-btn,.feedback-gear-btn img{width:112px!important;height:112px!important;min-width:112px!important;min-height:112px!important;flex-basis:112px!important}.feedback-gear-btn{margin-right:4px!important}}
@media(max-width:650px){.feedback-gear-btn,.feedback-gear-btn img{width:88px!important;height:88px!important;min-width:88px!important;min-height:88px!important;flex-basis:88px!important}.top{min-height:100px!important}.logo{height:84px!important}}

}

/* Prominenter Eingang für Ideen / Anregungen / Fehler im Admin-Dashboard */
.admin-feedback-dashboard{border:1px solid #4a1a1e!important;background:linear-gradient(145deg,#151010,#0f0f0f)!important;border-radius:7px!important;overflow:hidden}
.admin-feedback-dashboard-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px;border-bottom:1px solid #2d2d2d}
.admin-feedback-dashboard-head h3{margin:4px 0 5px;font-size:14px;color:#fff}
.admin-feedback-dashboard-head p{margin:0;max-width:760px;line-height:1.5}
.admin-feedback-dashboard-list{padding:0}
.admin-feedback-dashboard-row{width:100%;display:grid;grid-template-columns:62px minmax(0,1fr) 25px;gap:12px;align-items:center;text-align:left;background:#111;border:0;border-bottom:1px solid #292929;color:#eee;padding:12px 16px;cursor:pointer}
.admin-feedback-dashboard-row:hover{background:#171717}
.admin-feedback-dashboard-type{display:inline-flex;justify-content:center;align-items:center;border:1px solid #e30613;color:#ff4a52;border-radius:999px;padding:5px 7px;font-size:8px;font-weight:800;letter-spacing:.5px}
.admin-feedback-dashboard-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.admin-feedback-dashboard-main strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-feedback-dashboard-main small{font-size:9px;color:#777}
.admin-feedback-dashboard-main em{font-style:normal;color:#aaa;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.admin-feedback-dashboard-arrow{color:#e30613;font-size:24px;text-align:right}
.admin-feedback-dashboard-empty{padding:16px;color:#777;font-size:11px}
.admin-feedback-stat{border-color:#4a1a1e!important}
.admin-feedback-stat b{color:#e30613!important}
@media(max-width:650px){.admin-feedback-dashboard-head{display:block}.admin-feedback-dashboard-head .btn{margin-top:12px}.admin-feedback-dashboard-row{grid-template-columns:1fr 20px}.admin-feedback-dashboard-type{justify-self:start}.admin-feedback-dashboard-main{grid-column:1/-1;grid-row:2}.admin-feedback-dashboard-arrow{grid-column:2;grid-row:1}}

/* Rückmeldungen - Empfänger Auswahl im Admin Design */
.feedback-recipient-select-wrap{
 position:relative;
 display:flex;
 align-items:center;
 gap:12px;
 border:1px solid #e30613;
 background:#111;
 min-height:52px;
 padding:8px 14px;
 border-radius:6px;
}
.feedback-recipient-icon{font-size:20px;opacity:.9}
.feedback-recipient-select{
 flex:1;
 background:transparent;
 color:#fff;
 border:0;
 outline:none;
 font-size:15px;
 min-height:34px;
}
.feedback-recipient-select option{background:#111;color:#fff;padding:8px}
.feedback-recipient-hint{
 position:absolute;
 left:58px;
 bottom:-22px;
 font-size:12px;
 color:#888;
}

/* Hintergrundverwaltung */
.background-admin-shell{max-width:1180px;margin:0 auto;padding:4px 0 28px}
.background-admin-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:10px 2px 24px;border-bottom:1px solid #292929}
.background-admin-head h2{margin:0;font-size:25px}.background-admin-head p{margin:8px 0 0;color:#888;font-size:12px;line-height:1.6;max-width:760px}
.background-admin-card{margin-top:14px;background:linear-gradient(145deg,#151515,#0d0d0d);border:1px solid #303030;border-radius:6px;overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,.2)}
.background-card-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 18px;border-bottom:1px solid #292929;background:linear-gradient(90deg,#171717,#111)}
.background-card-head>div:first-child{display:flex;align-items:center;gap:12px}.background-card-icon{width:38px;height:38px;border:1px solid #8e1c23;background:#16090a;color:#ff2734;display:grid;place-items:center;border-radius:4px;font-size:18px}.background-card-head h3{margin:0;font-size:14px}.background-card-head span{display:block;color:#777;font-size:10px;margin-top:4px}
.background-status{padding:6px 9px;border-radius:3px;font-size:9px;font-weight:800;letter-spacing:.6px}.background-status.active{color:#9be0b1;border:1px solid #2f6c45;background:#0f1a13}.background-status.inactive{color:#999;border:1px solid #444;background:#151515}
.background-preview-wrap{padding:18px 18px 0}.background-preview{min-height:300px;border:1px solid #383838;border-radius:5px;background-color:#070707;background-position:center;background-size:cover;background-repeat:no-repeat;display:flex;align-items:flex-end;overflow:hidden;position:relative}.background-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.78));pointer-events:none}.background-preview>div{position:relative;z-index:1;padding:20px}.background-preview strong{display:block;color:#fff;font-size:20px;letter-spacing:1px}.background-preview span{display:block;margin-top:5px;color:#e30613;font-size:11px;font-weight:800;letter-spacing:1px}
.background-upload-row{margin:18px;padding:15px;border:1px solid #2b2b2b;background:#101010;border-radius:5px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px}.background-upload-row label{display:block;color:#ddd;font-size:11px;font-weight:800;letter-spacing:.5px}.background-upload-row small{display:block;color:#777;font-size:10px;margin-top:4px}.background-upload-row input[type=file]{max-width:330px;color:#aaa;font-size:10px}
.background-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 18px 18px}.background-settings-grid label{display:flex;flex-direction:column;gap:6px}.background-settings-grid label>span{font-size:10px;color:#8d8d8d;text-transform:uppercase;letter-spacing:.5px}.background-settings-grid label select{width:100%;height:40px;background:#090909;color:#eee;border:1px solid #383838;border-radius:4px;padding:0 10px}.background-settings-grid label select:focus{outline:none;border-color:#e30613}.background-settings-grid .background-range{grid-column:1/-1}.background-range input{width:100%;accent-color:#e30613}.background-range b{float:right;color:#e30613}.background-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid #292929;background:rgba(14,14,14,.96)}.background-actions .error{margin:0;min-height:0;margin-left:auto}
@media(max-width:800px){.background-admin-head{display:block}.background-admin-head .btn{margin-top:14px}.background-upload-row{grid-template-columns:1fr}.background-settings-grid{grid-template-columns:1fr}.background-settings-grid .background-range{grid-column:auto}.background-preview{min-height:220px}.background-actions .error{margin-left:0;width:100%}}

/* Beitragsmeldungen: direkt rechts neben MEIN KONTO */
.nav #accountNav + #reportNavBtn{margin-left:8px}
.nav #reportNavBtn{order:999;flex:0 0 auto}
.nav #accountNav{margin-left:0}
