/* Legacy Forum — umgesetzt nach "Legacy Forum.dc.html" (claude.ai/design) */

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;background:#0b0b0b;font-family:'Archivo',sans-serif;color:#fff}
a{color:#3ddc84;text-decoration:none}a:hover{color:#7ce8ac}
img{max-width:100%}
button{font-family:inherit;color:inherit}
.ms{font-family:'Material Symbols Outlined';font-weight:400;font-style:normal;display:inline-block;line-height:1;letter-spacing:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;user-select:none}
.sg{font-family:'Space Grotesk',sans-serif}
input.lin,textarea.lta{background:transparent;border:none;outline:none;color:#fff;font-family:'Archivo',sans-serif;font-size:13.5px;width:100%}
input.lin::placeholder,textarea.lta::placeholder{color:#6e6e6e}
select.lsel{background:#181818;border:1px solid #2c2c2c;color:#fff;font-family:'Archivo',sans-serif;font-size:12px;font-weight:600;border-radius:8px;padding:8px 10px;outline:none;cursor:pointer}
.fld{display:flex;align-items:center;gap:10px;background:#151515;border:1.5px solid transparent;border-radius:9px;padding:0 12px;transition:border-color .2s}
.fld:focus-within{border-color:rgba(61,220,132,.65)}

[data-rich] img{max-width:100%;border-radius:10px;display:block;margin:8px 0}
[data-rich] blockquote{border-left:3px solid #3ddc84;margin:8px 0;padding:6px 14px;color:#b5b5b5;background:rgba(61,220,132,.05);border-radius:0 8px 8px 0}
[data-rich] a{word-break:break-all}
[data-editor]{outline:none;min-height:130px;line-height:1.8;font-size:13.5px}
[data-editor]:empty:before{content:attr(data-ph);color:#6e6e6e}

/* ---------- Kopf ---------- */
.head{position:sticky;top:0;z-index:100;background:rgba(12,12,12,.85);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.06)}
.head-row{max-width:1300px;margin:0 auto;padding:0 34px;height:64px;display:flex;align-items:center;gap:14px}
.brand{display:flex;align-items:center;gap:10px;cursor:pointer;background:none;border:0;padding:0}
.brand .word{font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:19px}
.badge{background:#3ddc84;color:#08120c;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:11px;border-radius:5px;padding:2px 7px}
.search{flex:1;max-width:340px;height:38px;margin-left:6px}
.hbtn{background:none;border:0;cursor:pointer;color:#9a9a9a;font-size:12.5px;font-weight:600;padding:8px 10px;border-radius:8px}
.hbtn:hover{color:#fff;background:#181818}
.iconbtn{position:relative;width:38px;height:38px;border-radius:9px;background:#151515;border:1px solid #232323;display:flex;align-items:center;justify-content:center;cursor:pointer}
.iconbtn:hover{background:#1d1d1d}
.dot{position:absolute;top:6px;right:6px;min-width:15px;height:15px;border-radius:8px;background:#3ddc84;color:#08120c;font-size:9px;font-weight:800;display:flex;align-items:center;justify-content:center;padding:0 3px}
.av{border-radius:50%;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;font-weight:800;color:#08120c;flex:none}
.mebtn{display:flex;align-items:center;gap:9px;background:#151515;border:1px solid #232323;border-radius:999px;padding:4px 12px 4px 4px;cursor:pointer}
.mebtn:hover{background:#1d1d1d}
.mebtn .nm{font-size:12.5px;font-weight:700}
.mebtn .rl{font-size:9px;font-weight:800;letter-spacing:.08em}

.notifs{position:absolute;right:34px;top:60px;width:320px;background:#131313;border:1px solid #262626;border-radius:12px;box-shadow:0 24px 60px rgba(0,0,0,.6);padding:10px;z-index:120}
.notif{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;cursor:pointer;background:none;border:0;width:100%;text-align:left}
.notif:hover{background:#1a1a1a}

.wrap{max-width:1300px;margin:0 auto;padding:28px 34px 80px}
.wrap.narrow{max-width:1000px}

/* ---------- Startseite ---------- */
.hero{border:1px solid #1d1d1d;border-radius:16px;background:linear-gradient(150deg,#101410,#0d0f0d);padding:26px 30px;margin-bottom:26px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.hero h1{font-family:'Space Grotesk',sans-serif;font-size:26px;font-weight:700;margin:0 0 4px}
.hero p{font-size:12.5px;color:#8a8a8a;margin:0;line-height:1.6}
.cat{border:1px solid #1d1d1d;border-radius:14px;overflow:hidden;margin-bottom:16px}
.cat-h{display:flex;align-items:center;gap:10px;padding:13px 20px;background:#111;border-bottom:1px solid #1d1d1d}
.cat-h .t{font-family:'Space Grotesk',sans-serif;font-size:14px;font-weight:700;flex:1}
.subrow{display:flex;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid #171717;cursor:pointer;transition:background .2s,padding-left .25s;background:none;border-left:0;border-right:0;border-top:0;width:100%;text-align:left}
.subrow:last-child{border-bottom:0}
.subrow:hover{background:#101210;padding-left:28px}
.subrow .ic{width:38px;height:38px;border-radius:10px;background:rgba(61,220,132,.08);display:flex;align-items:center;justify-content:center;flex:none}
.subrow .n{font-size:13.5px;font-weight:700}
.subrow .c{font-size:11px;color:#6e6e6e;margin-top:2px}
.subrow .num{font-size:11.5px;color:#7a7a7a;text-align:right;white-space:nowrap}
.emptycat{padding:16px 20px;font-size:12px;color:#6e6e6e}
.latest{display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid #171717;cursor:pointer;background:none;border-left:0;border-right:0;border-top:0;width:100%;text-align:left;transition:background .2s}
.latest:last-child{border-bottom:0}
.latest:hover{background:#101210}

/* ---------- Etiketten ---------- */
.lbl{font-size:9.5px;font-weight:800;letter-spacing:.05em;border-radius:4px;padding:2px 7px;white-space:nowrap}
.role{font-weight:700}

/* ---------- Unterforum ---------- */
.crumb{display:flex;align-items:center;gap:8px;font-size:12px;color:#7a7a7a;margin-bottom:14px}
.crumb button{background:none;border:0;color:#7a7a7a;cursor:pointer;font-size:12px;padding:0}
.crumb button:hover{color:#3ddc84}
.bar{display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.pill{border-radius:999px;border:1px solid #242424;background:transparent;color:#8a8a8a;font-size:11.5px;font-weight:700;padding:7px 14px;cursor:pointer}
.pill.on{background:rgba(61,220,132,.12);border-color:rgba(61,220,132,.4);color:#3ddc84}
.btn{display:inline-flex;align-items:center;gap:8px;background:#3ddc84;color:#08120c;border:0;border-radius:9px;padding:10px 18px;font-size:12px;font-weight:800;letter-spacing:.05em;cursor:pointer}
.btn:hover{filter:brightness(1.1)}
.btn.ghost{background:#181818;border:1px solid #2c2c2c;color:#fff}
.btn.ghost:hover{background:#222;filter:none}
.btn:disabled{background:#1c1c1c;color:#6a6a6a;cursor:not-allowed;filter:none}
.hintbar{display:flex;align-items:center;gap:9px;background:#131313;border:1px solid #242424;border-radius:9px;padding:9px 14px;font-size:12px;color:#8a8a8a}

.thr{display:flex;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid #171717;cursor:pointer;transition:background .2s;background:none;border-left:0;border-right:0;border-top:0;width:100%;text-align:left}
.thr:last-child{border-bottom:0}
.thr:hover{background:#101210}
.thr .t{font-size:14px;font-weight:700;line-height:1.4}
.thr .m{font-size:11px;color:#6e6e6e;margin-top:3px}
.thr .st{font-size:11.5px;color:#7a7a7a;text-align:right;white-space:nowrap}

/* ---------- Verfasser ---------- */
.composer{border:1px solid #242424;border-radius:14px;background:#0f0f0f;padding:18px 20px;margin-bottom:18px}
.tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #1d1d1d}
.tool{width:32px;height:32px;border-radius:8px;background:#181818;border:1px solid #2c2c2c;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#cfcfcf}
.tool:hover{background:#222;color:#fff}
.swatch{width:20px;height:20px;border-radius:5px;border:1px solid #333;cursor:pointer;padding:0}
.editor{background:#141414;border:1px solid #242424;border-radius:10px;padding:12px 14px}
.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.flabel{font-size:11px;font-weight:700;letter-spacing:.06em;color:#8a8a8a;margin-bottom:6px}

/* ---------- Thread ---------- */
.post{border:1px solid #1d1d1d;border-radius:14px;background:#101010;margin-bottom:14px;overflow:hidden}
.post-h{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #1a1a1a}
.post-h .nm{font-size:13px;font-weight:700;cursor:pointer;background:none;border:0;padding:0}
.post-h .nm:hover{color:#3ddc84}
.post-b{padding:16px 18px;font-size:13.5px;line-height:1.8;color:#d5d5d5}
.post-sig{padding:0 18px 14px;font-size:11.5px;color:#6e6e6e;font-style:italic;border-top:1px solid #171717;margin-top:4px;padding-top:10px}
.reacts{display:flex;gap:7px;padding:0 18px 14px;flex-wrap:wrap}
.react{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 10px;font-size:12px;cursor:pointer;background:#141414;border:1px solid #242424}
.react:hover{border-color:#3a3a3a}
.react.mine{background:rgba(61,220,132,.15);border-color:rgba(61,220,132,.45)}
.modbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#0f120f;border:1px solid rgba(61,220,132,.22);border-radius:12px;padding:12px 16px;margin-bottom:16px}
.modbar .lb{font-size:10.5px;font-weight:800;letter-spacing:.1em;color:#8fae9c}

/* ---------- Profil ---------- */
.pfbanner{height:150px;border-radius:16px 16px 0 0;background:linear-gradient(120deg,#12180f,#0f1418);background-size:cover;background-position:center;border:1px solid #1d1d1d;border-bottom:0}
.pfcard{border:1px solid #1d1d1d;border-radius:0 0 16px 16px;background:#101010;padding:0 24px 22px;margin-bottom:20px}
.pfhead{display:flex;align-items:flex-end;gap:18px;margin-top:-38px;flex-wrap:wrap}
.pfhead .av{border:3px solid #101010}
.pfname{font-family:'Space Grotesk',sans-serif;font-size:22px;font-weight:700}
.chip{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:3px 9px;font-size:10.5px;font-weight:800;letter-spacing:.06em}
.chip.warn{background:rgba(245,158,11,.15);border:1px solid rgba(245,158,11,.4);color:#f59e0b}
.chip.ban{background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.4);color:#ef4444}
.box{border:1px solid #1d1d1d;border-radius:14px;background:#101010;padding:18px 20px;margin-bottom:16px}
.box h2{font-family:'Space Grotesk',sans-serif;font-size:14px;font-weight:700;margin:0 0 14px}
.cm{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #171717}
.cm:last-child{border-bottom:0}

/* ---------- Mitglieder ---------- */
.mlist{border:1px solid #1d1d1d;border-radius:14px;overflow:hidden}
.mrow{display:flex;align-items:center;gap:14px;padding:13px 18px;border-bottom:1px solid #171717;cursor:pointer;background:none;border-left:0;border-right:0;border-top:0;width:100%;text-align:left;transition:background .2s}
.mrow:last-child{border-bottom:0}
.mrow:hover{background:#101210}

/* ---------- Anmelden ---------- */
.overlay{position:fixed;inset:0;z-index:150;background:rgba(0,0,0,.66);backdrop-filter:blur(9px);display:flex;align-items:center;justify-content:center;padding:20px}
.modal{width:400px;max-width:100%;background:#121512;border:1px solid #29302b;border-radius:16px;padding:26px;box-shadow:0 40px 100px rgba(0,0,0,.6)}
.modal h2{font-family:'Space Grotesk',sans-serif;font-size:19px;margin:0 0 6px}
.modal p{font-size:12.5px;color:#8a8a8a;margin:0 0 18px;line-height:1.6}
.msg{display:flex;align-items:flex-start;gap:9px;border-radius:10px;padding:11px 14px;font-size:12.5px;line-height:1.6;margin-top:12px}
.msg.err{background:rgba(224,91,91,.1);border:1px solid rgba(224,91,91,.35);color:#f0a5a5}
.msg.good{background:rgba(61,220,132,.08);border:1px solid rgba(61,220,132,.3);color:#a7e9c4}

.empty{display:flex;align-items:center;gap:10px;background:#101010;border:1px dashed #262626;border-radius:12px;padding:20px 22px;color:#8a8a8a;font-size:12.5px}
.spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.15);border-top-color:#3ddc84;animation:sp .8s linear infinite;display:inline-block}
@keyframes sp{to{transform:rotate(360deg)}}

.foot{border-top:1px solid #1a1a1a}
.foot>div{max-width:1300px;margin:0 auto;padding:22px 34px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.foot span{font-size:11.5px;color:#5a5a5a}
.foot a{font-size:11.5px;color:#7a7a7a;margin-left:22px}
.foot a:hover{color:#fff}

@media (max-width:820px){
  .head-row{padding:0 16px;height:auto;flex-wrap:wrap;gap:10px;padding-top:12px;padding-bottom:12px}
  .search{order:5;width:100%;max-width:none;margin-left:0}
  .wrap{padding:22px 16px 60px}
  .subrow .num,.thr .st{display:none}
  .formgrid{grid-template-columns:1fr}
  .notifs{right:16px;left:16px;width:auto}
}

/* ---------- Kein Markieren und Kopieren, Eingabefelder ausgenommen ---------- */
body{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;
  -webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
input,textarea,select,[contenteditable="true"]{-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important;user-select:text!important}
img{-webkit-user-drag:none;user-drag:none}

/* ---------- Anforderungs-Kästen (wie im Launcher) ---------- */
.reqbox{background:#171b18;border:1px solid rgba(61,220,132,.28);border-radius:12px;padding:14px 16px;margin-top:10px}
.reqtitle{font-size:11px;font-weight:800;letter-spacing:.06em;color:#8fae9c;margin-bottom:10px}
.reqlist{display:flex;flex-direction:column;gap:8px}
.reqrow{display:flex;align-items:center;gap:9px;font-size:12.5px;color:#7e7e7e;transition:color .18s}
.reqrow .ms{font-size:16px;color:#4a4a4a;transition:color .18s}
.reqrow.ok{color:#a7e9c4}
.reqrow.ok .ms{color:#3ddc84}
