
/* ===== FONT AWESOME 6 (CDN) ===== */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ===== RED TEMPTATION - BASIS ===== */
:root {
    --border-radius: 8px;
    --red-primary: #a70909;
    --red-dark: #8a0707;
    --red-bg: #f5dada;
    --red-light: #f7e4e4;
    --red-border: #f2c4c5;
    --text-dark: #1a202c;
    --text-muted: #718096;
    --text-gray: #495057;
    --white: #ffffff;
    --green: #22c55e;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 1px 3px rgba(0,0,0,0.08);
    --mention-bg: #e5dfdf;
    --mention-color: #993234;
}

/* ===== GRUNDLAGEN ===== */
* {
    border-radius: var(--border-radius) !important;
}

body {
    background-color: #f8f9fc;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

/* ============================================================
   🔥🔥🔥 MENTION STYLING - MIT AVATAR
   ============================================================ */
.mention-user {
    display: inline;
    background: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-weight: inherit;
    color: var(--mention-color);
    text-decoration: none;
    cursor: pointer;
}

.mention-user:hover .mention-name {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mention-user img {
    width: 1.15em !important;
    height: 1.15em !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 0.25em 0 0 !important;
    padding: 0 !important;
    border: 0;
    display: inline-block !important;
    vertical-align: -0.2em !important;
}

.mention-user .mention-name {
    font-size: 1em;
    font-weight: 600;
    color: var(--mention-color);
    line-height: inherit;
}

.mention-user .mention-avatar-fallback {
    display: inline-flex;
    width: 1.15em !important;
    height: 1.15em !important;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    margin: 0 0.25em 0 0 !important;
    padding: 0 !important;
    border: 0;
    vertical-align: -0.2em;
}

/* ============================================================
   🔥🔥🔥 QUOTE BLOCKS - WIE IM EDITOR
   ============================================================ */
.quote-block {
    background: linear-gradient(135deg, rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url('/A6AE3E00-71BB-4861-BEC4-3917FEADCE99.png');
    background-size: cover;
    background-position: center;
    background-attachment: local;
    border-left: 4px solid var(--red-primary);
    border-radius: 0 10px 10px 0;
    padding: 10px 14px;
    margin: 10px 0;
    box-shadow: var(--shadow-sm);
    color: #fff;
}

.quote-block .quote-author {
    color: #fff;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}

/* ===== Zitat-Kopf: Avatar + (verlinkter) Name ===== */
.quote-block .quote-header {
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 6px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a.quote-header:hover .quote-author-name,
a.quote-header:focus-visible .quote-author-name {
    text-decoration: underline;
    color: #fff;
}

.quote-block .quote-avatar,
.quote-block .quote-avatar-fallback {
    width: 24px;
    height: 24px;
    border-radius: 50% !important;
    flex-shrink: 0;
    border: 1.5px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}

.quote-block .quote-avatar {
    object-fit: cover;
}

.quote-block .quote-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.quote-block .quote-author-name {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.quote-block .quote-link-icon {
    font-size: 0.55rem;
    color: #fff;
    opacity: 0.8;
}

.quote-block .quote-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fff;
}

/* Erzwingt Weiß für JEDEN Text im Zitat, auch wenn der zitierte Text mit
   [color=...]-BBCode (z.B. von außen eingefügtem/eingeklebtem schwarzen
   Text - der Editor speichert dessen Farbe automatisch als [color=...],
   siehe htmlToBBCode() in schnellantwort.js) eine eigene Farbe mitbringt -
   ohne !important gewinnt sonst die inline style="color:..." des
   gerenderten [color]-Tags (system/bbcode.php). Hintergrund nur bei
   typischen Text-Trägern zurücksetzen, NICHT bei generischen <div>s, damit
   eingebettete Medien/Karten (Video, Artikel-Snippet, ...) ihr eigenes
   Aussehen behalten. */
.quote-block .quote-content,
.quote-block .quote-content * {
    color: #fff !important;
}
.quote-block .quote-content span,
.quote-block .quote-content font,
.quote-block .quote-content strong,
.quote-block .quote-content b,
.quote-block .quote-content em,
.quote-block .quote-content i,
.quote-block .quote-content u,
.quote-block .quote-content p,
.quote-block .quote-content a {
    background: transparent !important;
    background-color: transparent !important;
}

/* Artikel-Ausschnitt-Karte im Zitat: die Weiß-Erzwingung oben (Zeile 469)
   trifft per "*" auch ihren Text - Karte behaelt zwar ihren hellen
   Hintergrund (nur span/font/strong/... oben werden transparent gemacht,
   NICHT generische <div>s wie .artikel-snippet), bekommt aber weißen statt
   dunklen Text und wurde dadurch praktisch unlesbar (Nutzer-Feedback
   2026-08-29: "kann man diese schlecht lesen"). Eigene Farben hier gezielt
   wiederherstellen, siehe .artikel-snippet-* weiter unten für die Original-
   Werte außerhalb von Zitaten. */
.quote-block .quote-content .artikel-snippet-badge,
.quote-block .quote-content .artikel-snippet-quelle,
.quote-block .quote-content .artikel-snippet-quelle * {
    color: #475569 !important;
}
.quote-block .quote-content .artikel-snippet-ausschnitt,
.quote-block .quote-content .artikel-snippet-ausschnitt * {
    color: #333 !important;
}

.quote-block .quote-content a {
    text-decoration: underline;
}

.quote-block .quote-content a:hover {
    color: #f0f0f0 !important;
}

.quote-block .quote-content .eplayer,
.quote-block .quote-content .rwe-video-wrapper,
.quote-block .quote-content .rwe-audio-wrapper,
.quote-block .quote-content .rwe-pdf-wrapper {
    margin-top: 6px;
}

/* ===== Zitierte Anhänge ([bookmarkteilen], siehe ajax_beitrag.php Quote-Fix) =====
   .bookmark-teilen-embed ist eigentlich für die kompakte "Datei erneut teilen"-
   Karte im Fließtext gedacht (max-width:420px, helle Karte) - dadurch wirkte
   ein zitiertes Video winzig im Vergleich zum Original-Beitrag. Im Zitat soll
   das Medium stattdessen genauso breit wie im Original erscheinen: Kappung und
   Karten-Optik hier aufheben, nur die Herkunfts-Zeile bleibt (in Weiß, passend
   zum dunklen Zitat-Hintergrund statt der hellen Karten-Farbe). */
.quote-block .quote-content .bookmark-teilen-embed {
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 6px 0 0 !important;
}
.quote-block .quote-content .bookmark-teilen-herkunft {
    color: rgba(255,255,255,0.75) !important;
    padding: 0.4rem 0.1rem 0 !important;
}
.quote-block .quote-content .bookmark-teilen-herkunft a {
    color: #fff !important;
}

.quote-block .quote-block {
    margin: 8px 0 0;
    padding: 8px 12px;
    border-left: 3px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.3);
    border-radius: 0 8px 8px 0;
    box-shadow: none;
    color: #fff;
}

.quote-block .quote-block .quote-author {
    font-size: 0.7rem;
}

.quote-block .quote-block .quote-avatar,
.quote-block .quote-block .quote-avatar-fallback {
    width: 19px;
    height: 19px;
    font-size: 0.5rem;
}

.quote-block .quote-block .quote-author-name {
    font-size: 0.72rem;
}

.quote-block .quote-block .quote-content {
    font-size: 0.9rem;
}

/* ============================================================
   🔥 WUNSCHAUFSTELLUNG - ANZEIGE IM BEITRAG
   ============================================================ */
.wunschaufstellung-embed {
    position: relative;
    max-width: 300px;
    margin: 10px auto;
    background: repeating-linear-gradient(180deg, #2e8b3d 0px, #2e8b3d 34px, #34974a 34px, #34974a 68px);
    border: 3px solid #fff;
    border-radius: 10px;
    padding: 12px 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.wunschaufstellung-embed .wa-watermark {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 15%;
    min-width: 32px;
    max-width: 56px;
    height: auto;
    opacity: 0.88;
    pointer-events: none;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.wunschaufstellung-embed .wa-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}
.wunschaufstellung-embed .wa-verein-logo {
    width: 30%;
    min-width: 46px;
    max-width: 76px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
    transition: transform 0.15s ease;
}
.wunschaufstellung-embed .wa-verein-logo:hover {
    transform: scale(1.08);
}
.wunschaufstellung-embed .wa-titel {
    flex: 1; min-width: 0;
    text-align: center; color: #fff; font-weight: 800; font-size: 0.75rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6); text-transform: uppercase; letter-spacing: 0.03em;
}
.wunschaufstellung-embed .wa-reihe { display: flex; justify-content: space-evenly; margin-bottom: 10px; flex-wrap: wrap; gap: 6px; }
.wunschaufstellung-embed .wa-spieler { display: flex; flex-direction: column; align-items: center; width: 56px; }
.wunschaufstellung-embed .wa-spieler img, .wunschaufstellung-embed .wa-spieler .wa-noimg {
    width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25); background: #eee;
}
.wunschaufstellung-embed .wa-name {
    margin-top: 3px; font-size: 0.58rem; color: #fff; text-align: center; font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6); line-height: 1.1;
}
/* ===== "ALS VORLAGE ÜBERNEHMEN" (nur in echten Beiträgen, siehe bbcode.php) ===== */
.wa-wrapper { max-width: 300px; margin: 10px auto; }
.wa-wrapper .wunschaufstellung-embed { margin: 0 0 8px; }
.wa-vorlage-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 7px 10px;
    background: #f5f0f0;
    color: #993234;
    border: 1px solid #e5dfdf;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.wa-vorlage-btn:hover {
    background: #fef0f0;
    border-color: #993234;
}
@media (max-width: 420px) {
    .wunschaufstellung-embed { max-width: 100%; }
    .wa-wrapper { max-width: 100%; }
}

/* ============================================================
   BEITRAGS-CONTAINER
   ============================================================ */
.post-row {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    border: 1px solid var(--red-border);
}

/* ===== AUTHOR SIDEBAR (DESKTOP) ===== */
.post-author-sidebar {
    width: 160px;
    flex-shrink: 0;
    background: var(--red-bg);
    padding: 1rem;
    text-align: center;
    border-right: 1px solid var(--red-border);
    position: relative;
}

.author-avatar {
    margin: 0 auto 0.6rem;
}

/* ===== ONLINE-STATUS-RING UM AVATARE (box-shadow statt border/wrapper,
   damit bestehende fixe Breakpoint-Größen z.B. .mobile-author-avatar
   nicht durch zusätzliches Markup gesprengt werden) ===== */
.avatar-status-online {
    box-shadow: 0 0 0 3px var(--green), 0 0 8px 2px rgba(34, 197, 94, 0.7);
    animation: avatarOnlinePulse 2s ease-in-out infinite;
}

.avatar-status-offline {
    box-shadow: 0 0 0 3px var(--red-primary);
}

.avatar-status-live {
    box-shadow: 0 0 0 3px #dc2626, 0 0 10px 3px rgba(220, 38, 38, 0.75);
    animation: avatarLivePulse 1.3s ease-in-out infinite;
}

@keyframes avatarOnlinePulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--green), 0 0 6px 1px rgba(34, 197, 94, 0.5); }
    50%      { box-shadow: 0 0 0 4px var(--green), 0 0 14px 5px rgba(34, 197, 94, 0.9); }
}

@keyframes avatarLivePulse {
    0%, 100% { box-shadow: 0 0 0 3px #dc2626, 0 0 6px 1px rgba(220, 38, 38, 0.6); }
    50%      { box-shadow: 0 0 0 5px #dc2626, 0 0 16px 6px rgba(220, 38, 38, 1); }
}

.author-name-sidebar {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.85rem;
    word-break: break-word;
}

.user-link { color: inherit; text-decoration: none; }
.user-link:hover { text-decoration: underline; }

/* ===== LIEBLINGSVEREIN (Desktop): eigene Zeile unter dem Autorennamen,
   zusaetzlich zum kleinen Corner-Badge auf dem Avatar - dort ist das Logo
   auf 60px Avatar-Groesse kaum lesbar, hier steht der Vereinsname klar
   lesbar dabei. ===== */
.author-lieblingsverein-sidebar {
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.62rem;
    color: var(--text-muted);
    word-break: break-word;
}

.author-stats {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--red-border);
    font-size: 0.6rem;
    color: var(--text-muted);
}

.author-stats div {
    margin: 0.2rem 0;
}

.author-stats i {
    width: 16px;
    color: var(--red-primary);
}

/* ===== POST CONTENT ===== */
.post-content-sidebar {
    flex: 1;
    min-width: 0;
    padding: 1rem;
    background: var(--white);
}

.post-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--red-border);
    margin-bottom: 0.8rem;
}

.post-datetime {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Haelt Verschieben-Icon/Lesezeichen/#Nummer als EIN Flex-Kind zusammen,
   siehe Erklaerung an der Einbindungsstelle in .post-meta-header. */
.post-meta-header-rechts {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.ungelesen-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--red-primary);
    color: var(--white);
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    font-size: 0.5rem;
    font-weight: 600;
}

.post-number {
    background: var(--red-bg);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.6rem;
    color: var(--text-gray);
    cursor: pointer;
}

.post-number:hover {
    background: #993234;
    color: var(--white);
}

/* ===== ADMIN: VERSCHIEBEN-ICON (statt Button unten in .post-actions,
   sonst zu viele Buttons in der Aktionsleiste) - sitzt neben der
   Beitragsnummer im Meta-Header ===== */
.post-verschieben-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--red-bg);
    border: none;
    border-radius: 50%;
    color: var(--text-gray);
    font-size: 0.65rem;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.post-verschieben-icon-btn:hover {
    background: #993234;
    color: var(--white);
}

/* ===== LESEZEICHEN-ICON neben der Beitragsnummer (1:1 nach dem Vorbild
   von .post-verschieben-icon-btn oben) - fuer alle eingeloggten Nutzer,
   nicht nur Admins. Aktiver ("gemerkt") Zustand in Gold statt Rot, damit
   er auch ohne genaues Hinsehen auf far/fas auffaellt (siehe
   .is-bookmarked-Regel direkt unten sowie die mobile Variante
   .post-bookmark-icon-btn-mobile.is-bookmarked weiter unten). ===== */
.post-bookmark-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--red-bg);
    border: none;
    border-radius: 50%;
    color: var(--text-gray);
    font-size: 0.65rem;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.post-bookmark-icon-btn:hover {
    background: #993234;
    color: var(--white);
}

.post-bookmark-icon-btn.is-bookmarked {
    background: #d4a017;
    color: var(--white);
}

.post-bookmark-icon-btn.is-bookmarked:hover {
    background: #b8890a;
}


/* ===== ROLLEN-STATUS (Supply Chain Developer / Administrator) ===== */
.rwe-status { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; padding: 1px 8px; border-radius: 99px; white-space: nowrap; vertical-align: middle; line-height: 1.5; }
.rwe-status i { font-size: .8em; }
.rwe-status-developer { background: #1d1d1f; color: #f5f5f7; }
.rwe-status-developer i { color: #fff; }
.rwe-status-admin { background: #f1e0e0; color: #993234; }
.author-name-sidebar .rwe-status { display: block; width: fit-content; max-width: 100%; box-sizing: border-box; margin: 4px auto 0; white-space: normal; text-align: center; line-height: 1.25; font-size: .62rem; padding: 3px 8px; border-radius: 12px; }
.author-name-sidebar { min-width: 0; max-width: 100%; }

/* ===== UNTERTITEL & LOGO (dekorativ, direkt neben dem Zeitstempel) ===== */
.post-subtitle-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.post-subtitle-row:empty {
    display: none;
}

.post-subtitle-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red-primary);
    font-style: italic;
}

.post-logos {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.2rem;
}

.post-logos img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 0;
    background: none;
    border: 0;
    padding: 0;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Spielerfoto-Icons sind immer klickbar, Vereinslogos nur wenn eindeutig
   einem Verein zugeordnet (siehe system/beitrag_logo_funktionen.php) -
   Hover/Touch-Feedback statt reinem Bild-Look, damit erkennbar ist, dass
   da ein Link drunter liegt. */
.post-logos a.beitrag-logo-link,
.post-erweiterte-ueberschrift-logos a.beitrag-logo-link {
    display: inline-flex;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.post-logos a.beitrag-logo-link:hover,
.post-erweiterte-ueberschrift-logos a.beitrag-logo-link:hover,
.post-logos a.beitrag-logo-link:active,
.post-erweiterte-ueberschrift-logos a.beitrag-logo-link:active {
    transform: scale(1.08);
    opacity: 0.85;
}

/* ===== ERWEITERTE ANTWORT: grosse Ueberschrift + Logos, zusaetzlich zur
   kleinen .post-subtitle-row oben - nur bei Beitraegen, die ueber die
   Schnellantwort-Option "Erweiterte Antwort" einen eigenen Titel bekommen
   haben (siehe thema/schnellantwort.php + $beitrag_untertitel oben). ===== */
.post-erweiterte-ueberschrift {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 0.6rem;
    margin-bottom: 0.7rem;
    border-bottom: 2px solid var(--red-primary);
}
.post-erweiterte-ueberschrift-text {
    /* Markenschrift ROTWEISS_Sans-Bold (siehe @font-face in system/header.php),
       Fallback-Kette bleibt fuer den kurzen Moment bis zum Laden bzw. falls
       die Datei mal fehlt (User-Wunsch 2026-09-04: eigene Schrift + Rot,
       Groesse war laut Screenshot-Vergleich schon richtig). */
    font-family: 'RotweissSans', Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--red-primary);
    line-height: 1.3;
}
.post-ueberschrift-antwort {
    margin-left: auto;
    background: none;
    border: 1px solid var(--red-primary);
    color: var(--red-primary);
    border-radius: 8px;
    width: 32px;
    height: 28px;
    cursor: pointer;
    font-size: 0.85rem;
}
.post-ueberschrift-antwort:hover { background: var(--red-primary); color: #fff; }
.post-erweiterte-ueberschrift-logos {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.post-erweiterte-ueberschrift-logos img {
    height: 38px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
}

/* Ergebnis-Posts: Titel + Logos nur oben in der Kopfzeile (neben dem Zeitstempel), die grosse Ueberschrift im Beitrag entfaellt */
.post-erweiterte-ueberschrift.post-ergebnis { display: none !important; }
.post-subtitle-antwort { background: none; border: 1px solid var(--red-primary); color: var(--red-primary); border-radius: 6px; width: 28px; height: 24px; font-size: 0.75rem; cursor: pointer; margin-left: 8px; vertical-align: middle; }
.post-subtitle-antwort:hover { background: var(--red-primary); color: #fff; }

.post-message {
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-dark);
    word-wrap: break-word;
    /* Naeher an der Quelle abgeschnitten statt sich nur auf html/body zu
       verlassen: overflow-x:hidden auf html/body greift auf iOS Safari
       nicht immer zuverlaessig, wenn ein Kind-Element (z.B. ein
       Social-Media-Embed) breiter als der Viewport wird. */
    overflow-x: hidden;
}

.post-message a {
    color: #993234;
    text-decoration: none;
}

.post-message a:hover {
    text-decoration: underline;
}

.post-message img {
    max-width: 100%;
    border-radius: var(--border-radius);
    margin: 6px 0;
    max-height: 400px;
    cursor: pointer;
}

/* ===== BILD-TOOLBAR (Merken/Teilen/Herunterladen, gleiches Muster wie Video, siehe system/video_player.php) ===== */
.image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
/* .rwe-file-wrapper (generischer Datei-Anhang) - CSS zentral in
   system/file_viewer.php::rweFileViewerCSS(), global via header.php
   eingebunden (gleiches Muster wie Video/Audio/PDF-Player). */
/* Bugfix 2026-08-24 (gleiche Ursache wie beim Video-Player-Toolbar, siehe
   system/eigener_video_player.php): waagerecht statt senkrecht gestapelt,
   damit die Leiste bei mehreren Buttons nicht in die Hoehe waechst und
   andere Bedienelemente ueberdeckt - zusaetzlich auf Nutzer-Wunsch ohne
   Kreis-/Rahmen-Hintergrund, nur noch reine Icons mit Schlagschatten
   (gleiches "reine Icon-Buttons"-Muster wie beim Video-Player). */
.rwe-image-toolbar {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    max-width: calc(100% - 16px);
}
.rwe-image-toolbar .rwe-media-download-btn {
    position: static;
}
.rwe-media-download-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    padding: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    filter: drop-shadow(0 1px 5px rgba(0,0,0,0.75));
    transition: transform 0.2s ease, filter 0.2s ease;
    touch-action: manipulation;
    flex-shrink: 0;
}
.rwe-media-download-btn:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 1px 5px rgba(0,0,0,0.75)) drop-shadow(0 0 10px rgba(255,255,255,0.9));
}
.rwe-media-download-btn.is-bookmarked {
    filter: drop-shadow(0 1px 5px rgba(0,0,0,0.75)) drop-shadow(0 0 10px rgba(255,70,70,0.95));
}
.rwe-media-download-btn:active {
    transform: scale(0.92);
}
@media (max-width: 480px) {
    .rwe-media-download-btn { width: 26px; height: 26px; font-size: 0.85rem; }
    .rwe-image-toolbar { gap: 2px; }
}

.post-edited-hinweis {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ===== VIDEO-CONTAINER (wird vom zentralen Player gesteuert) ===== */
.post-message .video-wrapper {
    margin: 6px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #000;
    position: relative;
}

.post-message .video-wrapper video {
    width: 100%;
    max-height: 400px;
    border-radius: var(--border-radius);
}

/* ===== POST ACTIONS ===== */
.post-actions {
    margin-top: 0.6rem;
    padding-top: 0.4rem;
    border-top: 1px solid var(--red-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.post-action-btn {
    background: var(--red-primary) !important;
    color: var(--white) !important;
    border: none;
    padding: 0.2rem 0.8rem;
    border-radius: 20px !important;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    touch-action: manipulation;
    text-decoration: none;
    min-height: 28px;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(167, 9, 9, 0.2);
}

.post-action-btn:hover {
    background: var(--red-dark) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(167, 9, 9, 0.35);
    text-decoration: none;
}

.post-action-btn:active {
    transform: scale(0.95);
}

.post-action-btn i {
    font-size: 0.6rem;
}

.post-action-btn .btn-label {
    font-size: 0.65rem;
}

/* ===== FRAGEFORUM: HILFREICH / NICHT HILFREICH =====
   Bewusst KEIN Button-Look (User-Feedback "weniger Button") - nur ein
   grosses, schlichtes Icon zum Antippen, ohne Hintergrund/Rahmen/Schatten.
   IMMER gruen/rot (User-Feedback "nicht grau, immer gruen/rot"), nicht nur
   im aktiven Zustand. ":hover"/":active" explizit mit ausgezeichnet, sonst
   gewinnt die allgemeine .post-action-btn:hover-Regel (weisse Schrift,
   hoehere Spezifitaet durch Pseudo-Klasse) und das Icon wird auf hellem
   Hintergrund unsichtbar (User-Fund: "fahre drüber, ist transparent"). */
.ff-bewerten-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 2px !important;
    min-height: 0 !important;
}
.ff-bewerten-btn i {
    font-size: 1.35rem !important;
}
.ff-bewerten-btn:hover {
    background: transparent !important;
    box-shadow: none !important;
    transform: scale(1.1);
}
.ff-hilfreich,
.ff-hilfreich:hover,
.ff-hilfreich:active,
.ff-hilfreich:focus {
    color: #1a8a3c !important;
}
.ff-nicht-hilfreich,
.ff-nicht-hilfreich:hover,
.ff-nicht-hilfreich:active,
.ff-nicht-hilfreich:focus {
    color: #c81414 !important;
}
.ff-bewerten-btn:not(.active) {
    opacity: 0.6;
}
.ff-bewerten-btn:not(.active):hover {
    opacity: 1;
}
.ff-bewerten-count {
    font-weight: 700;
    font-size: 0.72rem;
    min-width: 0.7rem;
    text-align: center;
}
.ff-user-picker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    border: none;
    border-bottom: 1px solid #f0e8e8;
    background: #fff;
    cursor: pointer;
    font-size: 0.88rem;
    color: #4a3a3a;
}
.ff-user-picker-item:last-child {
    border-bottom: none;
}
.ff-user-picker-item:hover {
    background: #faf1f1;
    color: #a70909;
}
.ff-user-picker-item i {
    color: #b0a8a8;
    width: 16px;
    text-align: center;
}
.ff-hilfreich-von {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: #6b6060;
}
.ff-hilfreich-von-positiv i {
    color: #1a8a3c;
    margin-right: 4px;
}
.ff-hilfreich-von-negativ i {
    color: #c81414;
    margin-right: 4px;
}
.ff-hilfreich-von-namen {
    font-weight: 600;
    color: #4a3a3a;
}
.ff-hilfreiche-antworten-box {
    margin-top: 0.8rem;
    padding: 10px 14px;
    background: #f4faf6;
    border: 1px solid #cbe8d4;
    border-radius: 10px;
}
.ff-hilfreiche-antworten-titel {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a8a3c;
    margin-bottom: 6px;
}
.ff-hilfreiche-antworten-titel i {
    margin-right: 4px;
}
.ff-hilfreiche-antworten-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ff-hilfreiche-antworten-liste li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font-size: 0.82rem;
}
.ff-hilfreiche-antworten-liste a {
    color: #a70909;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.ff-hilfreiche-antworten-liste a:hover {
    text-decoration: underline;
}
.ff-hilfreiche-antworten-snippet {
    color: #6b6060;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ff-hilfreiche-antworten-count {
    color: #1a8a3c;
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
    margin-left: auto;
}

/* ===== BEITRAG UNGELESEN (keine dicke Umrandung mehr) ===== */
.beitrag-ungelesen {
    position: relative;
}

/* ===== HIGHLIGHT ===== */
.highlight-post,
.new-post-highlight {
    animation: highlightNew 2.5s ease;
    border-radius: var(--border-radius);
}

@keyframes highlightNew {
    0% {
        background: #fff8e1;
        /* transform: scale(1.02) entfernt: skaliert auf iOS zu horizontalem
           Overflow und hebt position:fixed des Footer auf. Glow-Effekt
           reicht aus ohne size-change. */
        border-radius: var(--border-radius);
    }
    30% {
        background: #fff8e1;
        border-radius: var(--border-radius);
    }
    100% {
        background: transparent;
        border-radius: var(--border-radius);
    }
}

/* ===== SOCIAL MEDIA VORSCHAU ===== */
.social-preview {
    max-width: 100% !important;
    margin: 4px 0 !important;
}

/* Twitter/X-, Instagram-, TikTok-, Reddit- & Co-Embeds setzen ihre iframes/
   Blockquotes per eigenem Script haeufig auf eine feste Breite (oft
   550-658px) UND zusaetzlich ein min-width (z.B. Instagram: 326px), OHNE
   den tatsaechlichen Container zu beruecksichtigen. Auf schmalen
   Mobilgeraeten macht das den kompletten <body> breiter als der Viewport -
   die Seite laesst sich dann seitlich wegschieben und der fixe Header
   "rutscht" sichtbar mit (Bug: passiert vor allem direkt nach dem Posten,
   weil dann bbActivateEmbeds() die Embed-Skripte fuer den neuen Beitrag
   ausfuehrt/erneut anstoesst). !important ueberstimmt dabei auch von den
   fremden Skripten per Inline-Style gesetzte feste Breiten - WICHTIG: ein
   min-width gewinnt laut CSS-Spec gegen max-width, wenn es groesser ist,
   daher muss min-width hier zusaetzlich auf 0 gezwungen werden. */
.social-preview,
.social-preview * {
    max-width: 100% !important;
    min-width: 0 !important;
}
.social-preview iframe {
    width: 100% !important;
}

.social-preview .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 6px;
}

.social-preview .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.social-preview-footer {
    padding: 2px 6px;
    background: transparent;
    font-size: 0.6rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-preview-wrapper {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.social-preview-wrapper iframe {
    width: 100% !important;
    max-height: 350px !important;
}

/* ===== ARTIKEL-SNIPPET ([artikel=URL]Ausschnitt[/artikel]) ===== */
/* Bewusst NICHT im Zitat-Rot: eigenes Schiefergrau + gestrichelter Rand
   ("Zeitungsausschnitt"), damit es sich klar vom .quote-block unterscheidet. */
.artikel-snippet {
    max-width: 100% !important;
    margin: 4px 0 !important;
    border: 1px dashed #94a3b8;
    border-left-width: 4px;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
    background: #f4f6f8;
    padding: 0.7rem 0.9rem;
}
.artikel-snippet-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475569;
    margin-bottom: 6px;
}
.artikel-snippet-ausschnitt {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    font-style: italic;
}
.artikel-snippet-quelle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #475569;
    margin-top: 8px;
    text-decoration: none;
    font-weight: 600;
}
.artikel-snippet-quelle:hover {
    text-decoration: underline;
}
.artikel-snippet-quelle img {
    border-radius: 3px;
}

/* ===== SPIELER-KARTE ([spieler]slug[/spieler]) ===== */
/* Bewusst als kompaktes Rechteck (max-width statt 100%) - soll wie eine
   kleine Visitenkarte im Fließtext wirken, nicht wie ein breiter Balken. */
.spieler-karte {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    max-width: 260px !important;
    margin: 4px 0 !important;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(135deg, #fef8f8, #faf3f3);
    border: 1px solid rgba(167, 9, 9, 0.18);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.spieler-karte:hover {
    background: linear-gradient(135deg, #fef0f0, #fbe9e9);
    border-color: #a70909;
    box-shadow: 0 2px 10px rgba(167, 9, 9, 0.15);
}
/* Dezenter Rot-Schimmer, der alle paar Sekunden einmal ueber die Karte
   laeuft - bewusst "leicht" gehalten (niedrige Deckkraft, lange Pause
   zwischen den Durchlaeufen), damit es nicht vom Inhalt ablenkt. */
.spieler-karte::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(167, 9, 9, 0.16), transparent);
    transform: skewX(-20deg);
    animation: spieler-karte-schimmer 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes spieler-karte-schimmer {
    0%   { left: -60%; }
    22%  { left: 130%; }
    100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
    .spieler-karte::before { animation: none; }
}
.spieler-karte-foto,
.spieler-karte-foto-platz {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f0e6e6;
}
.spieler-karte-foto-platz {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a5a5;
    font-size: 0.8rem;
}
.spieler-karte-info {
    flex: 1;
    min-width: 0;
}
.spieler-karte-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spieler-karte-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    color: #888;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.spieler-karte-vereinslogo {
    width: 12px;
    height: 12px;
    object-fit: contain;
    flex-shrink: 0;
}
.spieler-karte-marktwert {
    text-align: center;
    padding: 0.15rem 0.4rem;
    background: #f4faf6;
    border-radius: 6px;
    flex-shrink: 0;
}
.spieler-karte-marktwert .wert {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    color: #1a8a3d;
    white-space: nowrap;
}
.spieler-karte-marktwert .label {
    display: block;
    font-size: 0.5rem;
    color: #888;
    text-transform: uppercase;
}
.spieler-karte i.fa-chevron-right {
    color: #d5c5c5;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.spieler-karte-fehlt {
    display: block;
    padding: 0.6rem 0.9rem;
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
}

/* ===== GEMERKTE DATEI TEILEN ([bookmarkteilen]anhang_id[/bookmarkteilen]) =====
   Zeigt die Original-Datei (Bild/Video/PDF/Audio) 1:1 wie im Original-Post -
   die Medien-Wrapper (.image-wrapper/.rwe-video-wrapper/.rwe-pdf-wrapper)
   bringen ihr Aussehen bereits selbst mit, hier nur der Rahmen drumherum
   und die Herkunfts-Zeile darunter. */
.bookmark-teilen-embed {
    display: block;
    max-width: 420px !important;
    margin: 4px 0 !important;
    background: linear-gradient(135deg, #fef8f8, #faf3f3);
    border: 1px solid rgba(167, 9, 9, 0.18);
    border-radius: 10px;
    overflow: hidden;
    padding: 0.5rem 0.5rem 0;
}
.bookmark-teilen-embed .image-wrapper,
.bookmark-teilen-embed .eplayer,
.bookmark-teilen-embed .rwe-video-wrapper,
.bookmark-teilen-embed .rwe-pdf-wrapper {
    margin: 0 !important;
}
.bookmark-teilen-herkunft {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0.5rem 0.2rem;
    font-size: 0.72rem;
    color: #888;
}
.bookmark-teilen-herkunft i {
    color: #a70909;
    margin-right: 2px;
}
.bookmark-teilen-herkunft a {
    color: #a70909 !important;
    font-weight: 600;
    text-decoration: none;
}
.bookmark-teilen-herkunft a:hover {
    text-decoration: underline;
}
.bookmark-teilen-fehlt {
    padding: 0.6rem 0.9rem;
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #fef8f8, #faf3f3);
    border: 1px solid rgba(167, 9, 9, 0.18);
    border-radius: 10px;
}

/* ===== ARTIKEL-TEILEN-KARTE ([artikelteilen]slug[/artikelteilen]) ===== */
/* Bewusst ANDERS als .artikel-snippet (grauer "Zeitungsausschnitt" fuer
   manuell eingegebene externe Quellen): kleines Vorschaubild mit rotem
   Glow + Auszug, damit eigene RWE-Portal-Artikel auf den ersten Blick
   erkennbar sind. */
.artikel-teilen-karte {
    display: block;
    max-width: 420px !important;
    margin: 4px 0 !important;
    background: linear-gradient(135deg, #fef8f8, #faf3f3);
    border: 1px solid rgba(167, 9, 9, 0.18);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.artikel-teilen-karte:hover {
    border-color: #a70909;
    box-shadow: 0 2px 10px rgba(167, 9, 9, 0.15);
}
.artikel-teilen-karte-hauptlink {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.8rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.artikel-teilen-karte-hauptlink:hover {
    background: linear-gradient(135deg, #fef0f0, #fbe9e9);
}
.artikel-teilen-karte-quelle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 0.8rem;
    border-top: 1px solid rgba(167, 9, 9, 0.14);
    font-size: 0.7rem;
    color: #a70909;
    text-decoration: none;
    font-weight: 600;
}
.artikel-teilen-karte-quelle:hover {
    text-decoration: underline;
}
.artikel-teilen-karte-quelle img {
    border-radius: 3px;
}
.artikel-teilen-karte-bild,
.artikel-teilen-karte-bild-platz {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 10px 2px rgba(167, 9, 9, 0.4);
}
.artikel-teilen-karte-bild-platz {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0e6e6;
    color: #c9a5a5;
    font-size: 1.1rem;
}
.artikel-teilen-karte-info {
    flex: 1;
    min-width: 0;
}
.artikel-teilen-karte-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #a70909;
    margin-bottom: 2px;
}
.artikel-teilen-karte-titel {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.artikel-teilen-karte-anriss {
    font-size: 0.72rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.artikel-teilen-karte-fehlt {
    display: block;
    padding: 0.6rem 0.9rem;
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
}
.artikel-teilen-karte-aktionen {
    display: flex;
    gap: 6px;
    padding: 0 0.8rem 0.55rem;
}
.artikel-teilen-karte-aktion-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f6ebeb;
    color: #a70909;
    border: none;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
}
.artikel-teilen-karte-aktion-btn:hover {
    background: #eedcdc;
}

/* ===== TRANSFERGERÜCHT-TEILEN-KARTE ([geruecht]id[/geruecht]) =====
   Bewusst im selben kompakten Stil wie .spieler-karte (kleine Visitenkarte
   im Fließtext) - NICHT die große Transfermarkt-Karte des Liga-/Vereins-
   Gerüchte-Tabs (.geruecht-karte in spieler/index.php), die bleibt dort
   unverändert. */
.geruecht-teilen-karte {
    display: block; width: 100%; max-width: 320px !important;
    margin: 6px 0 !important; padding: 0;
    background: #fff; border: 1px solid #eadcdc;
    border-radius: 10px; text-decoration: none !important; color: inherit; overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}
.geruecht-teilen-karte:hover { border-color: #a70909; box-shadow: 0 4px 14px rgba(167,9,9,0.16); transform: translateY(-1px); }
.geruecht-teilen-karte.ist-rwe { border-color: #a70909; border-width: 2px; }
.geruecht-teilen-karte-kopf { display: flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; background: linear-gradient(to right, #993234, #a70909); }
.geruecht-teilen-karte-body { display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.7rem; }
.geruecht-teilen-karte-foto,
.geruecht-teilen-karte-foto-platz { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #f0e6e6; }
.geruecht-teilen-karte-foto-platz { display: flex; align-items: center; justify-content: center; color: #c9a5a5; font-size: 0.85rem; }
.geruecht-teilen-karte-info { flex: 1; min-width: 0; }
.geruecht-teilen-karte-name { font-size: 0.84rem; font-weight: 700; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geruecht-teilen-karte-meta { display: flex; align-items: center; gap: 4px; font-size: 0.66rem; color: #888; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geruecht-teilen-karte-meta i.fa-long-arrow-alt-right { font-size: 0.6rem; flex-shrink: 0; }
.geruecht-teilen-karte-vereinslogo { width: 12px; height: 12px; object-fit: contain; flex-shrink: 0; }
.geruecht-teilen-karte-prozent { text-align: center; padding: 0.18rem 0.45rem; background: #f4faf6; border-radius: 8px; flex-shrink: 0; }
.geruecht-teilen-karte-prozent.trend-auf { background: #eafaf0; }
.geruecht-teilen-karte-prozent.trend-ab { background: #fdedee; }
.geruecht-teilen-karte-prozent .wert { display: block; font-size: 0.7rem; font-weight: 800; color: #a70909; white-space: nowrap; }
.geruecht-teilen-karte-prozent .wert i.fa-arrow-up { color: #1a8a3d; }
.geruecht-teilen-karte-prozent .wert i.fa-arrow-down { color: #b91c1c; }
.geruecht-teilen-karte-prozent .label { display: block; font-size: 0.5rem; color: #888; text-transform: uppercase; }
.geruecht-teilen-karte-chevron { color: #d5c5c5; font-size: 0.72rem; flex-shrink: 0; }
.geruecht-teilen-karte-fehlt { display: block; padding: 0.6rem 0.9rem; color: #999; font-style: italic; font-size: 0.85rem; }
.geruecht-teilen-karte.ist-fix .geruecht-teilen-karte-kopf { background: linear-gradient(to right, #16612f, #1c7a3e); }
.geruecht-teilen-karte.ist-gescheitert .geruecht-teilen-karte-kopf { background: linear-gradient(to right, #6b6b6b, #888); }
.geruecht-teilen-karte-status { display: flex; flex-direction: column; align-items: center; gap: 1px; flex-shrink: 0; }
.geruecht-teilen-karte-status img { width: 28px; height: 28px; object-fit: contain; }
.geruecht-teilen-karte-status .wert { font-size: 0.66rem; font-weight: 800; }
.geruecht-teilen-karte-status.ist-fix .wert { color: #1c7a3e; }
.geruecht-teilen-karte-status.ist-gescheitert .wert { color: #888; }

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('/A6AE3E00-71BB-4861-BEC4-3917FEADCE99.png');
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    cursor: default;
}

.lightbox img {
    max-width: 95%;
    max-height: 85%;
    border-radius: var(--border-radius);
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: none;
    transform-origin: center center;
    will-change: transform;
    cursor: zoom-in;
}

.lightbox img.is-zoomed {
    cursor: grab;
}

.lightbox img.is-panning {
    cursor: grabbing;
}

.lightbox img.is-transitioning {
    transition: transform 0.2s ease;
}

.lightbox-close {
    position: absolute;
    top: max(10px, calc(env(safe-area-inset-top) - 6px));
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-weight: 300;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
    background: rgba(0,0,0,0.5);
}

.lightbox-close:active {
    transform: scale(0.9);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
    z-index: 10001;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
.lightbox-nav:hover { background: rgba(0,0,0,0.5); transform: translateY(-50%) scale(1.1); }
.lightbox-nav:active { transform: translateY(-50%) scale(0.92); }

.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(0,0,0,0.4);
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10001;
}

@media (max-width: 480px) {
    .lightbox-nav { width: 40px; height: 40px; font-size: 18px; }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
}

.lightbox-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10001;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 12px;
}

.lightbox-share-btn {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    touch-action: manipulation;
}

.lightbox-share-btn i {
    font-size: 1.2rem;
}

.lightbox-share-btn:hover {
    background: var(--red-primary);
    color: white;
    transform: scale(1.1);
}

.lightbox-share-btn:active {
    transform: scale(0.9);
}

.lightbox-share-btn.is-bookmarked {
    background: var(--red-primary);
    color: #fff;
}

/* ===== LIGHTBOX MOBILE ===== */
@media (max-width: 480px) {
    .lightbox img {
        max-height: 75%;
    }
    
    .lightbox-close {
        top: max(8px, calc(env(safe-area-inset-top) - 6px));
        right: 15px;
        font-size: 32px;
        width: 44px;
        height: 44px;
    }
    
    .lightbox-footer {
        bottom: 20px;
    }
    
    .lightbox-share-btn {
        width: 44px;
        height: 44px;
    }

    .lightbox-share-btn i {
        font-size: 1.1rem;
    }
}

/* ===== EDIT FORM ===== */
.edit-form {
    margin: 4px 0;
}

.editor-container {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.editor-container:focus-within {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px rgba(167,9,9,0.08);
}

.editor-toolbar {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.3rem 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
}

.toolbar-group {
    display: flex;
    gap: 0.15rem;
    padding: 0 0.2rem;
    border-right: 1px solid #e5e7eb;
    margin-right: 0.2rem;
}

.toolbar-group:last-child {
    border-right: none;
}

.toolbar-btn {
    background: transparent;
    border: none;
    padding: 0.3rem;
    cursor: pointer;
    border-radius: 6px;
    color: #4b5563;
    font-size: 0.85rem;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    touch-action: manipulation;
}

.toolbar-btn:hover {
    background: #e5e7eb;
    color: var(--red-primary);
}

.toolbar-btn:active {
    transform: scale(0.92);
    background: var(--red-primary);
    color: white;
}

.editor-content {
    min-height: 150px;
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1f2937;
    background: white;
    overflow-y: auto;
    outline: none;
    -webkit-user-select: text;
    user-select: text;
}

.editor-content:focus {
    outline: none;
}

.editor-content:empty:before {
    content: attr(data-placeholder);
    color: #9ca3af;
}

.editor-content blockquote {
    background: #f3f4f6;
    border-left: 4px solid var(--red-primary);
    padding: 0.2rem 0.6rem;
    margin: 0.1rem 0;
    border-radius: 0 6px 6px 0;
}

.editor-content blockquote strong {
    color: var(--red-primary);
    font-size: 0.75rem;
}

.editor-content blockquote blockquote {
    margin: 0.05rem 0;
}

.editor-content pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    font-family: monospace;
    overflow-x: auto;
    margin: 0.2rem 0;
    font-size: 0.85rem;
}

.editor-content img {
    max-width: 100%;
    border-radius: 6px;
    margin: 0.15rem 0;
    max-height: 250px;
}

.editor-content a {
    color: var(--red-primary);
    text-decoration: none;
}

.editor-content a:hover {
    text-decoration: underline;
}

.editor-content .bbcode-spoiler {
    background: #f3f4f6;
    border-radius: 6px;
    margin: 0.2rem 0;
}

.editor-content .spoiler-title {
    background: #e5e7eb;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    font-weight: 600;
    color: #4b5563;
    font-size: 0.8rem;
    user-select: none;
}

.editor-content .spoiler-title:hover {
    background: #d1d5db;
}

.editor-content .spoiler-content {
    padding: 0.4rem 0.5rem;
    display: none;
}

.editor-status {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 0.2rem 0.8rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #6b7280;
}

.edit-actions {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.edit-actions .post-action-btn {
    background: var(--red-primary) !important;
    color: var(--white) !important;
}

.edit-actions .post-action-btn:hover {
    background: var(--red-dark) !important;
    color: var(--white) !important;
}

.edit-actions .post-action-btn.cancel-btn {
    background: #6c757d !important;
    color: var(--white) !important;
}

.edit-actions .post-action-btn.cancel-btn:hover {
    background: #5a6268 !important;
    color: var(--white) !important;
}

/* ============================================================
   MOBILE OPTIMIERUNG
   ============================================================ */

/* ============================================================
   BEITRAGS-EIGENES LOGO & UNTERTITEL - BEARBEITEN-FORMULAR
   ============================================================ */
.edit-logo-section-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    max-width: 260px;
}
.logo-slot {
    cursor: pointer;
    border-radius: 6px;
    border: 1px dashed #d5cece;
    background: #faf8f8;
    transition: all 0.25s ease;
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}
.logo-slot:hover {
    border-color: var(--red-primary);
    background: #fef5f5;
}
.logo-slot.has-logo {
    border-style: solid;
    border-color: var(--red-primary);
    background: #fef5f5;
}
.logo-slot-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 36px;
    gap: 2px;
}
.logo-preview {
    width: 100%;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}
.logo-preview img {
    max-height: 22px;
    max-width: 34px;
    object-fit: contain;
}
.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #b0a8a8;
}
.logo-placeholder i {
    font-size: 0.9rem;
    color: #d5cece;
}
.logo-slot:hover .logo-placeholder i {
    color: var(--red-primary);
}
.logo-placeholder span {
    font-size: 0.5rem;
    margin-top: 1px;
    color: #b0a8a8;
    font-weight: 500;
}
.slot-label {
    font-size: 0.5rem;
    color: #b0a8a8;
    font-weight: 500;
    background: rgba(255,255,255,0.7);
    padding: 0 4px;
    border-radius: 10px;
}
.logo-slot.has-logo .slot-label {
    color: var(--red-primary);
    font-weight: 600;
}
.slot-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 15px;
    height: 15px;
    border: none;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    cursor: pointer;
    font-size: 0.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* ===== LOGO MODAL ===== */
.logo-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.logo-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.logo-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 650px;
    width: 95%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}
.logo-modal-header {
    padding: 14px 20px;
    border-bottom: 1px solid #e5dfdf;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: #faf8f8;
}
.logo-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #4a3a3a;
}
.logo-modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #b0a8a8;
}
.logo-modal-close:hover {
    color: #4a3a3a;
}
/* ===== VEREINSLOGO/SPIELERFOTO-TAB IM ICON-MODAL ===== */
.logo-modal-tabs-mini {
    display: flex;
    gap: 6px;
    padding: 10px 16px 0;
    background: #faf8f8;
}
.logo-modal-tab-mini {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 8px 8px 0 0;
    border: 1px solid #e5dfdf;
    border-bottom: none;
    background: #f0e8e8;
    color: #8a7a7a;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}
.logo-modal-tab-mini:hover {
    color: #a70909;
}
.logo-modal-tab-mini.active {
    background: #fafbfc;
    color: #a70909;
    border-color: #a70909;
}
.logo-modal-pane-spieler {
    padding: 24px 18px;
    text-align: center;
    background: #fafbfc;
    flex: 1;
}
.logo-modal-spieler-hinweis {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 0.85rem;
}
.logo-modal-spieler-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: #a70909;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease;
}
.logo-modal-spieler-btn:hover {
    background: #8a0707;
}
.logo-library {
    padding: 14px 18px;
    overflow-y: auto;
    flex: 1;
    background: #fafbfc;
}
.logo-search-bar {
    padding: 10px 18px;
    border-bottom: 1px solid #e5dfdf;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.logo-search-bar > i.fa-search {
    color: #b0a8a8;
    font-size: 0.9rem;
}
.logo-search-bar input {
    flex: 1;
    border: 1px solid #d5cece;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.logo-search-bar input:focus {
    border-color: #993234;
    box-shadow: 0 0 0 3px rgba(153, 50, 52, 0.08);
}
.logo-search-clear {
    background: none;
    border: none;
    color: #b0a8a8;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px;
    display: inline-flex;
}
.logo-search-clear:hover {
    color: #a70909;
}
.logo-search-empty {
    text-align: center;
    color: #b0a8a8;
    padding: 30px 10px;
    font-size: 0.9rem;
}
.logo-modal-footer {
    padding: 10px 18px;
    border-top: 1px solid #e5dfdf;
    text-align: right;
    flex-shrink: 0;
    background: #faf8f8;
}
.liga-group {
    margin-bottom: 14px;
}
.liga-title {
    font-weight: 700;
    color: #4a3a3a;
    padding: 5px 0;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #e5dfdf;
    margin-bottom: 8px;
}
.liga-title:hover {
    color: var(--red-primary);
}
.liga-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    padding: 4px 0;
}
.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px 6px;
    border: 3px solid #e5dfdf;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}
.logo-item:hover {
    border-color: var(--red-primary);
    transform: translateY(-2px);
}
.logo-item.selected {
    border-color: var(--red-primary);
    background: #fef5f5;
}
.logo-item.selected::after {
    content: '✓';
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--red-primary);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.logo-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.logo-item .logo-name {
    font-size: 0.55rem;
    text-align: center;
    margin-top: 4px;
    color: #4a3a3a;
    line-height: 1.2;
    max-width: 70px;
    word-break: break-word;
}
@media (max-width: 480px) {
    .logo-grid {
        gap: 5px;
        max-width: 180px;
    }
    .logo-slot {
        min-height: 40px;
        padding: 2px;
    }
    .logo-preview img {
        max-height: 18px;
        max-width: 28px;
    }
}

/* ===== VERSCHIEBEN-MODAL (Admin: Beitrag in anderes Thema verschieben) =====
   Gleiche Struktur/Konventionen wie .logo-modal oben (display:none <->
   flex, .logo-modal-content-Maße), damit Verhalten auf Mobile identisch
   ist und kein zusätzlicher CSS-Sonderfall entsteht. */
.verschieben-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.verschieben-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}
.verschieben-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 480px;
    width: 95%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
}
.verschieben-modal-header {
    padding: 14px 20px;
    border-bottom: 1px solid #e5dfdf;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    background: #faf8f8;
}
.verschieben-modal-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #4a3a3a;
}
.verschieben-modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #b0a8a8;
}
.verschieben-modal-close:hover {
    color: #4a3a3a;
}
.verschieben-search-bar {
    padding: 10px 18px;
    border-bottom: 1px solid #e5dfdf;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.verschieben-search-bar > i.fa-search {
    color: #b0a8a8;
    font-size: 0.9rem;
}
.verschieben-search-bar input {
    flex: 1;
    border: 1px solid #d5cece;
    border-radius: 20px;
    padding: 10px 14px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.verschieben-search-bar input:focus {
    border-color: #993234;
    box-shadow: 0 0 0 3px rgba(153, 50, 52, 0.08);
}
.verschieben-ergebnisse {
    padding: 6px 10px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    background: #fafbfc;
    min-height: 120px;
}
.verschieben-hinweis {
    text-align: center;
    color: #b0a8a8;
    padding: 30px 10px;
    font-size: 0.9rem;
}
.verschieben-fehler {
    margin: 10px 14px 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdf1f1;
    border: 1px solid #f3caca;
    color: #a70909;
    font-size: 0.85rem;
}
.verschieben-thema-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    margin: 4px 0;
    min-height: 44px;
    border: 2px solid #e5dfdf;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s ease;
}
.verschieben-thema-item:hover {
    border-color: var(--red-primary);
}
.verschieben-thema-item.selected {
    border-color: var(--red-primary);
    background: #fef5f5;
}
.verschieben-thema-item .thema-titel {
    font-weight: 600;
    color: #4a3a3a;
    font-size: 0.9rem;
}
.verschieben-thema-item .forum-titel {
    font-size: 0.75rem;
    color: #918888;
}
.verschieben-thema-item .thema-meta {
    font-size: 0.75rem;
    color: #918888;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}
.verschieben-thema-item .thema-meta i {
    color: #b0a8a8;
    margin-right: 3px;
}
.verschieben-modal-footer {
    padding: 12px 18px;
    border-top: 1px solid #e5dfdf;
    text-align: right;
    flex-shrink: 0;
    background: #faf8f8;
}
.verschieben-modal-footer .btn-verschieben-bestaetigen {
    background: var(--red-primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 22px;
    min-height: 44px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}
.verschieben-modal-footer .btn-verschieben-bestaetigen:disabled {
    background: #d5cece;
    cursor: not-allowed;
}

/* ===== GAST-SPERRE (siehe $gast_sperre_aktiv weiter unten): alle Beitraege
   verschwommen, ausser bei Direktlink auf einen Beitrag bleibt nur der
   Zielbeitrag scharf - Inhalt bleibt komplett im HTML. ===== */
.post-row.gast-verschwommen {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

/* ===== ANHAENGE PER ZIEHEN NEU ANORDNEN (Phase G, Inline-Bearbeiten) ===== */
.rwe-dnd-ziehend {
    opacity: 0.35;
}
.rwe-dnd-einfuegelinie {
    height: 3px;
    background: #a70909;
    border-radius: 2px;
    margin: 4px 0;
    box-shadow: 0 0 6px rgba(167, 9, 9, 0.6);
}
