    :root {
        --lounge-accent: #6fac93;
        --lounge-bg: #f3f5f8;
        --lounge-border: #e5e7eb;
        --lounge-text-main: #111827;
        --lounge-text-muted: #6b7280;
        --card-radius: 12px;
    }

    body { background-color: var(--lounge-bg); }

    @media (max-width: 767px) { /* Paket 211: nur wo die Handy-Leiste angezeigt wird */
        body { padding-bottom: 90px !important; } /* FINAL-16.10 V1 (Nachtrag 38): oberer Abstand wie auf DealooPlus/Ratgeber (vorher padding-top: 60px) */
    }
/* --- HERO SECTION --- */
    .lounge-hero {
        background: linear-gradient(180deg, #ffffff 0%, var(--lounge-bg) 100%);
        padding: 70px 0 50px 0; 
        margin-bottom: 0;
        border-bottom: 1px solid var(--lounge-border);
        overflow: hidden;
    }
    
    .lounge-hero-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }
    
    .lounge-hero-text {
        text-align: left;
        max-width: 550px;
    }
    
    .lounge-hero h1 { font-size: 2.8rem; font-weight: 900; color: var(--lounge-text-main); margin-bottom: 15px; letter-spacing: -1px; line-height: 1.1; }
    .lounge-hero p { font-size: 1.15rem; color: var(--lounge-text-muted); font-weight: 500; margin-bottom: 30px; line-height: 1.6; }
    
    .btn-create-lounge { background: var(--lounge-text-main); color: #fff; padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: all 0.2s; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
    .btn-create-lounge:hover { background: #374151; color: #fff; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); transform: translateY(-2px); text-decoration: none;}

    /* Grafik Container - Standardmäßig ausgeblendet (Mobile) */
    .lounge-hero-graphic {
        display: none; 
        flex-shrink: 0;
        width: 100%;
        max-width: 420px;
        animation: floatImage 6s ease-in-out infinite;
    }
    
    .lounge-hero-graphic img, .lounge-hero-graphic svg {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Schwebende Animation für das Bild */
    @keyframes floatImage {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
        100% { transform: translateY(0px); }
    }

    /* Ab Desktop/großen Tablets (min-width: 992px) sichtbar */
    @media (min-width: 992px) {
        .lounge-hero-graphic {
            display: block; 
        }
    }
    
    /* Auf Mobile Text zentrieren */
    @media (max-width: 991px) {
        .lounge-hero { padding: 40px 0 30px 0; }
        .lounge-hero-text { text-align: center; margin: 0 auto; max-width: 100%; }
        .lounge-hero h1 { font-size: 2.2rem; }
    }
    /* --- FILTER BAR --- */
    .filter-bar-container { background: var(--lounge-bg); padding: 15px 0; position: relative; z-index: 10; width: 100%; }
    
    .filter-pills-wrapper { display: flex; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none; flex: 1; }
    .filter-pills-wrapper::-webkit-scrollbar { display: none; }
    .filter-pill { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 20px; background-color: #fff; border: 1px solid var(--lounge-border); border-radius: 999px; color: var(--lounge-text-muted); font-size: 14px; font-weight: 600; text-decoration: none !important; white-space: nowrap; transition: all 0.2s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
    .filter-pill:hover { background-color: #f3f4f6; color: var(--lounge-text-main); }
    .filter-pill.active { background-color: var(--lounge-text-main); border-color: var(--lounge-text-main); color: #fff; }

    .filter-settings { display: flex; align-items: center; }
    .view-switcher-desktop { display: flex; gap: 8px; margin-right: 20px; border-right: 1px solid var(--lounge-border); padding-right: 20px; }
    .view-btn-desktop { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; font-size: 16px; background-color: #fff; border: 1px solid var(--lounge-border); border-radius: 8px; color: #9ca3af; cursor: pointer; transition: all 0.2s ease; }
    .view-btn-desktop:hover { border-color: var(--lounge-accent); color: var(--lounge-accent); background-color: #f0fdf9; }
    .view-btn-desktop.active { background-color: var(--lounge-accent) !important; color: #fff !important; border-color: var(--lounge-accent) !important; box-shadow: 0 4px 10px rgba(111, 172, 147, 0.3); }

    .filter-trigger { display: inline-flex !important; align-items: center; justify-content: center; height: 38px; padding: 0 20px; background-color: #fff; border: 1px solid var(--lounge-border); border-radius: 999px; color: var(--lounge-text-main); font-weight: 700; font-size: 14px; text-decoration: none !important; white-space: nowrap; box-shadow: 0 2px 5px rgba(0,0,0,0.02); transition: all 0.2s; }
    .filter-trigger:hover { background-color: #f3f4f6; border-color: #d1d5db; }
    /* Paket 142 (Laiss 20.10.2026): Ansicht und Filter wie auf der Startseite (R16b, schwarz/weiß): Ansicht als schmale Pille mit zwei
       Symbolen (aktiv schwarz), Filter als schwarze Pille mit Trichter. Klassen und Klick-Verhalten unverändert. */
    .filter-settings .view-switcher-desktop { display: inline-flex !important; gap: 0 !important; margin-right: 12px !important; padding: 0 !important; border: 1px solid #e5e7eb !important; border-radius: 999px !important; background: #fff !important; overflow: hidden; }
    .filter-settings .view-btn-desktop { width: 42px !important; height: 38px !important; font-size: 15px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; color: #6b7280 !important; box-shadow: none !important; }
    .filter-settings .view-btn-desktop + .view-btn-desktop { border-left: 1px solid #e5e7eb !important; }
    .filter-settings .view-btn-desktop:hover { background: #f3f4f6 !important; color: #111 !important; }
    .filter-settings .view-btn-desktop.active, .filter-settings .view-btn-desktop.active:hover { background: #111 !important; color: #fff !important; box-shadow: none !important; }
    .filter-settings .view-btn-desktop:focus-visible, .filter-settings .filter-trigger:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
    .filter-settings .filter-trigger { height: 40px !important; min-width: 0 !important; padding: 0 18px !important; gap: 8px; background: #111 !important; border: 1px solid #111 !important; color: #fff !important; }
    .filter-settings .filter-trigger:hover, .dropdown.show .filter-settings .filter-trigger { background: #000 !important; border-color: #000 !important; color: #fff !important; }
    .filter-settings .filter-trigger i { color: #fff !important; font-size: 13px; margin: 0 !important; }
    #mobile-filter-trigger.filter-toggle-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border: 1px solid #111 !important; border-radius: 999px !important; background: #111 !important; color: #fff !important; font-weight: 700; font-size: 14px; box-shadow: none !important; }
    #mobile-filter-trigger.filter-toggle-btn i { color: #fff !important; font-size: 13px; }

    /* DROPDOWN */
    .custom-filter-dropdown { width: 320px !important; padding: 20px !important; border-radius: var(--card-radius) !important; border: 1px solid var(--lounge-border); box-shadow: 0 10px 40px rgba(0,0,0,0.1); top: 45px !important; right: 0 !important; background: #fff; }
    .filter-section { margin-bottom: 15px; }
    .filter-heading { display: block; font-size: 12px; font-weight: 800; color: #9ca3af; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; }
    .filter-checkbox-wrapper { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 0; }
    .filter-checkbox-wrapper input { width: 16px; height: 16px; accent-color: var(--lounge-accent); cursor: pointer; margin: 0; }
    .filter-checkbox-wrapper label { margin: 0; font-size: 14px; color: var(--lounge-text-main); font-weight: 500; cursor: pointer; }

    /* --- BADGES & TAGS --- */
    .pinned-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--lounge-accent); }
    .solved-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; text-transform: uppercase; color: #fff; background: var(--lounge-accent); padding: 4px 10px; border-radius: 6px; letter-spacing: 0.5px; }
    
    /* Runde 55: Themen dezent (Grau/Weiss + Dealoo-Gruen) statt Regenbogen */
    .lounge-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; margin: 0 5px 5px 0; background-color: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
    .lounge-tags { position: relative; z-index: 2; margin-bottom: 8px; }
    .thread-thumb { flex-shrink: 0; width: 88px; height: 88px; border-radius: 12px; overflow: hidden; background: #f1f5f9; border: 1px solid var(--lounge-border); }
    .thread-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .thread-thumb.is-nsfw img { filter: blur(14px); transform: scale(1.1); }
    .thread-grid-view .thread-cover { height: 160px; border-radius: 0; border: 0; border-bottom: 1px solid var(--lounge-border); width: 100%; }
    @media (max-width: 768px) { .thread-list-view .thread-thumb { display: none; } }
    /* Paket 328 (Laiss): Thema als Chip mit kleiner Illustration, Beiträge ohne Bild zeigen die Illustration des Themas */
    .lounge-tag.lt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; background: #f4faf7; border-color: #d7ebe1; color: #2f6f57 !important; text-decoration: none !important; }
    .lounge-tag.lt-chip:hover { border-color: #6fac93; color: #1d4d3b !important; }
    .lounge-tag.lt-chip .dl-la { width: 20px; height: 20px; }
    .thread-thumb.lt-art { display: grid; place-items: center; background: #f7fbf9; border-color: #e3efe9; }
    .thread-thumb.lt-art .dl-la { width: 64px; height: 64px; }
    @media (max-width: 768px) { .thread-list-view .thread-thumb.lt-art { display: none; } }

    /* --- SHARED CARD BASICS --- */
    .thread-card { position: relative; background: #fff; border: 1px solid var(--lounge-border); border-radius: var(--card-radius); transition: all 0.2s ease; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.02); margin-bottom: 20px; }
    .thread-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.06); transform: translateY(-2px); border-color: #d1d5db; }
    .thread-overlay-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

    .thread-meta { font-size: 13px; color: var(--lounge-text-muted); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    .thread-author { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px; color: var(--lounge-text-main); font-weight: 700; text-decoration: none; }
    .thread-author i { font-size: 16px; color: #9ca3af; }
    .thread-author:hover { color: var(--lounge-accent); text-decoration: none; }
    
    .thread-title { font-size: 18px; font-weight: 800; margin-bottom: 8px; line-height: 1.4; color: var(--lounge-text-main); }
    .thread-excerpt { font-size: 14px; color: var(--lounge-text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

    /* --- LIST VIEW (MODERN FORUM ROW) --- */
    .thread-list-view .thread-content { display: flex; padding: 20px; gap: 20px; align-items: center; }
    .thread-list-view .thread-main { flex: 1; min-width: 0; }
    .thread-list-view .thread-stats { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; border-left: 1px solid var(--lounge-bg); padding-left: 20px; min-width: 140px; }
    .thread-list-view .stat-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--lounge-text-muted); font-weight: 600; }
    .thread-list-view .stat-item i { font-size: 15px; }
    .thread-list-view .stat-item strong { color: var(--lounge-text-main); font-weight: 800; }

    /* --- GRID VIEW (CARDS) --- */
    .thread-grid-view { display: flex; flex-direction: column; height: 100%; }
    .thread-grid-view .thread-main { padding: 20px; flex: 1; display: flex; flex-direction: column; }
    .thread-grid-view .thread-excerpt { margin-top: 10px; margin-bottom: 15px; flex: 1; }
    .thread-grid-view .thread-footer { padding: 15px 20px; border-top: 1px solid var(--lounge-bg); display: flex; justify-content: space-between; align-items: center; background: #fafafa; }
    .thread-grid-view .stat-group { display: flex; align-items: center; gap: 15px; font-size: 13px; color: var(--lounge-text-muted); font-weight: 600; }
    .thread-grid-view .stat-group span { display: flex; align-items: center; gap: 5px; }

    /* --- EMPTY STATE --- */
    .empty-lounge-state { background: #fff; border-radius: var(--card-radius); padding: 60px 20px; text-align: center; border: 1px dashed #d1d5db; }
    .empty-lounge-state i { font-size: 48px; color: #d1d5db; margin-bottom: 20px; display: block; }
    .empty-lounge-state h3 { font-size: 20px; font-weight: 800; color: var(--lounge-text-main); margin-bottom: 10px; }
    .empty-lounge-state p { color: var(--lounge-text-muted); margin-bottom: 25px; }

    /* --- MOBILE STYLES --- */
    @media (max-width: 768px) {
        .thread-list-view .thread-content { flex-direction: column; align-items: flex-start; gap: 15px; padding: 15px; }
        .thread-list-view .thread-stats { border-left: none; padding-left: 0; flex-direction: row; align-items: center; width: 100%; justify-content: space-between; border-top: 1px solid var(--lounge-bg); padding-top: 15px; }
        .thread-grid-view .thread-main { padding: 15px; }
        .thread-grid-view .thread-footer { padding: 12px 15px; }
        .lounge-hero { padding: 30px 0 20px 0; }
        .lounge-hero h1 { font-size: 2rem; }
    }

    /* MOBILE FILTER OVERLAY (Unverändert, nur Farben modernisiert) */
    .mobile-filter-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 99999; display: flex; flex-direction: column; transform: translateY(-100%); transition: transform 0.3s ease; opacity: 0; pointer-events: none; }
    .mobile-filter-overlay.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .mobile-filter-header { height: 60px; border-bottom: 1px solid var(--lounge-border); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: #fff; }
    .mobile-filter-header h3 { margin:0; font-size:18px; font-weight:800; }
    .mobile-filter-body { flex: 1; overflow-y: auto; padding: 20px; }
    .mobile-filter-footer { padding: 20px; border-top: 1px solid var(--lounge-border); display: flex; gap: 10px; }
    .mobile-apply-btn { flex: 2; height: 48px; background: var(--lounge-text-main); border: none; border-radius: 8px; color: #fff; font-weight: 700; font-size: 16px; }
    .mobile-reset-btn { flex: 1; height: 48px; background: #f3f4f6; border: 1px solid #d1d5db; border-radius: 8px; color: #4b5563; font-weight: 700; font-size: 16px; }
    .filter-toggle-btn { display: inline-flex; align-items: center; justify-content: center; background-color: #fff; border: 1px solid var(--lounge-border); color: var(--lounge-text-main); font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 50px; text-decoration: none !important; transition: all 0.2s ease; gap: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }

/* FINAL-16.10 V1 (Nachtrag 38): Bild im Kopf so hoch wie auf DealooPlus (400 x 260), damit die Ueberschrift an derselben Stelle steht */
.dl-area-top .dlp-hero-art svg { max-width: 347px; }
.dl-area-top .dlp-hero-grid { align-items: start; } .dl-area-top .dlp-hero-art { align-self: center; }
