.forum-shell{max-width:none;margin:0;padding:22px clamp(14px,2.5vw,52px) 30px}.forum-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 0 22px;border-bottom:1px solid var(--line)}.forum-top>div{display:flex;align-items:center;gap:14px}.forum-home,.forum-back{color:var(--accent);font-size:13px;font-weight:700}.forum-intro{padding:34px 0 20px}.forum-intro h1{margin:4px 0;font-size:clamp(30px,4vw,44px)}.forum-intro>p:last-child,.forum-create>p{color:var(--muted)}.forum-main{max-width:none;margin:0}.forum-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(min(100%,320px),.75fr);gap:18px;align-items:start}.forum-card{padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:var(--shadow);margin-bottom:18px}.forum-card h2{margin:0 0 16px;font-size:19px}.forum-list-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.forum-list-heading h2{margin:0}.forum-list-heading select{width:auto}.forum-topic{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 4px;border-bottom:1px solid var(--line);color:var(--text);text-decoration:none}.forum-topic:last-child{border-bottom:0}.forum-topic>span:first-child{display:grid;gap:5px}.forum-topic small,.forum-topic-count,.forum-post-meta time{font-size:12px;color:var(--muted)}.forum-topic-count{white-space:nowrap}.forum-empty{padding:24px 0;color:var(--muted)}.forum-category-tag{display:inline-block;padding:5px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:700}.forum-post{padding:15px 0;border-bottom:1px solid var(--line)}.forum-post:last-child{border-bottom:0}.forum-post-meta{display:flex;justify-content:space-between;gap:12px}.forum-post p{line-height:1.65;overflow-wrap:anywhere}.forum-smiley{font-size:1.15em}.forum-card form{display:grid;gap:13px}.forum-card label{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--text)}.forum-card input,.forum-card textarea,.forum-card select{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;font-size:13px}.forum-card textarea{resize:vertical;line-height:1.5}.forum-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.forum-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:9px!important;font-weight:500!important}.forum-check input{width:auto}.forum-smiley-bar{display:flex;flex-wrap:wrap;gap:6px}.forum-smiley-bar button{width:36px;height:34px;border:1px solid var(--line);border-radius:9px;background:var(--bg);cursor:pointer;font-size:17px}.forum-smiley-bar button:hover{border-color:var(--accent)}.forum-footer{display:flex;justify-content:center;gap:10px;margin-top:30px;color:var(--muted);font-size:12px}.forum-footer a{color:inherit}.honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:780px){.forum-columns{grid-template-columns:1fr}.forum-create{order:-1}.forum-form-grid{grid-template-columns:1fr}.forum-top{align-items:flex-start}.forum-top>div{flex-direction:column;align-items:flex-end;gap:7px}}

.forum-smiley-image{display:inline-block;width:auto;height:1.35em;max-width:2em;vertical-align:middle;object-fit:contain}.admin-smiley-preview{display:block;width:auto;height:auto;max-width:64px;max-height:64px;object-fit:contain;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}.editable-row>form{display:flex;align-items:center}

/* Forum 0.10.2: Board-Ansicht wie phpBB/MyBB */
.fb-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:18px 0 6px;font-size:13px;color:var(--muted)}
.fb-crumbs a{color:var(--accent);font-weight:700}
.fb-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.fb-heading{margin:0;font-size:22px}.fb-sub{margin:4px 0 0;color:var(--muted);font-size:13px}
.fb-stats{color:var(--muted);font-size:13px}
.fb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 15px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font:inherit;font-size:13px;font-weight:700;cursor:pointer;text-decoration:none}
.fb-btn:hover{border-color:var(--accent);color:var(--accent)}
.fb-btn--primary{border-color:#6878ed;background:#6878ed;color:#fff}.fb-btn--primary:hover{background:#5667e0;color:#fff}
.fb-btn--danger{color:#c0392b;border-color:rgba(192,57,43,.45)}.fb-btn--danger:hover{background:#c0392b;border-color:#c0392b;color:#fff}
.fb-board{border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden;margin-bottom:18px}
.fb-head,.fb-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px minmax(170px,280px);gap:14px;align-items:center;padding:14px 18px}
.fb-topics .fb-head,.fb-topics .fb-row{grid-template-columns:minmax(0,1fr) 100px minmax(170px,260px)}
.fb-head{background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.fb-row{border-top:1px solid var(--line)}.fb-row:hover{background:var(--surface-soft)}
.fb-title,.fb-last{display:flex;flex-direction:column;gap:4px;min-width:0}
.fb-title a strong{font-size:16px;color:var(--text)}.fb-title a:hover strong{color:var(--accent)}
.fb-title small,.fb-last small,.fb-num small{color:var(--muted);font-size:12px;line-height:1.4}
.fb-last a{font-weight:700;font-size:13px;overflow-wrap:anywhere}.fb-last a:hover{color:var(--accent)}
.fb-num{display:flex;flex-direction:column;align-items:center;gap:2px}.fb-num b{font-size:18px}
.fb-badge{display:inline-block;padding:2px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:11px;font-weight:700;line-height:1.5}
.fb-badge--warn{background:rgba(245,166,35,.2);color:#b36b00}
.fb-badge--admin{background:rgba(225,29,72,.14);color:#d41f4f}
.fb-badge--mod{background:rgba(16,185,129,.16);color:#0f8a63}
[data-theme="dark"] .fb-badge--warn{color:#f5b84a}[data-theme="dark"] .fb-badge--admin{color:#ff6b8a}[data-theme="dark"] .fb-badge--mod{color:#4fd1a5}
.fb-topic-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 14px}.fb-topic-head h2{margin:0;font-size:24px}
.fb-post{display:grid;grid-template-columns:200px minmax(0,1fr);border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:var(--shadow);margin:0 0 12px;overflow:hidden}
.fb-post--pending{border-color:rgba(245,166,35,.6)}
.fb-author{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px;background:var(--surface-soft);border-right:1px solid var(--line)}
.fb-author strong{overflow-wrap:anywhere}.fb-author small{color:var(--muted)}
.fb-body{padding:16px 20px;min-width:0}.fb-body p{overflow-wrap:anywhere}
.fb-body .forum-post-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.fb-mod{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.fb-toolbar .fb-mod{margin-top:0}.fb-mod form{display:inline}
.forum-banner{padding:12px 14px;border-radius:10px;background:rgba(245,166,35,.16);color:var(--text);border:1px solid rgba(245,166,35,.45);font-size:13px}
.forum-intro{margin-top:8px}
@media(max-width:860px){
  .fb-head{display:none}
  .fb-row,.fb-topics .fb-row{grid-template-columns:1fr;gap:8px}
  .fb-num{flex-direction:row;align-items:baseline;gap:6px;justify-content:flex-start}
  .fb-post{grid-template-columns:1fr}.fb-author{flex-direction:row;flex-wrap:wrap;align-items:center;border-right:0;border-bottom:1px solid var(--line)}
}
.forum-main .success,.forum-main .error{padding:12px 14px;border-radius:10px;font-size:14px}
.forum-main .success{background:rgba(24,116,80,.14);color:#187450;border:1px solid rgba(24,116,80,.3)}
.forum-main .error{background:rgba(192,57,43,.12);color:#b4283c;border:1px solid rgba(192,57,43,.3)}
[data-theme="dark"] .forum-main .success{color:#5fd3a2}[data-theme="dark"] .forum-main .error{color:#ff8da1}
.fb-guest-hint a{color:var(--accent);font-weight:700;text-decoration:underline}
.fb-register{margin:0 0 14px;padding:12px 14px;border:1px dashed var(--line);border-radius:10px;background:var(--surface-soft)}
.fb-register summary{cursor:pointer;font-weight:700;color:var(--accent)}
.fb-register p{margin:10px 0;color:var(--muted);font-size:13px}
