/* ==========================================================================
   BANGERCITY RP – Forum
   Eigenständiges Stylesheet im Stil der Startseite (assets/css/home.css).
   Die Kopfzeile kommt aus includes/nav.php und bringt ihre eigenen Regeln
   nicht mit – deshalb stehen die Navigationsregeln hier noch einmal.
   ========================================================================== */

:root {
    --bg:        #07060f;
    --bg-2:      #0b0a17;
    --panel:     #110f20;
    --panel-2:   #15132a;
    --panel-3:   #1a1733;
    --line:      rgba(255, 255, 255, .07);
    --line-2:    rgba(255, 255, 255, .12);

    --text:      #ebe9f7;
    --muted:     #9a93b8;
    --dim:       #6f6890;

    --purple:    #8b5cf6;
    --purple-2:  #6d4dff;
    --cyan:      #22d3ee;
    --pink:      #f05bd0;
    --green:     #2ee59d;
    --red:       #ff3d6e;
    --yellow:    #f5c451;

    --grad:      linear-gradient(135deg, #6d4dff 0%, #8b5cf6 50%, #c05bf0 100%);
    --grad-text: linear-gradient(100deg, #35d6f5 0%, #8b5cf6 55%, #f05bd0 100%);

    --r-sm: 10px;
    --r:    14px;
    --r-lg: 20px;
    --wrap: 1320px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }

body.fx {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.fx::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 520px at 12% -5%, rgba(109, 77, 255, .16), transparent 70%),
        radial-gradient(780px 460px at 92% 8%, rgba(240, 91, 208, .10), transparent 70%);
}

/* Inhalt über den Hintergrundnebel heben – Kopfzeile und Forenleiste sind
   hier bewusst ausgenommen, sie setzen ihren eigenen, höheren z-index. */
.fx main, .fx footer { position: relative; z-index: 1; }

.fx h1, .fx h2, .fx h3, .fx h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.2;
}

.fx a { color: inherit; text-decoration: none; }
.fx a:hover { color: #ff7ab8; }
.fx img { max-width: 100%; }
.fx p { margin: 0; }
.fx .wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.fx .grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx .fx-dim { color: var(--dim); }
.fx .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Das hidden-Attribut muss gegen unsere eigenen display-Regeln gewinnen –
   sonst bleiben Editor-Textfeld, Smileyleiste und Profilformular sichtbar. */
.fx [hidden] { display: none !important; }
.fx i.sm { font-size: .72em; }

/* ---------------------------------------------------------------- Kopfzeile aus nav.php */
.fx .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 10, 23, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.fx .nav .bar { display: flex; align-items: center; gap: 18px; height: 64px; }
.fx .nav .logo { display: flex; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; }
.fx .nav .logo img { width: 34px; height: 34px; border-radius: 9px; }
.fx .nav .logo span { display: flex; flex-direction: column; line-height: 1.1; }
.fx .nav .logo b { font-size: 15px; letter-spacing: .04em; }
.fx .nav .logo small { font-size: 10px; color: var(--dim); }
.fx .nav .links { display: flex; gap: 2px; margin-left: 10px; flex: 1; }
.fx .nav .links a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 13px; border-radius: var(--r-sm);
    font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.fx .nav .links a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.fx .nav .links a.on { color: var(--text); background: rgba(139, 92, 246, .16); }
.fx .nav-right { display: flex; align-items: center; gap: 10px; }
.fx .online-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px; border-radius: 999px; font-size: 12px;
    border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap;
}
.fx .online-pill .led { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.fx .icon-btn {
    display: grid; place-items: center; width: 36px; height: 36px;
    border-radius: var(--r-sm); border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04); color: var(--muted); cursor: pointer;
}
.fx .burger { display: none; }
.fx .mobile-menu { display: none; }

/* ---------------------------------------------------------------- Knöpfe */
.fx .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .04); color: var(--text);
    font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
    transition: background .15s, border-color .15s, transform .1s;
    white-space: nowrap;
}
.fx .btn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: var(--text); }
.fx .btn:active { transform: translateY(1px); }
.fx .btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 24px rgba(109, 77, 255, .3); }
.fx .btn.primary:hover { filter: brightness(1.1); color: #fff; }
.fx .btn.sm { padding: 7px 12px; font-size: 12.5px; }
.fx .btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------------------------------------------------------------- Forenleiste */
.fx-bar {
    position: sticky; top: 64px; z-index: 40;
    background: rgba(17, 15, 32, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.fx-bar-in { display: flex; align-items: center; gap: 14px; height: 54px; }
.fx-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.fx-tabs::-webkit-scrollbar { display: none; }
.fx-tabs a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 13px; border-radius: var(--r-sm);
    font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.fx-tabs a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.fx-tabs a.on { color: #fff; background: rgba(255, 46, 147, .16); box-shadow: inset 0 0 0 1px rgba(255, 46, 147, .4); }
.fx-search { position: relative; margin-left: auto; }
.fx-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 13px; }
.fx-search input {
    width: 230px; padding: 9px 12px 9px 34px;
    border: 1px solid var(--line-2); border-radius: 999px;
    background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; font-size: 13px;
}
.fx-search input:focus { outline: none; border-color: var(--purple); background: rgba(139, 92, 246, .08); }
.fx-me-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }

/* ---------------------------------------------------------------- Grundraster */
/* Alle Abschnitte einer Seite sitzen direkt im main – der gemeinsame Abstand
   kommt deshalb aus dem Flex-gap und nicht aus Rändern der einzelnen Blöcke. */
.fx-main { padding: 22px 0 60px; display: flex; flex-direction: column; gap: 18px; }
.fx-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.fx-content { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.fx-content.wide { max-width: none; }

/* ---------------------------------------------------------------- Brotkrumen */
.fx-crumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--muted); margin-bottom: -4px;
}
.fx-crumb a:hover { color: var(--purple); }
.fx-crumb .sep { font-size: 9px; color: var(--dim); }
.fx-crumb span { color: var(--text); }

/* ---------------------------------------------------------------- Kopfbereich der Startseite */
.fx-hero {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 34px 30px; border-radius: var(--r-lg);
    border: 1px solid rgba(255, 46, 147, .28);
    box-shadow: 0 0 40px -18px rgba(255, 46, 147, .6);
    background:
        linear-gradient(100deg, rgba(10, 6, 18, .95) 15%, rgba(10, 6, 18, .7) 55%, rgba(10, 6, 18, .3)),
        url('/assets/images/hero-ls.jpg') 60% 45% / cover no-repeat,
        var(--panel);
}
.fx-hero h1 { font-size: clamp(24px, 3.4vw, 34px); margin: 6px 0 8px; }
.fx-hero p { color: var(--muted); max-width: 62ch; font-size: 14px; }
.fx-hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink);
}
.fx-hero-act { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.fx-hero-txt { flex: 1; min-width: 280px; }

/* Lebenszeichen gleich im Kopf: Themen, Beiträge, Mitglieder, gerade online */
.fx-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 10px; }
.fx-hero-stats .hs {
    display: flex; flex-direction: column; gap: 1px;
    padding: 12px 16px; border-radius: var(--r);
    border: 1px solid var(--line-2); background: rgba(14, 8, 24, .78);
    backdrop-filter: blur(8px);
}
.fx-hero-stats .hs i { font-size: 13px; color: var(--pink); margin-bottom: 3px; }
.fx-hero-stats .hs b { font-family: 'Outfit', sans-serif; font-size: 22px; line-height: 1.1; }
.fx-hero-stats .hs span { font-size: 11px; color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }
.fx-hero-stats .hs.live { border-color: rgba(46, 229, 157, .35); background: rgba(46, 229, 157, .08); }
.fx-hero-stats .hs.live i { color: var(--green); }

/* ---------------------------------------------------------------- Gerade spannend */
.fx-hot { display: flex; flex-direction: column; gap: 12px; }
.fx-hot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fx-hot-head h2 { font-size: 16px; display: flex; align-items: center; gap: 9px; }
.fx-hot-head h2 i { color: var(--pink); }
.fx-hot-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.fx-hot-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 15px 17px; border-radius: var(--r);
    border: 1px solid var(--line); background: var(--panel);
    transition: transform .14s, border-color .15s, background .15s;
}
.fx-hot-card:hover {
    transform: translateY(-3px); border-color: rgba(139, 92, 246, .45);
    background: linear-gradient(140deg, rgba(109, 77, 255, .14), transparent 70%), var(--panel);
    color: inherit;
}
.hc-board {
    display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
    padding: 3px 9px; border-radius: 999px; background: rgba(139, 92, 246, .16);
    color: #c4b5fd; font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
}
.hc-title {
    font-size: 14.5px; line-height: 1.35; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hc-foot { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); }
.hc-foot .av { --s: 24px; border-radius: 8px; }
.hc-user { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-nums { margin-left: auto; display: flex; gap: 9px; color: var(--dim); white-space: nowrap; }
.hc-nums i { margin-right: 3px; }
.hc-time { font-size: 11px; color: var(--dim); border-top: 1px solid var(--line); padding-top: 8px; }

/* ---------------------------------------------------------------- Randspalte: Leute */
.fx-count {
    margin-left: auto; padding: 1px 8px; border-radius: 999px;
    background: rgba(46, 229, 157, .16); color: var(--green);
    font-size: 11px; font-weight: 700;
}
.fx-online-people, .fx-top { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fx-online-people li, .fx-top li {
    display: flex; align-items: center; gap: 9px;
    padding: 5px 7px; border-radius: 8px; font-size: 12.5px;
}
.fx-online-people li:hover, .fx-top li:hover { background: rgba(255, 255, 255, .04); }
.fx-online-people .av, .fx-top .av { --s: 28px; border-radius: 9px; }
.op-av { position: relative; display: block; }
.op-av::after {
    content: ''; position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px;
    border-radius: 50%; background: var(--green); border: 2px solid var(--panel);
}
.op-badge { margin-left: auto; font-size: 12px; }
.fx-top li b { margin-left: auto; font-family: 'Outfit', sans-serif; color: var(--text); font-size: 13px; }
.fx-top .rk {
    display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px;
    background: rgba(255, 255, 255, .07); color: var(--dim);
    font-size: 11px; font-weight: 700; flex: none;
}
.fx-top .rk-1 { background: rgba(245, 196, 81, .22); color: var(--yellow); }
.fx-top .rk-2 { background: rgba(200, 210, 230, .18); color: #c8d2e6; }
.fx-top .rk-3 { background: rgba(205, 127, 50, .22); color: #e0a068; }

/* ---------------------------------------------------------------- Kategorien und Foren */
.fx-cat { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.fx-cat-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 13px 18px; background: var(--panel-2); border-bottom: 1px solid var(--line);
}
.fx-cat-head h2 { font-size: 15px; display: flex; align-items: center; gap: 9px; }
.fx-cat-head h2 i { color: var(--pink); font-size: 14px; }
.fx-collapse { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 4px 6px; font-size: 13px; }
.fx-collapse:hover { color: var(--text); }
.fx-cat.collapsed .fx-cat-body { display: none; }
.fx-cat.collapsed .fx-collapse i { transform: rotate(180deg); }

.fx-board {
    display: grid; grid-template-columns: 54px minmax(0, 1fr) 120px 240px;
    gap: 14px; align-items: center;
    padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.fx-board:last-child { border-bottom: 0; }
.fx-board:hover { background: rgba(255, 255, 255, .02); }
.fx-board h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fx-board h3 a:hover { color: var(--purple); }
.fx-desc { color: var(--muted); font-size: 12.8px; margin-top: 3px; line-height: 1.5; }

.fx-ico {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
    color: var(--dim); font-size: 18px; flex: none;
}
.fx-ico.new { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(255, 46, 147, .38); }
.fx-ico.closed { color: var(--yellow); }
.fx-ico.big { width: 56px; height: 56px; font-size: 22px; border-radius: 16px; }

.fx-subs { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 8px 0 0; padding: 0; }
.fx-subs a { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.fx-subs a:hover { color: var(--purple); }
.fx-subs a.new { color: var(--text); font-weight: 600; }
.fx-subs small { color: var(--dim); }

.fx-board-nums { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--dim); text-align: right; }
.fx-board-nums b { color: var(--text); font-size: 13.5px; }
.fx-board-last { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-board-last .lp { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; }
.fx-board-last .lp a { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-board-last .lp small { color: var(--dim); font-size: 11.5px; }

/* ---------------------------------------------------------------- Avatare */
.fx .av {
    width: var(--s, 48px); height: var(--s, 48px); border-radius: 12px;
    object-fit: cover; display: block; flex: none; border: 1px solid var(--line-2);
}
.fx .av.ph {
    display: grid; place-items: center;
    background: linear-gradient(135deg, hsl(var(--h, 260deg) 60% 42%), hsl(calc(var(--h, 260deg) + 40deg) 60% 30%));
    color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700;
    font-size: calc(var(--s, 48px) * .42); border: 0;
}
.fx .uname { font-weight: 600; }
.fx .uname:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- Kennzeichen */
.fx-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    background: rgba(255, 255, 255, .07); color: var(--muted);
}
.fx-tag.new { background: rgba(46, 229, 157, .16); color: var(--green); }
.fx-tag.closed { background: rgba(245, 196, 81, .16); color: var(--yellow); text-transform: none; }
.fx-tag.hide { background: rgba(255, 61, 110, .16); color: var(--red); }
.fx-tag.team { background: color-mix(in srgb, var(--c, #8b5cf6) 18%, transparent); color: var(--c, #8b5cf6); text-transform: none; }
.fx-tag.big { padding: 8px 14px; font-size: 12px; }
.fx-prefix {
    display: inline-block; padding: 2px 8px; border-radius: 6px;
    background: rgba(139, 92, 246, .18); color: #c4b5fd;
    font-size: 11px; font-weight: 700;
}
.fx i.tag { color: var(--yellow); font-size: 12px; }

/* ---------------------------------------------------------------- Kopf einer Unterseite */
.fx-head {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
}
.fx-head-txt { flex: 1; min-width: 220px; }
.fx-head-txt h1 { font-size: clamp(19px, 2.4vw, 25px); }
.fx-head-txt p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.fx-head-nums { font-size: 12px !important; color: var(--dim) !important; }
.fx-head-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------------------------------------------------------------- Werkzeugleiste */
.fx-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fx-toolbar.form { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.fx-filters { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.fx-chip {
    padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2);
    font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, .03);
}
.fx-chip.on { background: var(--grad); border-color: transparent; color: #fff; }
.fx-sort { font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.fx select, .fx input[type=text], .fx input[type=search], .fx textarea {
    padding: 9px 11px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    background: var(--panel-2); color: var(--text); font: inherit; font-size: 13.5px;
}
.fx select:focus, .fx input:focus, .fx textarea:focus { outline: none; border-color: var(--purple); }
.fx input[type=file] { font-size: 12.5px; color: var(--muted); }

/* ---------------------------------------------------------------- Themenliste */
.fx-threads { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.fx-threads-head {
    display: grid; grid-template-columns: 58px minmax(0, 1fr) 100px 210px; gap: 14px;
    padding: 10px 18px; background: var(--panel-2); border-bottom: 1px solid var(--line);
    font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim);
}
.fx-threads-head .c-title { grid-column: 1 / 3; }
.fx-threads-head .c-nums { text-align: right; }

.fx-thread {
    display: grid; grid-template-columns: 58px minmax(0, 1fr) 100px 210px; gap: 14px; align-items: center;
    padding: 13px 18px; border-bottom: 1px solid var(--line);
}
.fx-thread:last-child { border-bottom: 0; }
.fx-thread:hover { background: rgba(255, 255, 255, .02); }
.fx-thread.is-hidden { opacity: .5; }
.fx-thread.is-new .t-main h3 a { color: #fff; }
.t-ico { position: relative; display: block; }
.t-ico.new::after {
    content: ''; position: absolute; right: -3px; top: -3px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--green); border: 2px solid var(--panel); box-shadow: 0 0 10px var(--green);
}
.t-main h3 { font-size: 14.5px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-weight: 600; }
.t-meta { font-size: 12px; color: var(--dim); margin-top: 3px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.t-meta .uname { color: var(--muted); }
.t-pages { display: inline-flex; gap: 3px; }
.t-pages a {
    padding: 0 5px; border-radius: 5px; background: rgba(255, 255, 255, .06);
    font-size: 10.5px; color: var(--muted);
}
.t-nums { text-align: right; font-size: 11px; color: var(--dim); }
.t-nums b { display: block; font-size: 15px; color: var(--text); font-family: 'Outfit', sans-serif; }
.t-last { display: flex; align-items: center; gap: 9px; min-width: 0; }
.t-last .lp { display: flex; flex-direction: column; min-width: 0; font-size: 12.5px; }
.t-last .lp small { color: var(--dim); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- Thema */
.fx-thead {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r);
    background: linear-gradient(135deg, rgba(109, 77, 255, .12), transparent 60%), var(--panel);
}
.fx-thead h1 { font-size: clamp(19px, 2.6vw, 26px); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.fx-thead-meta { font-size: 12.5px; color: var(--dim); margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.fx-thead-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Wer am Thema beteiligt ist – Avatare mit Beitragszahl und Online-Punkt */
.fx-parts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.fp-label { font-size: 11.5px; color: var(--dim); margin-right: 4px; display: inline-flex; align-items: center; gap: 6px; }
.fp-one { position: relative; display: block; transition: transform .12s; }
.fp-one:hover { transform: translateY(-2px); }
.fp-one .av { --s: 30px; border-radius: 9px; }
.fp-one.on::after {
    content: ''; position: absolute; right: -2px; top: -2px; width: 9px; height: 9px;
    border-radius: 50%; background: var(--green); border: 2px solid var(--panel);
}
.fp-n {
    position: absolute; right: -4px; bottom: -4px; min-width: 15px; height: 15px; padding: 0 3px;
    display: grid; place-items: center; border-radius: 999px;
    background: var(--purple); color: #fff; font-size: 9.5px; font-weight: 700;
    border: 2px solid var(--panel);
}

/* Lesefortschritt direkt unter der Forenleiste */
.fx-progress { position: fixed; left: 0; top: 118px; width: 100%; height: 3px; z-index: 39; pointer-events: none; }
.fx-progress span { display: block; height: 100%; width: 0; background: var(--grad-text); transition: width .1s linear; }

/* Sprungknöpfe unten rechts */
.fx-jump { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 6px; }
.fx-jump button {
    width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid var(--line-2); border-radius: 12px;
    background: rgba(26, 23, 51, .92); backdrop-filter: blur(8px);
    color: var(--muted); cursor: pointer; font-size: 14px; box-shadow: var(--shadow);
}
.fx-jump button:hover { color: #fff; border-color: rgba(139, 92, 246, .5); background: rgba(139, 92, 246, .3); }

.fx-posts { display: flex; flex-direction: column; gap: 14px; }
.fx-post {
    display: grid; grid-template-columns: 180px minmax(0, 1fr);
    border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden;
    scroll-margin-top: 150px;
}
.fx-post.first { border-color: rgba(139, 92, 246, .3); }
.fx-post.is-hidden { opacity: .55; }
/* Angesprungener Beitrag leuchtet kurz auf, damit man ihn sofort findet */
.fx-post:target { box-shadow: 0 0 0 2px var(--purple); animation: fx-flash 1.6s ease-out 1; }
@keyframes fx-flash {
    0%   { background: rgba(139, 92, 246, .28); }
    100% { background: var(--panel); }
}

.fx-post-user {
    padding: 18px 14px; text-align: center; background: var(--panel-2);
    border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.pu-av { position: relative; display: inline-block; }
.pu-av .av { border-radius: 16px; margin-inline: auto; }
.pu-av.on::after {
    content: ''; position: absolute; right: 3px; bottom: 3px; width: 14px; height: 14px;
    border-radius: 50%; background: var(--green); border: 3px solid var(--panel-2);
    box-shadow: 0 0 10px rgba(46, 229, 157, .6);
}
.pu-title { font-size: 11.5px; color: var(--dim); }
.pu-badges { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.pu-group {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 2px;
    padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
    background: color-mix(in srgb, var(--c, #8b5cf6) 18%, transparent); color: var(--c, #8b5cf6);
}
.pu-group.op { background: rgba(34, 211, 238, .16); color: var(--cyan); }
.pu-stats { margin: 10px 0 0; width: 100%; font-size: 11.5px; display: flex; flex-direction: column; gap: 3px; }
.pu-stats div { display: flex; justify-content: space-between; gap: 8px; }
.pu-stats dt { color: var(--dim); margin: 0; }
.pu-stats dd { margin: 0; color: var(--muted); font-weight: 600; }

.fx-post-body { padding: 14px 20px 12px; display: flex; flex-direction: column; min-width: 0; }
.fx-post-head {
    display: flex; align-items: center; gap: 10px;
    padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--dim);
}
.ph-date:hover { color: var(--purple); }
.ph-sp { flex: 1; }
.ph-num { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--dim); }
.ph-more { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 4px 7px; border-radius: 7px; font-size: 14px; }
.ph-more:hover { background: rgba(255, 255, 255, .07); color: var(--text); }

/* ---------------------------------------------------------------- Beitragstext */
.fx-msg { padding: 14px 0 6px; font-size: 14.5px; line-height: 1.72; min-width: 0; overflow-wrap: break-word; }
.fx-msg p { margin: 0 0 12px; }
.fx-msg p:last-child { margin-bottom: 0; }
.fx-msg a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.fx-msg a:hover { color: var(--purple); }
.fx-msg ul, .fx-msg ol { margin: 0 0 12px; padding-left: 22px; }
.fx-msg li { margin-bottom: 4px; }
.fx-msg .bb-h { margin: 14px 0 8px; font-size: 18px; }
.fx-msg .bb-u { text-decoration: underline; text-underline-offset: 2px; }
.fx-msg .bb-hr { border: 0; border-top: 1px solid var(--line-2); margin: 16px 0; }
.fx-msg .bb-img { border-radius: var(--r-sm); border: 1px solid var(--line-2); margin: 6px 0; max-height: 520px; width: auto; }
.fx-msg .bb-mention { color: var(--purple); text-decoration: none; font-weight: 600; }

.fx-msg .bb-quote {
    margin: 0 0 14px; padding: 12px 16px;
    border-left: 3px solid var(--purple); border-radius: 0 var(--r-sm) var(--r-sm) 0;
    background: rgba(139, 92, 246, .08);
}
.fx-msg .bb-quote .q-head { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.fx-msg .bb-quote .q-head b { color: var(--text); }
.fx-msg .bb-quote .q-body > p:last-child { margin-bottom: 0; }

.fx-msg .bb-code {
    position: relative; margin: 0 0 14px; border-radius: var(--r-sm);
    border: 1px solid var(--line-2); background: #0a0914; overflow: hidden;
}
.fx-msg .bb-code .lang {
    display: block; padding: 6px 14px; background: rgba(255, 255, 255, .04);
    font-size: 11px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase;
}
.fx-msg .bb-code pre { margin: 0; padding: 14px; overflow-x: auto; }
.fx-msg code, .fx-msg pre { font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace; font-size: 13px; }
.fx-msg .bb-inline { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .08); }

.fx-msg .bb-spoiler { margin: 0 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; }
.fx-msg .bb-spoiler summary { padding: 9px 14px; background: rgba(255, 255, 255, .04); cursor: pointer; font-weight: 600; font-size: 13px; }
.fx-msg .bb-spoiler > div { padding: 12px 14px; }

.fx-msg .bb-media { position: relative; aspect-ratio: 16 / 9; max-width: 620px; margin: 0 0 14px; }
.fx-msg .bb-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--r-sm); }
.fx-msg mark, .fr-ex mark { background: rgba(245, 196, 81, .28); color: inherit; border-radius: 3px; padding: 0 2px; }

.fx-edited { font-size: 12px; color: var(--dim); padding: 8px 0 0; border-top: 1px dashed var(--line); margin-top: 6px; }
.fx-sig { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); opacity: .85; }
.fx-sig p { margin-bottom: 4px; }

.fx-post-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; margin-top: auto; }
.fx-reacts { display: flex; gap: 6px; flex-wrap: wrap; }
.fx-react {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .04); color: var(--muted);
    font: inherit; font-size: 12.5px; cursor: pointer; transition: transform .1s, background .15s;
}
.fx-react:hover:not([disabled]) { background: rgba(255, 255, 255, .09); transform: translateY(-1px); }
.fx-react.on { background: rgba(139, 92, 246, .2); border-color: rgba(139, 92, 246, .5); color: #fff; }
.fx-react.empty { opacity: .4; }
.fx-react.empty:hover { opacity: 1; }
.fx-react .em { font-size: 14px; line-height: 1; }
.fx-post-tools { display: flex; gap: 7px; }

/* ---------------------------------------------------------------- Menü */
.fx-menu { position: relative; }
.fx-menu-pop {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 30;
    min-width: 215px; padding: 6px; display: none;
    border: 1px solid var(--line-2); border-radius: var(--r-sm);
    background: var(--panel-3); box-shadow: var(--shadow);
}
.fx-menu.open .fx-menu-pop { display: block; }
.fx-menu-pop button, .fx-menu-pop a {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 8px 11px; border: 0; border-radius: 8px; background: none;
    color: var(--text); font: inherit; font-size: 13px; text-align: left; cursor: pointer;
}
.fx-menu-pop button:hover, .fx-menu-pop a:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.fx-menu-pop button i, .fx-menu-pop a i { width: 15px; color: var(--dim); }
.fx-menu-pop button.danger { color: var(--red); }
.fx-menu-pop button.danger i { color: var(--red); }
.fx-menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 5px 0; }
.fx-menu-note { display: block; padding: 7px 11px; font-size: 11px; color: var(--dim); }

/* ---------------------------------------------------------------- Blättern */
.fx-pager { display: flex; gap: 5px; align-items: center; justify-content: center; flex-wrap: wrap; }
.fx-pager .pg {
    min-width: 34px; height: 34px; padding: 0 10px;
    display: inline-grid; place-items: center; border-radius: 9px;
    border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
    font-size: 13px; font-weight: 600; color: var(--muted);
}
.fx-pager .pg:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.fx-pager .pg.on { background: var(--grad); border-color: transparent; color: #fff; }
.fx-pager .gap { color: var(--dim); padding: 0 2px; }

/* ---------------------------------------------------------------- Editor */
.fx-quick { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 18px 20px; }
.fx-quick h2 { font-size: 15px; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.fx-quick h2 i { color: var(--purple); }

.fx-form { display: flex; flex-direction: column; gap: 14px; }
.fx-form.big { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.fx-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fx-field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.fx-field.grow { flex: 1; min-width: 200px; }
.fx-field.slim { min-width: 150px; }
.fx-field > span { font-weight: 600; }
.fx-field small { font-weight: 400; color: var(--dim); }
.fx-form-act { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.fx-editor { border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--panel-2); overflow: hidden; }
.fx-editor:focus-within { border-color: var(--purple); }
.fx-tools {
    display: flex; gap: 4px; flex-wrap: wrap; align-items: center;
    padding: 7px 9px; background: var(--panel-3); border-bottom: 1px solid var(--line);
}
.fx-tgrp { display: flex; gap: 2px; align-items: center; padding-right: 7px; border-right: 1px solid var(--line); }
.fx-tgrp:last-child { border-right: 0; }
.fx-tgrp.right { margin-left: auto; border-right: 0; padding-right: 0; }
.fx-tools button {
    width: 30px; height: 30px; display: grid; place-items: center;
    border: 0; border-radius: 7px; background: none; color: var(--muted);
    cursor: pointer; font-size: 13px;
}
.fx-tools button:hover { background: rgba(255, 255, 255, .09); color: var(--text); }
.fx-tools button.on { background: rgba(139, 92, 246, .25); color: #fff; }
.fx-tools select { padding: 5px 8px; font-size: 12px; background: var(--panel-2); }
.fx-color { position: relative; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; cursor: pointer; color: var(--muted); }
.fx-color:hover { background: rgba(255, 255, 255, .09); color: var(--text); }
.fx-color input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.fx-wysiwyg, .fx-source {
    display: block; width: 100%; min-height: var(--min, 180px);
    padding: 14px 16px; border: 0; background: transparent; color: var(--text);
    font: inherit; font-size: 14.5px; line-height: 1.7; resize: vertical;
}
.fx-wysiwyg:focus, .fx-source:focus { outline: none; }
.fx-wysiwyg:empty::before { content: attr(data-placeholder); color: var(--dim); }
.fx-wysiwyg blockquote {
    margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--purple);
    background: rgba(139, 92, 246, .08); border-radius: 0 8px 8px 0;
}
.fx-wysiwyg pre { margin: 0 0 12px; padding: 12px; border-radius: 8px; background: #0a0914; overflow-x: auto; }
.fx-wysiwyg img { max-width: 100%; border-radius: 8px; margin: 4px 0; }
.fx-wysiwyg.drag { background: rgba(139, 92, 246, .1); }
.fx-source { font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; }

.fx-emoji {
    display: flex; flex-wrap: wrap; gap: 3px; padding: 9px;
    border-top: 1px solid var(--line); background: var(--panel-3);
}
.fx-emoji button {
    width: 32px; height: 32px; border: 0; border-radius: 7px;
    background: none; font-size: 17px; cursor: pointer; line-height: 1;
}
.fx-emoji button:hover { background: rgba(255, 255, 255, .1); }
.fx-editor-hint { padding: 8px 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--dim); background: rgba(0, 0, 0, .15); }
.fx-editor-hint code { background: rgba(255, 255, 255, .07); padding: 1px 5px; border-radius: 4px; }

.fx-modopts {
    display: flex; gap: 18px; flex-wrap: wrap; padding: 12px 16px;
    border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--panel-2);
}
.fx-modopts legend { padding: 0 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.fx-modopts label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); cursor: pointer; }

/* ---------------------------------------------------------------- Ähnliche Themen */
.fx-similar { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 18px 20px; }
.fx-similar h2 { font-size: 15px; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.fx-similar h2 i { color: var(--cyan); }
.fx-similar-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px; }
.fx-similar-list a {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 12px; border-radius: var(--r-sm);
    border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
    transition: border-color .15s, background .15s;
}
.fx-similar-list a:hover { border-color: rgba(139, 92, 246, .4); background: rgba(139, 92, 246, .08); color: inherit; }
.fx-similar-list .av { --s: 34px; border-radius: 10px; }
.fx-similar-list .si { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fx-similar-list .si b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-similar-list .si small { font-size: 11px; color: var(--dim); }
.fx-similar-list > a > i { color: var(--dim); font-size: 11px; }

/* ---------------------------------------------------------------- Randspalte */
.fx-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 132px; }
.fx-box { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.fx-box h3 {
    padding: 11px 15px; font-size: 12.5px; letter-spacing: .04em;
    background: var(--panel-2); border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 8px;
}
.fx-box h3 i { color: var(--purple); font-size: 12px; }
.fx-box-in { padding: 13px 15px; font-size: 12.5px; }
.fx-box-in.list { padding: 6px; }
.fx-box.flat h3 { border-radius: 0; }

.fx-online-sum { color: var(--muted); line-height: 1.6; }
.fx-online-sum b { color: var(--text); }
.fx-online-list { margin-top: 8px !important; line-height: 1.9; }
.fx-online-list .uname { font-size: 12.5px; }
.fx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--purple); font-weight: 600; }

.fx-mini { display: flex; gap: 10px; padding: 8px 9px; border-radius: 9px; align-items: flex-start; }
.fx-mini:hover { background: rgba(255, 255, 255, .04); }
.fx-mini .mi { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.fx-mini b { font-size: 12.5px; font-weight: 600; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fx-mini small { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-mini small.dim { color: var(--dim); }

.fx-avatars { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------------------------------------------------------------- Statistik & Legende */
.fx-stats {
    display: flex; flex-wrap: wrap; gap: 14px;
    padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
}
.fx-stat { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); }
.fx-stat i { color: var(--purple); font-size: 15px; }
.fx-stat b { font-family: 'Outfit', sans-serif; font-size: 17px; color: var(--text); }
.fx-stat.wide { margin-left: auto; }

.fx-legend {
    padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r);
    background: var(--panel); font-size: 12.5px; color: var(--muted);
}
.fx-legend h3 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-bottom: 11px; display: flex; gap: 8px; align-items: center; }
.fx-legend h3.mt { margin-top: 16px; }
.fx-legend ul { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 0; padding: 0; }
.fx-legend li { display: flex; align-items: center; gap: 9px; }
.fx-legend .fx-ico { width: 26px; height: 26px; font-size: 11px; border-radius: 8px; }
.fx-legend-groups li { gap: 7px; font-weight: 600; }

/* ---------------------------------------------------------------- Mitglieder */
.fx-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.fx-member {
    display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
    padding: 18px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
    transition: transform .12s, border-color .15s;
}
.fx-member:hover { transform: translateY(-2px); border-color: rgba(139, 92, 246, .4); color: inherit; }
.fx-member b { font-size: 14px; margin-top: 6px; }
.fx-member small { font-size: 11.5px; color: var(--dim); }
.fm-nums { font-size: 11px; color: var(--muted); margin-top: 4px; }
.fm-av, .fp-av { position: relative; display: inline-block; }
.fm-av .av, .fp-av .av { border-radius: 18px; }
.fm-av.on::after, .fp-av.on::after {
    content: ''; position: absolute; right: 2px; bottom: 2px; width: 12px; height: 12px;
    border-radius: 50%; background: var(--green); border: 2px solid var(--panel); box-shadow: 0 0 9px var(--green);
}

/* ---------------------------------------------------------------- Profil */
.fx-profile {
    display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start;
    padding: 24px; border: 1px solid var(--line); border-radius: var(--r);
    background: linear-gradient(135deg, rgba(109, 77, 255, .14), transparent 55%), var(--panel);
}
.fp-av .av { border-radius: 22px; }
.fp-txt { flex: 1; min-width: 240px; }
.fp-txt h1 { font-size: clamp(21px, 3vw, 28px); }
.fp-title { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 5px; }
.fp-about { margin-top: 10px !important; color: var(--muted); font-size: 13.5px; }
.fp-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 16px 0 0; }
.fp-stats div { display: flex; flex-direction: column; }
.fp-stats dt { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.fp-stats dd { margin: 0; font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600; }
.fp-act { display: flex; flex-direction: column; gap: 8px; }
.fx-profile-edit { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.fx-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }

/* ---------------------------------------------------------------- Tabellen & Suche */
.fx-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.fx-table th {
    text-align: left; padding: 10px 18px; font-size: 11px; letter-spacing: .07em;
    text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); font-weight: 700;
}
.fx-table td { padding: 10px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.fx-table tr:last-child td { border-bottom: 0; }
.fx-table .r { text-align: right; }
.cell-user { display: flex; align-items: center; gap: 9px; }
.cell-user .av { border-radius: 9px; }

.fx-results { display: flex; flex-direction: column; gap: 10px; }
.fx-result {
    display: flex; gap: 14px; padding: 15px 18px;
    border: 1px solid var(--line); border-radius: var(--r); background: var(--panel);
}
.fx-result h3 { font-size: 14.5px; }
.fr-ex { color: var(--muted); font-size: 13px; margin-top: 5px !important; }
.fr-meta { font-size: 11.5px; color: var(--dim); margin-top: 6px !important; }

/* ---------------------------------------------------------------- Hinweise */
.fx-empty {
    padding: 44px 24px; text-align: center; color: var(--muted);
    border: 1px dashed var(--line-2); border-radius: var(--r); background: rgba(255, 255, 255, .015);
}
.fx-empty i { font-size: 32px; color: var(--dim); display: block; margin-bottom: 12px; }
.fx-empty p { margin-bottom: 14px; }
.fx-empty.big { margin: 60px auto; max-width: 620px; }
.fx-empty.big h2 { margin-bottom: 10px; font-size: 22px; }
.fx-pre {
    display: inline-block; padding: 10px 16px; border-radius: var(--r-sm);
    background: #0a0914; border: 1px solid var(--line-2); color: var(--cyan);
    font-family: ui-monospace, Consolas, monospace; font-size: 13px; margin: 8px 0 14px;
}
.fx-note {
    display: flex; align-items: center; gap: 11px; padding: 14px 18px;
    border: 1px solid var(--line-2); border-radius: var(--r);
    background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13.5px;
}
.fx-note i { color: var(--yellow); }
.fx-note.err { border-color: rgba(255, 61, 110, .4); background: rgba(255, 61, 110, .1); color: #ffc0cf; }
.fx-note.err i { color: var(--red); }
.fx-note a { color: var(--purple); font-weight: 600; }

/* ---------------------------------------------------------------- Meldungen (JS) */
.fx-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 9px; }
/* Im Thema sitzen unten rechts die Sprungknöpfe – Meldungen rücken darüber */
.view-thread .fx-toasts { bottom: 104px; }
.fx-toast {
    display: flex; align-items: center; gap: 10px; padding: 12px 17px;
    border: 1px solid var(--line-2); border-radius: var(--r-sm);
    background: var(--panel-3); box-shadow: var(--shadow); font-size: 13.5px;
    animation: fx-in .2s ease-out;
}
.fx-toast.err { border-color: rgba(255, 61, 110, .5); }
.fx-toast.err i { color: var(--red); }
.fx-toast.ok i { color: var(--green); }
@keyframes fx-in { from { opacity: 0; transform: translateY(8px); } }

.fx-modal {
    position: fixed; inset: 0; z-index: 210; display: grid; place-items: center;
    background: rgba(5, 4, 12, .72); backdrop-filter: blur(4px); padding: 20px;
}
.fx-modal-box {
    width: min(100%, 460px); padding: 22px;
    border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); box-shadow: var(--shadow);
}
.fx-modal-box h3 { font-size: 17px; margin-bottom: 12px; }
.fx-modal-box label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.fx-modal-box input, .fx-modal-box select, .fx-modal-box textarea { width: 100%; }
.fx-modal-act { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------------------------------------------------------------- Fuß */
.fx-foot { border-top: 1px solid var(--line); padding: 26px 0; margin-top: 30px; background: rgba(7, 6, 15, .6); }
.fx-foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--dim); }
.fx-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.fx-foot nav a:hover { color: var(--purple); }

/* ---------------------------------------------------------------- Schmale Bildschirme */
@media (max-width: 1180px) {
    .fx-cols { grid-template-columns: 1fr; }
    .fx-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 900px) {
    .fx .nav .links { display: none; }
    .fx .burger { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm);
        border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer; }
    .fx .mobile-menu { display: none; flex-direction: column; gap: 2px; padding: 10px 0 14px; }
    .fx .mobile-menu.open { display: flex; }
    .fx .mobile-menu a { padding: 11px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .04); font-size: 14px; display: flex; gap: 10px; align-items: center; }
    .fx .online-pill { display: none; }
    .fx-bar { top: 0; }
    .fx-search input { width: 150px; }
    .fx-board { grid-template-columns: 46px minmax(0, 1fr); }
    .fx-board-nums { flex-direction: row; gap: 12px; grid-column: 2; text-align: left; }
    .fx-board-last { grid-column: 2; }
    .fx-threads-head { display: none; }
    .fx-thread { grid-template-columns: 50px minmax(0, 1fr); }
    .t-nums { grid-column: 2; text-align: left; display: flex; gap: 6px; align-items: baseline; }
    .t-nums b { display: inline; font-size: 13px; }
    .t-last { grid-column: 2; }
    .fx-post { grid-template-columns: 1fr; }
    .fx-post-user {
        flex-direction: row; text-align: left; gap: 12px; padding: 12px 16px;
        border-right: 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; align-items: center;
    }
    .pu-av .av { --s: 44px !important; }
    .pu-stats { display: none; }
    .fx-stat.wide { margin-left: 0; }
}

@media (max-width: 560px) {
    .fx-bar-in { height: auto; padding: 9px 0; flex-wrap: wrap; }
    .fx-search { margin-left: 0; flex: 1; }
    .fx-search input { width: 100%; }
    .fx-hero { padding: 20px; }
    .fx-tools { gap: 2px; }
    .fx-tgrp { padding-right: 4px; }
}
