*{box-sizing:border-box}
body{margin:0;background:#090b0d;color:#e7e8e9;font-family:Inter,Segoe UI,Arial,sans-serif}
a{color:inherit}
.site-wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:10;background:#0d1013eF;border-bottom:1px solid #292d33;backdrop-filter:blur(10px)}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between}
.forum-brand{text-decoration:none;display:flex;flex-direction:column;line-height:1}
.forum-brand strong{font-size:21px;letter-spacing:1px}
.forum-brand span{margin-top:6px;color:#df5a36;font-size:10px;letter-spacing:3px}
.forum-nav{display:flex;gap:10px}
.forum-nav a{text-decoration:none;padding:9px 12px;border-radius:7px;color:#bfc4ca}
.forum-nav a:hover{background:#181c21;color:#fff}
.forum-main{padding:32px 0 60px}
.forum-hero{min-height:210px;display:flex;align-items:end;padding:36px;margin-bottom:28px;border:1px solid #2a2f36;border-radius:16px;background:linear-gradient(115deg,#1e0e09,#111519 48%,#0b0d10)}
.forum-hero h1{font-size:36px;margin:8px 0 8px}
.forum-hero p{color:#afb4ba;margin:0;max-width:700px}
.eyebrow{text-transform:uppercase;letter-spacing:3px;font-size:11px;color:#e45a34}
.forum-category{margin-bottom:28px}
.category-title{padding:0 4px 10px}
.category-title h2{font-size:16px;text-transform:uppercase;letter-spacing:.08em;color:#c6c9cd}
.forum-list,.topic-list,.post-list{display:grid;gap:10px}
.forum-row,.topic-row{display:grid;grid-template-columns:52px minmax(0,1fr) 90px 90px 180px;align-items:center;gap:14px;background:#111418;border:1px solid #252a30;border-radius:11px;padding:17px;text-decoration:none;transition:.15s ease}
.forum-row:hover,.topic-row:hover{border-color:#554038;background:#15191d;transform:translateY(-1px)}
.forum-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;background:#25140f;color:#e9633d}
.forum-info h3,.topic-main h3{margin:0 0 6px;font-size:17px}
.forum-info p,.topic-main p{margin:0;color:#9da3aa;font-size:13px}
.forum-stat{text-align:center}
.forum-stat strong{display:block;font-size:18px}
.forum-stat span,.forum-last span{font-size:11px;color:#878d95;text-transform:uppercase}
.forum-last strong{display:block;margin-top:5px;font-size:12px}
.forum-last small{display:block;margin-top:4px;color:#8f959c}
.forum-panel{background:#111418;border:1px solid #272c32;border-radius:12px;padding:22px;margin-bottom:18px}
.forum-panel h1,.forum-panel h2{margin-top:0}
.empty-state{text-align:center;color:#aeb3b9}
.breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#92989f;font-size:13px;margin-bottom:16px}
.breadcrumbs a{text-decoration:none;color:#c9ccd0}
.forum-heading{display:flex;justify-content:space-between;gap:20px;align-items:center}
.forum-heading p{color:#9fa5ac;margin-bottom:0}
.coming-soon{padding:9px 12px;border-radius:999px;background:#29150f;color:#f0a48d;font-size:12px}
.topic-row{grid-template-columns:minmax(0,1fr) 90px 90px 180px}
.topic-flags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.topic-flags span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;background:#2b1711;color:#f39a7e;padding:4px 7px;border-radius:999px}
.topic-heading h1{margin-bottom:0}
.post-card{display:grid;grid-template-columns:190px minmax(0,1fr);border:1px solid #282d34;background:#111418;border-radius:12px;overflow:hidden}
.post-user{padding:22px;background:#0e1114;border-right:1px solid #282d34;text-align:center}
.avatar-placeholder{width:68px;height:68px;margin:0 auto 13px;border-radius:50%;display:grid;place-items:center;background:#27150f;color:#f1744d;font-size:27px;font-weight:800}
.post-user strong,.post-user span{display:block}
.post-user span{margin-top:6px;color:#8e949b;font-size:12px}
.post-body{padding:0 22px 20px}
.post-body header{height:52px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #252a30;color:#8f959c;font-size:12px}
.post-body header a{text-decoration:none;color:#cf6748}
.post-content{padding:22px 0;line-height:1.7;min-height:90px;color:#d5d7d9}
.post-body footer{border-top:1px solid #252a30;padding-top:12px;color:#858b92;font-size:11px}
.muted{color:#9ba1a8}
.site-footer{border-top:1px solid #24292f;color:#7d838a;padding:24px 0;font-size:12px}
@media(max-width:900px){
 .forum-row,.topic-row{grid-template-columns:44px minmax(0,1fr)}
 .topic-row{grid-template-columns:minmax(0,1fr)}
 .forum-stat,.forum-last{display:none}
 .post-card{grid-template-columns:1fr}
 .post-user{border-right:0;border-bottom:1px solid #282d34;text-align:left;display:grid;grid-template-columns:52px 1fr;column-gap:12px;align-items:center}
 .avatar-placeholder{width:48px;height:48px;margin:0;grid-row:1/3}
 .forum-heading{align-items:flex-start;flex-direction:column}
}

.forum-community-footer{border-top:1px solid #292e34;background:#0d1013;padding:30px 0}
.community-footer-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:24px}
.community-footer-block{background:#111418;border:1px solid #272c32;border-radius:12px;padding:22px}
.community-footer-block h3{margin:6px 0 20px;font-size:18px}
.footer-kicker{text-transform:uppercase;letter-spacing:.16em;color:#df5a36;font-size:10px}
.online-section,.recent-section{margin-top:16px}
.online-section>strong,.recent-section>strong{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#aeb4bb;margin-bottom:10px}
.user-cloud{display:flex;gap:8px;flex-wrap:wrap}
.online-user{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#18251c;border:1px solid #284833;color:#b8e5c2;font-size:12px}
.online-user:before{content:"";width:7px;height:7px;border-radius:50%;background:#73d58a}
.recent-users{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px}
.recent-users span{background:#0d1013;border:1px solid #24292f;border-radius:8px;padding:9px 10px}
.recent-users b,.recent-users small{display:block}
.recent-users b{font-size:12px}
.recent-users small{color:#7f858c;font-size:10px;margin-top:4px}
.footer-muted{color:#858b92;font-size:12px;margin:0}
.footer-stat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.footer-stat-card{background:#0d1013;border:1px solid #292e34;border-radius:10px;padding:20px;text-align:center}
.footer-stat-card strong{display:block;font-size:34px;color:#f07048}
.footer-stat-card span{display:block;color:#9ca2a9;font-size:12px;margin-top:5px;text-transform:uppercase}
.site-footer-inner{display:flex;justify-content:space-between;gap:12px}
@media(max-width:800px){
 .community-footer-grid{grid-template-columns:1fr}
 .site-footer-inner{flex-direction:column}
}

.nav-user{display:inline-flex;align-items:center;padding:9px 10px;color:#d7dadd;font-size:12px}
.nav-register{background:#2a1510;color:#f6b39e!important}
.auth-shell{display:grid;place-items:center;min-height:55vh;padding:20px 0}
.auth-card,.editor-card{width:min(680px,100%);background:#111418;border:1px solid #292e35;border-radius:14px;padding:28px}
.auth-card{max-width:500px}
.auth-card h1,.editor-card h1{margin:7px 0 8px}
.public-form{display:grid;gap:16px;margin-top:22px}
.public-form label{display:grid;gap:7px;color:#cfd2d6;font-size:13px;font-weight:600}
.public-form input,.public-form textarea,.public-form select{width:100%;border:1px solid #343a42;background:#0b0e11;color:#f0f1f2;border-radius:8px;padding:12px 13px;font:inherit}
.public-form textarea{resize:vertical;line-height:1.6}
.public-form input:focus,.public-form textarea:focus{outline:1px solid #b64f32;border-color:#b64f32}
.public-form button,.primary-action{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:8px;background:#d95632;color:#fff;padding:11px 16px;font-weight:750;text-decoration:none;cursor:pointer}
.public-form button:hover,.primary-action:hover{filter:brightness(1.08)}
.form-alert{background:#351814;border:1px solid #713324;color:#ffd1c5;padding:12px 14px;border-radius:8px;margin-top:18px}
.auth-switch{margin:18px 0 0;color:#949aa1;font-size:13px}
.auth-switch a{color:#e17959}
.hp-field{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.editor-card{margin:0 auto 24px}
.editor-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center}
.button-secondary{display:inline-flex;padding:11px 15px;border:1px solid #343a42;border-radius:8px;text-decoration:none;color:#c7cbd0}
.reply-action-panel{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:18px}
.reply-action-panel p{margin:5px 0 0}
@media(max-width:700px){
 .forum-nav{gap:4px;flex-wrap:wrap;justify-content:flex-end}
 .forum-nav a,.nav-user{padding:7px 8px;font-size:11px}
 .editor-actions,.reply-action-panel{align-items:stretch;flex-direction:column}
}

/* Forum 0.3.0 Hotfix 5 – Topic view polish */
.breadcrumbs{
    margin-bottom:22px;
    padding:0 2px;
}
.topic-heading{
    padding:28px 24px;
    margin-bottom:22px;
}
.topic-heading h1{
    font-size:30px;
    line-height:1.2;
}
.post-list{
    gap:18px;
}
.post-card{
    border-color:#2b3037;
    box-shadow:0 8px 24px rgba(0,0,0,.10);
}
.post-user{
    padding:26px 20px;
    background:linear-gradient(180deg,#0f1215 0%,#0c0f12 100%);
}
.post-user strong{
    margin-top:2px;
    font-size:14px;
}
.post-user span{
    color:#8f969e;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.avatar-placeholder{
    box-shadow:inset 0 0 0 1px #3a1e16;
}
.post-body{
    padding:0 24px 24px;
}
.post-body header{
    height:58px;
    border-bottom:1px solid #2b3037;
}
.post-content{
    padding:26px 0 30px;
    line-height:1.78;
}
.reply-action-panel{
    margin-top:28px;
    border-top:1px solid #333840;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
}
.reply-action-panel strong{
    font-size:16px;
}
.reply-action-panel .primary-action{
    min-width:112px;
}
@media(max-width:900px){
    .topic-heading h1{font-size:26px}
    .post-user{padding:18px}
    .post-body{padding:0 18px 20px}
    .post-content{padding:22px 0 24px}
}

.user-post-count{
    margin-top:16px;
    padding-top:14px;
    border-top:1px solid #252a30;
    text-align:center;
}
.user-post-count b{
    display:block;
    font-size:18px;
    color:#e9ecef;
}
.user-post-count small{
    display:block;
    margin-top:3px;
    color:#7f868e;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.08em;
}
@media(max-width:900px){
    .user-post-count{
        grid-column:2;
        margin-top:8px;
        padding-top:8px;
        text-align:left;
    }
}

/* Forum 0.4.0 – Profile & Moderation */
.profile-card{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px}
.profile-side,.profile-main{background:#111418;border:1px solid #292e35;border-radius:14px;padding:26px}
.profile-side{text-align:center}
.profile-avatar,.profile-avatar-placeholder{width:140px;height:140px;border-radius:50%;object-fit:cover;margin:0 auto 18px}
.profile-avatar-placeholder{display:grid;place-items:center;background:#2a1510;color:#f36b43;font-size:46px;font-weight:800}
.profile-side h1{margin:0 0 7px}
.profile-roles{color:#e06d4c;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.profile-edit-link{margin-top:20px}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}
.profile-stats>div{background:#0d1013;border:1px solid #292e34;border-radius:10px;padding:18px;text-align:center}
.profile-stats strong{display:block;font-size:28px;color:#f07048}
.profile-stats span{font-size:11px;color:#8f969d;text-transform:uppercase}
.profile-details{display:grid;gap:0;margin:0 0 28px}
.profile-details>div{display:grid;grid-template-columns:140px 1fr;padding:11px 0;border-bottom:1px solid #252a30}
.profile-details dt{color:#868d95}.profile-details dd{margin:0}
.profile-bio h2{font-size:16px}
.profile-bio p{line-height:1.7;color:#cfd3d6}
.check-row-profile{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px}
.check-row-profile input{width:auto!important}
.post-avatar-image{width:68px;height:68px;margin:0 auto 13px;border-radius:50%;object-fit:cover;border:1px solid #3a1e16}
.post-username{display:block;color:#fff;font-weight:700;text-decoration:none;margin-top:2px}
.post-username:hover{color:#ef7652}
.user-joined{margin-top:12px;padding-top:12px;border-top:1px solid #252a30;text-align:center}
.user-joined small,.user-joined b{display:block}.user-joined small{font-size:9px;text-transform:uppercase;color:#7f868e}.user-joined b{font-size:11px;margin-top:4px}
.post-meta-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.post-meta-actions a,.link-button{font:inherit;font-size:11px;color:#a9afb6;text-decoration:none}
.post-meta-actions a:hover,.link-button:hover{color:#ef7652}
.post-meta-actions form{margin:0}
.link-button{background:none!important;border:0!important;padding:0!important;cursor:pointer}
.danger-link{color:#d8786c!important}
.moderator-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#17120f;border:1px solid #4b2b21;border-radius:11px;padding:14px 16px;margin-bottom:18px}
.moderator-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.moderator-actions form{margin:0}
.mod-button{border:1px solid #5a3528;background:#241712;color:#f0b29e;border-radius:7px;padding:8px 11px;cursor:pointer}
.move-topic-form{display:flex;gap:6px}
.move-topic-form select{background:#0d1013;border:1px solid #473129;color:#fff;border-radius:7px;padding:7px}
.form-success{background:#14291b;border:1px solid #2f6640;color:#bde8c8;padding:12px 14px;border-radius:8px;margin:18px 0}
@media(max-width:800px){
 .profile-card{grid-template-columns:1fr}
 .profile-details>div{grid-template-columns:1fr;gap:4px}
 .moderator-toolbar{align-items:flex-start;flex-direction:column}
 .moderator-actions,.move-topic-form{width:100%}
 .move-topic-form select{flex:1;min-width:0}
 .post-avatar-image{width:48px;height:48px;margin:0;grid-row:1/3}
 .user-joined{grid-column:2;text-align:left}
}

/* WoltLab Importer 0.2.0 – Unterforen */
.forum-row-wrap{border-bottom:1px solid #24292f}
.forum-row-wrap>.forum-row{border-bottom:0}
.subforum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 18px 14px 78px}
.subforum-card{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#0e1114;border:1px solid #252b31;border-radius:8px;padding:10px 12px;text-decoration:none}
.subforum-card strong{color:#d9dde0;font-size:12px}
.subforum-card small{color:#7e858c;font-size:10px}
.subforum-card:hover{border-color:#553126}
.subforum-links{display:none}
.child-forums-panel{margin-bottom:18px}
@media(max-width:760px){
 .subforum-grid{grid-template-columns:1fr;padding:0 12px 12px}
 .subforum-card{align-items:flex-start;flex-direction:column}
}

/* Forum 0.5.3 – gelesen / ungelesen */
.forum-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;flex:0 0 46px}
.forum-icon img{display:block;width:42px;height:42px;object-fit:contain}
.forum-row-wrap .forum-row:hover .forum-icon img{transform:scale(1.04)}
.forum-icon img{transition:transform .15s ease}
.subforum-card{justify-content:flex-start}
.subforum-icon{width:30px;height:30px;object-fit:contain;flex:0 0 30px}
.subforum-text{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:12px}
.forum-row-wrap:has(.forum-icon.unread) .forum-info h3,.subforum-card.unread strong{font-weight:800}
@media(max-width:760px){
 .forum-icon{width:38px;height:38px;flex-basis:38px}
 .forum-icon img{width:36px;height:36px}
 .subforum-text{align-items:flex-start;flex-direction:column;gap:3px}
}

/* Forum 0.5.4 – letzter Beitrag in der Forenübersicht */
.forum-last-topic{
    display:block;
    max-width:260px;
    margin-top:4px;
    color:#e88945;
    font-weight:700;
    text-decoration:none;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.forum-last-topic:hover{
    text-decoration:underline;
}
.forum-last small{
    display:block;
    margin-top:3px;
}
.subforum-last-topic{
    display:block;
    max-width:260px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* Forum 0.5.5 – Fix: letzter Beitrag bleibt innerhalb der Forenzeile */
.forum-row-wrap>.forum-row{
    display:grid;
    grid-template-columns:52px minmax(0,1fr) 90px 90px 220px;
    align-items:center;
    gap:14px;
}
.forum-icon-link{
    display:block;
    width:46px;
    height:46px;
    text-decoration:none;
}
.forum-title-link{
    color:inherit;
    text-decoration:none;
}
.forum-title-link:hover,
.forum-last-topic:hover{
    color:#ff8a3d;
}
.forum-last{
    min-width:0;
    align-self:center;
}
.forum-last-topic{
    max-width:100%;
}
@media(max-width:1050px){
    .forum-row-wrap>.forum-row{
        grid-template-columns:52px minmax(0,1fr) 72px 72px 190px;
        gap:10px;
    }
}
@media(max-width:900px){
    .forum-row-wrap>.forum-row{
        grid-template-columns:44px minmax(0,1fr);
    }
    .forum-row-wrap>.forum-row .forum-stat,
    .forum-row-wrap>.forum-row .forum-last{
        display:none;
    }
}


/* Forum 0.5.6 – Unterforen innerhalb der Hauptforenbox */
.subforum-inline-wrap{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:10px;
    margin-top:14px;
}
.subforum-inline-card{
    display:flex;
    align-items:flex-start;
    gap:10px;
    min-width:0;
    padding:10px 12px;
    border:1px solid #2a2f36;
    border-radius:10px;
    background:#0d1013;
    text-decoration:none;
    transition:.15s ease;
}
.subforum-inline-card:hover{
    border-color:#554038;
    background:#15191d;
    transform:translateY(-1px);
}
.subforum-inline-card.unread{
    border-color:#4a2d1e;
    box-shadow:inset 0 0 0 1px rgba(224,109,76,.12);
}
.subforum-inline-icon{
    width:24px;
    height:24px;
    flex:0 0 24px;
    margin-top:1px;
}
.subforum-inline-text{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
}
.subforum-inline-text strong{
    display:block;
    font-size:13px;
    color:#f1f3f4;
    line-height:1.25;
}
.subforum-inline-text small{
    display:block;
    color:#90979f;
    font-size:11px;
    line-height:1.35;
}
.subforum-inline-text em{
    display:block;
    color:#d58154;
    font-size:11px;
    font-style:normal;
    line-height:1.35;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
@media(max-width:900px){
    .subforum-inline-wrap{
        grid-template-columns:1fr;
    }
}


/* Forum 0.5.8 – Profil-Gästebuch */
.profile-guestbook{margin-top:22px}
.guestbook-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}
.guestbook-head h2{margin:6px 0 0}
.guestbook-count{display:inline-flex;padding:7px 10px;border:1px solid #323840;border-radius:999px;color:#9da4ab;font-size:11px;white-space:nowrap}
.guestbook-form{display:grid;gap:10px;margin-bottom:24px;padding:18px;border:1px solid #2a3037;border-radius:11px;background:#0d1013}
.guestbook-form label{display:grid;gap:8px;font-size:13px;font-weight:700;color:#d8dcdf}
.guestbook-form textarea{width:100%;resize:vertical;min-height:100px;border:1px solid #343a42;background:#090c0f;color:#f0f1f2;border-radius:8px;padding:12px 13px;font:inherit;line-height:1.55}
.guestbook-form textarea:focus{outline:1px solid #b64f32;border-color:#b64f32}
.guestbook-form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}
.guestbook-form-footer small{color:#777f87}
.guestbook-form-footer button{border:0;border-radius:8px;background:#d95632;color:#fff;padding:10px 14px;font-weight:750;cursor:pointer}
.guestbook-list{display:grid;gap:12px}
.guestbook-entry{position:relative;display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;border:1px solid #292e35;background:#0f1215;border-radius:11px;padding:18px}
.guestbook-author{display:flex;align-items:center;gap:11px;min-width:0}
.guestbook-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;object-fit:cover;border:1px solid #3b2119}
.guestbook-avatar-placeholder{display:grid;place-items:center;background:#28150f;color:#ed724d;font-weight:800}
.guestbook-author-link{display:block;color:#fff;text-decoration:none;font-weight:800;overflow:hidden;text-overflow:ellipsis}
.guestbook-author-link:hover{color:#ef7652}
.guestbook-author small{display:block;margin-top:4px;color:#777f87;font-size:10px}
.guestbook-message{padding-right:62px;color:#d6d9dc;line-height:1.65;word-break:break-word}
.guestbook-delete-form{position:absolute;right:14px;top:14px;margin:0}
.guestbook-delete-form button{border:1px solid #4b3029;background:#1e1412;color:#cd8d7e;border-radius:7px;padding:6px 8px;font-size:10px;cursor:pointer}
.guestbook-delete-form button:hover{border-color:#784332;color:#ffc0ad}
.guestbook-empty{padding:22px;text-align:center;border:1px dashed #30363e;border-radius:10px;color:#858c94}
.guestbook-login-hint a{color:#e17959}
@media(max-width:720px){
 .guestbook-head{flex-direction:column}
 .guestbook-entry{grid-template-columns:1fr}
 .guestbook-message{padding-right:0}
 .guestbook-delete-form{position:static;margin-top:4px}
 .guestbook-form-footer{align-items:stretch;flex-direction:column}
 .guestbook-form-footer button{width:100%}
}


/* Forum 0.5.9 – Doom Guy im Header */
.forum-hero{
    position:relative;
    overflow:hidden;
    isolation:isolate;
    min-height:230px;
    align-items:center;
}
.forum-hero::before{
    content:"";
    position:absolute;
    inset:0 0 0 auto;
    width:min(44%,420px);
    background-image:url("https://i.kym-cdn.com/photos/images/newsfeed/001/122/702/e2d.gif");
    background-repeat:no-repeat;
    background-position:right center;
    background-size:auto 140%;
    opacity:.98;
    z-index:0;
    pointer-events:none;
}
.forum-hero::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:min(52%,560px);
    background:linear-gradient(90deg,
        #111519 0%,
        rgba(17,21,25,.98) 14%,
        rgba(17,21,25,.90) 30%,
        rgba(17,21,25,.62) 52%,
        rgba(17,21,25,.28) 74%,
        rgba(17,21,25,0) 100%);
    z-index:1;
    pointer-events:none;
}
.forum-hero-content{
    position:relative;
    z-index:2;
    max-width:min(62%,720px);
}
.forum-hero h1{
    text-shadow:0 2px 14px rgba(0,0,0,.28);
}
.forum-hero p{
    max-width:560px;
}
@media(max-width:980px){
    .forum-hero{min-height:210px;padding:28px}
    .forum-hero::before{width:min(42%,300px);background-size:auto 122%;opacity:.82}
    .forum-hero::after{width:min(54%,360px)}
    .forum-hero-content{max-width:68%}
}
@media(max-width:760px){
    .forum-hero{min-height:190px;align-items:flex-end}
    .forum-hero::before{width:46%;background-position:105% center;background-size:auto 110%;opacity:.45}
    .forum-hero::after{width:58%;background:linear-gradient(90deg,#111519 0%,rgba(17,21,25,.95) 24%,rgba(17,21,25,.72) 48%,rgba(17,21,25,.18) 100%)}
    .forum-hero-content{max-width:100%}
    .forum-hero h1{font-size:30px}
}
@media(max-width:560px){
    .forum-hero::before,.forum-hero::after{display:none}
    .forum-hero{min-height:auto}
}


/* Forum 0.6.0 – dezentes rotes Hintergrund-Pulsieren */
body{
    position:relative;
    min-height:100vh;
    background:#090b0d;
}
body::before{
    content:"";
    position:fixed;
    inset:-18vh -12vw;
    z-index:-2;
    pointer-events:none;
    background:
        radial-gradient(circle at 18% 28%, rgba(120,18,10,.10) 0%, rgba(120,18,10,.045) 24%, rgba(120,18,10,0) 54%),
        radial-gradient(circle at 82% 72%, rgba(145,24,12,.085) 0%, rgba(145,24,12,.035) 22%, rgba(145,24,12,0) 52%),
        #090b0d;
    transform:scale(1);
    opacity:.72;
    animation:doomAmbientPulse 12s ease-in-out infinite;
}
body::after{
    content:"";
    position:fixed;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.22));
}
@keyframes doomAmbientPulse{
    0%,100%{
        opacity:.58;
        transform:scale(1);
        filter:saturate(.9);
    }
    50%{
        opacity:.82;
        transform:scale(1.025);
        filter:saturate(1.04);
    }
}
@media (prefers-reduced-motion: reduce){
    body::before{
        animation:none;
        opacity:.64;
        transform:none;
    }
}


/* Forum 0.6.1 – ausklappbare Forengames-Testbox */
.forum-games-drawer{
    --games-panel-width:320px;
    position:fixed;
    left:0;
    top:50%;
    z-index:80;
    display:flex;
    align-items:center;
    transform:translateY(-50%) translateX(calc(-1 * var(--games-panel-width)));
    transition:transform .28s ease;
    filter:drop-shadow(8px 10px 24px rgba(0,0,0,.26));
}
.forum-games-drawer.is-open{
    transform:translateY(-50%) translateX(0);
}
.forum-games-panel{
    width:var(--games-panel-width);
    max-height:min(620px,calc(100vh - 120px));
    overflow:auto;
    padding:20px;
    border:1px solid #343940;
    border-left:0;
    border-radius:0 13px 13px 0;
    background:linear-gradient(145deg,rgba(18,21,25,.98),rgba(10,12,15,.98));
    box-shadow:inset -1px 0 rgba(232,92,50,.08);
}
.forum-games-toggle{
    width:46px;
    min-height:132px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-left:0;
    padding:10px 6px;
    border:1px solid #4c3027;
    border-left:0;
    border-radius:0 10px 10px 0;
    background:linear-gradient(180deg,#2a1712,#171216);
    color:#f1b19c;
    cursor:pointer;
    box-shadow:0 8px 28px rgba(0,0,0,.22),inset 0 0 22px rgba(192,58,31,.08);
}
.forum-games-toggle:hover{
    background:linear-gradient(180deg,#351b14,#1a1315);
    color:#fff;
    border-color:#75402f;
}
.forum-games-toggle-icon{font-size:18px;line-height:1}
.forum-games-toggle-label{
    writing-mode:vertical-rl;
    transform:rotate(180deg);
    font-size:10px;
    font-weight:800;
    letter-spacing:.18em;
}
.forum-games-panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding-bottom:14px;
    border-bottom:1px solid #2a2f35;
}
.forum-games-panel-head strong{
    display:block;
    margin-top:6px;
    font-size:20px;
}
.forum-games-close{
    width:31px;
    height:31px;
    border:1px solid #3d4249;
    border-radius:8px;
    background:#101317;
    color:#9299a1;
    font-size:21px;
    line-height:1;
    cursor:pointer;
}
.forum-games-close:hover{color:#fff;border-color:#74402f;background:#211511}
.forum-games-intro{margin:16px 0;color:#90969d;font-size:12px;line-height:1.6}
.forum-games-links{display:grid;gap:8px}
.forum-games-links a{
    display:flex;
    align-items:center;
    gap:11px;
    padding:11px 12px;
    border:1px solid #292e34;
    border-radius:9px;
    background:#0d1013;
    text-decoration:none;
    transition:.15s ease;
}
.forum-games-links a:hover{background:#16191d;border-color:#523328;transform:translateX(2px)}
.forum-games-links strong,.forum-games-links small{display:block}
.forum-games-links strong{font-size:12px;color:#e8eaec}
.forum-games-links small{margin-top:3px;font-size:10px;color:#777e86}
.forum-game-dot{
    width:9px;height:9px;flex:0 0 9px;border-radius:50%;
    background:#d75a34;box-shadow:0 0 10px rgba(215,90,52,.35)
}
.forum-games-note{
    margin-top:16px;
    padding-top:13px;
    border-top:1px solid #272c32;
    color:#875443;
    font-size:9px;
    font-weight:800;
    letter-spacing:.16em;
    text-align:right;
}
@media(max-width:760px){
    .forum-games-drawer{--games-panel-width:min(290px,calc(100vw - 58px));top:auto;bottom:18px;transform:translateX(calc(-1 * var(--games-panel-width)))}
    .forum-games-drawer.is-open{transform:translateX(0)}
    .forum-games-toggle{min-height:110px;width:42px}
    .forum-games-panel{max-height:70vh;padding:16px}
}
@media(prefers-reduced-motion:reduce){
    .forum-games-drawer,.forum-games-links a{transition:none}
}


/* Forum 0.6.2 – Fix für ausklappbare Forengames-Box */
.forum-games-panel{
    order:1;
}
.forum-games-toggle{
    order:2;
    position:relative;
    z-index:2;
    flex:0 0 46px;
}
.forum-games-drawer:not(.is-open) .forum-games-toggle{
    box-shadow:
        0 8px 28px rgba(0,0,0,.30),
        0 0 18px rgba(215,90,52,.10),
        inset 0 0 22px rgba(192,58,31,.08);
}
.forum-games-drawer:not(.is-open) .forum-games-toggle:hover{
    transform:translateX(3px);
}
@media(max-width:760px){
    .forum-games-toggle{
        flex-basis:42px;
    }
}


/* Forum 0.6.3 – kleiner Musik-Player in der Games-Box */
.forum-games-music{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 16px;
    padding:12px;
    border:1px solid #3a2a25;
    border-radius:10px;
    background:
        radial-gradient(circle at 100% 0%,rgba(202,69,36,.10),transparent 46%),
        #0d1013;
}
.forum-games-music-info{
    min-width:0;
}
.forum-games-music-info strong,
.forum-games-music-info small,
.forum-games-music-kicker{
    display:block;
}
.forum-games-music-kicker{
    margin-bottom:4px;
    color:#b85e43;
    font-size:8px;
    font-weight:800;
    letter-spacing:.14em;
}
.forum-games-music-info strong{
    color:#eceeef;
    font-size:12px;
}
.forum-games-music-info small{
    margin-top:3px;
    color:#767d85;
    font-size:9px;
}
.forum-games-music-toggle{
    flex:0 0 auto;
    min-width:72px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:9px 11px;
    border:1px solid #5b382d;
    border-radius:8px;
    background:#241611;
    color:#f2b29e;
    font:inherit;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}
.forum-games-music-toggle:hover{
    border-color:#8a4d39;
    background:#311a14;
    color:#fff;
}
.forum-games-music-toggle[aria-pressed="true"]{
    border-color:#764233;
    background:#351a14;
    color:#ffb49d;
}
.forum-games-music-icon{
    width:12px;
    text-align:center;
    font-size:10px;
}
.forum-games-music-host{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%);
    pointer-events:none;
}
@media(max-width:420px){
    .forum-games-music{
        align-items:stretch;
        flex-direction:column;
    }
    .forum-games-music-toggle{
        width:100%;
    }
}


/* Forum 0.6.4 – Beitragszitate */
.quote-post-link{
    color:#d98a6d!important;
}
.quote-post-link:hover{
    color:#ffb197!important;
}
.forum-quote{
    margin:14px 0;
    border:1px solid #343940;
    border-left:3px solid #b65336;
    border-radius:9px;
    background:linear-gradient(135deg,#0d1013,#121519);
    overflow:hidden;
}
.forum-quote-head{
    padding:9px 12px;
    border-bottom:1px solid #2b3036;
    background:#15191d;
    color:#8e959d;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.forum-quote-head strong{
    color:#e78b6d;
}
.forum-quote-body{
    padding:13px 14px;
    color:#cbd0d4;
    line-height:1.65;
}


/* Forum 0.6.5 – Beitragsanhaenge */
.attachment-hint{color:#8c939b;font-size:10px;font-weight:400}
.attachment-input{padding:10px!important}
.attachment-types{color:#737a82;font-size:10px;line-height:1.5}
.post-attachments{margin:0 0 22px;padding-top:16px;border-top:1px solid #252a30}
.post-attachments-title{margin-bottom:10px;color:#969da5;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.post-attachments-title span{color:#d96a48}
.post-attachments-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.post-attachment-image,.post-attachment-file{border:1px solid #2e343b;border-radius:9px;background:#0d1013;text-decoration:none;overflow:hidden}
.post-attachment-image{display:block}
.post-attachment-image img{display:block;width:100%;height:150px;object-fit:cover;background:#090b0d}
.post-attachment-image span{display:block;padding:8px 10px;color:#9da4ab;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-attachment-file{display:flex;align-items:center;gap:10px;padding:12px}
.post-attachment-file:hover,.post-attachment-image:hover{border-color:#654031;background:#15191d}
.post-attachment-file-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:7px;background:#281711;color:#ee7956;font-size:18px}
.post-attachment-file strong,.post-attachment-file small{display:block}
.post-attachment-file strong{color:#e7e9eb;font-size:11px;word-break:break-word}
.post-attachment-file small{margin-top:4px;color:#777f87;font-size:9px}
@media(max-width:600px){.post-attachments-grid{grid-template-columns:1fr}}


/* Forum 0.6.6 – Smilie-Auswahl mit Kategorien */
.smiley-picker{
    margin-top:-6px;
    border:1px solid #4a4f55;
    border-radius:10px;
    background:#0d1014;
    overflow:hidden;
    color:#d9dde1;
}
.smiley-picker-toggle{
    width:100%;
    min-height:42px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px 12px;
    border:0;
    background:#11151a;
    color:#d9dde1;
    font:inherit;
    font-size:12px;
    font-weight:800;
    text-align:left;
    cursor:pointer;
}
.smiley-picker-toggle:hover{
    background:#171c22;
}
.smiley-picker-toggle-icon{
    display:grid;
    place-items:center;
    width:25px;
    height:25px;
    border-radius:50%;
    background:#252b31;
    color:#f0a086;
    font-size:17px;
    line-height:1;
}
.smiley-picker-toggle-arrow{
    margin-left:auto;
    color:#9aa1a8;
    font-size:18px;
    transform:rotate(0deg);
    transition:transform .15s ease;
}
.smiley-picker:not(.is-collapsed) .smiley-picker-toggle-arrow{
    transform:rotate(180deg);
}
.smiley-picker-content[hidden]{
    display:none;
}
.smiley-picker-content{
    border-top:1px solid #2d333a;
    background:#0d1014;
}
.smiley-picker-tabs{
    display:flex;
    gap:4px;
    padding:7px 7px 0;
    border-bottom:1px solid #2b3138;
    background:#11151a;
}
.smiley-tab{
    border:1px solid transparent;
    border-bottom:0;
    border-radius:7px 7px 0 0;
    background:#171b20;
    color:#aeb5bc;
    padding:8px 13px;
    font:inherit;
    font-size:11px;
    font-weight:750;
    cursor:pointer;
}
.smiley-tab:hover{
    color:#fff;
    background:#272b30;
}
.smiley-tab.is-active{
    color:#f0a086;
    background:#0d1014;
    border-color:#343b43;
}
.smiley-picker-panels{
    padding:10px;
    background:#0d1014;
}
.smiley-panel{
    display:none;
    grid-template-columns:repeat(auto-fill,minmax(42px,1fr));
    gap:6px;
    max-height:220px;
    overflow:auto;
    padding:2px;
}
.smiley-panel.is-active{
    display:grid;
}
.smiley-button{
    min-width:0;
    height:42px;
    display:grid;
    place-items:center;
    border:1px solid #414850;
    border-radius:7px;
    background:#2a3036;
    cursor:pointer;
    padding:4px;
}
.smiley-button:hover{
    border-color:#8a4a36;
    background:#353c43;
    transform:translateY(-1px);
    box-shadow:0 3px 9px rgba(0,0,0,.28);
}
.smiley-button img{
    display:block;
    max-width:32px;
    max-height:32px;
    width:auto;
    height:auto;
    object-fit:contain;
}
.forum-smiley{
    display:inline-block;
    max-width:48px;
    max-height:48px;
    width:auto;
    height:auto;
    vertical-align:middle;
    margin:0 3px;
}
@media(max-width:600px){
    .smiley-picker-tabs{overflow-x:auto}
    .smiley-tab{white-space:nowrap}
    .smiley-panel{grid-template-columns:repeat(auto-fill,minmax(38px,1fr));max-height:190px}
    .smiley-button{height:38px}
    .smiley-button img{max-width:29px;max-height:29px}
}
@media(prefers-reduced-motion:reduce){
    .smiley-button,
    .smiley-picker-toggle-arrow{transition:none}
}


/* Forum 0.6.7 – breiter Antwort-/Editorbereich */
.editor-card{
    width:100%;
    max-width:none;
}
.reply-action-panel{
    width:100%;
}
.public-form{
    width:100%;
}
.public-form textarea{
    width:100%;
}
.smiley-picker,
.attachment-upload-panel{
    width:100%;
}
@media(min-width:901px){
    .editor-card{
        padding-left:28px;
        padding-right:28px;
    }
}


/* Forum 0.6.8 – Running DoomGuy */
.doom-runner-intro{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}
.doom-runner-intro h1{
    margin:6px 0 8px;
    font-size:30px;
}
.doom-runner-intro p{
    max-width:720px;
    margin:0;
    color:#9ea4aa;
    line-height:1.6;
}
.doom-runner-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 260px;
    gap:18px;
    align-items:start;
}
.doom-runner-card,
.doom-runner-scoreboard{
    border:1px solid #292f36;
    border-radius:13px;
    background:#101317;
}
.doom-runner-card{
    padding:18px;
}
.doom-runner-scoreboard{
    position:sticky;
    top:96px;
    padding:20px;
}
.doom-runner-scoreboard h2{
    margin:6px 0 18px;
}
.doom-runner-hud{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-bottom:12px;
}
.doom-runner-hud>div{
    border:1px solid #2c3238;
    border-radius:9px;
    background:#0b0e11;
    padding:10px 12px;
}
.doom-runner-hud span,
.doom-runner-hud strong{
    display:block;
}
.doom-runner-hud span{
    color:#747c84;
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.doom-runner-hud strong{
    margin-top:4px;
    color:#f0f2f3;
    font-size:18px;
}
.doom-runner-stage{
    position:relative;
    overflow:hidden;
    border:1px solid #3a302d;
    border-radius:11px;
    background:#090b0d;
    box-shadow:inset 0 0 45px rgba(117,31,18,.08);
}
#doomRunnerCanvas{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:5/2;
    cursor:pointer;
    image-rendering:pixelated;
    touch-action:manipulation;
}
.doom-runner-overlay{
    position:absolute;
    inset:0;
    display:grid;
    place-items:center;
    padding:20px;
    background:rgba(4,6,8,.62);
    backdrop-filter:blur(2px);
    transition:opacity .18s ease,visibility .18s ease;
}
.doom-runner-overlay.is-hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}
.doom-runner-overlay-box{
    width:min(420px,100%);
    padding:22px;
    text-align:center;
    border:1px solid #4a3027;
    border-radius:12px;
    background:linear-gradient(145deg,rgba(24,20,19,.96),rgba(12,15,18,.96));
    box-shadow:0 16px 50px rgba(0,0,0,.35);
}
.doom-runner-overlay-box h2{
    margin:7px 0;
}
.doom-runner-overlay-box p{
    margin:0 0 17px;
    color:#989fa6;
    line-height:1.55;
}
.doom-runner-controls{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-top:12px;
}
.doom-runner-controls button{
    min-width:120px;
    padding:11px 15px;
    border:1px solid #6c3b2c;
    border-radius:8px;
    background:#2c1712;
    color:#f5b39e;
    font-weight:800;
    cursor:pointer;
}
.doom-runner-controls button:hover{
    background:#3a1c15;
    border-color:#99513a;
    color:#fff;
}
.doom-runner-controls span{
    color:#737b83;
    font-size:11px;
}
.doom-runner-message{
    min-height:20px;
    margin-top:12px;
    color:#d88365;
    font-size:12px;
}
.doom-runner-login-state{
    margin:5px 0 0;
    font-size:11px;
}
.doom-runner-login-state a{
    color:#e27a58;
}
.doom-runner-leaderboard{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:7px;
    counter-reset:doomrank;
}
.doom-runner-leaderboard li{
    counter-increment:doomrank;
    display:grid;
    grid-template-columns:25px minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    padding:9px 10px;
    border:1px solid #272d33;
    border-radius:8px;
    background:#0b0e11;
}
.doom-runner-leaderboard li::before{
    content:counter(doomrank) ".";
    color:#6f767e;
    font-size:10px;
}
.doom-runner-leaderboard span{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:11px;
}
.doom-runner-leaderboard strong{
    color:#e57956;
    font-size:12px;
}
@media(max-width:900px){
    .doom-runner-layout{grid-template-columns:1fr}
    .doom-runner-scoreboard{position:static}
}
@media(max-width:620px){
    .doom-runner-intro{align-items:flex-start;flex-direction:column}
    .doom-runner-hud{grid-template-columns:1fr 1fr}
    .doom-runner-hud>div:last-child{grid-column:1/-1}
    .doom-runner-controls{align-items:stretch;flex-direction:column}
    .doom-runner-controls button{width:100%}
    .doom-runner-controls span{text-align:center}
}
@media(prefers-reduced-motion:reduce){
    .doom-runner-overlay{transition:none}
}


/* Forum 0.6.9 – Pagination innerhalb von Topics */
.topic-pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:0 0 18px;
    padding:10px 12px;
    border:1px solid #292f36;
    border-radius:10px;
    background:#0e1114;
}
.topic-pagination-bottom{
    margin:18px 0 0;
}
.topic-pagination-info{
    flex:0 0 auto;
    color:#7f878f;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.topic-pagination-pages{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:6px;
    flex-wrap:wrap;
}
.topic-page-number,
.topic-page-nav,
.topic-page-ellipsis{
    min-width:32px;
    height:32px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:7px;
    font-size:11px;
}
.topic-page-number,
.topic-page-nav{
    border:1px solid #30363d;
    background:#14181c;
    color:#cbd0d5;
    text-decoration:none;
    transition:.15s ease;
}
.topic-page-nav{
    padding:0 11px;
    min-width:auto;
}
.topic-page-number:hover,
.topic-page-nav:hover{
    border-color:#6a3b2d;
    background:#211511;
    color:#fff;
}
.topic-page-number.is-current{
    border-color:#9a4b33;
    background:#3a1c14;
    color:#ffb299;
    font-weight:800;
}
.topic-page-ellipsis{
    color:#666e76;
}
@media(max-width:620px){
    .topic-pagination{
        align-items:flex-start;
        flex-direction:column;
    }
    .topic-pagination-pages{
        justify-content:flex-start;
        width:100%;
    }
    .topic-page-nav{
        padding:0 9px;
    }
}


/* Forum 0.7.0 – Pagination in der Themenübersicht */
.forum-topic-pagination{
    margin-top:0;
}
.forum-topic-pagination + .topic-list{
    margin-top:0;
}


/* Forum 0.7.1 – mehr Abstand vor der unteren Seitenwahl */
.forum-topic-pagination.topic-pagination-bottom{
    margin-top:32px;
}


/* Forum 0.7.2 – dynamische GameBox */
.forum-games-empty{
    margin:14px 0 0;
    padding:12px;
    border:1px dashed #343a41;
    border-radius:9px;
    color:#747c84;
    font-size:11px;
    text-align:center;
}


/* Forum 0.7.3 – Kategorien als eigene leicht rötliche Container */
.forum-category{
    position:relative;
    margin:34px 0 42px;
    padding:28px 14px 14px;
    border:1px solid rgba(138,63,43,.42);
    border-radius:14px;
    background:
        linear-gradient(180deg,rgba(56,24,18,.20),rgba(17,20,24,.10) 28%,rgba(13,16,19,.06) 100%),
        #0d1013;
    box-shadow:
        0 12px 34px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.015),
        inset 0 0 30px rgba(133,46,27,.035);
}

.forum-category .category-title{
    position:absolute;
    top:0;
    left:18px;
    transform:translateY(-50%);
    z-index:2;
    padding:0;
}

.forum-category .category-title h2{
    position:relative;
    display:inline-flex;
    align-items:center;
    min-height:38px;
    margin:0;
    padding:0 18px;
    border:1px solid rgba(143,66,45,.55);
    border-radius:9px 9px 7px 7px;
    background:
        linear-gradient(180deg,#1e1412 0%,#151315 100%);
    color:#d7dadd;
    box-shadow:
        0 8px 18px rgba(0,0,0,.24),
        inset 0 -1px 0 rgba(255,255,255,.02);
    font-size:14px;
    letter-spacing:.08em;
    text-transform:uppercase;
}

/* kleine optische Verlängerung hinter der Überschrift:
   lässt die Box wie einen halb eingelassenen Reiter wirken */
.forum-category .category-title h2::after{
    content:"";
    position:absolute;
    left:12px;
    right:12px;
    bottom:-7px;
    height:7px;
    border-left:1px solid rgba(143,66,45,.28);
    border-right:1px solid rgba(143,66,45,.28);
    background:linear-gradient(180deg,rgba(53,27,22,.55),rgba(20,17,18,0));
    pointer-events:none;
}

.forum-category .forum-list{
    gap:10px;
}

/* die einzelnen Forenboxen wirken im neuen Kategorien-Container etwas eingebettet */
.forum-category .forum-row{
    background:
        linear-gradient(90deg,rgba(43,22,18,.08),rgba(17,20,24,0) 26%),
        #111418;
}

.forum-category .forum-row:hover{
    background:
        linear-gradient(90deg,rgba(87,38,26,.13),rgba(21,25,29,0) 32%),
        #15191d;
}

/* Unterforen bleiben innerhalb derselben Kategorie optisch passend */
.forum-category .subforum-inline-card{
    background:#0c0f12;
    border-color:#292b2f;
}

@media(max-width:760px){
    .forum-category{
        margin-top:30px;
        padding:26px 10px 10px;
    }

    .forum-category .category-title{
        left:12px;
    }

    .forum-category .category-title h2{
        min-height:34px;
        padding:0 13px;
        font-size:12px;
        letter-spacing:.06em;
    }
}


/* Forum 0.8.0 – Community-Galerie */
.gallery-hero,
.gallery-album-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
}
.gallery-hero h1,
.gallery-album-header h1{
    margin:6px 0 8px;
}
.gallery-hero p,
.gallery-album-byline{
    margin:0;
    color:#969da5;
}
.gallery-album-byline a{
    color:#df7655;
    text-decoration:none;
}
.gallery-category-block{
    margin:30px 0;
    padding:20px;
    border:1px solid rgba(132,59,41,.42);
    border-radius:14px;
    background:linear-gradient(180deg,rgba(55,23,17,.17),rgba(13,16,19,.55));
}
.gallery-category-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:18px;
}
.gallery-category-head h2{
    margin:5px 0 6px;
}
.gallery-category-head p{
    margin:0;
    color:#8e959c;
    line-height:1.55;
}
.gallery-category-empty,
.gallery-empty{
    color:#838a92;
    text-align:center;
}
.gallery-album-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:14px;
}
.gallery-album-card{
    overflow:hidden;
    border:1px solid #2b3036;
    border-radius:11px;
    background:#0e1114;
    text-decoration:none;
    transition:.15s ease;
}
.gallery-album-card:hover{
    transform:translateY(-2px);
    border-color:#68402f;
    box-shadow:0 12px 24px rgba(0,0,0,.18);
}
.gallery-album-cover{
    aspect-ratio:16/10;
    overflow:hidden;
    background:#080a0c;
}
.gallery-album-cover img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
}
.gallery-album-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    background:
        radial-gradient(circle at 50% 40%,rgba(147,50,29,.18),transparent 55%),
        #0a0d10;
}
.gallery-album-placeholder span{
    color:#6d4538;
    font-size:45px;
}
.gallery-album-meta{
    padding:13px 14px;
}
.gallery-album-meta strong,
.gallery-album-meta span,
.gallery-album-meta small{
    display:block;
}
.gallery-album-meta strong{
    color:#e9ebed;
    font-size:14px;
}
.gallery-album-meta span{
    margin-top:5px;
    color:#8f969d;
    font-size:11px;
}
.gallery-album-meta small{
    margin-top:7px;
    color:#d16c4d;
    font-size:10px;
}
.gallery-album-actions{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.gallery-album-description{
    margin-top:16px;
    max-width:760px;
    color:#c2c7cb;
    line-height:1.65;
}
.gallery-image-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
    gap:16px;
}
.gallery-image-card{
    overflow:hidden;
    border:1px solid #292f35;
    border-radius:12px;
    background:#101317;
}
.gallery-image-link{
    display:block;
    aspect-ratio:4/3;
    overflow:hidden;
    background:#090b0d;
}
.gallery-image-link img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .2s ease;
}
.gallery-image-link:hover img{
    transform:scale(1.025);
}
.gallery-image-meta{
    padding:13px;
}
.gallery-image-meta strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.gallery-image-meta p{
    margin:8px 0;
    color:#9ba2a9;
    font-size:12px;
    line-height:1.5;
}
.gallery-image-meta small{
    color:#747c84;
}
.gallery-delete-button,
.gallery-delete-album-form button{
    margin-top:10px;
    border:1px solid #63382d;
    border-radius:7px;
    background:#251511;
    color:#d99480;
    padding:7px 9px;
    font:inherit;
    font-size:10px;
    cursor:pointer;
}
.gallery-delete-album-form{
    margin-top:26px;
    padding-top:20px;
    border-top:1px solid #2c3238;
}
.gallery-delete-album-form button{
    font-size:12px;
}
.gallery-editor-card{
    width:100%;
    max-width:none;
}
@media(max-width:700px){
    .gallery-hero,
    .gallery-album-header,
    .gallery-category-head{
        flex-direction:column;
    }
    .gallery-album-actions{
        justify-content:flex-start;
    }
    .gallery-album-grid,
    .gallery-image-grid{
        grid-template-columns:1fr;
    }
}


/* Forum 0.8.1 – persönliche Mitglieder-Blogs */
.profile-tabs{
    display:flex;
    align-items:center;
    gap:6px;
    margin:0 0 18px;
    padding:5px;
    border:1px solid #292f35;
    border-radius:10px;
    background:#0d1013;
    overflow-x:auto;
}
.profile-tabs a{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:35px;
    padding:0 13px;
    border:1px solid transparent;
    border-radius:7px;
    color:#9299a1;
    text-decoration:none;
    font-size:12px;
    font-weight:700;
}
.profile-tabs a:hover{
    color:#fff;
    background:#15191d;
}
.profile-tabs a.is-active{
    border-color:#5d372b;
    background:#271712;
    color:#f0a78f;
}
.profile-tabs a span{
    min-width:21px;
    height:21px;
    display:inline-grid;
    place-items:center;
    border-radius:999px;
    background:#0d1013;
    color:#d57050;
    font-size:9px;
}
.user-blog-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    background:
        linear-gradient(115deg,rgba(61,25,18,.24),rgba(17,20,24,.35) 48%,rgba(12,15,18,.72)),
        #111418;
}
.user-blog-header h1{
    margin:7px 0 8px;
    font-size:30px;
}
.user-blog-header p{
    max-width:760px;
    margin:0;
    color:#a1a7ae;
    line-height:1.65;
}
.user-blog-description{
    max-width:760px;
    color:#a1a7ae;
    line-height:1.65;
    overflow-wrap:anywhere;
}
.user-blog-description .forum-bbcode-heading:first-child,
.user-blog-content .forum-bbcode-heading:first-child{
    margin-top:0;
}
.user-blog-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
    flex-wrap:wrap;
}
.blog-inactive-note{
    margin-top:14px;
    padding:9px 11px;
    border:1px solid #604032;
    border-radius:8px;
    background:#241711;
    color:#d99e88;
    font-size:11px;
}
.user-blog-posts{
    display:grid;
    gap:18px;
}
.user-blog-post{
    overflow:hidden;
    border:1px solid #2b3037;
    border-radius:13px;
    background:#111418;
    box-shadow:0 10px 28px rgba(0,0,0,.10);
}
.user-blog-post>header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:18px;
    padding:20px 22px;
    border-bottom:1px solid #292e34;
    background:
        linear-gradient(90deg,rgba(64,28,20,.18),rgba(17,20,24,0) 42%),
        #0f1215;
}
.user-blog-post h2{
    margin:5px 0 7px;
    font-size:22px;
}
.user-blog-post header small{
    color:#777f87;
    font-size:10px;
}
.user-blog-content{
    padding:24px 22px 28px;
    color:#d2d6d9;
    line-height:1.78;
    word-break:break-word;
}
.blog-empty-state{
    text-align:center;
}
.blog-empty-state h1,
.blog-empty-state h2{
    margin:7px 0 8px;
}
.blog-empty-state p{
    color:#91989f;
}
.blog-pagination{
    margin-bottom:18px;
}
.blog-pagination.topic-pagination-bottom{
    margin-top:28px;
    margin-bottom:0;
}
.blog-editor-card{
    width:100%;
    max-width:none;
}
.blog-active-check{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center;
    gap:9px;
}
.blog-active-check input{
    width:auto!important;
}
.blog-delete-form{
    margin-top:28px;
    padding-top:20px;
    border-top:1px solid #2b3037;
}
.blog-delete-form button{
    border:1px solid #67372c;
    border-radius:8px;
    background:#251511;
    color:#d88d79;
    padding:9px 12px;
    font:inherit;
    font-size:11px;
    cursor:pointer;
}
.blog-delete-form button:hover{
    border-color:#944b39;
    color:#ffc0ad;
}
@media(max-width:700px){
    .user-blog-header,
    .user-blog-post>header{
        flex-direction:column;
    }
    .user-blog-actions{
        justify-content:flex-start;
    }
    .profile-tabs{
        scrollbar-width:none;
    }
}


/* Forum 0.8.4 – laufender Songtitel im GameBox-Musikplayer */
.forum-games-music-info{
    flex:1 1 auto;
    min-width:0;
}
.forum-games-music-display{
    position:relative;
    width:100%;
    min-width:0;
    max-width:165px;
    height:25px;
    overflow:hidden;
    border:1px solid #342a26;
    border-radius:6px;
    background:
        linear-gradient(180deg,rgba(255,255,255,.018),rgba(0,0,0,.08)),
        #090c0f;
    box-shadow:
        inset 0 0 12px rgba(0,0,0,.34),
        inset 0 0 9px rgba(185,69,39,.035);
}
.forum-games-music-display::before,
.forum-games-music-display::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    width:14px;
    z-index:2;
    pointer-events:none;
}
.forum-games-music-display::before{
    left:0;
    background:linear-gradient(90deg,#090c0f,rgba(9,12,15,0));
}
.forum-games-music-display::after{
    right:0;
    background:linear-gradient(270deg,#090c0f,rgba(9,12,15,0));
}
.forum-games-music-title-scroll{
    position:absolute;
    top:0;
    left:0;
    display:inline-flex;
    align-items:center;
    height:100%;
    padding:0 4px;
    color:#e88768;
    font-size:10px;
    font-weight:800;
    letter-spacing:.045em;
    white-space:nowrap;
    text-shadow:0 0 8px rgba(219,89,54,.20);
    will-change:transform;
    animation:forumMusicTitleScroll 11s linear infinite;
}
@keyframes forumMusicTitleScroll{
    0%{
        transform:translateX(-105%);
    }
    12%{
        transform:translateX(-105%);
    }
    88%{
        transform:translateX(175px);
    }
    100%{
        transform:translateX(175px);
    }
}
@media(max-width:420px){
    .forum-games-music-display{
        max-width:none;
    }
    @keyframes forumMusicTitleScroll{
        0%{transform:translateX(-105%)}
        12%{transform:translateX(-105%)}
        88%{transform:translateX(calc(100vw - 110px))}
        100%{transform:translateX(calc(100vw - 110px))}
    }
}
@media(prefers-reduced-motion:reduce){
    .forum-games-music-title-scroll{
        position:static;
        max-width:100%;
        overflow:hidden;
        text-overflow:ellipsis;
        animation:none;
    }
}


/* Forum 0.8.5 – automatische YouTube-Einbettung */
.forum-youtube-embed{
    position:relative;
    width:min(100%,760px);
    aspect-ratio:16/9;
    margin:18px 0;
    overflow:hidden;
    border:1px solid #333941;
    border-radius:11px;
    background:#07090b;
    box-shadow:
        0 12px 28px rgba(0,0,0,.18),
        inset 0 0 24px rgba(111,39,24,.04);
}
.forum-youtube-embed iframe{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    display:block;
}
@media(max-width:700px){
    .forum-youtube-embed{
        width:100%;
        margin:14px 0;
        border-radius:8px;
    }
}

/* Forum 0.9.0 – Wissensdatenbank */
.knowledge-hero,.knowledge-category-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.knowledge-hero h1,.knowledge-category-header h1{margin:6px 0 8px}.knowledge-hero p,.knowledge-category-header p{margin:0;color:#959ca4;line-height:1.6}.knowledge-search{display:flex;gap:9px;margin:0 0 24px}.knowledge-search input{flex:1;min-width:0;border:1px solid #343a42;background:#0b0e11;color:#fff;border-radius:8px;padding:12px 13px;font:inherit}.knowledge-search button{border:0;border-radius:8px;background:#d95632;color:#fff;padding:0 18px;font-weight:800}.knowledge-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.knowledge-category-card{overflow:hidden;border:1px solid rgba(130,58,40,.44);border-radius:13px;background:#101317;text-decoration:none;transition:.16s ease}.knowledge-category-card:hover{transform:translateY(-2px);border-color:#7b4433}.knowledge-category-image{aspect-ratio:16/8;overflow:hidden;background:#080a0c}.knowledge-category-image img{width:100%;height:100%;object-fit:cover;display:block}.knowledge-category-placeholder{width:100%;height:100%;display:grid;place-items:center;background:radial-gradient(circle,rgba(162,52,28,.18),transparent 58%),#090b0d;color:#b04d31;font-size:58px;font-weight:900}.knowledge-category-meta{padding:17px}.knowledge-category-meta h2{margin:5px 0 7px}.knowledge-category-meta p{margin:0;color:#969da5;font-size:12px;line-height:1.55}.knowledge-category-meta small{display:block;margin-top:12px;color:#df7655}.knowledge-article-list,.knowledge-search-results{display:grid;gap:10px}.knowledge-article-list>a,.knowledge-search-results>a{display:flex;justify-content:space-between;gap:18px;padding:17px;border:1px solid #292f35;border-radius:10px;background:#101317;text-decoration:none}.knowledge-article-list>a:hover,.knowledge-search-results>a:hover{border-color:#63392e;background:#14181c}.knowledge-article-list h2{margin:0 0 7px;font-size:17px}.knowledge-article-list p{margin:0;color:#959ca4;font-size:12px}.knowledge-article-list small{color:#7f878f;white-space:nowrap}.knowledge-search-results span,.knowledge-search-results small{display:block;margin-top:4px}.knowledge-search-results span{color:#d17659;font-size:10px}.knowledge-search-results small{color:#8c939a}.knowledge-article{overflow:hidden;border:1px solid #292f36;border-radius:14px;background:#111418}.knowledge-article>header{display:flex;justify-content:space-between;gap:24px;padding:25px;border-bottom:1px solid #292f35;background:linear-gradient(100deg,rgba(72,29,20,.20),transparent 42%),#0f1215}.knowledge-article h1{margin:7px 0 7px;font-size:31px}.knowledge-byline{margin:0;color:#7e868e;font-size:11px}.knowledge-byline a{color:#dc7555;text-decoration:none}.knowledge-summary{max-width:820px;margin:16px 0 0;color:#aeb4b9;line-height:1.6}.knowledge-actions{display:flex;gap:8px;flex-wrap:wrap}.knowledge-content{padding:28px 26px 34px;color:#d3d6d9;line-height:1.82}.knowledge-images{padding:0 26px 28px}.knowledge-images h2{padding-top:22px;border-top:1px solid #292f35;font-size:17px}.knowledge-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.knowledge-image-grid a{aspect-ratio:4/3;overflow:hidden;border-radius:9px;border:1px solid #2b3036;background:#080a0c}.knowledge-image-grid img{width:100%;height:100%;object-fit:cover;display:block}.knowledge-editor-card{width:100%;max-width:none}@media(max-width:700px){.knowledge-hero,.knowledge-category-header,.knowledge-article>header,.knowledge-article-list>a{flex-direction:column}.knowledge-search{flex-direction:column}.knowledge-search button{min-height:42px}.knowledge-category-grid,.knowledge-image-grid{grid-template-columns:1fr}}


/* Forum 0.9.1 – Wissenskategorien maximal 3 pro Reihe */
.knowledge-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

@media(max-width:1050px){
    .knowledge-category-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:700px){
    .knowledge-category-grid{
        grid-template-columns:1fr;
    }
}

/* Forum 1.0.0 – Pixel Slayer */
.pixel-slayer-intro{display:flex;justify-content:space-between;align-items:center;gap:24px}.pixel-slayer-intro h1{margin:6px 0 8px;font-size:30px}.pixel-slayer-intro p{margin:0;max-width:760px;color:#959ca4;line-height:1.6}.pixel-slayer-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:start}.pixel-slayer-card{padding:16px;border:1px solid #292f36;border-radius:14px;background:#101317}.pixel-slayer-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}.pixel-slayer-hud>div{padding:9px 11px;border:1px solid #2d333a;border-radius:8px;background:#0a0d10}.pixel-slayer-hud span,.pixel-slayer-hud strong{display:block}.pixel-slayer-hud span{color:#737b83;font-size:8px;text-transform:uppercase;letter-spacing:.08em}.pixel-slayer-hud strong{margin-top:4px;color:#f0f2f3;font-size:17px}#psKey.has-key{color:#70a9ff;text-shadow:0 0 10px rgba(53,113,219,.45)}.pixel-slayer-stage{position:relative;overflow:hidden;border:1px solid #3a302c;border-radius:11px;background:#07090b;box-shadow:inset 0 0 45px rgba(116,34,20,.08)}#pixelSlayerCanvas{display:block;width:100%;height:auto;aspect-ratio:16/9;image-rendering:pixelated;cursor:crosshair;outline:none;touch-action:none}.pixel-slayer-crosshair{position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-50%);pointer-events:none}.pixel-slayer-crosshair:before,.pixel-slayer-crosshair:after{content:"";position:absolute;background:rgba(255,255,255,.72);box-shadow:0 0 4px rgba(0,0,0,.55)}.pixel-slayer-crosshair:before{left:8px;top:1px;width:2px;height:16px}.pixel-slayer-crosshair:after{left:1px;top:8px;width:16px;height:2px}.pixel-slayer-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:20px;background:rgba(5,7,9,.72);backdrop-filter:blur(2px);transition:opacity .18s ease,visibility .18s ease}.pixel-slayer-overlay.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.pixel-slayer-overlay-box{width:min(480px,100%);padding:24px;text-align:center;border:1px solid #4b3027;border-radius:12px;background:linear-gradient(145deg,rgba(26,19,17,.97),rgba(11,14,17,.97));box-shadow:0 18px 55px rgba(0,0,0,.38)}.pixel-slayer-overlay-box h2{margin:7px 0 8px}.pixel-slayer-overlay-box p{margin:0 0 18px;color:#969da5;line-height:1.6}.pixel-slayer-statusbar{display:flex;justify-content:space-between;gap:18px;margin-top:10px;padding:9px 11px;border:1px solid #2b3137;border-radius:8px;background:#0b0e11;color:#8b9299;font-size:10px}.pixel-slayer-statusbar span:first-child{color:#d17a5c}.pixel-slayer-side{display:grid;gap:14px}.pixel-slayer-side .forum-panel{margin:0}.pixel-slayer-side h2{margin:6px 0 12px}.pixel-slayer-objectives{margin:0;padding-left:20px;color:#9ca3aa;font-size:12px;line-height:1.8}.blue-key-dot{display:inline-block;width:9px;height:9px;margin-right:4px;border-radius:2px;background:#2d72e8;box-shadow:0 0 7px rgba(45,114,232,.45)}.pixel-slayer-unlocked{margin:10px 0;padding:9px 10px;border:1px solid #285899;border-radius:7px;background:#101d31;color:#77adff;font-size:11px}@media(max-width:950px){.pixel-slayer-layout{grid-template-columns:1fr}.pixel-slayer-side{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.pixel-slayer-intro{align-items:flex-start;flex-direction:column}.pixel-slayer-hud{grid-template-columns:repeat(2,1fr)}.pixel-slayer-statusbar{flex-direction:column;gap:5px}.pixel-slayer-side{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.pixel-slayer-overlay{transition:none}}


/* Forum 1.0.1 – Pixel Slayer Vollbildmodus */
.pixel-slayer-toolbar{
    display:flex;
    justify-content:flex-end;
    margin-top:10px;
}
.pixel-slayer-fullscreen-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:36px;
    padding:0 12px;
    border:1px solid #4e332a;
    border-radius:8px;
    background:#1c1412;
    color:#dca18e;
    font:inherit;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}
.pixel-slayer-fullscreen-button:hover{
    border-color:#814533;
    background:#2a1712;
    color:#fff;
}
.pixel-slayer-fullscreen-button[aria-pressed="true"]{
    border-color:#8b4b36;
    background:#311914;
    color:#ffb49d;
}

.pixel-slayer-stage:fullscreen{
    width:100vw;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:0;
    background:#050607;
}
.pixel-slayer-stage:fullscreen #pixelSlayerCanvas{
    width:100vw;
    height:100vh;
    max-width:none;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
}
.pixel-slayer-stage:fullscreen .pixel-slayer-overlay{
    position:absolute;
    inset:0;
}
.pixel-slayer-stage:fullscreen .pixel-slayer-crosshair{
    z-index:3;
}

/* WebKit-Fallback */
.pixel-slayer-stage:-webkit-full-screen{
    width:100vw;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:0;
    background:#050607;
}
.pixel-slayer-stage:-webkit-full-screen #pixelSlayerCanvas{
    width:100vw;
    height:100vh;
    max-width:none;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
}


/* Forum 1.0.3 – Hinweis auf neue Beiträge */
.new-posts-notice{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:15px;
    margin:0 0 28px;
    padding:15px 17px;
    border:1px solid rgba(170,73,47,.58);
    border-radius:12px;
    background:
        radial-gradient(circle at 0 50%,rgba(190,58,31,.16),transparent 34%),
        linear-gradient(90deg,rgba(52,22,17,.68),rgba(16,19,23,.96));
    box-shadow:
        0 12px 28px rgba(0,0,0,.15),
        inset 0 0 22px rgba(158,48,28,.035);
}
.new-posts-notice-icon{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border:1px solid #824631;
    border-radius:10px;
    background:#301912;
    color:#ffad91;
    font-size:21px;
    font-weight:900;
    box-shadow:0 0 18px rgba(194,67,38,.13);
}
.new-posts-notice-copy strong,
.new-posts-notice-copy small{
    display:block;
}
.new-posts-notice-copy strong{
    margin-top:3px;
    color:#e9ebed;
    font-size:13px;
}
.new-posts-notice-copy small{
    margin-top:4px;
    color:#7f878e;
    font-size:10px;
}
.new-posts-notice-action{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    padding:0 13px;
    border:1px solid #70402f;
    border-radius:8px;
    background:#261612;
    color:#eea28a;
    text-decoration:none;
    font-size:11px;
    font-weight:800;
}
.new-posts-notice-action:hover{
    border-color:#a45940;
    background:#361b14;
    color:#fff;
}

/* Neue-Beiträge-Seite */
.new-posts-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px;
}
.new-posts-header h1{
    margin:6px 0 8px;
}
.new-posts-header p{
    max-width:760px;
    margin:0;
    color:#959ca4;
    line-height:1.6;
}
.new-posts-mark-all{
    min-height:40px;
    padding:0 14px;
    border:1px solid #6e3b2e;
    border-radius:8px;
    background:#291713;
    color:#f0a18a;
    font:inherit;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
    white-space:nowrap;
}
.new-posts-mark-all:hover{
    border-color:#98513c;
    background:#391c15;
    color:#fff;
}
.new-posts-summary{
    display:flex;
    align-items:baseline;
    gap:8px;
    margin:0 0 12px;
    color:#858d95;
}
.new-posts-summary strong{
    color:#e37857;
    font-size:22px;
}
.new-posts-summary span{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.new-posts-list{
    display:grid;
    gap:10px;
}
.new-post-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    padding:16px 17px;
    border:1px solid #292f35;
    border-radius:11px;
    background:
        linear-gradient(90deg,rgba(61,27,20,.11),transparent 36%),
        #101317;
}
.new-post-card:hover{
    border-color:#57352b;
    background:
        linear-gradient(90deg,rgba(80,33,23,.15),transparent 40%),
        #13171b;
}
.new-post-card-meta{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    color:#727a82;
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.new-post-card-meta a{
    color:#c66c50;
    text-decoration:none;
}
.new-post-card h2{
    margin:6px 0 6px;
    font-size:16px;
}
.new-post-card h2 a{
    color:#e8eaec;
    text-decoration:none;
}
.new-post-card p{
    margin:0;
    color:#989fa6;
    font-size:11px;
    line-height:1.55;
}
.new-post-open{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:0 11px;
    border:1px solid #343a40;
    border-radius:7px;
    background:#0b0e11;
    color:#bdc2c7;
    text-decoration:none;
    font-size:10px;
    font-weight:800;
    white-space:nowrap;
}
.new-post-open:hover{
    border-color:#684032;
    color:#fff;
}
.new-posts-success{
    margin:0 0 18px;
    padding:11px 13px;
    border:1px solid #315b43;
    border-radius:9px;
    background:#102219;
    color:#91d4a9;
    font-size:11px;
}
.new-posts-empty{
    text-align:center;
}
.new-posts-empty-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin:0 auto 12px;
    border:1px solid #355e46;
    border-radius:50%;
    background:#102219;
    color:#8bd0a4;
    font-size:21px;
}
@media(max-width:720px){
    .new-posts-notice,
    .new-post-card{
        grid-template-columns:1fr;
    }
    .new-posts-notice-icon{
        display:none;
    }
    .new-posts-notice-action,
    .new-post-open{
        justify-content:center;
        width:100%;
    }
    .new-posts-header{
        flex-direction:column;
    }
    .new-posts-mark-all{
        width:100%;
    }
}


/* Forum 1.0.4 – Passwort selbst ändern */
.profile-own-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:center;
}
.profile-password-link{
    border-color:#4a3a34;
}
.profile-security-shortcut{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-top:18px;
    padding:13px 14px;
    border:1px solid #2d3339;
    border-radius:9px;
    background:#0c0f12;
}
.profile-security-shortcut span{
    color:#8e969d;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.account-password-card{
    width:min(100%,760px);
    margin-inline:auto;
}
.account-password-card h1{
    margin:7px 0 8px;
}
.account-password-form{
    margin-top:20px;
}
.account-password-success{
    margin:16px 0;
    padding:11px 13px;
    border:1px solid #315b43;
    border-radius:9px;
    background:#102219;
    color:#91d4a9;
    font-size:11px;
}
@media(max-width:600px){
    .profile-security-shortcut{
        align-items:stretch;
        flex-direction:column;
    }
}


/* Forum 1.1.2 – Beitragsreaktionen */
.post-body{
    position:relative;
}
.post-reactions{
    display:flex;
    align-items:flex-end;
    justify-content:flex-end;
    gap:10px;
    min-height:38px;
    margin-top:15px;
    padding-top:10px;
    border-top:1px solid rgba(255,255,255,.045);
}
.post-reaction-summary{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:5px;
    min-width:0;
}
.post-reaction-count{
    display:inline-flex;
    align-items:center;
    gap:4px;
    height:29px;
    padding:2px 8px 2px 5px;
    border:1px solid #30363d;
    border-radius:16px;
    background:#0b0e11;
    color:#a9b0b6;
    font-size:10px;
}
.post-reaction-count.is-own{
    border-color:#74412f;
    background:#241611;
    color:#ef9c7e;
}
.post-reaction-count img{
    width:21px;
    height:21px;
    object-fit:contain;
    image-rendering:auto;
}
.post-reaction-count b{
    font-size:10px;
}
.post-reaction-control{
    position:relative;
    flex:0 0 auto;
}
.post-reaction-trigger,
.post-reaction-login{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border:1px solid #3b4147;
    border-radius:50%;
    background:#0b0e11;
    cursor:pointer;
    transition:border-color .14s ease, background .14s ease, transform .14s ease;
}
.post-reaction-login{
    text-decoration:none;
}
.post-reaction-trigger:hover,
.post-reaction-login:hover,
.post-reaction-trigger[aria-expanded="true"]{
    border-color:#824832;
    background:#281712;
    transform:translateY(-1px);
}
.post-reaction-trigger img,
.post-reaction-login img{
    width:23px;
    height:23px;
    object-fit:contain;
}
.post-reaction-picker{
    position:absolute;
    right:0;
    bottom:42px;
    z-index:20;
    display:flex;
    align-items:center;
    gap:5px;
    padding:7px;
    border:1px solid #46352f;
    border-radius:11px;
    background:#0c0f12;
    box-shadow:0 14px 34px rgba(0,0,0,.42);
}
.post-reaction-picker[hidden]{
    display:none;
}
.post-reaction-option{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    padding:3px;
    border:1px solid transparent;
    border-radius:8px;
    background:transparent;
    cursor:pointer;
    transition:background .12s ease, border-color .12s ease, transform .12s ease;
}
.post-reaction-option:hover{
    border-color:#604033;
    background:#211511;
    transform:translateY(-2px) scale(1.04);
}
.post-reaction-option.is-selected{
    border-color:#9a543c;
    background:#321b14;
    box-shadow:0 0 0 1px rgba(201,91,57,.10);
}
.post-reaction-option:disabled{
    opacity:.45;
    cursor:wait;
}
.post-reaction-option img{
    max-width:31px;
    max-height:31px;
    object-fit:contain;
}
@media(max-width:600px){
    .post-reactions{
        align-items:center;
    }
    .post-reaction-picker{
        right:-3px;
        max-width:calc(100vw - 38px);
        gap:2px;
        padding:5px;
    }
    .post-reaction-option{
        width:36px;
        height:36px;
    }
    .post-reaction-option img{
        max-width:28px;
        max-height:28px;
    }
}


/* Forum 1.2.0 – Advanced Editor / BBCode */
.advanced-editor{margin-top:8px}
.advanced-editor-toolbar{
    display:flex;align-items:center;flex-wrap:wrap;gap:5px;
    padding:7px;border:1px solid #30363d;border-radius:9px;
    background:#0b0e11;
}
.advanced-editor-toolbar button{
    min-width:34px;height:32px;padding:0 8px;border:1px solid #343a40;
    border-radius:6px;background:#15191d;color:#c7ccd0;font:inherit;
    font-size:10px;font-weight:800;cursor:pointer
}
.advanced-editor-toolbar button:hover{border-color:#7a4433;background:#261713;color:#fff}
.advanced-editor-separator{width:1px;height:22px;background:#31363b;margin:0 2px}
.advanced-editor-spacer{flex:1 1 auto}
.advanced-editor-toolbar .advanced-editor-preview-button{border-color:#6e3d2f;background:#271713;color:#e99a80}
.advanced-editor-preview{margin-top:8px;border:1px solid #343a40;border-radius:9px;background:#101317;overflow:hidden}
.advanced-editor-preview-head{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-bottom:1px solid #2d3338;background:#0b0e11}
.advanced-editor-preview-head strong{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#d97759}
.advanced-editor-preview-head button{border:0;background:none;color:#90979d;font-size:20px;cursor:pointer}
.advanced-editor-preview-content{padding:18px;color:#d2d5d8;line-height:1.7;min-height:70px;overflow-wrap:anywhere}
.advanced-editor-preview-loading{color:#858d94;font-size:11px}
.forum-bbcode-heading{margin:18px 0 8px;color:#f0f1f2;line-height:1.25}
h2.forum-bbcode-heading{font-size:24px} h3.forum-bbcode-heading{font-size:20px} h4.forum-bbcode-heading{font-size:16px}
.forum-bbcode-list{margin:12px 0;padding-left:26px}.forum-bbcode-list li{margin:4px 0}
.forum-bbcode-link{color:#e27c5c;text-decoration:underline;text-underline-offset:2px}
.forum-code{margin:14px 0;padding:14px;overflow:auto;border:1px solid #333a40;border-radius:8px;background:#07090b;color:#cdd3d8;white-space:pre-wrap;font:12px/1.55 Consolas,Monaco,monospace}
.forum-spoiler{margin:12px 0;border:1px solid #353b41;border-radius:8px;background:#0b0e11}
.forum-spoiler summary{padding:9px 12px;cursor:pointer;color:#d47a5d;font-weight:800}.forum-spoiler>div{padding:12px;border-top:1px solid #2f3439}
.forum-bbcode-hr{border:0;border-top:1px solid #3a4046;margin:20px 0}
.forum-align-left{text-align:left}.forum-align-center{text-align:center}.forum-align-right{text-align:right}
.knowledge-content .forum-bbcode-heading:first-child{margin-top:0}
@media(max-width:650px){
 .advanced-editor-toolbar{gap:4px}.advanced-editor-toolbar button{min-width:31px;padding:0 6px}.advanced-editor-separator{display:none}.advanced-editor-spacer{display:none}
}


/* Forum 1.2.1 – Formatierungsleiste oberhalb des Textfelds */
.advanced-editor{
    margin:0 0 8px;
}
.advanced-editor-toolbar{
    margin-bottom:0;
}
.advanced-editor + label textarea{
    margin-top:6px;
}


/* Forum 1.2.3 – dunkler Smiley-Bereich passend zum Forum */
.smiley-picker{
    box-shadow:inset 0 1px 0 rgba(255,255,255,.015);
}
.smiley-picker-toggle{
    border-bottom:0;
}
.smiley-picker:not(.is-collapsed) .smiley-picker-toggle{
    background:#12171c;
}
.smiley-button{
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.smiley-button:focus-visible,
.smiley-tab:focus-visible,
.smiley-picker-toggle:focus-visible{
    outline:2px solid #8a4a36;
    outline-offset:2px;
}


/* Forum 1.2.4 – Smiley-Kacheln neutral grau statt orange */
.smiley-button{
    background:#343a40;
    border-color:#4a5158;
}
.smiley-button:hover{
    background:#40474f;
    border-color:#5c646c;
    box-shadow:0 3px 9px rgba(0,0,0,.28);
}
.smiley-button:focus-visible{
    outline:2px solid #69727b;
    outline-offset:2px;
}


/* Forum 1.2.6 – Smiley-Kacheln garantiert grau, Panel bleibt wie 1.2.4 */
.smiley-picker .smiley-button{
    background:#343a40 !important;
    border-color:#4a5158 !important;
}
.smiley-picker .smiley-button:hover{
    background:#40474f !important;
    border-color:#5c646c !important;
}
.smiley-picker .smiley-button:focus-visible{
    outline:2px solid #69727b !important;
    outline-offset:2px;
}


/* Forum 1.3.0 – Wissensdatenbank Unterkategorien */
.knowledge-category-card-tree{
    display:flex;
    flex-direction:column;
    overflow:hidden;
}
.knowledge-category-main-link{
    display:grid;
    grid-template-columns:170px minmax(0,1fr);
    flex:1 1 auto;
    color:inherit;
    text-decoration:none;
}
.knowledge-subcategory-links{
    padding:12px 14px 14px;
    border-top:1px solid #2d333a;
    background:#0d1014;
}
.knowledge-subcategory-links>strong{
    display:block;
    margin-bottom:8px;
    color:#8f969e;
    font-size:10px;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.knowledge-subcategory-links>a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:8px 10px;
    margin-top:5px;
    border:1px solid #31373e;
    border-radius:7px;
    background:#171b20;
    color:#d8dcdf;
    text-decoration:none;
}
.knowledge-subcategory-links>a:hover{
    border-color:#694033;
    background:#211713;
}
.knowledge-subcategory-links small{
    flex:0 0 auto;
    color:#899199;
}
.knowledge-subcategory-panel h2{
    margin-top:0;
}
.knowledge-subcategory-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
.knowledge-subcategory-grid>a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:14px;
    border:1px solid #30363d;
    border-radius:9px;
    background:#11151a;
    color:#e1e4e7;
    text-decoration:none;
}
.knowledge-subcategory-grid>a:hover{
    border-color:#71402f;
    background:#1c1614;
}
.knowledge-subcategory-grid strong,
.knowledge-subcategory-grid span{
    display:block;
}
.knowledge-subcategory-grid span{
    margin-top:4px;
    color:#949ba2;
    font-size:12px;
}
.knowledge-subcategory-grid small{
    flex:0 0 auto;
    color:#8c949b;
}
@media(max-width:800px){
    .knowledge-category-main-link{
        grid-template-columns:1fr;
    }
    .knowledge-subcategory-grid{
        grid-template-columns:1fr;
    }
}


/* Forum 1.3.1 – Wissenskategorien wieder mit großem Bild oben */
.knowledge-category-card-tree{
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.knowledge-category-main-link{
    display:block;
    color:inherit;
    text-decoration:none;
}

.knowledge-category-card-tree .knowledge-category-image{
    width:100%;
    height:190px;
    overflow:hidden;
    border-bottom:1px solid #2d333a;
    background:#0b0e11;
}

.knowledge-category-card-tree .knowledge-category-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.knowledge-category-card-tree .knowledge-category-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
}

.knowledge-category-card-tree .knowledge-category-meta{
    padding:18px 16px 16px;
}

.knowledge-category-card-tree .knowledge-category-meta h2{
    margin-top:8px;
}

.knowledge-category-card-tree .knowledge-category-meta p{
    margin-bottom:12px;
}

/* Unterkategorien bleiben als eigener Bereich innerhalb derselben Box */
.knowledge-category-card-tree .knowledge-subcategory-links{
    margin-top:auto;
}


/* Forum 1.4.0 – Inline Reply */
.inline-reply-editor{
    margin-top:14px;
    scroll-margin-top:90px;
}
.inline-reply-editor[hidden]{
    display:none !important;
}
.inline-reply-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:16px;
}
.inline-reply-head h2{
    margin:6px 0 5px;
}
.inline-reply-head p{
    margin:0;
}
.inline-reply-close{
    flex:0 0 auto;
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:1px solid #3a4148;
    border-radius:8px;
    background:#11151a;
    color:#b7bec5;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}
.inline-reply-close:hover{
    border-color:#74412f;
    background:#211713;
    color:#f1a087;
}
.inline-reply-notice{
    margin:0 0 12px;
    padding:10px 12px;
    border:1px solid #3b4249;
    border-radius:8px;
    background:#151a1f;
    color:#bdc3c9;
    font-size:12px;
}
.inline-reply-notice[hidden]{
    display:none;
}
.reply-action-panel .primary-action{
    cursor:pointer;
}
@media(max-width:700px){
    .inline-reply-head{
        gap:12px;
    }
}


/* Forum 1.4.1 – Clipboard Image Upload */
.clipboard-image-preview{
    margin:10px 0 14px;
    padding:12px;
    border:1px solid #333a42;
    border-radius:9px;
    background:#101419;
}
.clipboard-image-preview>strong{
    display:block;
    margin-bottom:9px;
    color:#b9c0c7;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.clipboard-image-preview-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}
.clipboard-image-preview-item{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:220px;
    padding:7px 9px;
    border:1px solid #3a424a;
    border-radius:7px;
    background:#1b2026;
}
.clipboard-image-preview-item img{
    width:62px;
    height:46px;
    object-fit:cover;
    border-radius:5px;
}
.clipboard-image-preview-item span,
.clipboard-image-preview-item b,
.clipboard-image-preview-item small{
    display:block;
}
.clipboard-image-preview-item b{
    color:#d6dadd;
    font-size:11px;
}
.clipboard-image-preview-item small{
    margin-top:3px;
    max-width:270px;
    color:#8f979f;
    font-size:10px;
    line-height:1.35;
}

/* Auch normale Bildanhaenge sprengen nie das Beitragslayout. */
.post-attachment-image img{
    max-width:min(800px,100%);
    max-height:600px;
    width:auto;
    height:auto;
    object-fit:contain;
}

.clipboard-paste-hint{
    display:block;
    margin-top:6px;
    color:#9ba2a9;
    font-size:10px;
}


/* Forum 1.4.2 – Bildanhaenge in Lightbox */
.has-forum-image-lightbox{
    overflow:hidden;
}
.forum-image-lightbox[hidden]{
    display:none !important;
}
.forum-image-lightbox{
    position:fixed;
    inset:0;
    z-index:10000;
    display:grid;
    place-items:center;
    padding:24px;
}
.forum-image-lightbox-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.82);
    backdrop-filter:blur(4px);
}
.forum-image-lightbox-dialog{
    position:relative;
    z-index:1;
    width:min(1200px,96vw);
    max-height:94vh;
    display:flex;
    flex-direction:column;
    border:1px solid #3c434a;
    border-radius:12px;
    background:#0c0f12;
    box-shadow:0 26px 80px rgba(0,0,0,.62);
    overflow:hidden;
}
.forum-image-lightbox-close{
    position:absolute;
    top:10px;
    right:10px;
    z-index:3;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #555d65;
    border-radius:50%;
    background:rgba(14,17,20,.88);
    color:#e3e6e8;
    font-size:25px;
    line-height:1;
    cursor:pointer;
}
.forum-image-lightbox-close:hover{
    background:#252b31;
    border-color:#707880;
}
.forum-image-lightbox-stage{
    min-height:180px;
    max-height:calc(94vh - 58px);
    display:grid;
    place-items:center;
    padding:18px;
    background:#07090b;
    overflow:auto;
}
.forum-image-lightbox-image{
    display:block;
    max-width:100%;
    max-height:calc(94vh - 105px);
    width:auto;
    height:auto;
    object-fit:contain;
}
.forum-image-lightbox-footer{
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:11px 16px;
    border-top:1px solid #2e343a;
    background:#11151a;
}
.forum-image-lightbox-title{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#c8cdd2;
    font-size:11px;
}
.forum-image-lightbox-open{
    flex:0 0 auto;
    color:#b7bec5;
    font-size:11px;
    text-decoration:none;
}
.forum-image-lightbox-open:hover{
    color:#fff;
    text-decoration:underline;
}
.post-attachment-image{
    cursor:zoom-in;
}
@media(max-width:700px){
    .forum-image-lightbox{
        padding:8px;
    }
    .forum-image-lightbox-dialog{
        width:100%;
        max-height:98vh;
    }
    .forum-image-lightbox-stage{
        max-height:calc(98vh - 58px);
        padding:8px;
    }
    .forum-image-lightbox-image{
        max-height:calc(98vh - 95px);
    }
    .forum-image-lightbox-footer{
        padding:9px 12px;
    }
}


/* Forum 1.4.3 – [img] BBCode */
.forum-bbcode-image-link{
    display:inline-block;
    max-width:100%;
    margin:8px 0;
    cursor:zoom-in;
    text-decoration:none;
}
.forum-bbcode-image{
    display:block;
    max-width:min(800px,100%);
    max-height:600px;
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:7px;
}


/* Forum 1.5.0 – Admin-Löschen in der Wissensdatenbank */
.knowledge-delete-form{
    display:inline-flex;
    margin:0;
}
.knowledge-delete-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 14px;
    border:1px solid #77372f;
    border-radius:7px;
    background:#321714;
    color:#f2b0a6;
    font:inherit;
    font-weight:700;
    cursor:pointer;
}
.knowledge-delete-button:hover{
    background:#481d18;
    border-color:#a3483c;
    color:#fff;
}


/* Forum 1.5.1 – Tabellen und Schriftfarben */
.advanced-editor-color-control{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:34px;
    height:32px;
    padding:0 6px;
    border:1px solid #394047;
    border-radius:6px;
    background:#161b20;
    color:#d7dce0;
    cursor:pointer;
    overflow:hidden;
}
.advanced-editor-color-control:hover{
    background:#22282e;
    border-color:#505861;
}
.advanced-editor-color-control>span{
    font-weight:800;
    text-decoration:underline;
    text-decoration-thickness:3px;
    text-decoration-color:#ff6a3d;
}
.advanced-editor-color-control input[type="color"]{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:pointer;
}
.forum-bbcode-color{
    color:inherit;
}
.forum-bbcode-table-wrap{
    width:100%;
    margin:14px 0;
    overflow-x:auto;
    border:1px solid #343b42;
    border-radius:8px;
}
.forum-bbcode-table{
    width:100%;
    min-width:420px;
    border-collapse:collapse;
    background:#11151a;
}
.forum-bbcode-table th,
.forum-bbcode-table td{
    padding:10px 12px;
    border-right:1px solid #343b42;
    border-bottom:1px solid #343b42;
    vertical-align:top;
    text-align:left;
}
.forum-bbcode-table th:last-child,
.forum-bbcode-table td:last-child{
    border-right:0;
}
.forum-bbcode-table tr:last-child td,
.forum-bbcode-table tr:last-child th{
    border-bottom:0;
}
.forum-bbcode-table th{
    background:#23292f;
    color:#f0f2f4;
    font-weight:800;
}
.forum-bbcode-table td{
    color:#c4c9ce;
}
.forum-bbcode-table tr:nth-child(even) td{
    background:#151a1f;
}


/* Forum 1.6.0 – Eingeloggt bleiben */
.auth-remember-me{
    display:flex !important;
    align-items:flex-start;
    gap:10px;
    padding:11px 12px;
    border:1px solid #323941;
    border-radius:8px;
    background:#11161b;
    cursor:pointer;
}
.auth-remember-me input{
    flex:0 0 auto;
    width:17px !important;
    height:17px;
    margin:2px 0 0;
    accent-color:#d95a34;
}
.auth-remember-me span,
.auth-remember-me strong,
.auth-remember-me small{
    display:block;
}
.auth-remember-me strong{
    color:#d9dde1;
    font-size:12px;
}
.auth-remember-me small{
    margin-top:3px;
    color:#8e969e;
    font-size:10px;
    line-height:1.35;
}


/* Forum 1.6.1 – Admin HTML Mode */
.admin-content-format{
    display:block;
    margin:0 0 10px;
    padding:10px 12px;
    border:1px solid #3a4148;
    border-radius:8px;
    background:#11161b;
}
.admin-content-format select{
    display:block;
    width:100%;
    margin-top:6px;
}
.admin-content-format small{
    display:block;
    margin-top:6px;
    color:#8e969e;
    font-size:10px;
}
.advanced-editor.is-html-mode .advanced-editor-toolbar{
    opacity:.38;
    pointer-events:none;
}
.advanced-editor.is-html-mode::before{
    content:"HTML-Modus aktiv – der Quelltext wird beim Speichern serverseitig gefiltert.";
    display:block;
    margin-bottom:8px;
    padding:8px 10px;
    border:1px solid #624032;
    border-radius:6px;
    background:#211713;
    color:#d8a58f;
    font-size:11px;
}
.forum-admin-html-image{
    max-width:min(800px,100%);
    max-height:600px;
    width:auto;
    height:auto;
}
.knowledge-content table,
.post-content table{
    max-width:100%;
}


/* Forum 1.6.2 – Farbauswahl mit explizitem OK */
.advanced-editor-color-group{
    display:inline-flex;
    align-items:center;
    gap:4px;
}
.advanced-editor-color-control{
    --editor-selected-color:#ff6a3d;
}
.advanced-editor-color-control>span{
    text-decoration-color:var(--editor-selected-color) !important;
}
.advanced-editor-color-apply{
    min-width:auto !important;
    padding:0 8px !important;
    white-space:nowrap;
    font-size:10px !important;
    font-weight:800;
}


/* Forum 1.6.3 – Eigener Farbdialog mit OK im Fenster */
.advanced-editor-color-group{
    position:relative;
}
.advanced-editor-color-control{
    --editor-selected-color:#ff6a3d;
    position:relative;
}
.advanced-editor-color-control>span{
    text-decoration-color:var(--editor-selected-color) !important;
}
.advanced-editor-color-popup[hidden]{
    display:none !important;
}
.advanced-editor-color-popup{
    position:absolute;
    z-index:250;
    top:calc(100% + 7px);
    left:0;
    width:260px;
    padding:0;
    border:1px solid #4a5158;
    border-radius:9px;
    background:#151a1f;
    box-shadow:0 16px 40px rgba(0,0,0,.5);
    overflow:hidden;
}
.advanced-editor-color-popup-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 12px;
    border-bottom:1px solid #343b42;
    background:#1d2329;
}
.advanced-editor-color-popup-head strong{
    color:#e1e5e8;
    font-size:12px;
}
.advanced-editor-color-popup-close{
    width:28px !important;
    min-width:28px !important;
    height:28px;
    padding:0 !important;
    border-radius:50% !important;
    font-size:18px !important;
    line-height:1 !important;
}
.advanced-editor-color-picker-row{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 14px 8px;
}
.advanced-editor-color-picker-row input[type="color"]{
    width:150px;
    height:88px;
    padding:0;
    border:1px solid #3d454d;
    border-radius:7px;
    background:#0f1317;
    cursor:pointer;
}
.advanced-editor-color-preview{
    --preview-color:#ff6a3d;
    width:46px;
    height:46px;
    flex:0 0 46px;
    border:2px solid #6b737b;
    border-radius:50%;
    background:var(--preview-color);
    box-shadow:0 0 0 3px #101419;
}
.advanced-editor-color-hex-label{
    display:block;
    margin:0;
    padding:8px 14px 12px;
    color:#9fa7ae;
    font-size:10px;
}
.advanced-editor-color-hex-label input{
    display:block;
    width:100%;
    margin-top:5px;
    padding:8px 9px;
    border:1px solid #3c444c;
    border-radius:6px;
    background:#0d1115;
    color:#f0f2f4;
    font-family:monospace;
    text-transform:lowercase;
}
.advanced-editor-color-popup-actions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    padding:10px 12px;
    border-top:1px solid #343b42;
    background:#11161b;
}
.advanced-editor-color-popup-actions button{
    min-width:auto !important;
    padding:7px 12px !important;
    font-size:10px !important;
}
.advanced-editor-color-popup-ok{
    border-color:#9b432c !important;
    background:#c94b26 !important;
    color:#fff !important;
}
.advanced-editor-color-popup-ok:hover{
    background:#e45a31 !important;
}


/* Forum 1.7.0 – Spielebibliothek im Profil */
.profile-games{
    margin-top:18px;
}
.profile-games-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:16px;
}
.profile-games-head h2{
    margin:4px 0 0;
}
.profile-games-count{
    flex:0 0 auto;
    padding:6px 9px;
    border:1px solid #363e46;
    border-radius:999px;
    background:#151a1f;
    color:#aeb5bb;
    font-size:10px;
}
.profile-game-editor{
    margin:0 0 18px;
    border:1px solid #343b42;
    border-radius:9px;
    background:#101419;
    overflow:hidden;
}
.profile-game-editor>summary{
    padding:11px 13px;
    cursor:pointer;
    color:#d8dde1;
    font-weight:800;
}
.profile-game-editor>.public-form{
    padding:0 13px 13px;
}
.profile-games-grid{
    display:grid;
    grid-template-columns:repeat(10,250px);
    gap:12px;
    max-width:100%;
    overflow-x:auto;
    padding:2px 0 10px;
    scrollbar-width:thin;
}
.profile-game-card{
    width:250px;
    min-width:250px;
    border:1px solid #343b42;
    border-radius:9px;
    background:#11161b;
    overflow:hidden;
}
.profile-game-cover{
    width:250px;
    height:250px;
    background:#090c0f;
}
.profile-game-cover img{
    display:block;
    width:250px;
    height:250px;
    object-fit:cover;
}
.profile-game-placeholder{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    font-size:64px;
    background:
        radial-gradient(circle at 50% 35%, #232a31 0, #11161b 62%, #0b0f12 100%);
    color:#69727a;
}
.profile-game-title{
    min-height:42px;
    display:flex;
    align-items:center;
    padding:9px 10px;
    color:#e0e4e7;
    font-size:12px;
    font-weight:800;
    line-height:1.25;
    overflow-wrap:anywhere;
}
.profile-game-actions{
    display:flex;
    align-items:center;
    gap:6px;
    padding:0 9px 9px;
}
.profile-game-actions>a,
.profile-game-actions button{
    min-height:30px;
    padding:5px 8px;
    font-size:9px;
}
.profile-game-actions form{
    margin:0;
}
.profile-game-delete{
    border:1px solid #71362f;
    border-radius:6px;
    background:#321714;
    color:#f0aaa0;
    cursor:pointer;
}
.profile-game-delete:hover{
    background:#481d18;
    color:#fff;
}
.profile-games-empty{
    padding:18px;
    border:1px dashed #394149;
    border-radius:8px;
    color:#8f979f;
    text-align:center;
}
@media(max-width:700px){
    .profile-games-grid{
        grid-template-columns:repeat(10,210px);
    }
    .profile-game-card{
        width:210px;
        min-width:210px;
    }
    .profile-game-cover,
    .profile-game-cover img{
        width:210px;
        height:210px;
    }
}
