/* DogTag 2 – Designs (Jahreszeiten) und neue Bausteine.
   Jedes Design setzt nur Farb-Variablen; die Seite selbst bleibt gleich aufgebaut. */
:root {
    --glow: 11, 142, 169;
    --glow2: 243, 195, 79;
    --topbg: rgba(7, 10, 13, .78);
    --btn-text: #fff;
}
[data-theme="spring"] {
    --bg: #070c0a; --bg2: #0a120e; --panel: #0f1914; --panel2: #15221b; --panel3: #1b2c23; --line: #22382c; --line2: #2d4a3a;
    --text: #eef7f1; --dim: #a2bcae; --mute: #688273; --teal: #2a9358; --teal2: #5fd08a; --gold: #f5a8c6;
    --glow: 70, 190, 120; --glow2: 245, 168, 198; --topbg: rgba(7, 12, 10, .8); --btn-text: #04140b;
}
[data-theme="summer"] {
    --bg: #0b0a07; --bg2: #12100a; --panel: #19160e; --panel2: #211d13; --panel3: #2b2618; --line: #383120; --line2: #4a4129;
    --text: #f8f3e6; --dim: #c4b998; --mute: #8b8062; --teal: #d18a12; --teal2: #ffc247; --gold: #5fd0e8;
    --glow: 255, 180, 50; --glow2: 95, 208, 232; --topbg: rgba(11, 10, 7, .8); --btn-text: #1b1407;
}
[data-theme="autumn"] {
    --bg: #0d0907; --bg2: #130d0a; --panel: #1a120e; --panel2: #221813; --panel3: #2c1f18; --line: #3a2a20; --line2: #4b372a;
    --text: #f6eee8; --dim: #c2ab9b; --mute: #8a7465; --teal: #b5522a; --teal2: #e8894a; --gold: #e9b949;
    --glow: 200, 95, 40; --glow2: 233, 185, 73; --topbg: rgba(13, 9, 7, .8);
}
[data-theme="halloween"] {
    --bg: #0b0810; --bg2: #100b17; --panel: #16101f; --panel2: #1d1529; --panel3: #261b35; --line: #2f2242; --line2: #3e2d57;
    --text: #f3edf7; --dim: #b3a5c2; --mute: #7a6b8c; --teal: #d9620f; --teal2: #ff9a3c; --gold: #b98cff;
    --glow: 255, 120, 30; --glow2: 150, 90, 255; --topbg: rgba(11, 8, 16, .8); --btn-text: #1a0d02;
}
[data-theme="winter"] {
    --bg: #070b12; --bg2: #0a111b; --panel: #0f1824; --panel2: #152131; --panel3: #1b2a3e; --line: #22344a; --line2: #2e4560;
    --text: #eef5fc; --dim: #a3b6ca; --mute: #6a7f96; --teal: #3f8fd6; --teal2: #8fd0ff; --gold: #dfeaf5;
    --glow: 90, 170, 240; --glow2: 200, 230, 255; --topbg: rgba(7, 11, 18, .8); --btn-text: #06121f;
}
[data-theme="xmas"] {
    --bg: #080c09; --bg2: #0c130e; --panel: #111a14; --panel2: #17231b; --panel3: #1d2d23; --line: #24382b; --line2: #2f4a39;
    --text: #f3f7f1; --dim: #a9bcae; --mute: #6c8272; --teal: #b3262b; --teal2: #e8554e; --gold: #f2c75c;
    --glow: 200, 50, 50; --glow2: 60, 160, 90; --topbg: rgba(8, 12, 9, .8);
}

/* Stellen, an denen die alte Datei feste Farben hatte */
body {
    background:
        radial-gradient(900px 480px at 85% -120px, rgba(var(--glow), .22), transparent 70%),
        radial-gradient(700px 400px at -10% 10%, rgba(var(--glow2), .07), transparent 70%),
        var(--bg);
    background-attachment: fixed;
    transition: background-color .4s;
}
.top { background: var(--topbg); }
.brand img { filter: drop-shadow(0 4px 14px rgba(var(--glow), .45)); }
.btn:where(:not(.join-btn):not(.live-btn)) { box-shadow: 0 6px 18px rgba(var(--glow), .28), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn:where(:not(.join-btn):not(.live-btn)):hover { box-shadow: 0 8px 24px rgba(var(--glow), .38), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn.ghost, .btn.ghost:hover, .btn.tiny, .btn.tiny:hover { box-shadow: none; }
.btn.red, .btn.red:hover { box-shadow: 0 6px 18px rgba(238, 90, 82, .25); }
.btn.green, .btn.green:hover { box-shadow: 0 6px 18px rgba(63, 207, 138, .22); }
.btn.gold, .btn.gold:hover { box-shadow: 0 6px 18px rgba(243, 195, 79, .22); }
.btn.steam, .btn.steam:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
/* helle Akzentfarben brauchen dunkle Schrift auf den Haupt-Knöpfen */
:is([data-theme="spring"], [data-theme="summer"], [data-theme="halloween"], [data-theme="winter"]) .btn:not(.ghost):not(.red):not(.green):not(.steam):not(.gold):not(.join-btn):not(.live-btn) { color: var(--btn-text); }
.chart .line { stroke: var(--teal2); }
.chart circle { fill: var(--teal2); }

/* Jahreszeiten-Effekt liegt hinter dem Inhalt */
#fx-season { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
html:not([data-theme="foundation"]) #bg-rain, html[data-fx="off"] #bg-rain { display: none; }

/* Design-Auswahl in der Kopfzeile */
.who { gap: 10px; }
.theme-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s, transform .2s; }
.theme-btn:hover { border-color: var(--teal2); transform: rotate(20deg); }
.theme-dot { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(var(--teal2) 0 33%, var(--gold) 0 66%, var(--panel3) 0); box-shadow: 0 0 0 2px var(--bg); }
#thememenu button.on, #thememenu button.on:hover { background: var(--panel3); color: var(--teal2); font-weight: 700; }
#thememenu button.on::after { content: " ✓"; }
#thememenu a { color: var(--dim); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 4px; }

/* Seite "Darstellung" */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 18px; }
.theme-card { display: flex; flex-direction: column; gap: 6px; text-align: left; font: inherit; color: var(--text); cursor: pointer; padding: 14px;
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); transition: transform .15s, border-color .15s, box-shadow .15s; }
.theme-card:hover { transform: translateY(-2px); border-color: var(--teal2); }
.theme-card:focus-visible, .theme-btn:focus-visible { outline: 2px solid var(--teal2); outline-offset: 2px; }
.theme-card.on { border-color: var(--teal2); box-shadow: 0 0 0 2px rgba(var(--glow), .35), 0 10px 30px rgba(var(--glow), .18); }
.theme-card.on strong::after { content: " ✓"; color: var(--teal2); }
.theme-card small { color: var(--dim); }
.theme-swatch { display: flex; align-items: flex-end; gap: 6px; height: 74px; padding: 10px; border-radius: var(--r-sm); border: 1px solid var(--line);
    background: radial-gradient(160px 90px at 85% 0, rgba(var(--glow), .45), transparent 70%), var(--bg); }
.theme-swatch i { display: block; height: 12px; border-radius: 6px; }
.theme-swatch i:nth-child(1) { width: 46%; background: linear-gradient(180deg, var(--teal2), var(--teal)); }
.theme-swatch i:nth-child(2) { width: 22%; background: var(--gold); }
.theme-swatch i:nth-child(3) { width: 16%; background: var(--panel3); border: 1px solid var(--line2); }
[data-theme-auto] .theme-swatch { background: linear-gradient(90deg, #0f1914 0 17%, #19160e 0 34%, #1a120e 0 50%, #16101f 0 67%, #111a14 0 83%, #0f1824 0); }
[data-theme-auto] .theme-swatch i:nth-child(1) { background: linear-gradient(90deg, #5fd08a, #ffc247, #e8894a, #ff9a3c, #e8554e, #8fd0ff); width: 70%; }
[data-theme-auto] .theme-swatch i:nth-child(2), [data-theme-auto] .theme-swatch i:nth-child(3) { display: none; }

/* Team-Seite: SCP:RP-Bereiche */
.team-kind { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 34px 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); }
.team-kind:first-of-type { margin-top: 8px; }
.team-kind small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.team-desc { margin: -4px 0 12px; }
.member .rp-meta { display: block; }
.badge.rp { letter-spacing: .02em; }

/* Profil + Verwaltung */
.rp-list { display: flex; flex-direction: column; gap: 10px; }
.rp-item { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.rp-cat { border-left: 3px solid var(--rc, var(--teal)); }
.rp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--rc, var(--teal)); margin-right: 8px; }
.rp-rank, .rp-new { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line2); }
.rp-rank .table { margin-top: 12px; }

/* News */
.home-news { margin-bottom: 22px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.news-grid .card { margin: 0; }
.news-body { overflow-wrap: anywhere; }

@media (max-width: 720px) {
    .theme-btn { width: 34px; height: 34px; }
    .theme-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .theme-grid { grid-template-columns: 1fr; } }

/* ======================================================================
   Jahreszeiten – Deko (nur Stufe "Voll")
   ====================================================================== */
#fx-deco { position: fixed; inset: 0; z-index: 15; pointer-events: none; overflow: hidden; }
#fx-caps { position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: 14; pointer-events: none; }
.fx-cap { --g: .1; position: absolute; height: 18px; margin-top: -15px; background-size: 100% 100%; background-repeat: no-repeat; transform-origin: 50% 100%;
    transform: scaleY(var(--g)); transition: transform .9s ease-out; filter: drop-shadow(0 2px 3px rgba(120, 170, 220, .35)); }
.fx-cap.leafy { height: 16px; margin-top: -12px; background-size: 72px 16px; background-repeat: repeat-x; background-position: bottom; filter: none; }
.fx-cap.fall { animation: cap-fall .95s cubic-bezier(.5, 0, .9, .4) forwards; }
@keyframes cap-fall { 0% { transform: scaleY(var(--g)); opacity: 1; } 25% { transform: translate(2px, 6px) rotate(1.2deg) scaleY(var(--g)); opacity: 1; } 100% { transform: translate(10px, 150px) rotate(5deg) scaleY(var(--g)); opacity: 0; } }

.fx-ground { position: absolute; left: 0; right: 0; bottom: -2px; height: 42px; background-repeat: repeat-x; background-size: 600px 100%; background-position: bottom; filter: drop-shadow(0 -2px 8px rgba(160, 200, 240, .25)); animation: ground-in 1.6s ease-out both; }
.fx-ground.leaves { height: 36px; background-size: 240px 100%; filter: none; opacity: .95; }
.fx-ground.grass { height: 40px; background-size: 160px 100%; filter: none; }
.fx-ground.wave { height: 34px; background-size: 240px 100%; filter: none; opacity: .55; animation: wave-move 9s linear infinite; }
.fx-ground.wave.w2 { height: 26px; opacity: .8; animation-duration: 6s; animation-direction: reverse; }
@keyframes ground-in { from { transform: translateY(100%); } }
@keyframes wave-move { to { background-position-x: 240px; } }

.fx-corner { position: absolute; bottom: 14px; display: flex; align-items: flex-end; gap: 4px; }
.fx-corner.left { left: 14px; }
.fx-snowman { width: 104px; height: auto; transform-origin: 50% 100%; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.fx-snowman .scarf { fill: var(--teal); }
.fx-snowman .band { fill: var(--teal2); }
.fx-snowman .arm-r { transform-origin: 90px 78px; animation: wave-arm 3.2s ease-in-out infinite; }
.fx-snowman .arm-l { transform-origin: 40px 78px; animation: wave-arm 4.4s ease-in-out infinite reverse; }
.fx-gifts { width: 84px; height: auto; margin-left: -18px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
@keyframes bob { 50% { transform: rotate(-2deg) translateY(-2px); } }
@keyframes wave-arm { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-16deg); } 80% { transform: rotate(8deg); } 90% { transform: rotate(-12deg); } }

/* Weihnachten: Lichterkette unter der Kopfzeile + Mütze am Logo */
.fx-lights { position: absolute; top: 72px; left: 0; right: 0; height: 30px; border-top: 2px solid rgba(20, 40, 28, .9); }
.fx-lights i { position: absolute; top: var(--y); width: 9px; height: 13px; margin-left: -4px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: var(--c); box-shadow: 0 0 12px 2px var(--c);
    animation: twinkle 1.5s ease-in-out infinite; animation-delay: var(--d); }
.fx-lights i::before { content: ""; position: absolute; left: 3px; top: calc(-1 * var(--y) - 2px); width: 2px; height: calc(var(--y) + 2px); background: rgba(20, 40, 28, .9); }
@keyframes twinkle { 50% { opacity: .35; box-shadow: 0 0 4px 0 var(--c); } }
html[data-theme="xmas"][data-fx="full"] .brand { position: relative; }
html[data-theme="xmas"][data-fx="full"] .brand::before { content: ""; position: absolute; left: 16px; top: -6px; width: 30px; height: 24px; transform: rotate(18deg); z-index: 1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 48'%3E%3Cpath d='M6 38Q14 4 40 6Q54 8 56 26L46 22Q40 16 34 38Z' fill='%23c9272c'/%3E%3Crect x='2' y='34' width='38' height='11' rx='5.5' fill='%23fff'/%3E%3Ccircle cx='55' cy='28' r='5' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Halloween */
.fx-fog { position: absolute; left: -20%; right: -20%; bottom: -40px; height: 220px; filter: blur(22px); opacity: .5;
    background: radial-gradient(closest-side at 20% 60%, rgba(150, 90, 255, .5), transparent), radial-gradient(closest-side at 55% 70%, rgba(255, 120, 30, .32), transparent), radial-gradient(closest-side at 85% 55%, rgba(150, 90, 255, .42), transparent);
    animation: fog 26s ease-in-out infinite alternate; }
.fx-fog.b { bottom: -80px; opacity: .35; animation-duration: 38s; animation-direction: alternate-reverse; }
@keyframes fog { from { transform: translateX(-8%); } to { transform: translateX(8%); } }
.fx-web { position: absolute; left: 0; top: 72px; width: 190px; height: 190px; }
.fx-spider { position: absolute; right: 7%; top: 72px; width: 34px; animation: spider 14s ease-in-out infinite; }
.fx-spider::before { content: ""; position: absolute; left: 16px; bottom: 100%; width: 1px; height: 400px; background: rgba(255, 255, 255, .28); }
.fx-spider svg { display: block; width: 34px; }
@keyframes spider { 0%, 100% { transform: translateY(-60px); } 35%, 60% { transform: translateY(190px); } 47% { transform: translateY(170px); } }
.fx-bat { position: absolute; left: -90px; width: 64px; transform: scale(var(--s)); animation: bat-fly linear infinite; opacity: .9; }
.fx-bat svg { display: block; width: 64px; animation: flap .28s ease-in-out infinite alternate; transform-origin: 50% 40%; }
@keyframes bat-fly { 0% { transform: translate(0, 0) scale(var(--s)); } 25% { transform: translate(28vw, -40px) scale(var(--s)); } 50% { transform: translate(56vw, 30px) scale(var(--s)); } 75% { transform: translate(84vw, -30px) scale(var(--s)); } 100% { transform: translate(calc(100vw + 180px), 10px) scale(var(--s)); } }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
.fx-ghost { position: absolute; right: -80px; top: 46%; width: 54px; opacity: 0; animation: ghost 44s linear infinite; animation-delay: 6s; }
@keyframes ghost { 0% { transform: translate(0, 0); opacity: 0; } 4% { opacity: .55; } 30% { transform: translate(-45vw, -60px); opacity: .5; } 46% { transform: translate(-105vw, 20px); opacity: 0; } 100% { transform: translate(-105vw, 20px); opacity: 0; } }
.fx-pumpkin { width: 98px; height: auto; filter: drop-shadow(0 0 22px rgba(255, 130, 30, .45)); }
.fx-pumpkin.small { width: 62px; margin-left: -10px; }
.fx-pumpkin .glow { fill: #ffd34d; animation: flicker 2.6s steps(1) infinite; }
.fx-pumpkin.small .glow { animation-delay: .7s; }
@keyframes flicker { 0%, 100% { fill: #ffd34d; } 12% { fill: #ffb21f; } 20% { fill: #ffe27a; } 44% { fill: #ff9d1a; } 52% { fill: #ffd34d; } 78% { fill: #ffbe33; } }

/* Frühling: Schmetterlinge */
.fx-bfly { position: absolute; width: 34px; animation: bfly 22s ease-in-out infinite; }
.fx-bfly svg { display: block; width: 34px; }
.fx-bfly .wing { transform-origin: 20px 15px; animation: wing .22s ease-in-out infinite alternate; }
.fx-bfly.b0 { left: 8%; top: 62%; }
.fx-bfly.b1 { left: 70%; top: 30%; animation-duration: 28s; animation-delay: -9s; }
.fx-bfly.b2 { left: 42%; top: 78%; animation-duration: 19s; animation-delay: -4s; }
@keyframes wing { from { transform: scaleX(1); } to { transform: scaleX(.25); } }
@keyframes bfly { 0%, 100% { transform: translate(0, 0) rotate(8deg); } 20% { transform: translate(12vw, -14vh) rotate(-10deg); } 40% { transform: translate(22vw, 4vh) rotate(12deg); } 60% { transform: translate(6vw, -22vh) rotate(-6deg); } 80% { transform: translate(-8vw, -6vh) rotate(10deg); } }

/* Sommer: Sonne */
.fx-sun { position: absolute; right: -90px; top: -20px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 110, .5) 0 18%, rgba(255, 180, 50, .16) 34%, transparent 62%); }
.fx-sun span { position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 200, 80, .13) 0 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(circle, transparent 22%, #000 26%, transparent 66%); mask: radial-gradient(circle, transparent 22%, #000 26%, transparent 66%); animation: sun 80s linear infinite; }
@keyframes sun { to { transform: rotate(360deg); } }

.fx-seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.fx-seg button { font: inherit; font-weight: 650; color: var(--dim); background: none; border: 0; padding: 8px 18px; border-radius: 9px; cursor: pointer; }
.fx-seg button.on { background: linear-gradient(180deg, var(--teal2), var(--teal)); color: var(--btn-text); }
@media (max-width: 900px) { .fx-ground { height: 26px; } .fx-web, .fx-spider, .fx-sun { display: none; } .fx-lights { top: 64px; } }

/* ======================================================================
   Forum, Benachrichtigungen
   ====================================================================== */
.bell-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--dim); background: var(--panel); border: 1px solid var(--line); transition: color .15s, border-color .15s; }
.bell-btn:hover { color: var(--text); border-color: var(--teal2); }
.bell-btn .count { position: absolute; top: -5px; right: -6px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); margin-bottom: 14px; }
.crumbs span { color: var(--mute); }
.crumbs b { color: var(--text); font-weight: 650; }
.forum-search { margin: 0; }
.forum-cat { margin-bottom: 8px; }
.forum-list, .topic-list, .notif-list { padding: 6px 14px; }
.forum-row, .topic-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 84px 84px minmax(0, 250px); align-items: center; gap: 14px; padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--text); border-radius: 10px; transition: background .15s; }
.topic-row { grid-template-columns: 40px minmax(0, 1fr) 84px 84px 150px; }
.forum-row:last-child, .topic-row:last-child { border-bottom: 0; }
.forum-row:hover, .topic-row:hover { background: rgba(255, 255, 255, .03); color: var(--text); }
.forum-ico, .topic-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-size: 18px; }
.forum-main, .topic-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--text); }
.forum-main strong, .topic-main strong { font-size: 15.5px; overflow-wrap: anywhere; }
.forum-main:hover strong, .topic-row:hover strong { color: var(--teal2); }
.topic-num { display: flex; flex-direction: column; align-items: center; line-height: 1.25; }
.topic-num b { font-size: 16px; }
.forum-last, .topic-last { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13.5px; }
.forum-last a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topic-last { align-items: flex-end; text-align: right; }
.topic-row.pinned { background: linear-gradient(90deg, rgba(var(--glow), .09), transparent 60%); }
.gone { opacity: .55; }
.tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.tag, .topic-main .tags { font-size: 12px; color: var(--gold); }
a.tag { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel2); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.pager a, .pager span { min-width: 34px; padding: 6px 10px; text-align: center; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); color: var(--dim); font-weight: 650; }
.pager a.on { color: var(--btn-text); background: linear-gradient(180deg, var(--teal2), var(--teal)); border-color: transparent; }
.modbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-left: 3px solid var(--gold); }
.post { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; scroll-margin-top: 90px; }
.post:target { border-color: var(--teal2); box-shadow: 0 0 0 2px rgba(var(--glow), .3); }
.post-user { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-right: 20px; border-right: 1px solid var(--line); }
.post-name { font-weight: 750; color: var(--text); overflow-wrap: anywhere; }
.post-user .badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.post-main { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.post-body { flex: 1; overflow-wrap: anywhere; line-height: 1.65; }
.post-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.reacts { display: flex; flex-wrap: wrap; gap: 6px; }
.react { font: inherit; font-size: 14px; color: var(--text); background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; cursor: pointer; transition: transform .1s, border-color .15s; }
.react:hover:not(:disabled) { transform: translateY(-1px) scale(1.06); border-color: var(--teal2); }
.react.on { border-color: var(--teal2); background: rgba(var(--glow), .18); }
.react.zero { opacity: .55; }
.react:disabled { cursor: default; }
.post-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13.5px; }
.link { font: inherit; font-size: 13.5px; color: var(--dim); background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { color: var(--teal2); }
.report { position: relative; }
.report summary { list-style: none; }
.report summary::-webkit-details-marker { display: none; }
.report form { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 5; display: flex; gap: 8px; width: min(420px, 80vw); padding: 10px; background: var(--panel2); border: 1px solid var(--line2); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.report-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.report-item:last-child { border-bottom: 0; }
.bb-h { margin: 10px 0 4px; font-size: 18px; }
.bb-quote { margin: 8px 0; padding: 10px 14px; border-left: 3px solid var(--teal2); background: var(--panel2); border-radius: 0 10px 10px 0; }
.bb-quote cite { display: block; font-size: 12.5px; font-style: normal; font-weight: 700; color: var(--dim); margin-bottom: 4px; }
.bb-spoiler { margin: 8px 0; padding: 8px 14px; background: var(--panel2); border: 1px dashed var(--line2); border-radius: 10px; }
.bb-spoiler summary { cursor: pointer; color: var(--gold); font-weight: 650; }
.bb-list { margin: 6px 0; padding-left: 22px; }
.bb-img { display: block; max-width: min(100%, 720px); max-height: 560px; border-radius: 10px; margin: 8px 0; }
.bb-mention { color: var(--teal2); font-weight: 650; }
.post-body .code, .editor-preview .code { white-space: pre-wrap; overflow-wrap: anywhere; }
.editor { border: 1px solid var(--line2); border-radius: var(--r-sm); background: var(--bg2); overflow: hidden; margin-bottom: 14px; border-top: 3px solid var(--teal2); }
.editor-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 8px; background: var(--panel2); border-bottom: 1px solid var(--line); }
.ed-btn { min-width: 34px; height: 32px; padding: 0 9px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--dim); background: none; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.ed-btn:hover { color: var(--text); background: var(--panel3); border-color: var(--line2); }
.ed-i { font-style: italic; } .ed-u { text-decoration: underline; } .ed-s { text-decoration: line-through; }
.form .editor textarea, .editor textarea { display: block; width: 100%; min-height: 150px; margin: 0; padding: 14px; border: 0; border-radius: 0; background: transparent; color: var(--text); font: inherit; line-height: 1.6; resize: vertical; outline: none; }
.editor-emoji { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 8px; border-top: 1px solid var(--line); background: var(--panel); }
.editor-emoji button { font-size: 18px; line-height: 1; padding: 5px; background: none; border: 0; border-radius: 8px; cursor: pointer; transition: transform .1s; }
.editor-emoji button:hover { transform: scale(1.25); background: var(--panel3); }
.editor-preview { padding: 14px; border-top: 1px dashed var(--line2); background: var(--panel); }
.editor-note { display: block; padding: 0 12px 8px; background: var(--panel); min-height: 0; }
.editor-note:empty { display: none; }
.topic-mini { display: flex; flex-direction: column; padding: 8px 14px; margin-bottom: 22px; }
.topic-mini a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding: 10px 6px; color: var(--text); border-bottom: 1px solid var(--line); }
.topic-mini a:last-child { border-bottom: 0; }
.topic-mini a:hover strong { color: var(--teal2); }
.notif { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; }
.notif.new { background: linear-gradient(90deg, rgba(var(--glow), .12), transparent 70%); border-radius: 10px; }
.notif-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--panel2); border: 1px solid var(--line); font-weight: 800; color: var(--teal2); }
.notif .grow { display: flex; flex-direction: column; }
@media (max-width: 860px) {
    .forum-row, .topic-row { grid-template-columns: 40px minmax(0, 1fr); }
    .forum-row .topic-num, .topic-row .topic-num, .forum-last, .topic-last { display: none; }
    .post { grid-template-columns: 1fr; gap: 12px; }
    .post-user { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
    .post-user .avatar.lg { width: 44px; height: 44px; }
}

/* ---------- Deko zum Anfassen ---------- */
#fx-front { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 16; pointer-events: none; }
.fx-snowman { overflow: visible; }
.fx-snowman .p { transition: transform 1s cubic-bezier(.3, .7, .4, 1), opacity 1s; transform-box: fill-box; transform-origin: 50% 50%; }
.fx-snowman.hit, .fx-gifts.open { animation: sm-hit .4s; }
@keyframes sm-hit { 25% { transform: rotate(7deg); } 60% { transform: rotate(-6deg); } }
.fx-snowman.s1 .p-hat { transform: translate(70px, -60px) rotate(160deg); opacity: 0; }
.fx-snowman.s2 .p-arms { transform: translate(0, 70px) rotate(25deg); opacity: 0; }
.fx-snowman.s2 .p-carrot { transform: translate(40px, 90px) rotate(120deg); opacity: 0; }
.fx-snowman.s3 .p-head { transform: translate(90px, 118px) rotate(300deg); }
.fx-snowman.s4 .p-head { opacity: 0; }
.fx-snowman.s4 .p-mid { transform: translate(-30px, 60px) scale(.9, .5); opacity: 0; }
.fx-snowman.s4 .p-base { transform-origin: 50% 100%; transform: scale(1.35, .4); }
.fx-snowman.rebuild { animation: sm-pop 1.1s; }
@keyframes sm-pop { 0% { transform: scale(.2); } 60% { transform: scale(1.1); } }
.fx-gifts .lid { transition: transform .4s; transform-box: fill-box; transform-origin: 0 100%; }
.fx-gifts.open .lid { transform: translateY(-16px) rotate(-22deg); }
.fx-pumpkin .body { transition: transform 1.2s cubic-bezier(.3, 1.6, .5, 1), opacity .6s; transform-box: fill-box; transform-origin: 50% 100%; }
.fx-pumpkin.smash .body { transition-duration: .18s; transform: scale(1.5, .1); opacity: .45; }
.fx-bat.hit svg { animation: bat-spin 1.4s ease-in forwards; }
@keyframes bat-spin { to { transform: translateY(70vh) rotate(720deg); opacity: 0; } }
.fx-ghost.boo svg { animation: boo 2.2s forwards; }
@keyframes boo { 30% { transform: scale(2.6) rotate(-8deg); } 100% { transform: scale(.2); opacity: 0; } }
.fx-spider.up { animation: none; transform: translateY(-140px); transition: transform .3s; }
.fx-sun.flare { animation: flare 1.5s; }
@keyframes flare { 40% { transform: scale(1.35); filter: brightness(1.7); } }
.fx-bfly, .fx-bfly.b0, .fx-bfly.b1, .fx-bfly.b2 { left: 0; top: 0; animation: none; will-change: transform; transition: opacity .3s; }
.fx-tip { position: fixed; left: 50%; bottom: 64px; transform: translateX(-50%); z-index: 30; max-width: min(580px, 90vw); padding: 12px 18px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--teal2);
    box-shadow: var(--shadow); font-size: 14px; text-align: center; transition: opacity .8s; pointer-events: none; }
.fx-tip.out { opacity: 0; }
.post-sig { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line2); font-size: 13px; color: var(--dim); max-height: 150px; overflow: hidden; }
.post-sig .bb-img { max-height: 110px; }

/* ======================================================================
   Menü-Gruppen, Trophäen, Timeline, Lexikon, Labels, Umfragen
   ====================================================================== */
.nav { align-items: center; }
.navmenu { position: relative; }
.navdrop { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 650; color: var(--dim); background: none; border: 0; padding: 9px 14px; border-radius: 10px; cursor: pointer; transition: color .15s, background .15s; }
.navdrop:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.navdrop.on { color: #fff; }
.navdrop.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(90deg, var(--teal), var(--teal2)); }
.navdrop .chev { width: 7px; height: 7px; }
.navmenu .dropdown { left: 0; right: auto; min-width: 190px; z-index: 30; }
.navmenu .dropdown a { position: static; color: var(--text); padding: 9px 12px; font-weight: 600; }
.navmenu .dropdown a.on { color: var(--teal2); }
.navmenu .dropdown a.on::after { display: none; }
@media (max-width: 980px) { .navmenu { width: 100%; } .navdrop { width: 100%; justify-content: space-between; } .navmenu .dropdown { position: static; box-shadow: none; border: 0; background: none; padding-left: 14px; } .navdrop.on::after { display: none; } }

.trophy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.trophy { display: flex; gap: 16px; align-items: flex-start; margin: 0; opacity: .72; }
.trophy.got { opacity: 1; border-color: var(--teal2); }
.trophy.rare.got { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 10px 30px rgba(var(--glow2), .15); }
.trophy-ico { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 16px; font-size: 30px; background: var(--panel2); border: 1px solid var(--line2); filter: grayscale(1); }
.trophy.got .trophy-ico { filter: none; }
.trophy p { margin: 2px 0 6px; }
.trophy small { display: block; }
.trophy .on { color: var(--ok); }
.progress { height: 7px; border-radius: 6px; background: var(--panel3); overflow: hidden; margin: 8px 0 4px; }
.progress span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--teal2)); }
.trophy-row { display: flex; flex-wrap: wrap; gap: 8px; }
.trophy-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 7px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line2); font-size: 13.5px; font-weight: 650; }
.trophy-chip i { font-style: normal; font-size: 17px; }
.trophy-chip.rare { border-color: var(--gold); }

.tline { position: relative; padding: 10px 0 30px; }
.tline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: linear-gradient(180deg, var(--teal2), var(--teal) 70%, transparent); box-shadow: 0 0 14px rgba(var(--glow), .5); }
.tl-item { position: relative; width: 50%; padding: 0 38px 26px 0; transition: opacity .6s ease-out, transform .6s ease-out; }
.tl-item.right { margin-left: 50%; padding: 0 0 26px 38px; }
.tl-item::before { content: ""; position: absolute; top: 22px; right: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--teal2); box-shadow: 0 0 12px rgba(var(--glow), .7); }
.tl-item.right::before { right: auto; left: -8px; }
.tl-item.wait { opacity: 0; transform: translateX(-30px); }
.tl-item.right.wait { transform: translateX(30px); }
.tl-card { margin: 0; }
.tl-date { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.tl-item.left .tl-card { text-align: right; }
.tl-item.left .bb-img { margin-left: auto; }
@media (max-width: 760px) { .tline::before { left: 8px; } .tl-item, .tl-item.right { width: 100%; margin-left: 0; padding: 0 0 20px 32px; } .tl-item::before, .tl-item.right::before { left: 0; right: auto; } .tl-item.left .tl-card { text-align: left; } }

.seg.az { flex-wrap: wrap; margin-bottom: 16px; }
.wiki-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.wiki-grid .card { margin: 0; }
.wiki-list { display: flex; flex-direction: column; }
.wiki-list a { padding: 8px 6px; color: var(--text); border-bottom: 1px solid var(--line); }
.wiki-list a:last-child { border-bottom: 0; }
.wiki-list a:hover { color: var(--teal2); }
.wiki-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; align-items: start; }
.wiki-article { margin: 0; }
.wiki-article .post-body { font-size: 15.5px; line-height: 1.75; }
.wiki-article .bb-h { margin-top: 22px; padding-bottom: 6px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.wiki-toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 6px; }
.wiki-toc + .wiki-toc { position: static; }
.wiki-toc a { color: var(--dim); font-size: 14px; }
.wiki-toc a:hover { color: var(--teal2); }
.wiki-link.missing { color: var(--bad); border-bottom: 1px dashed var(--bad); }
@media (max-width: 900px) { .wiki-wrap { grid-template-columns: 1fr; } .wiki-toc { position: static; } }

.label-chip { display: inline-block; padding: 1px 9px; margin-right: 4px; border-radius: 6px; font-size: 12px; font-weight: 750; letter-spacing: .02em; color: #fff; background: var(--c); vertical-align: middle; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
.unread-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--teal2); box-shadow: 0 0 10px rgba(var(--glow), .9); vertical-align: middle; }
.forum-row.unread .forum-ico { border-color: var(--teal2); box-shadow: 0 0 12px rgba(var(--glow), .45); }
.forum-row.unread .forum-main strong::after { content: " neu"; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--teal2); }
.poll-new { margin: 6px 0 14px; padding: 10px 14px; border: 1px dashed var(--line2); border-radius: var(--r-sm); }
.poll-new summary { cursor: pointer; font-weight: 650; color: var(--dim); }
.poll-opt { display: block; width: 100%; text-align: left; font: inherit; font-weight: 600; color: var(--text); background: var(--panel2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; cursor: pointer; transition: border-color .15s, transform .1s; }
.poll-opt:hover { border-color: var(--teal2); transform: translateX(3px); }
.poll-bar { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; margin-bottom: 8px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); overflow: hidden; }
.poll-bar span { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(var(--glow), .22); }
.poll-bar b, .poll-bar small { position: relative; }
.poll-bar.mine { border-color: var(--teal2); }
