/* ==========================================================================
   DARKWULF DESIGN SYSTEM & DASHBOARD STYLESHEET (style.css)
   Architektur-Standard gem. AGENTS.md (Regel 2.A.4 - Strict Separation of Concerns)
   Zentraler Stylesheet-Monolith (Single Source of Truth) im Flat Dark Block Schema
   ==========================================================================
   INHALTSVERZEICHNIS / TABLE OF CONTENTS:
   01. CSS Variablen, Global Reset & Typografie (:root, body)
   02. Navigation & Sidebar (.sidebar, .nav-item, platform switcher)
   03. Header, Server-Auswahl & Benutzerprofil (.profile-menu, .server-dropdown)
   04. Dashboard Übersicht & Plugin Grid (.dashboard-section, .plugins-grid, .stat-card)
   05. Allgemeine Formular-Elemente & Controls (.form-group, .form-control, .switch)
   06. Flat Dark Block Standard-Komponenten (.dw-card, .dw-ticket-card, .dw-counter-pill)
   07. Aktionsleisten & Zurück-Buttons (.dw-actions, .dash-actions, .dw-btn-back, .dash-btn-back)
   08. Visueller Embed Builder & Message Designer (.dw-visual-editor-*, .dw-visual-embed-*)
   09. Ticket-System & Konfiguration (.dw-ticket-*, .ticket-panel-*, .ticket-role-picker)
   10. Moderation & AutoMod (.dw-mod-*, .automod-*, .mod-action-*)
   11. Willkommens- & Abschieds-Designer (.dw-welcome-*, .dw-welcome-card)
   12. Server-Emojis & Reaktionsrollen (.dw-emoji-*, .dw-reaction-*, .emoji-grid)
   13. Eigene Befehle / Custom Commands (.dw-cmd-*, .cmd-table)
   14. Gameserver-Monitor (.dw-gameserver-*, .dw-server-info-*)
   15. Musik-Player & Warteschlange (.dw-music-*, .dw-player-*, .mp-queue-*)
   16. Level-System, Wirtschaft & Sammelkarten (.tcg-card-*, .level-card-*)
   17. Audit-Logs & Tabellen-Filter (.log-table-*, .log-filter-*)
   18. Modale Dialoge & Overlays (.dw-modal-*, .dw-ticket-modal)
   19. DarkWulf-BEM Kanonische Aliases (.dw-*)
   20. Responsive Layouts & Breakpoints (@media)
   ========================================================================== */

/* ==========================================================================
   01. CSS VARIABLEN, GLOBAL RESET & TYPOGRAFIE
   ========================================================================== */
:root {
            /* Mapped to mp.txt Discord Theme */
            --bg-dark: #111214;   /* Sidebar, Tooltips */
            --bg-mid: #1E1F22;    /* Main Background */
            --bg-light: #2B2D31;  /* Panels, Cards, Hover States */
            
            --text-main: #FFFFFF;
            --text-muted: #D4D4D8;
            --text-sub: #A1A1AA;
            
            --border-color: rgba(0,0,0,0.2);
            --border-light: rgba(255,255,255,0.05);
            
            --accent-green: #23A559;
            --accent-green-hover: #1f914e;
            --accent-red: #DA373C;
            --accent-discord: #5865F2;
        }

        body { 
            font-family: 'Inter', Arial, sans-serif; 
            background: var(--bg-mid); 
            color: var(--text-main); 
            margin: 0;
            display: flex;
            flex-direction: column;
            height: 100vh;
            overflow: hidden;
        }

        /* PROFILE DROPDOWN */
        .profile-menu-container {
            position: relative;
        }
        .profile-pic {
            background: var(--bg-light);
            cursor: pointer;
            transition: opacity 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }
        .profile-pic:hover {
            opacity: 0.8;
        }
        .dropdown-menu {
            display: none;
            position: absolute;
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: 0;
            width: 150px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
            z-index: 100;
            overflow: hidden;
        }
        .dropdown-menu.active {
            display: block;
        }
        .dropdown-item {
            padding: 12px 15px;
            color: var(--text-main);
            text-decoration: none;
            display: block;
            font-size: 14px;
            font-weight: 500;
            transition: background 0.2s;
        }
        .dropdown-item:hover {
            background: var(--bg-light);
        }
        .dropdown-item.logout {
            color: var(--accent-red);
        }

        /* MAIN WRAPPER (Below header, holds sidebar and content) */
        .main-wrapper {
            flex: 1;
            display: flex;
            flex-direction: row;
            overflow: hidden;
            height: 100vh;
        }

        /* SIDEBAR */
        .sidebar {
            width: 250px;
            background: #111214;
            display: flex;
            flex-direction: column;
            border-right: none;
            overflow: hidden;
            flex-shrink: 0;
            padding-top: 0;
        }

        .sidebar-scroll-area {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
        }

        /* SIDEBAR PROFILE */
        .sidebar-profile {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        .sidebar-avatar {
            width: 100%;
            height: 84px; /* Fixed height to crop vertical transparency while matching original header height */
            border-radius: 0;
            overflow: hidden;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
        }
        .sidebar-avatar img {
            width: 100%;
            max-width: 220px;
            height: auto;
            object-fit: contain;
        }
        .sidebar-profile-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .sidebar-bot-name {
            font-weight: 700;
            color: #fff;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .online-dot {
            color: var(--accent-green);
            font-size: 12px;
        }
        .sidebar-uptime {
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 500;
        }

        /* PLATFORM SWITCHER */
        .platform-switcher {
            padding: 15px 20px 0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .platform-btn {
            padding: 6px 0;
            text-align: center;
            border-radius: 0;
            font-size: 12px;
            font-weight: 600;
            text-decoration: none;
            transition: background 0.2s, box-shadow 0.2s;
            color: #D4D4D8;
            background: transparent;
        }
        .platform-btn:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
        .platform-btn.discord-btn.active { background: #5865F2; color: #fff; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1); }
        .platform-btn.discord-btn.active:hover { background: #4752C4; }
        .platform-btn.twitch-btn.active { background: #9146FF; color: #fff; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1); }
        .platform-btn.twitch-btn.active:hover { background: #772ce8; }
        .platform-btn.tiktok-btn.active { background: #ff0050; color: #fff; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1); }
        .platform-btn.youtube-btn.active { background: #FF0000; color: #fff; box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1); }

        /* =========================================
           dash-STYLE SERVER SWITCHER CARD
           Matches DarkWulf.gg layout in DarkWulf board style (border-radius: 3px)
        ========================================= */
        .server-switcher {
            margin: 14px 14px 10px 14px;
            position: relative;
            user-select: none;
        }
        
        .server-switcher-card {
            background: #1E1F22;
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 0;
            padding: 9px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        .server-switcher-card:hover {
            background: #25272b;
            border-color: rgba(255, 255, 255, 0.12);
        }

        .server-switcher.active .server-switcher-card {
            background: #25272b;
            border-color: rgba(245, 158, 11, 0.45);
        }

        .server-switcher-left {
            display: flex;
            align-items: center;
            gap: 11px;
            min-width: 0;
            flex: 1;
        }

        /* Live Icon with glowing golden/amber border ring */
        .server-switcher-icon-glow {
            position: relative;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .server-switcher-icon {
            width: 42px;
            height: 42px;
            border-radius: 0;
            border: 2px solid #f59e0b;
            box-shadow: 0 0 10px rgba(245, 158, 11, 0.55), 0 0 3px rgba(245, 158, 11, 0.85);
            background: #1c1d21;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .server-switcher-card:hover .server-switcher-icon {
            transform: scale(1.02);
            box-shadow: 0 0 14px rgba(245, 158, 11, 0.7), 0 0 4px rgba(245, 158, 11, 0.95);
        }

        .server-switcher-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0;
            display: block;
        }

        .server-switcher-initials {
            font-size: 15px;
            font-weight: 700;
            color: #f59e0b;
            letter-spacing: 0.5px;
            text-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
        }

        /* Server Metadata: Name + Sparkle + Members */
        .server-switcher-meta {
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;
            flex: 1;
        }

        .server-switcher-title-row {
            display: flex;
            align-items: center;
            gap: 5px;
            min-width: 0;
        }

        .server-switcher-name {
            font-size: 14px;
            font-weight: 700;
            color: #ffffff;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.25;
            letter-spacing: -0.2px;
        }

        .server-switcher-sparkle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #e2e8f0;
            opacity: 0.85;
            flex-shrink: 0;
            filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.45));
        }

        .server-switcher-sub {
            font-size: 12px;
            color: #8a8f98;
            font-weight: 400;
            line-height: 1.25;
            margin-top: 2.5px;
            letter-spacing: 0.1px;
        }

        /* Dual-chevron vertical switcher icon */
        .server-switcher-chevrons {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #8e9297;
            margin-left: 6px;
            flex-shrink: 0;
            transition: color 0.2s ease, transform 0.2s ease;
        }

        .server-switcher-card:hover .server-switcher-chevrons {
            color: #ffffff;
        }

        .server-switcher.active .server-switcher-chevrons {
            color: #f59e0b;
        }

        /* Server Dropdown Menu */
        .server-switcher-menu {
            display: none;
            position: absolute;
            top: calc(100% + 5px);
            left: 0;
            right: 0;
            background: #1E1F22;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 0;
            z-index: 1000;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
            padding: 6px;
            max-height: 360px;
            overflow-y: auto;
        }

        .server-switcher.active .server-switcher-menu {
            display: block;
            animation: serverDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes serverDropdownFade {
            from {
                opacity: 0;
                transform: translateY(-4px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .server-switcher-menu-header {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.7px;
            color: #8a8f98;
            padding: 6px 10px 8px 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            margin-bottom: 6px;
        }

        .server-dropdown-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            border-radius: 0;
            text-decoration: none;
            color: #d4d4d8;
            transition: all 0.15s ease;
            position: relative;
        }

        .server-dropdown-item:hover {
            background: rgba(255, 255, 255, 0.05);
            color: #ffffff;
        }

        .server-dropdown-item.active-server {
            background: rgba(245, 158, 11, 0.1);
            color: #ffffff;
        }

        .server-dropdown-icon-glow {
            position: relative;
            flex-shrink: 0;
        }

        .server-dropdown-icon {
            width: 32px;
            height: 32px;
            border-radius: 0;
            background: #232428;
            border: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            color: #f59e0b;
            overflow: hidden;
            transition: border-color 0.15s ease;
        }

        .server-dropdown-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0;
        }

        .server-dropdown-icon-glow.is-active-glow .server-dropdown-icon {
            border-color: #f59e0b;
            box-shadow: 0 0 8px rgba(245, 158, 11, 0.45);
        }

        .server-dropdown-meta {
            flex: 1;
            min-width: 0;
        }

        .server-dropdown-name {
            font-size: 13.5px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }

        .server-dropdown-members {
            font-size: 11.5px;
            color: #8a8f98;
            margin-top: 2px;
        }

        .server-dropdown-check {
            color: #f59e0b;
            font-size: 12px;
            margin-left: 4px;
            flex-shrink: 0;
        }

        /* =========================================
           STATISTICS OVERVIEW (BOARD STYLE)
           border-radius: 3px, #1E1F22, crisp aesthetics
        ========================================= */
        .stats-overview-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            margin-bottom: 0;
        }

        @media (max-width: 1200px) {
            .stats-overview-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .stats-overview-grid {
                grid-template-columns: 1fr;
            }
        }

        .stat-card {
            background: #2B2D31;
            border: none;
            border-radius: 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            height: 180px;
            box-sizing: border-box;
        }

        .stat-card-body {
            padding: 16px 18px 0 18px;
            position: relative;
            z-index: 2;
        }

        .stat-card-label {
            font-size: 13.5px;
            font-weight: 500;
            color: var(--text-muted);
        }

        .stat-card-value {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-main);
            line-height: 1.1;
            margin: 6px 0 8px 0;
        }

        .stat-card-trend {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            font-weight: 600;
        }

        .stat-card-trend--green {
            color: #23A559;
        }

        .stat-card-trend--red {
            color: #DA373C;
        }

        .stat-card-trend--neutral {
            color: #A1A1AA;
        }

        .stats-live-badge {
            background: #111214;
            color: #F2F3F5;
            padding: 3px 9px;
            border-radius: 0;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-left: 8px;
            vertical-align: middle;
        }

        .stats-live-badge__dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #23A559;
            display: inline-block;
        }

        .stats-empty-hint {
            background: #1E1F22;
            color: #A1A1AA;
            padding: 18px;
            border-radius: 0;
            font-size: 13px;
            text-align: center;
        }

        .stat-card-chart {
            width: 100%;
            height: 70px;
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1;
            pointer-events: none;
        }

        .stat-card-chart svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        /* NAVIGATION ACCORDION */
        details.nav-accordion {
            margin: 0;
            border-bottom: 1px solid rgba(255,255,255,0.02);
        }
        summary.nav-accordion-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px 10px 20px;
            font-size: 11px;
            font-weight: 800;
            color: var(--text-muted);
            text-transform: uppercase;
            cursor: pointer;
            list-style: none;
            letter-spacing: 0.5px;
            transition: color 0.2s;
        }
        summary.nav-accordion-header:hover {
            color: var(--text-main);
        }
        summary.nav-accordion-header::-webkit-details-marker {
            display: none;
        }
        .nav-chevron {
            font-size: 10px;
            transition: transform 0.2s;
            opacity: 0.5;
        }
        details[open] summary.nav-accordion-header .nav-chevron {
            transform: rotate(180deg);
        }
        .nav-accordion-content {
            display: flex;
            flex-direction: column;
            padding-bottom: 10px;
        }
        
        .sidebar-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.05);
            margin: 8px 20px;
        }
        
        .invite-bot-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: rgba(88, 101, 242, 0.15);
            border: 1px solid rgba(88, 101, 242, 0.35);
            color: #8fa0e6;
            padding: 8px 10px;
            border-radius: 0;
            font-size: 13px;
            font-weight: 500;
            text-decoration: none;
            transition: background 0.2s, border-color 0.2s, color 0.2s;
        }
        .invite-bot-btn:hover {
            background: rgba(88, 101, 242, 0.25);
            border-color: rgba(88, 101, 242, 0.6);
            color: #a5b4f3;
        }
        
        .nav-item {
            margin: 2px 0;
            height: 42px;
            padding: 0 20px 0 32px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--text-muted);
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: background 0.1s, color 0.1s;
            position: relative;
            border-radius: 0;
        }
        .nav-section > .nav-item {
            padding: 0 20px 0 32px;
        }
        .nav-item:hover {
            background: rgba(255, 255, 255, 0.03);
            color: var(--text-main);
        }
        .nav-item.active {
            background: rgba(240, 71, 71, 0.1); 
            color: #F04747;
            border-left: none;
            border-right: 3px solid #F04747;
        }
        .nav-section > .nav-item.active {
            padding-left: 32px;
        }
        .nav-icon {
            font-size: 16px;
            width: 24px;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            transition: color 0.1s;
        }
        .nav-item.active .nav-icon {
            color: #F04747;
        }
        .nav-item:hover .nav-icon {
            color: var(--text-main);
        }
        a.nav-link {
            text-decoration: none;
            color: inherit;
        }

        /* SCROLLABLE CONTENT */
        .content {
            flex: 1;
            padding: 40px;
            overflow-y: auto;
            background: 
                linear-gradient(rgba(17, 18, 20, 0.45), rgba(17, 18, 20, 0.65)),
                url('../images/login_bg.jpg') center/cover no-repeat fixed;
            box-sizing: border-box;
            zoom: 0.9;
        }

        /* Global Centered Content Container */
        .site-content-container {
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            box-sizing: border-box;
        }

        h1.page-title { 
            font-size: 24px;
            font-weight: 700;
            margin: 0 0 5px 0;
            color: var(--text-main);
        }
        .page-subtitle {
            font-size: 14px;
            color: var(--text-muted);
            margin-bottom: 30px;
        }

        /* COMMANDS TABLE */
        .commands-table th {
            color: var(--text-main);
        }
        .commands-table td {
            color: var(--text-muted);
        }
        .commands-table tr {
            transition: background-color 0.2s;
            border-bottom: 1px solid var(--border-color);
        }
        
        .commands-table tr:hover,
        .commands-table tr:hover td {
            background-color: var(--bg-dark);
            color: var(--text-main) !important;
        }
        .commands-table tr:hover span {
             color: var(--text-main) !important;
        }

        /* PLUGINS GRID */
        .plugins-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            grid-auto-rows: 1fr;
            gap: 20px;
            margin-bottom: 40px;
            align-items: stretch;
        }

        .plugins-grid-2 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
            align-items: stretch;
        }

        /* PLUGIN CARD */
        .plugin-card {
            background: #2b2d31;
            border-radius: 0;
            display: flex;
            flex-direction: column;
            border: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            transition: all 0.2s;
            min-height: 420px;
            cursor: pointer;
            overflow: hidden;
        }
        
        .static-card {
            cursor: default !important;
        }

        /* TOOLTIP CLASSES */
        .help-tooltip-container {
            position: relative;
            display: inline-block;
            cursor: pointer;
            margin-left: 8px;
            line-height: 1;
        }
        
        .help-tooltip-icon {
            color: var(--text-muted);
            font-size: 14px;
            transition: color 0.2s;
        }
        
        .help-tooltip-container:hover .help-tooltip-icon {
            color: #fff;
        }
        
        .help-tooltip-content {
            position: absolute;
            top: 150%;
            left: 50%;
            transform: translateX(-50%);
            background: #111214;
            /* No semi-transparent border per UI guidelines */
            border: none;
            border-radius: 0;
            padding: 12px;
            width: 280px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.5);
            z-index: 100;
            font-size: 12px;
            color: var(--text-muted);
            font-family: 'Inter', sans-serif;
            font-weight: normal;
            line-height: 1.5;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
        }
        
        .help-tooltip-container:hover .help-tooltip-content {
            opacity: 1 !important;
            visibility: visible !important;
        }
        
        .help-tooltip-content::after {
            content: '';
            position: absolute;
            bottom: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: transparent transparent #111214 transparent;
        }
        
        .help-tooltip-header {
            font-weight: 600;
            color: #fff;
            margin-bottom: 8px;
            font-size: 13px;
        }
        
        .help-tooltip-list {
            display: flex;
            flex-direction: column;
            gap: 6px;
            text-transform: none;
        }
        
        .help-tooltip-code {
            background: #2b2d31; /* Replaced rgba */
            padding: 2px 4px;
            border-radius: 0;
            color: #fff;
            font-family: monospace;
        }

        .plugin-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #111214;
            padding: 15px 20px;
            border-bottom: none;
            border-radius: 0;
        }
        .plugin-header-left {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 15px;
            font-weight: 800;
            color: #f2f3f5;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .plugin-header-right {
            display: flex;
            align-items: center;
            color: #80848e;
            font-size: 16px;
        }
        
        /* No absolute plugin-icon anymore */
        
        .plugin-badge {
            background: rgba(255, 215, 0, 0.1);
            color: #ffd700;
            padding: 4px 8px;
            border-radius: 0;
            font-size: 11px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* UPTIME INDICATOR */
        .uptime-container {
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            margin-left: -15px; /* Pull it slightly closer to the logo */
            padding-top: 2px;
            color: var(--text-muted);
            gap: 4px;
        }
        .uptime-online {
            color: var(--accent-green);
        }
        .uptime-offline {
            color: var(--accent-red);
        }
        
        .plugin-badge.new {
            background: rgba(46, 204, 113, 0.1);
            color: #2ecc71;
        }

        /* No plugin-title absolute class anymore */
        
        .plugin-desc {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
            padding: 20px;
            flex-grow: 1;
            min-height: 0;
            background: #383A40;
        }
        
        .scrollable {
            overscroll-behavior: contain;
        }

        .plugin-footer {
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            border-top: none;
            background: #111214;
            border-radius: 0;
        }

        /* STATUS TILE ENHANCEMENTS */
        .status-desc-padded {
            padding: 20px !important;
        }
        .status-plugin-card {
            text-decoration: none;
        }
        .status-server-prefix-label {
            color: var(--text-muted); 
            font-size: 13px; 
            margin-right: 5px;
        }
        .status-server-icon {
            width: 16px; 
            height: 16px; 
            border-radius: 0;
        }
        .status-server-name-container {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 5px;
        }
        .status-server-name {
            font-size: 15px; 
            color: white; 
            display: block; 
        }
        .status-members-row {
            display: flex; 
            gap: 10px; 
            margin-bottom: 8px;
        }
        .status-metrics-grid-top {
            margin-top: 5px;
        }
        .status-metrics-grid {
            display: flex; 
            flex-direction: column; 
            gap: 16px; 
            font-size: 14px;
        }
        .status-metric-normal-weight {
            font-weight: normal;
        }
        .status-metric-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .status-user-row {
            display: flex; 
            align-items: center; 
            gap: 6px; 
            margin-top: 2px;
        }
        .status-metric-label {
            color: var(--text-muted);
        }
        .status-metric-value {
            font-weight: 600;
            color: white;
        }
        .status-online {
            color: var(--text-main); /* 'Online' word in white */
        }
        .status-online-dot {
            color: var(--accent-green);
        }
        .status-offline {
            color: var(--accent-red) !important;
        }
        .status-offline-dot {
            color: var(--accent-red) !important;
        }
        .status-number-white {
            color: white;
            font-weight: 600;
        }
        .status-number-green {
            color: var(--accent-green) !important;
            font-weight: 600;
        }
        .status-number-red {
            color: var(--accent-red) !important;
            font-weight: 600;
        }
        .status-ping-good {
            color: var(--accent-green) !important;
        }
        .status-ping-medium {
            color: var(--accent-gold) !important;
        }
        .status-ping-bad {
            color: var(--accent-red) !important;
        }
        .status-commands-row {
            display: flex; 
            gap: 15px; 
            color: var(--text-muted); 
            font-size: 13px;
        }
        .status-cmd-number {
            color: white; 
            font-weight: 600;
        }
        .status-cmd-separator {
            margin: 0 4px;
        }
        .status-footer-flex {
            justify-content: flex-start; 
            gap: 15px;
        }
        .status-cmd-item {
            color: var(--text-main); 
            font-size: 12px;
        }

        .plugin-btn {
            background: var(--bg-light);
            color: var(--text-main);
            border: none;
            padding: 6px 14px;
            border-radius: 0;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            width: max-content;
        }
        .plugin-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }
        
        /* Profile Connections */
        .profile-connections {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .profile-connection-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #1E1F22;
            padding: 12px 15px;
            border-radius: 0;
        }
        .profile-connection-info {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 600;
            color: #F2F3F5;
            font-size: 1.1em;
        }
        .profile-connection-info i {
            font-size: 1.4em;
        }
        .profile-connection-info i.fa-discord { color: #5865F2; }
        .profile-connection-info i.fa-twitch { color: #9146FF; }
        .profile-connection-info i.fa-tiktok { color: #ff0050; }
        .profile-connection-info i.fa-youtube { color: #FF0000; }

        .profile-connection-status {
            font-size: 0.9em;
        }

        /* PERMISSIONS CARD (User Page) */
        
        /* SPECIAL CARD (PROMO) */
        .plugin-card.promo-card {
            background: linear-gradient(135deg, #c084fc, #f472b6);
            border: none;
            color: white;
            justify-content: center;
            padding: 20px;
        }
        .promo-card .plugin-title {
            color: white;
            font-size: 20px;
            margin-bottom: 15px;
            font-weight: 800;
            line-height: 1.2;
        }
        .promo-card .plugin-desc {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 30px;
        }
        .promo-card .plugin-btn {
            background: white;
            color: #c084fc;
        }
        .promo-card .plugin-btn:hover {
            background: rgba(255, 255, 255, 0.9);
        }

        /* MEDIA QUERIES */
        @media (max-width: 1200px) {
            .plugins-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 900px) {
            .plugins-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* CARDS / CONTAINERS */
        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .card {
            background: var(--bg-dark);
            border-radius: 0;
            padding: 20px;
            transition: transform 0.2s, box-shadow 0.2s;
            border: 1px solid transparent;
        }
        .card:hover {
            border-color: var(--border-color);
        }
        
        .card-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        .card-icon {
            width: 48px;
            height: 48px;
            background: var(--bg-light);
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }
        .card-title {
            font-size: 16px;
            font-weight: 600;
        }
        .card-desc {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
            margin-bottom: 20px;
        }

        input[type="text"] { 
            width: 100%;
            padding: 12px 15px; 
            border: 1px solid var(--border-color); 
            border-radius: 0; 
            background: var(--bg-dark); 
            color: var(--text-main); 
            font-size: 14px;
            margin-bottom: 10px;
            box-sizing: border-box;
            outline: none;
        }
        input[type="text"]:focus {
            border-color: var(--text-muted);
        }

        button { 
            padding: 10px 20px; 
            border: none; 
            border-radius: 0; 
            background: var(--bg-light); 
            color: var(--text-main); 
            font-weight: 600; 
            cursor: pointer; 
            transition: 0.2s;
            display: inline-block;
            font-size: 14px;
        }
        button:hover { 
            background: #3f4147; 
        }

        /* MODERATION CARD DASHBOARD LIST */
        .mod-list-wrapper {
            display: flex; 
            flex-direction: column; 
            gap: 12px; 
            padding-right: 4px;
        }

        .mod-list-item {
            display: flex; 
            align-items: flex-start; 
            gap: 8px;
        }

        .mod-indicator {
            width: 8px; 
            height: 8px; 
            border-radius: 0; 
            display: inline-block; 
            margin-top: 5px; 
            flex-shrink: 0;
        }

        .mod-indicator-active {
            background: #43b581;
        }

        .mod-indicator-inactive {
            background: #666; /* Gray dot for inactive */
        }

        .mod-item-content {
            display: flex; 
            flex-direction: column;
        }

        .mod-item-title {
            font-weight: 500; 
            color: #fff; 
            font-size: 13px;
        }

        .mod-item-detail {
            color: #43b581; 
            font-size: 11px; 
            font-weight: 600; 
            margin-top: 2px;
        }

        .mod-item-detail-inactive {
            color: var(--text-muted); 
            font-size: 11px; 
            line-height: 1.4; 
            word-wrap: break-word;
        }

        /* MESSAGES */
        .msg { padding: 12px 15px; border-radius: 0; margin-bottom: 20px; font-weight: 500; font-size: 14px; border-left: 4px solid transparent; }
        .success { background: rgba(35, 165, 89, 0.1); border-left-color: var(--accent-green); color: var(--accent-green); }
        .error { background: rgba(218, 55, 60, 0.1); border-left-color: var(--accent-red); color: var(--accent-red); }

        /* TABLE */
        .table-container {
            background: var(--bg-dark);
            border-radius: 0;
            overflow: hidden;
            border: 1px solid var(--bg-dark); /* matching border to card style */
        }
        table { 
            width: 100%; 
            border-collapse: collapse; 
        }
        th, td { 
            padding: 15px 20px; 
            text-align: left; 
            font-size: 14px;
        }
        th { 
            background: var(--bg-light); 
            color: var(--text-muted); 
            font-weight: 600;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border-color);
        }
        td {
            border-bottom: 1px solid var(--border-color);
        }
        tr:last-child td {
            border-bottom: none;
        }
        tr:hover td { 
            background: var(--bg-light); 
        }
        td strong {
            background: var(--bg-mid);
            padding: 4px 8px;
            border-radius: 0;
            font-family: monospace;
            font-size: 13px;
        }

        button.delete-btn { 
            background: transparent; 
            color: var(--text-muted); 
            padding: 8px 12px; 
            font-size: 13px; 
            border: 1px solid var(--border-color);
        }

/* STATUS CARD STYLES */
.plugin-desc-status {
    line-height: 1.6;
    padding-bottom: 0;
}
.status-online {
    color: var(--accent-green);
    font-weight: 600;
}
.status-offline {
    color: var(--text-muted);
    font-weight: 600;
}
.status-divider {
    color: var(--text-muted);
    margin: 0 4px;
}
.plugin-footer-status {
    padding-top: 15px;
}
.status-commands-text {
    font-size: 12px;
    color: var(--text-muted);
}
.status-commands-count {
    color: var(--text-main);
    font-weight: 700;
}
.plugin-header-promo {
    background: transparent;
    border: none;
    padding-bottom: 0;
}
.plugin-footer-promo {
    justify-content: center;
}

/* TOGGLE SWITCHES */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;
  margin: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #80848E;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--accent-green);
}
input:checked + .slider:before {
  transform: translateX(16px);
}

/* PERMISSION TOGGLE STYLES */
.permission-toggles-container {
    width: 100%;
    margin-top: 10px;
}

.permission-toggles-wrapper {
    border-radius: 0;
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.permission-toggles-wrapper.scrollable {
    max-height: 150px;
    overflow-y: auto;
}

/* Custom Checkbox Button */
.custom-checkbox-btn {
    display: none;
}

.custom-checkbox-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #1e1f22;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-checkbox-label:hover {
    background: #2b2d31;
    color: #f2f3f5;
}

.custom-checkbox-btn:checked + .custom-checkbox-label {
    background: rgba(35, 165, 89, 0.1);
    border-color: #23A559;
    color: #23A559;
}

.permission-custom-user {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 5px;
}

.permission-custom-user-input {
    height: 44px;
    border: none;
    background: #1e1f22;
    color: white;
    border-radius: 0;
    padding: 0 15px;
    font-size: 14px;
    width: 100%;
}

.permission-empty-msg {
    color: var(--text-muted);
    font-size: 13px;
}

/* CUSTOM FORM LAYOUT */
.std-input {
    height: 44px;
    border: none;
    background: #111214;
    color: white;
    border-radius: 0;
    padding: 0 15px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.std-input:focus {
    outline: 1px solid var(--accent-green);
}

.std-input[readonly] {
    color: var(--text-muted);
    cursor: not-allowed;
}

.btn-save-green {
    background: #23A559;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    float: right;
}

.btn-save-green:hover {
    background: #1e8c4a;
}

.account-actions {
    display: flex;
    gap: 10px;
}

.btn-gray {
    background: #4E5058;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: 0.2s;
}

.btn-gray:hover {
    background: #6D6F78;
}

.form-stacked {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-textarea {
    min-height: 100px;
    padding-top: 15px;
    resize: none;
    font-family: inherit;
    line-height: 1.5;
}

/* SETTINGS CARD (Wider, Collapsible) */
.setting-card {
    background: var(--bg-dark);
    border-radius: 0;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    overflow: hidden;
}
.setting-card-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.setting-card-info {
    display: flex;
    flex-direction: column;
}
.setting-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
}
.setting-card-desc {
    font-size: 13px;
    color: var(--text-muted);
}
.setting-card-body {
    display: none;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* SETTINGS CARD FORM ELEMENTS */
.setting-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.setting-label .required {
    color: var(--accent-red);
}
.setting-select,
.setting-input {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    background: #111214;
    border: none;
    color: var(--text-main);
    border-radius: 0;
    font-size: 14px;
    outline: none;
    margin-bottom: 25px;
    box-sizing: border-box;
}
.setting-select {
    appearance: none;
    cursor: pointer;
}
.setting-select:focus,
.setting-input:focus {
    outline: 1px solid #7289da;
}
.setting-tabs {
    display: flex;
    border-bottom: 2px solid #2b2d31;
    margin-bottom: 25px;
    gap: 0;
}
.setting-tab {
    padding: 10px 20px;
    background: transparent;
    color: #949ba4;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 5px;
}
.setting-tab:hover:not(.active) {
    color: #dbdee1;
    background: rgba(255, 255, 255, 0.05);
}
.setting-tab.active {
    background: #383a40;
    color: #fff;
}
.setting-textarea {
    width: 100%;
    height: 120px;
    background: #111214;
    border: none;
    color: var(--text-main);
    border-radius: 0;
    padding: 15px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    outline: none;
    margin-bottom: 25px;
    box-sizing: border-box;
}
.setting-textarea:focus {
    outline: 1px solid #7289da;
}

/* INTERNAL TOGGLE ROW */
.internal-toggle-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.internal-toggle-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

/* PREVIEW BOX */
.preview-box {
    background: #2B2D31;
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 30px;
    display: flex;
    justify-content: center;
}
.preview-card {
    text-align: center;
    color: white;
}
.preview-avatar {
    width: 120px;
    height: 120px;
    border-radius: 0;
    border: 4px solid var(--bg-light);
    margin: 0 auto 15px auto;
    overflow: hidden;
    background: #c084fc;
}
.preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}
.preview-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}
/* RANGE SLIDER */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--bg-light);
    border-radius: 0;
    outline: none;
    margin-top: 15px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    margin-top: -5px;
}
input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    border: none;
}
/* PROFILE STYLES */
.profile-picture-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}
.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 0;
    border: 4px solid var(--accent-red);
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.remove-pic {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--accent-red);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    border: none;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
}
.profile-picture-wrapper:hover .remove-pic {
    opacity: 1;
}
.drag-drop-box {
    border: 1px dashed var(--text-muted);
    border-radius: 0;
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 15px;
}
.drag-drop-box:hover {
    border-color: var(--text-main);
    background: rgba(255,255,255,0.02);
}
#file_upload {
    display: none;
}

/* EMBED FORM CSS */
.embed-form-container {
    display: none;
    margin-top: 20px;
    border-left: 3px solid #00a8fc; /* Blue stripe default */
    padding-left: 15px;
}
.embed-form-container.active {
    display: block;
}
.text-form-container {
    display: none;
    margin-top: 20px;
}
.text-form-container.active {
    display: block;
}
.setting-tabs-alt {
    display: inline-flex;
    background: #111214; 
    border-radius: 0;
    padding: 3px;
    margin-bottom: 25px;
    gap: 2px;
}
.setting-tab-alt {
    padding: 10px 24px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.setting-tab-alt.active {
    background: #313338;
    color: #fff;
    border: 1px solid #23A559;
}
.setting-tab-alt:hover:not(.active) {
    color: var(--text-main);
}
.embed-preview-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 6px 12px;
    border-radius: 0;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
    border: 1px solid var(--border-color);
}
.color-picker-row {
    margin-bottom: 25px;
}
.color-picker-circles {
    display: flex;
    gap: 10px;
    background: #111214;
    padding: 10px;
    border-radius: 0;
    width: max-content;
    border: 1px solid var(--border-color);
    margin-top: 8px;
}
.color-circle {
    width: 14px;
    height: 14px;
    border-radius: 0;
    cursor: pointer;
    border: 2px solid transparent;
}
.color-circle.active {
    border-color: #fff;
}
.embed-field-group {
    margin-bottom: 20px;
}
.embed-input-row {
    display: flex;
    gap: 15px;
    align-items: center;
}
.embed-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-light);
    border: none;
    color: var(--text-main);
    border-radius: 0;
    font-size: 14px;
    outline: none;
}
.embed-input:focus {
    outline: 1px solid #7289da;
}
.embed-avatar-upload {
    width: 44px;
    height: 44px;
    background: #111214;
    border: 1px dashed var(--text-muted);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    flex-shrink: 0;
}
.embed-image-upload {
    width: 80px;
    height: 80px;
    background: transparent;
    border: 1px dashed var(--text-muted);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 8px;
}

/* SAVE CHANGES BAR */
.save-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: 90%;
    max-width: 800px;
    background: #2B2D31;
    padding: 12px 20px;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.save-bar.active {
    transform: translateX(-50%) translateY(0);
}
.save-bar-text {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.save-bar-actions {
    display: flex;
    gap: 15px;
}
.btn-cancel {
    background: #4e5058;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-cancel:hover {
    background: #6d6f78;
}
.btn-save {
    background: #5865F2;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-save:hover {
    background: #4752c4;
}
        /* PROFILE LAYOUT */
        .profile-grid {
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 30px;
            align-items: start;
        }

        .panel {
            background: var(--bg-light);
            border-radius: 0;
            border: 1px solid var(--border-color);
            overflow: hidden;
            margin-bottom: 30px;
        }
        .panel-header {
            background: var(--bg-dark);
            padding: 15px 20px;
            font-size: 13px;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border-color);
        }
        .panel-body {
            padding: 30px 20px;
        }

        /* PROFILE PICTURE SECTION */
        .profile-picture-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 25px;
            position: relative;
        }
        .profile-picture {
            width: 120px;
            height: 120px;
            border-radius: 0;
            border: 3px solid var(--accent-red);
            padding: 5px;
            background: var(--bg-dark);
            overflow: hidden;
            position: relative;
        }
        .profile-picture img {
            width: 100%;
            height: 100%;
            border-radius: 0;
            object-fit: cover;
        }
        .remove-pic {
            position: absolute;
            top: 0;
            right: 50px; /* roughly top-right of the circle */
            background: var(--accent-red);
            color: #fff;
            width: 24px;
            height: 24px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            cursor: pointer;
            border: 2px solid var(--bg-dark);
        }
        .drag-drop-box {
            background: #111214;
            border: 1px dashed var(--border-color);
            border-radius: 0;
            padding: 15px;
            text-align: center;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 15px;
            cursor: pointer;
            transition: 0.2s;
        }
        .drag-drop-box:hover {
            border-color: var(--text-main);
            color: var(--text-main);
        }
        .upload-btn {
            width: 100%;
            padding: 10px;
            background: var(--bg-light);
            color: var(--text-main);
            border: none;
            border-radius: 0;
            font-weight: 600;
            cursor: pointer;
            font-size: 13px;
            margin-bottom: 25px;
        }
        .upload-btn:hover { background: #3f4147; }
        .color-picker-label {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 10px;
            display: block;
        }
        .color-swatch {
            width: 36px;
            height: 36px;
            background: var(--accent-red);
            border-radius: 0;
            cursor: pointer;
        }

        /* FORM GRIDS */
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-bottom: 20px;
        }
        .form-group {
            display: flex;
            flex-direction: column;
        }
        .form-group label {
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 8px;
        }
        .form-group input[type="text"],
        .form-group input[type="password"] {
            padding: 12px 15px;
            border: 1px solid var(--border-color);
            background: var(--bg-dark);
            color: var(--text-main);
            border-radius: 0;
            font-size: 14px;
            outline: none;
        }
        .form-group input[type="text"]:focus,
        .form-group input[type="password"]:focus {
            border-color: var(--text-muted);
        }

        .btn-save {
            background: var(--bg-light);
            color: var(--text-main);
            border: none;
            padding: 10px 20px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 0;
            cursor: pointer;
            float: right;
            transition: 0.2s;
        }
        .btn-save:hover { background: #3f4147; }

        .btn-primary {
            background: var(--accent-red);
            color: #fff;
            border: none;
            padding: 10px 20px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 0;
            cursor: pointer;
            transition: 0.2s;
        }
        .btn-primary:hover { background: #b22d30; }

        /* MESSAGES */
        .msg { padding: 12px 15px; border-radius: 0; margin-bottom: 20px; font-weight: 500; font-size: 14px; border-left: 4px solid transparent; }
        .success { background: rgba(35, 165, 89, 0.1); border-left-color: var(--accent-green); color: var(--accent-green); }
        .error { background: rgba(218, 55, 60, 0.1); border-left-color: var(--accent-red); color: var(--accent-red); }
        
        /* Account Action Row */
        .account-actions {
            display: flex;
            gap: 15px;
            justify-content: flex-start;
        }

        .page-title { margin-top: 0; margin-bottom: 5px; font-size: 24px; color: var(--text-main); }
        .page-subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; }
        
        .panel-container {
            display: flex;
            gap: 20px;
        }
        
        .main-column { flex: 1; }
        
        .setting-card {
            background: var(--bg-light);
            border-radius: 0;
            margin-bottom: 15px;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }
        
        .setting-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            background: transparent;
        }
        
        .setting-card-info { flex: 1; padding-right: 20px; }
        .setting-card-title { font-weight: 600; font-size: 16px; margin-bottom: 5px; color: var(--text-main); }
        .setting-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.4; }
        
        .setting-card-body {
            padding: 20px;
            border-top: 1px solid var(--border-color);
            display: none;
            background: transparent;
        }
        
        .setting-card.expanded .setting-card-body { display: block; }

        .setting-card-toggle {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s, color 0.2s;
            margin-right: 15px;
        }
        .setting-card-toggle:hover {
            color: var(--text-main);
        }
        .setting-card.expanded .setting-card-toggle {
            transform: rotate(180deg);
        }

        .mod-input-small {
            width: 100%;
            padding: 12px 15px;
            border-radius: 0;
            border: none;
            background: var(--bg-light);
            color: var(--text-main);
            outline: none;
            font-size: 14px;
            margin-top: 0;
            box-sizing: border-box;
            transition: outline 0.2s;
        }
        .mod-input-small:focus {
            outline: 1px solid #7289da !important;
        }
        .setting-card-header .switch {
            margin-left: auto;
        }
        
        /* MODERATION SPECIFIC CLASSES */
        .mod-add-word-row { display: flex; gap: 10px; margin-bottom: 20px; }
        .mod-add-word-input { flex: 1; padding: 12px 15px; border-radius: 0; border: none; background: var(--bg-light); color: var(--text-main); outline: none; }
        .mod-add-word-input:focus { outline: 1px solid #7289da; }
        .mod-add-word-btn { background: var(--accent-blue); color: white; border: none; padding: 0 20px; border-radius: 0; font-weight: 600; cursor: pointer; transition: 0.2s; }
        .mod-add-word-btn:hover { filter: brightness(1.1); }
        
        .mod-label-mt { margin-top: 10px; }
        .mod-word-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
        .mod-word-item { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); padding: 6px 12px; border-radius: 0; font-size: 13px; display: flex; align-items: center; gap: 8px; color: var(--text-main); }
        .mod-word-delete { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0; font-size: 14px; line-height: 1; transition: 0.2s; }
        .mod-word-delete:hover { color: var(--accent-red); }
        
        .mod-empty-text { color: var(--text-muted); font-size: 13px; font-style: italic; }
        
        .mod-sub-toggles { display: flex; flex-direction: column; gap: 15px; margin-bottom: 5px; }
        .mod-sub-toggle-row { display: flex; align-items: center; gap: 12px; cursor: pointer; }
        .mod-sub-toggle-text { font-size: 14px; font-weight: 500; color: var(--text-main); }
        .mod-label-mt20 { margin-top: 20px; }
        
        .mod-settings-row {
            display: grid;
            grid-template-columns: minmax(200px, 300px) 150px 150px;
            gap: 20px;
            align-items: end;
            justify-content: start;
        }
        @media (max-width: 768px) {
            .mod-settings-row {
                grid-template-columns: 1fr;
            }
        }
        .mod-setting-group {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }
        
        .mod-settings-row .setting-select {
            margin-bottom: 0;
        }
        
        .mod-layout-split {
            display: grid;
            grid-template-columns: minmax(250px, 400px) 200px 1fr;
            column-gap: 30px;
            row-gap: 8px;
            justify-content: start;
        }
        @media (max-width: 768px) {
            .mod-layout-split {
                grid-template-columns: 1fr;
            }
        }
        .mod-layout-left {
            display: flex;
            flex-direction: column;
        }
        .mod-layout-right {
            display: flex;
            flex-direction: column;
            gap: 20px;
            justify-content: flex-start;
        }
        .mod-layout-right .setting-select {
            margin-bottom: 0;
        }
        

        .setting-label {
            display: block;
            margin-bottom: 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
        }
        
        
        .btn-apply {
            background: #2b2d31;
            color: var(--text-main);
            padding: 8px 16px;
            border-radius: 0;
            border: 1px solid var(--border-color);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-apply:hover {
            background: #313338;
        }

        .btn-save {
            background: #3ba55c;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 0;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 20px;
            font-size: 15px;
        }
        .btn-save:hover { background: #2d8247; }
        
        .alert-success {
            background: rgba(59, 165, 92, 0.2);
            border-left: 4px solid #3ba55c;
            padding: 15px;
            border-radius: 0;
            margin-bottom: 20px;
            color: var(--text-main);
        }



/* DISCORD PREVIEW FOR INDEX CARDS */
.discord-preview-container {
    background: rgba(0,0,0,0.2); 
    border-left: 3px solid #5865F2; 
    padding: 10px; 
    border-radius: 0; 
    margin-top: 5px; 
    font-size: 12px; 
}
.discord-preview-container--inactive {
    opacity: 0.5;
    filter: grayscale(100%);
    pointer-events: none;
}

.discord-preview-header {
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 5px;
}

.discord-preview-avatar {
    width: 20px; 
    height: 20px; 
    border-radius: 0; 
    background: transparent;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.discord-preview-bot-name {
    color: #fff; 
    font-size: 14px;
    font-weight: 500;
}

.discord-preview-bot-tag {
    background: #5865F2; 
    color: #fff;
    border-radius: 0; 
    padding: 0 4px; 
    font-size: 10px; 
    margin-left: -3px; 
    font-weight: 600;
    line-height: 1.3;
}

.discord-preview-content {
    color: #dcddde; 
    line-height: 1.4; 
    word-break: break-word;
}

.discord-preview-fade {
    display: none;
}

.discord-preview-mention {
    background: rgba(88, 101, 242, 0.3); 
    color: #c9cdfb; 
    padding: 0 3px; 
    border-radius: 0; 
    font-weight: 500;
}

.discord-preview-type-tag {
    font-weight: 600; 
    font-size: 10px; 
    margin-right: 5px; 
    text-transform: uppercase;
}

.discord-preview-type-kanal {
    color: #7289da;
}

.discord-preview-type-dm {
    color: #eb459e;
}

.discord-preview-type-role {
    color: #f1c40f;
}

/* Discord Embed Preview */
.discord-preview-embed {
    background: #2b2d31;
    border-left: 4px solid #7289da;
    border-radius: 0;
    padding: 10px;
    margin-top: 5px;
}
.discord-preview-embed--red {
    border-left-color: #F04747;
}
.discord-preview-embed--inactive {
    border-left-color: #A1A1AA;
}
.discord-preview-embed__author {
    color: #fff;
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 4px;
}
.discord-preview-embed__title {
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 6px;
}
.discord-preview-embed__desc {
    color: #c4c5c6;
    font-size: 11px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}
.discord-preview-embed__desc--scrollable {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

/* BOT JOIN / LEAVE STYLES */
.nav-item-danger {
    color: var(--accent-red);
}

.nav-item--back-user {
    color: var(--accent-green);
    background: #111214;
    border-left: 3px solid var(--accent-green);
    margin-bottom: 8px;
    font-weight: 600;
}

/* COMMANDS CARD HEADER MOVED TO BOTTOM */
/* MEMBER MANAGEMENT CUSTOM STYLES */
.page-header { margin-bottom: 30px; }
.page-title { margin-bottom: 10px; font-size: 28px; font-weight: 700; }
.page-subtitle { color: var(--text-muted); font-size: 15px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: rgba(88, 101, 242, 0.1);
    color: var(--accent-discord);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon-green {
    background: rgba(35, 165, 89, 0.1);
    color: var(--accent-green);
}

.stat-content h3 { font-size: 14px; color: var(--text-muted); margin: 0 0 5px 0; }
.stat-content p { font-size: 24px; font-weight: 700; margin: 0; color: var(--text-primary); }

.member-table-container {
    background: #2B2D31;
    border: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.table-header {
    background: #2B2D31;
    padding: 15px 20px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 10px 15px;
    color: #f2f3f5;
    width: 300px;
    font-family: inherit;
}
.search-box:focus { outline: 1px solid #7289da; }

.member-table-header {
    font-size: 16px;
    font-weight: 800;
    color: #f2f3f5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 15px 20px; font-size: 12px; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; border-bottom: 1px solid var(--border-color); }
td { padding: 15px 20px; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover { background: rgba(255,255,255,0.02); }

.user-cell { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 40px; height: 40px; border-radius: 0; object-fit: cover; background: #2f3136; }
.user-name { font-weight: 500; color: var(--text-primary); }
.user-id { font-size: 12px; color: var(--text-muted); }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
}
.status-dot { width: 8px; height: 8px; border-radius: 0; }

.status-online .status-dot { background: #43b581; box-shadow: 0 0 8px rgba(67, 181, 129, 0.4); }
.status-idle .status-dot { background: #faa61a; }
.status-dnd .status-dot { background: #f04747; }
.status-offline .status-dot { background: #747f8d; }

.action-actions { display: flex; gap: 8px; }
.btn-action {
    padding: 8px 12px; border: none; border-radius: 0; font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.btn-kick { background: rgba(250, 166, 26, 0.1); color: #faa61a; }
.btn-kick:hover { background: #faa61a; color: #fff; }
.btn-ban { background: rgba(240, 71, 71, 0.1); color: #f04747; }
.btn-ban:hover { background: #f04747; color: #fff; }

.success-banner {
    background: rgba(67, 181, 129, 0.1); padding: 15px 20px; border-left: 4px solid #43b581;
    border-radius: 0; color: #43b581; margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}

/* TABS SYSTEM */
.tabs-container {
    display: flex;
    border-bottom: 2px solid #2b2d31;
    margin-bottom: 25px;
    gap: 0;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #949ba4;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s;
    font-family: inherit;
    margin-right: 5px;
}

.tab-btn:hover:not(.active) {
    color: #dbdee1;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: #383a40;
    color: #fff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LOG TABLE SPECIFIC */
.log-action-KICK { color: #faa61a; font-weight: 600; }
.log-action-BAN { color: #f04747; font-weight: 600; }
.log-action-UNBAN { color: #43b581; font-weight: 600; }
.log-status-COMPLETED { color: #43b581; }
.log-status-FAILED { color: #f04747; }
.log-status-PENDING { color: #faa61a; }

/* MEMBER MANAGEMENT REFINEMENTS */
.member-table-empty { text-align:center; padding: 40px; color: var(--text-muted); }
.member-ban-avatar { display:flex; justify-content:center; align-items:center; background: rgba(240, 71, 71, 0.1); color: #f04747; }
.member-unban-btn { background: rgba(67, 181, 129, 0.1); color: #43b581; }
.log-date-cell { color: var(--text-muted); font-size: 13px; }
.log-userid-cell { font-family: monospace; font-size: 13px; }
.log-reason-text { margin-bottom: 4px; }
.log-status-badge { font-size: 12px; font-weight: 600; }
.swal-reason-text { font-size: 14px; margin-bottom: 15px; text-align: left; color: #dcddde; }
.swal-reason-input { width: 85%; font-size: 15px; margin: 0 auto 15px auto; }
.swal-dm-container { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
.swal-dm-checkbox { width: 18px; height: 18px; cursor: pointer; }
.swal-dm-label { font-size: 14px; color: #dcddde; cursor: pointer; }

/* Custom Sub-Scrollbar */
.scrollable::-webkit-scrollbar, .discord-dash__element-2::-webkit-scrollbar {
    width: 6px;
}
.scrollable::-webkit-scrollbar-track, .discord-dash__element-2::-webkit-scrollbar-track {
    background: transparent;
}
.scrollable::-webkit-scrollbar-thumb, .discord-dash__element-2::-webkit-scrollbar-thumb {
    background: var(--bg-dark);
    border-radius: 0;
}
.scrollable::-webkit-scrollbar-thumb:hover {
    background: #111;
}

/* REACTION ROLES */
.rr-emoji-cell {
    flex: 0 0 54px;
    height: 54px;
    display: flex;
}
.emoji-input {
    width: 100%;
    height: 100%;
    padding: 0;
    border-radius: 0;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: inherit;
    font-size: 24px;
    text-align: center;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;
    line-height: normal;
}
.rr-role-select {
    width: 100%;
    height: 54px;
    padding: 0 15px;
    border-radius: 0;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    appearance: none;
    cursor: pointer;
}

/* OVERVIEW DASHBOARD TILES */
.rr-overview-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.rr-overview-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.tile-status-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #111214;
    padding-top: 15px;
    margin-top: auto;
}
.tile-status-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}
.tile-status-counter {
    color: var(--text-muted);
    font-size: 13px;
}
.tile-status-active {
    color: #43b581;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.status-dot-active {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: #43b581;
    display: inline-block;
}
.tile-status-inactive {
    color: #f04747;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.status-dot-inactive {
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: #f04747;
    display: inline-block;
}

/* COMMANDS PAGE TABLES */
.commands-card-header {
    margin-bottom: 20px;
}
.commands-card-header h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--text-main);
}

/* X.COM NOTIFY WIDGET STYLES */
.twitter-subs-list {
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    margin-top: 5px; 
    overflow-y: auto; 
    max-height: 140px; 
    padding-right: 4px;
}
.twitter-sub-item {
    display: flex; 
    align-items: flex-start; 
    gap: 8px;
}
.twitter-dot {
    width: 8px; 
    height: 8px; 
    border-radius: 0; 
    background: #1DA1F2; 
    display: inline-block; 
    margin-top: 5px; 
    flex-shrink: 0;
}
.twitter-info-flex {
    display: flex; 
    flex-direction: column;
}
.twitter-username {
    font-weight: 500; 
    color: #fff; 
    font-size: 13px;
}
.twitter-sub-detail {
    color: var(--text-muted); 
    font-size: 11px; 
    line-height: 1.4; 
    word-wrap: break-word;
}

/* =========================================================
   GLOBAL AUTO-HIDING TOAST MESSAGES (Unten Mittig, 3s Auto-Hide)
   Erfolg in GrÃƒÂ¼n (#052014 / #1f6b43), Misserfolg in Rot (#200505 / #6b1f1f)
   ========================================================= */
.alert-success,
.alert-danger,
.alert-error,
.alert-warning,
.alert-success-box,
.alert-error-box,
.cards-alert-success,
.cards-alert-error,
.bp-alert,
.bp-alert-success,
.bp-alert-error,
.bp-alert-danger,
#successMessage,
#errorMessage,
.sa-success-box,
#restartAlert,
#broadcastAlert,
.global-toast {
    position: fixed !important;
    bottom: 30px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(0) !important;
    z-index: 999999 !important;
    padding: 13px 24px !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: auto !important;
    max-width: min(90vw, 650px) !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
    margin: 0 !important;
    animation: globalToastSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards, globalToastFadeDown 0.35s ease-in 3.0s forwards !important;
    white-space: normal !important;
    line-height: 1.4 !important;
}

/* Pause auto-dismiss animation on hover */
.alert-success:hover,
.alert-danger:hover,
.alert-error:hover,
.alert-warning:hover,
.alert-success-box:hover,
.alert-error-box:hover,
.cards-alert-success:hover,
.cards-alert-error:hover,
.bp-alert:hover,
.bp-alert-success:hover,
.bp-alert-error:hover,
.bp-alert-danger:hover,
#successMessage:hover,
#errorMessage:hover,
.sa-success-box:hover,
#restartAlert:hover,
#broadcastAlert:hover,
.global-toast:hover {
    animation-play-state: paused !important;
}

/* Smooth transition when closing via JS or close button */
.alert-success.toast-hiding,
.alert-danger.toast-hiding,
.alert-error.toast-hiding,
.alert-warning.toast-hiding,
.alert-success-box.toast-hiding,
.alert-error-box.toast-hiding,
.cards-alert-success.toast-hiding,
.cards-alert-error.toast-hiding,
.bp-alert.toast-hiding,
.bp-alert-success.toast-hiding,
.bp-alert-error.toast-hiding,
.bp-alert-danger.toast-hiding,
#successMessage.toast-hiding,
#errorMessage.toast-hiding,
.sa-success-box.toast-hiding,
#restartAlert.toast-hiding,
#broadcastAlert.toast-hiding,
.global-toast.toast-hiding {
    animation: none !important;
    opacity: 0 !important;
    transform: translateX(-50%) translateY(20px) !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Child layout reset inside toasts */
.alert-success > *,
.alert-danger > *,
.alert-error > *,
.alert-warning > *,
.alert-success-box > *,
.alert-error-box > *,
.global-toast > * {
    margin: 0 !important;
}

.alert-success .member_management__flex-center {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* ERFOLG (GrÃƒÂ¼n) */
.alert-success,
.alert-success-box,
.cards-alert-success,
.bp-alert-success,
#successMessage,
.sa-success-box,
#restartAlert,
#broadcastAlert,
.global-toast.global-toast-success {
    background: #052014 !important;
    border: 1px solid #1f6b43 !important;
    border-left: 1px solid #1f6b43 !important;
    color: #FFFFFF !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 12px rgba(35, 165, 89, 0.15) !important;
}

/* MISSERFOLG (Rot) */
.alert-danger,
.alert-error,
.alert-warning,
.alert-error-box,
.cards-alert-error,
.bp-alert-error,
.bp-alert-danger,
#errorMessage,
.global-toast.global-toast-error,
.automod-toast.automod-toast-error {
    background: #200505 !important;
    border: 1px solid #6b1f1f !important;
    border-left: 1px solid #6b1f1f !important;
    color: #FFFFFF !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 12px rgba(240, 71, 71, 0.2) !important;
}

/* Icons inside Toasts */
.alert-success svg,
.alert-success i,
.alert-success-box i,
.cards-alert-success i,
.bp-alert-success i,
#successMessage i,
.sa-success-box i,
#restartAlert i,
#broadcastAlert i,
.global-toast.global-toast-success .global-toast-icon {
    color: #23A559 !important;
    stroke: #23A559 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

.alert-danger svg,
.alert-danger i,
.alert-error svg,
.alert-error i,
.alert-warning svg,
.alert-warning i,
.alert-error-box svg,
.alert-error-box i,
.cards-alert-error svg,
.cards-alert-error i,
.bp-alert-error svg,
.bp-alert-error i,
.bp-alert-danger svg,
.bp-alert-danger i,
#errorMessage svg,
#errorMessage i,
.global-toast.global-toast-error .global-toast-icon,
.automod-toast.automod-toast-error .automod-toast-icon {
    color: #F04747 !important;
    stroke: #F04747 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

/* Top-Left Circular Close Button */
.global-toast-close,
.automod-toast-close {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.alert-success .global-toast-close,
.alert-success-box .global-toast-close,
.cards-alert-success .global-toast-close,
.bp-alert-success .global-toast-close,
#successMessage .global-toast-close,
.sa-success-box .global-toast-close,
#restartAlert .global-toast-close,
#broadcastAlert .global-toast-close,
.global-toast.global-toast-success .global-toast-close,
.automod-toast-close {
    background: #03140c;
    border: 1px solid #1f6b43;
    color: #23A559;
}

.alert-danger .global-toast-close,
.alert-error .global-toast-close,
.alert-warning .global-toast-close,
.alert-error-box .global-toast-close,
.cards-alert-error .global-toast-close,
.bp-alert-error .global-toast-close,
.bp-alert-danger .global-toast-close,
#errorMessage .global-toast-close,
.global-toast.global-toast-error .global-toast-close,
.automod-toast.automod-toast-error .automod-toast-close {
    background: #140303;
    border: 1px solid #6b1f1f;
    color: #F04747;
}

@keyframes globalToastSlideUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes globalToastFadeDown {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
        pointer-events: none;
    }
}

/* --- COMMON NOTIFY MODULE STYLES --- */
.notify-form-flex { display: flex; gap: 15px; align-items: flex-start; flex-wrap: wrap; }
.notify-form-group { flex: 1; min-width: 200px; }
.notify-label { display: block; margin-bottom: 8px; font-weight: 500; }
.notify-input-group { display: flex; align-items: stretch; background: var(--bg-light); border: none; border-radius: 0; overflow: hidden; height: 44px; box-sizing: border-box; }
.notify-input-group:focus-within { outline: 1px solid #7289da; }
.notify-input-prefix { padding: 0 15px; display: flex; align-items: center; background: transparent; color: var(--text-muted); border-right: none; }
.notify-input { width: 100%; padding: 0 15px; background: transparent !important; border: none !important; color: var(--text-main); font-family: inherit; outline: none; height: 100%; box-sizing: border-box; }
.notify-help-text { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.notify-select { width: 100%; padding: 0 15px; height: 44px; box-sizing: border-box; border-radius: 0; border: none; background: var(--bg-light); color: var(--text-main); font-family: inherit; outline: none; }
.notify-select:focus { outline: 1px solid #7289da; }
.notify-role-container { display: flex; gap: 8px; }
.notify-role-select { flex: 1; }
.notify-new-role-btn { background: #1E1F22; border: 1px solid rgba(0,0,0,0.2); color: var(--text-main); border-radius: 0; padding: 0 15px; height: 44px; box-sizing: border-box; cursor: pointer; transition: 0.2s; font-weight: 500; }
.notify-new-role-btn:hover { background: #2b2d31; }
.notify-full-width { flex: 100%; display: flex; gap: 15px; flex-wrap: wrap; }
.notify-message-group { flex: 1; min-width: 300px; }
.notify-input-message { width: 100%; padding: 12px 15px; border-radius: 0 !important; border: none !important; background: var(--bg-light) !important; color: var(--text-main); font-family: inherit; outline: none; box-sizing: border-box; }
.notify-input-message:focus { outline: 1px solid #7289da; }

.notify-form-card, .notify-table-card, .settings-card { background: #2B2D31; border-radius: 0; border: 1px solid rgba(0,0,0,0.2); box-shadow: inset 0 1px 3px rgba(0,0,0,0.2); margin-bottom: 30px; overflow: hidden; }
.notify-form-card { padding: 25px; }
.notify-table-card { overflow: hidden; }
.notify-table { width: 100%; border-collapse: collapse; text-align: left; }
.notify-table thead tr { background: #1E1F22; }
.notify-table th { padding: 15px 20px; font-weight: 600; color: var(--text-muted); border-bottom: none; }
.notify-table-empty { padding: 30px 20px; text-align: center; color: var(--text-muted); }
.notify-table tbody tr { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.notify-channel-td { padding: 15px 20px; color: var(--text-muted); font-size: 14px; }
.notify-role-td { padding: 15px 20px; color: var(--text-muted); font-size: 14px; }
.notify-role-active { background: rgba(88, 101, 242, 0.2); color: #5865F2; padding: 2px 6px; border-radius: 0; font-size: 12px; font-weight: 600; }
.notify-role-inactive { color: var(--text-muted); font-size: 12px; }
.notify-msg-td { padding: 15px 20px; color: var(--text-main); line-height: 1.4; font-size: 14px; }
.notify-action-td { padding: 15px 20px; text-align: right; vertical-align: middle; }
.notify-action-flex { display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.notify-action-flex form { margin: 0; display: flex; }

/* --- INSTAGRAM THEME --- */
.instagram-submit-btn { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: white; border: none; padding: 14px 24px; border-radius: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; width: 100%; }
.instagram-submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4); }
.instagram-username-td { padding: 15px 20px; font-family: inherit; font-size: 14px; font-weight: bold; color: #dc2743; }
.instagram-msg-label { color: #dc2743; background: transparent; padding: 0; }
.instagram-card { border-top: 4px solid #dc2743; }
.instagram-card-title { margin-top: 0; margin-bottom: 20px; }
.instagram-title { color: #dc2743; text-shadow: 2px 2px 0px rgba(220, 39, 67, 0.3); }
.instagram-modal-btn { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; border: none !important; }


/* --- YOUTUBE THEME --- */
.youtube-title { color: #FF0000; text-shadow: 2px 2px 0px rgba(255, 0, 0, 0.3); }
.youtube-card { border-top: 4px solid #FF0000; }
.youtube-card-title { margin-top: 0; margin-bottom: 20px; }
.youtube-submit-btn { background: #FF0000; color: white; border: none; padding: 14px 24px; border-radius: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; width: 100%; }
.youtube-submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4); }
.youtube-username-td { padding: 15px 20px; font-family: inherit; font-size: 14px; font-weight: bold; color: #FF0000; }
.youtube-msg-label { color: #FF0000; background: transparent; padding: 0; }
.youtube-modal-btn { background: #FF0000 !important; border: none !important; }

/* --- TIKTOK THEME --- */
.tiktok-title { color: #ff0050; text-shadow: 2px 2px 0px #00f2fe; }
.tiktok-card { border-top: 4px solid #ff0050; }
.tiktok-card-title { margin-top: 0; margin-bottom: 20px; }
.tiktok-submit-btn { background: linear-gradient(90deg, #ff0050, #00f2fe); color: white; border: none; padding: 14px 24px; border-radius: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; width: 100%; }
.tiktok-submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 0, 80, 0.4); }
.tiktok-username-td { padding: 15px 20px; font-family: inherit; font-size: 14px; font-weight: bold; color: #ff0050; }
.tiktok-msg-label { color: #ff0050; background: transparent; padding: 0; }
.tiktok-modal-btn { background: linear-gradient(90deg, #ff0050, #00f2fe) !important; border: none !important; }

/* --- TWITTER THEME --- */
.twitter-title { color: #1DA1F2; text-shadow: 2px 2px 0px rgba(29, 161, 242, 0.3); }
.twitter-card { border-top: 4px solid #1DA1F2; }
.twitter-card-title { margin-top: 0; margin-bottom: 20px; }
.twitter-submit-btn { background: #1DA1F2; color: white; border: none; padding: 14px 24px; border-radius: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; width: 100%; }
.twitter-submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4); }
.twitter-username-td { padding: 15px 20px; font-family: inherit; font-size: 14px; font-weight: bold; color: #1DA1F2; }
.twitter-msg-label { color: #1DA1F2; background: transparent; padding: 0; }
.twitter-modal-btn { background: #1DA1F2 !important; border: none !important; }

/* --- TWITCH THEME --- */
.twitch-title { color: #9146FF; text-shadow: 2px 2px 0px rgba(145, 70, 255, 0.3); }
.twitch-card { border-top: 4px solid #9146FF; }
.twitch-card-title { margin-top: 0; margin-bottom: 20px; }
.twitch-submit-btn { background: #9146FF; color: white; border: none; padding: 14px 24px; border-radius: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; width: 100%; }
.twitch-submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(145, 70, 255, 0.4); }
.twitch-username-td { padding: 15px 20px; font-family: inherit; font-size: 14px; font-weight: bold; color: #9146FF; }
.twitch-msg-label { color: #9146FF; background: transparent; padding: 0; }
.twitch-modal-btn { background: #9146FF !important; border: none !important; }

/* --- KICK THEME --- */
.kick-title { color: #53fc18; text-shadow: 2px 2px 0px rgba(83, 252, 24, 0.3); }
.kick-card { border-top: 4px solid #53fc18; }
.kick-card-title { margin-top: 0; margin-bottom: 20px; }
.kick-submit-btn { background: #53fc18; color: #000; border: none; padding: 14px 24px; border-radius: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; width: 100%; box-shadow: 0 4px 6px rgba(83, 252, 24, 0.2); }
.kick-submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(83, 252, 24, 0.4); }
.kick-username-td { padding: 15px 20px; font-family: inherit; font-size: 14px; font-weight: bold; color: #53fc18; }
.kick-msg-label { color: #53fc18; background: transparent; padding: 0; }
.kick-modal-btn { background: #53fc18 !important; color: #000 !important; border: none !important; }

/* --- RSS THEME --- */
.rss-title { color: #F26522; text-shadow: 2px 2px 0px rgba(242, 101, 34, 0.3); }
.rss-card { border-top: 4px solid #F26522; }
.rss-card-title { margin-top: 0; margin-bottom: 20px; }
.rss-submit-btn { background: #F26522; color: white; border: none; padding: 14px 24px; border-radius: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; width: 100%; box-shadow: 0 4px 6px rgba(242, 101, 34, 0.2); }
.rss-submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(242, 101, 34, 0.4); }
.rss-username-td { padding: 15px 20px; font-family: inherit; font-size: 14px; font-weight: bold; color: #F26522; }
.rss-msg-label { color: #F26522; background: transparent; padding: 0; }
.rss-modal-btn { background: #F26522 !important; color: #fff !important; border: none !important; }

/* --- BRAND ICON COLORS --- */
/* Strikte Einhaltung der CSS-Trennung: Markenfarben statt Inline-Styles in PHP nutzen */
/* Einheitliches helles Grau fÃƒÂ¼r alle Icons auf Wunsch des Nutzers */
.brand-icon-twitch { color: #e4e4e7; }
.brand-icon-tiktok { color: #e4e4e7; }
.brand-icon-twitter { color: #e4e4e7; }
.brand-icon-youtube { color: #e4e4e7; font-weight: bold; }
.brand-icon-reddit { color: #e4e4e7; }
.brand-icon-instagram { color: #e4e4e7; font-weight: bold; }
.brand-icon-rss { color: #e4e4e7; }
.brand-icon-kick { color: #e4e4e7; font-weight: bold; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #1E1F22; 
}
::-webkit-scrollbar-thumb {
    background: #3f4147; 
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: #5c5e66; 
}


/* ==========================================================================
   MUSIC PLAYER MODULE
   ========================================================================== */
.music-player-container { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.music-header { margin-bottom: 10px; }
.music-player-card { display: flex; flex-direction: column; align-items: center; padding: 30px; }
.player-cover-container { position: relative; width: 100%; max-width: 220px; height: 220px; border-radius: 0; overflow: hidden; box-shadow: 0 8px 25px rgba(0,0,0,0.5); margin-bottom: 25px; }
.player-cover { width: 100%; height: 100%; object-fit: cover; }
.player-status-badge { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.4); color: white; padding: 4px 10px; border-radius: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(4px); }
.player-info { text-align: center; width: 100%; margin-bottom: 25px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.player-title { font-size: 24px; font-weight: 800; color: var(--text-main); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; width: 100%; text-align: center; max-width: 100%; box-sizing: border-box; padding: 0 10px; }
.player-url { font-size: 13px; color: var(--accent-blue); text-decoration: none; transition: 0.2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.player-url:hover { color: #fff; text-decoration: underline; }
.player-progress-container { width: 100%; display: flex; align-items: center; gap: 15px; margin-bottom: 30px; }
.player-time { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; width: 40px; text-align: center; }
.player-progress-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.1); border-radius: 0; position: relative; }
.player-progress-fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--accent-green); border-radius: 0; transition: width 0.2s linear; }
.player-progress-fill::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%) scale(0); width: 12px; height: 12px; background: white; border-radius: 0; transition: transform 0.2s; box-shadow: 0 0 5px rgba(0,0,0,0.5); }
.player-progress-container:hover .player-progress-fill::after { transform: translateY(-50%) scale(1); }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 30px; }
.player-btn { width: 44px; height: 44px; border-radius: 0; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; background: transparent; color: var(--text-muted); }
.player-btn:hover { background: rgba(255,255,255,0.05); color: var(--text-main); transform: translateY(-1px); }
.player-btn:active { transform: translateY(1px); background: rgba(255,255,255,0.02); }
.player-btn-primary { width: 54px; height: 54px; border-radius: 0; background: #22c55e; color: white; box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3); }
.player-btn-secondary { background: transparent; color: var(--text-muted); }
.player-btn-secondary:hover { background: rgba(255,255,255,0.05); color: var(--text-main); }
.player-btn-danger { background: transparent; color: #ef4444; }
.player-btn-danger:hover { background: rgba(239, 68, 68, 0.1); color: #dc2626; transform: translateY(-1px); }
.player-icon { font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.player-btn-primary .player-icon { font-size: 24px; }
.player-btn-primary:hover { background: #16a34a; color: white; transform: scale(1.05); box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4); }
.player-btn-primary:active { transform: scale(0.95); background: #15803d; }
.player-volume-container { width: 80%; display: flex; align-items: center; gap: 15px; }
.volume-icon { font-size: 16px; color: var(--text-muted); }
.volume-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; background: rgba(255,255,255,0.1); border-radius: 0; outline: none; }
.volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 12px; height: 12px; border-radius: 0; background: white; cursor: pointer; transition: 0.2s; opacity: 0; }
.volume-slider:hover::-webkit-slider-thumb { opacity: 1; }
.volume-slider::-webkit-slider-thumb:hover { transform: scale(1.3); background: white; box-shadow: 0 0 8px rgba(255,255,255,0.5); }
.music-input-card { padding: 25px; }
.queue-heading { font-size: 18px; font-weight: 600; color: var(--text-main); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.music-input-group { display: flex; gap: 10px; }
.music-input { flex: 1; padding: 12px 15px; border-radius: 0; border: none; background: var(--bg-light); color: var(--text-main); font-family: inherit; font-size: 14px; outline: none; transition: outline 0.2s; }
.music-input:focus { outline: 1px solid #7289da; }
.music-submit-btn { background: #3b82f6; color: white; border: none; padding: 0 25px; border-radius: 0; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 14px; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 6px; }
.music-submit-btn:hover { background: #2563eb; transform: translateY(-1px); }
.music-queue-card { flex: 1; padding: 25px; display: flex; flex-direction: column; }
.music-double-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    padding: 25px;
    background: var(--bg-dark);
    border-radius: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}
.music-double-card:hover { border-color: var(--border-color); }
.music-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}
@media (max-width: 1300px) {
    .music-double-card { grid-column: span 1; }
    .music-top-grid { grid-template-columns: 1fr; gap: 20px; }
}
.queue-list { flex: 1; overflow-y: auto; max-height: 350px; padding-right: 5px; display: flex; flex-direction: column; gap: 10px; }
.queue-list::-webkit-scrollbar { width: 6px; }
.queue-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 0; }
.queue-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 0; }
.queue-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); font-style: italic; background: rgba(0,0,0,0.1); border-radius: 0; border: 1px dashed var(--border-color); }
.queue-item { display: flex; align-items: center; padding: 12px 15px; background: rgba(0,0,0,0.2); border-radius: 0; border: 1px solid var(--border-color); gap: 15px; transition: 0.2s; }
.queue-item:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.queue-item-index { width: 24px; height: 24px; border-radius: 0; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--text-muted); flex-shrink: 0; }
.queue-item-info { flex: 1; overflow: hidden; display: flex; flex-direction: column; gap: 2px; }
.queue-item-title { font-weight: 700; color: var(--text-main); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-item-url { font-size: 11px; font-weight: 500; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-item-remove-btn { background: none; border: none; color: var(--border-color); cursor: pointer; font-size: 16px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 0; transition: 0.2s; opacity: 0.7; flex-shrink: 0; }
.queue-item:hover .queue-item-remove-btn { opacity: 1; }
.queue-item-remove-btn:hover { background: rgba(240, 71, 71, 0.1); color: var(--accent-red); }

/* =========================================
   EMOJIS & GIFS GRID
   ========================================= */
.emoji-tab-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.emoji-list-grid {
    display: grid;
    /* Similar to screenshot: 3 columns or responsive */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.emoji-list-card {
    background: #2B2D31; 
    border: none;
    border-radius: 0;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: default;
}

.emoji-list-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 0;
}

.emoji-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.emoji-list-name {
    font-size: 14px;
    font-weight: 600;
    color: #f2f3f5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emoji-list-sub {
    font-size: 10px;
    color: #949ba4;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2px;
}

/* Dummy Toggle Switch */
.emoji-toggle {
    display: flex;
    align-items: center;
    background: #3f4147;
    border-radius: 0;
    padding: 2px 8px 2px 2px;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;
    width: 52px;
    box-sizing: border-box;
    justify-content: flex-start;
}

.emoji-toggle.active {
    background: #23A559;
    padding: 2px 2px 2px 8px;
    flex-direction: row-reverse;
}

.emoji-toggle-circle {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 0;
    flex-shrink: 0;
}

.emoji-toggle-text {
    font-size: 10px;
    font-weight: 700;
    color: #dbdee1;
}

/* EMOJI SEARCH & TAGS */
.emoji-search-box {
    background: #1E1F22;
    border-radius: 0;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
}
.emoji-search-box input {
    background: transparent;
    border: none;
    color: #dbdee1;
    font-size: 15px;
    width: 100%;
    outline: none;
    font-family: inherit;
}
.emoji-search-box input::placeholder {
    color: #949ba4;
}
.emoji-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.emoji-tag {
    background: #3f4147;
    color: #dbdee1;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 0;
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}
.emoji-tag:hover {
    background: #4e5058;
}
.emoji-tag.active-tag {
    background: #5865F2;
    color: #fff;
}

/* EMOJI PAGE SPECIFIC CLASSES */
.emoji-overview-header {
    margin-top: 25px;
    margin-bottom: 30px;
}
.emoji-slot-info {
    color: #949ba4;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}
.emoji-slot-info-sub {
    font-weight: 400;
    font-style: italic;
}
.alert-success-box {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(67, 181, 129, 0.15);
    border: 1px solid #43b581;
    color: #43b581;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-error-box {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(240, 71, 71, 0.15);
    border: 1px solid #f04747;
    color: #f04747;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.emoji-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}
.emoji-tab-header .setting-tabs {
    margin-bottom: 0;
    width: 100%;
}
.emoji-upload-btn-container {
    margin-left: auto;
    align-self: center;
}
.emoji-upload-btn {
    border-radius: 0;
    padding: 8px 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.upload-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.upload-modal-card {
    width: 400px;
    padding: 25px;
    cursor: default;
    background: var(--bg-mid);
    border: 1px solid var(--border-color);
    border-radius: 0;
}
.upload-modal-title {
    margin-top: 0;
    color: #fff;
}
.upload-modal-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}
.upload-modal-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 0;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: #fff;
    font-family: inherit;
    box-sizing: border-box;
}
.upload-modal-file {
    margin-bottom: 25px;
    color: #fff;
    width: 100%;
    font-size: 13px;
}
.upload-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.upload-modal-cancel {
    background: var(--bg-hover);
}
.upload-modal-submit {
    border-radius: 0;
}

/* =========================================
   NOTIFY EDIT MODAL
   ========================================= */
.notify-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.notify-modal-card {
    width: 600px;
    max-width: 90%;
    background: var(--bg-mid);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-height: 90vh;
    overflow-y: auto;
}

/* Access-Denied Modul-Sperrseite */
.access-denied__wrapper {
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
}
.access-denied__card {
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.access-denied__title {
    color: var(--accent-red);
}
.access-denied__text {
    color: var(--text-muted);
}
.notify-modal-card::-webkit-scrollbar {
    width: 6px;
}
.notify-modal-card::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 0;
}
.notify-modal-card::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 0;
}
.notify-modal-title {
    margin-top: 0;
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
}
.notify-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}
.notify-modal-cancel {
    background: var(--bg-light);
    border: none;
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}
.notify-modal-cancel:hover {
    background: rgba(255,255,255,0.05);
}
.notify-modal-submit {
    background: #5865F2; /* Standard Discord Blue, will be overridden by inline styles if needed */
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}
.notify-modal-submit:hover {
    filter: brightness(1.1);
}

/* =========================================
   BOT PERSONALIZER STYLES
   ========================================= */
.bp-wrapper {
    background: #2B2D31;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 25px;
    margin-bottom: 30px;
}

/* --- UNIFIED FLAT BLOCK HEADER --- */
.dashboard-section {
    background: #2B2D31;
    padding: 25px;
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: none;
}
.dashboard-section__title {
    font-size: 18px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.dashboard-section__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    margin-top: 0;
    margin-bottom: 20px;
    width: 100%;
    display: block;
}
.drag-drop-box {
    background: #111214;
    border: 1px dashed var(--border-color);
    border-radius: 0;
    padding: 15px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.2s;
}

/* =========================================
   Scoped Bot Profile Styles - Dark Flat Block Design
========================================= */
.bot-profile-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 40px 0;
}

/* Alerts */
.bp-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 0;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 20px;
}
.bp-alert-success {
    background: rgba(35, 165, 89, 0.12);
    border: 1px solid #23A559;
    color: #23A559;
}
.bp-alert-error {
    background: rgba(218, 55, 60, 0.12);
    border: 1px solid #DA373C;
    color: #DA373C;
}

/* Main Card */
.bp-card {
    background: #2B2D31;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 24px 28px;
    box-shadow: none;
    margin-bottom: 30px;
    overflow: hidden;
}

/* Card Header */
.bp-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
.bp-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}
.bp-card-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    margin: 14px 0 22px 0;
    width: 100%;
    display: block;
}

/* Grid layout inside card */
.bp-content-grid {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 1060px) {
    .bp-content-grid {
        grid-template-columns: 1fr;
    }
    .bp-preview-column {
        max-width: 320px;
    }
}

.bp-form-column {
    min-width: 0;
}

.bp-preview-column {
    width: 310px;
    flex-shrink: 0;
}

/* Uploads Row */
.bp-uploads-row {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
    align-items: flex-start;
}
.bp-upload-col {
    display: flex;
    flex-direction: column;
}
.bp-field-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #B5BAC1;
    margin-bottom: 8px;
    display: block;
}

/* Helper & BEM State Classes */
.bp-file-input {
    display: none !important;
}
.bp-is-hidden {
    display: none !important;
}

/* Avatar Box */
.bp-avatar-col {
    width: 140px;
    flex-shrink: 0;
}
.bp-avatar-box {
    width: 140px;
    min-height: 140px;
    height: auto;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    padding: 14px 8px 10px 8px;
    box-sizing: border-box;
    gap: 8px;
}
.bp-avatar-circle {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: #1e1f22;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}
.bp-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bp-avatar-overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F2F3F5;
    font-size: 11px;
}

/* Remove Media Links */
.bp-remove-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 5;
}

.bp-remove-link {
    background: none;
    border: none;
    color: #58a6ff;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 6px;
    border-radius: 0;
    transition: color 0.15s ease, background 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
}

.bp-remove-link.is-removed {
    color: #f0b232;
}

/* Banner Box */
.bp-banner-col {
    flex: 1;
    max-width: 100%;
}
.bp-banner-box {
    width: 100%;
    height: 140px;
    background: #111214;
    border: 1.5px dashed rgba(255, 255, 255, 0.18);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.bp-banner-box.has-image {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.08);
}
.bp-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bp-banner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.32);
    font-size: 26px;
}
.bp-banner-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(17, 18, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F2F3F5;
    font-size: 12px;
}

/* Banner Remove Button */
.bp-remove-banner-wrap {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 5;
}

.bp-banner-remove-btn {
    background: rgba(17, 18, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #58a6ff;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 0;
}

.bp-banner-remove-btn.is-removed {
    color: #f0b232;
    border-color: rgba(240, 178, 50, 0.4);
}

/* Form Groups */
.bp-form-group {
    margin-bottom: 18px;
    position: relative;
}

/* Inputs */
.bp-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.bp-input-field {
    width: 100%;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    color: #FFFFFF;
    font-size: 14px;
    font-family: inherit;
    padding: 12px 65px 12px 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.bp-input-field:focus {
    border-color: #5865F2;
    box-shadow: 0 0 0 1px #5865F2;
}
.bp-char-counter {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 500;
    color: #6D727B;
    pointer-events: none;
    user-select: none;
}

/* Custom Select Component */
.bp-custom-select {
    position: relative;
    user-select: none;
}
.bp-select-trigger {
    width: 100%;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    color: #FFFFFF;
    font-size: 14px;
    padding: 12px 14px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    outline: none;
}
.bp-custom-select.active .bp-select-trigger {
    border-color: #5865F2;
    box-shadow: 0 0 0 1px #5865F2;
}
.bp-select-value {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.bp-select-chevron {
    color: #949BA4;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

/* Dropdown Menu */
.bp-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 100;
}
.bp-custom-select.active .bp-select-dropdown {
    display: block;
}

/* Option */
.bp-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 0;
    color: #DBDEE1;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.bp-select-option.selected {
    background: #5865F2;
    color: #FFFFFF;
}

/* Status Indicators */
.bp-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.bp-status-online {
    background: #23A559;
}
.bp-status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.bp-status-idle {
    color: #F0B232;
}
.bp-status-dnd {
    color: #DA373C;
}

/* Action Row */
.bp-action-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 26px;
}
.bp-btn-save {
    background: #23A559;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 24px;
    border: none;
    border-radius: 0;
    cursor: pointer;
}
.bp-btn-save:active {
    transform: scale(0.98);
}

/* =========================================
   DISCORD LIVE POPOUT CARD
========================================= */
.discord-popout-card {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    user-select: none;
}

.discord-popout-banner {
    height: 105px;
    background: linear-gradient(135deg, #2b2d31 0%, #1e1f22 100%);
    position: relative;
    overflow: hidden;
}

.discord-popout-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.discord-popout-banner-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #313338 0%, #1e1f22 100%);
}

.discord-popout-more-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #DBDEE1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    border: none;
}

.discord-popout-avatar-wrap {
    position: relative;
    padding: 0 16px;
    margin-top: -38px;
    margin-bottom: 8px;
}

.discord-popout-avatar-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 6px solid #111214;
    background: #111214;
    position: relative;
    box-sizing: content-box;
}

.discord-popout-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.discord-popout-status-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #111214;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-popout-status-badge.status-online .status-inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #23A559;
    display: block;
}

.discord-popout-status-badge.status-idle .status-inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #F0B232;
    display: block;
}

.discord-popout-status-badge.status-dnd .status-inner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #DA373C;
    display: flex;
    align-items: center;
    justify-content: center;
}
.discord-popout-status-badge.status-dnd .status-inner::after {
    content: '';
    width: 8px;
    height: 2.5px;
    background: #FFFFFF;
    border-radius: 0;
}

.discord-popout-body {
    padding: 6px 16px 16px 16px;
}

.discord-popout-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.discord-popout-display-name {
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    word-break: break-word;
}

.discord-popout-app-badge {
    background: #5865F2;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 0;
    letter-spacing: 0.3px;
    display: inline-block;
    flex-shrink: 0;
}

.discord-popout-handle-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 13px;
    color: #949BA4;
}

.discord-popout-slash-badge {
    color: #23A559;
    font-weight: 700;
    font-family: monospace;
    font-size: 12px;
}

.discord-popout-activity-box {
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 10px 12px;
    margin-top: 14px;
}

.discord-popout-activity-header {
    font-size: 11px;
    font-weight: 700;
    color: #B5BAC1;
    margin-bottom: 4px;
}

.discord-popout-activity-text {
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
    line-height: 1.35;
    word-break: break-word;
}

.discord-popout-roles-section {
    margin-top: 14px;
}

.discord-popout-roles-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #B5BAC1;
    margin-bottom: 6px;
}

.discord-popout-roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.discord-popout-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    font-size: 12px;
    color: #DBDEE1;
    font-weight: 500;
}

.discord-popout-role-pill .role-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFFF;
}

.discord-popout-role-pill .role-close {
    font-size: 13px;
    color: #949BA4;
    margin-left: 2px;
}

.discord-popout-role-add {
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #949BA4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
}

.discord-popout-chat-mock {
    margin-top: 14px;
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: #80848E;
}

.discord-popout-chat-emoji {
    color: #B5BAC1;
    font-size: 15px;
}

/* Music Player Settings */
.music-settings-group {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}

.music-settings-field {
    width: 100%;
}

.music-settings-label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 0.9em;
    text-align: left;
}

.music-settings-input {
    width: 100%;
}

.music-settings-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.music-queue-input {
    margin-bottom: 15px;
}

.music-queue-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 15px;
}

.plugin-btn-blue {
    background: var(--accent-blue) !important;
    color: white !important;
}

.plugin-btn-green {
    background: var(--accent-green) !important;
    color: white !important;
}

.plugin-btn-red {
    background: var(--accent-red) !important;
    color: white !important;
}

/* Music Player Preview Styles */
.music-preview-box {
    background: var(--bg-dark);
    padding: 10px;
    border-radius: 0;
}

.music-preview-robot {
    background: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.music-preview-normal-text {
    padding-top: 5px;
}

.music-preview-embed-box {
    border-left: 4px solid #5865F2;
    background: #111214;
    padding: 10px;
    border-radius: 0;
    margin-top: 5px;
}

.music-preview-embed-title {
    color: white;
    display: block;
    margin-bottom: 5px;
}

.music-preview-embed-song {
    color: #00A8FC;
}

.music-preview-none-text {
    font-style: italic;
    color: var(--text-muted);
    padding-top: 5px;
}

/* ==========================================================================
   Games Hub Module (.games-hub)
   ========================================================================== */
.games-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.games-hub__card {
    background: #1E1F22;
    border-radius: 0;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.games-hub__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.games-hub__header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.games-hub__icon-box {
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.games-hub__icon-box--tcg {
    background: rgba(0, 168, 252, 0.15);
    color: #00A8FC;
}

.games-hub__icon-box--trivia {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

.games-hub__icon-box--dice {
    background: rgba(139, 92, 246, 0.15);
    color: #8B5CF6;
}

.games-hub__icon-box--wheel {
    background: rgba(35, 165, 89, 0.15);
    color: #23A559;
}

.games-hub__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #F2F3F5;
}

.games-hub__badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 0;
    text-transform: uppercase;
}

.games-hub__badge--active {
    background: rgba(35, 165, 89, 0.15);
    color: #23A559;
}

.games-hub__badge--upcoming {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

.games-hub__desc {
    font-size: 13px;
    color: #949BA4;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.games-hub__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: #2B2D31;
    color: #F2F3F5;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

.games-hub__btn--disabled {
    background: rgba(255, 255, 255, 0.03);
    color: #6D6F78;
    cursor: not-allowed;
}
/* ==========================================================================
   TCG Cards Module (.tcg-cards)
   ========================================================================== */
.tcg-cards__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .tcg-cards__layout {
        grid-template-columns: 1fr;
    }
}

.tcg-cards__alert-success,
.tcg-cards__alert-error {
    margin-bottom: 20px;
}

.tcg-cards__card-create {
    margin-bottom: 20px;
}

.tcg-cards__form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .tcg-cards__form-grid {
        grid-template-columns: 1fr;
    }
}

.tcg-cards__form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tcg-cards__input,
.tcg-cards__select {
    width: 100%;
    background: #111214;
    border: none;
    color: #F2F3F5;
    padding: 0 12px;
    border-radius: 0;
    font-size: 14px;
    box-sizing: border-box;
    height: 40px;
}

.tcg-cards__input:focus,
.tcg-cards__select:focus {
    outline: 1px solid #5865F2;
}

.tcg-cards__form-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.tcg-cards__btn-submit {
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tcg-cards__count-pill {
    background: #2B2D31;
    color: #A1A1AA;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 0;
}
.tcg-cards__table-container {
    padding: 0;
    overflow-x: auto;
}

.tcg-cards__table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.tcg-cards__th {
    padding: 14px 18px;
    color: #A1A1AA;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #2B2D31;
    background: #111214;
}

.tcg-cards__th--id {
    width: 60px;
}

.tcg-cards__th--center {
    text-align: center;
}

.tcg-cards__th--right {
    text-align: right;
}

.tcg-cards__tr {
    border-bottom: 1px solid #2B2D31;
}

.tcg-cards__td {
    padding: 14px 18px;
    font-size: 14px;
    color: #F2F3F5;
}

.tcg-cards__td--id {
    color: #A1A1AA;
    font-family: monospace;
    font-weight: 600;
}

.tcg-cards__td--name {
    font-weight: 600;
}

.tcg-cards__td--center {
    text-align: center;
}

.tcg-cards__td--right {
    text-align: right;
}

.tcg-cards__td--value {
    color: #23A559;
    font-weight: 700;
    font-size: 15px;
}

.tcg-cards__tier-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.tcg-cards__badge--bronze {
    background: rgba(205, 127, 50, 0.2);
    color: #CD7F32;
}

.tcg-cards__badge--silber {
    background: rgba(192, 192, 192, 0.2);
    color: #E0E0E0;
}

.tcg-cards__badge--gold {
    background: rgba(241, 196, 15, 0.2);
    color: #F1C40F;
}

.tcg-cards__badge--toty {
    background: rgba(0, 168, 252, 0.25);
    color: #00A8FC;
}

.tcg-cards__badge--icon {
    background: rgba(155, 89, 182, 0.25);
    color: #DDA0DD;
}

.tcg-cards__btn-delete {
    background: transparent;
    color: #F04747;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 0;
}

.tcg-cards__empty-state {
    padding: 30px;
    text-align: center;
    color: #A1A1AA;
    font-size: 14px;
}

.tcg-cards__empty-state i {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}
.tcg-cards__ranking-list {
    display: flex;
    flex-direction: column;
}

.tcg-cards__ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #2B2D31;
}

.tcg-cards__ranking-item:last-child {
    border-bottom: none;
}

.tcg-cards__ranking-badge {
    width: 32px;
    height: 32px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.tcg-cards__rank--top1 {
    background: rgba(241, 196, 15, 0.2);
    color: #F1C40F;
}

.tcg-cards__rank--top2 {
    background: rgba(192, 192, 192, 0.2);
    color: #E0E0E0;
}

.tcg-cards__rank--top3 {
    background: rgba(205, 127, 50, 0.2);
    color: #CD7F32;
}

.tcg-cards__rank--regular {
    background: #111214;
    color: #A1A1AA;
}

.tcg-cards__ranking-user {
    flex: 1;
    min-width: 0;
}

.tcg-cards__ranking-name {
    color: #F2F3F5;
    font-weight: 600;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tcg-cards__ranking-platform {
    color: #A1A1AA;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

.tcg-cards__ranking-score {
    color: #23A559;
    font-weight: 700;
    font-size: 14px;
}

/* ========================================== */
/* MUSIC PLAYER REDESIGN (mp.txt port)        */
/* ========================================== */

/* Global Scrollbar passend zum Darkmode */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2B2D31; border-radius: 0; border: 2px solid #1E1F22; }
::-webkit-scrollbar-thumb:hover { background: #4E5058; }

/* Custom Animations & Forms */
input[type=range].mp-slider { 
    -webkit-appearance: none; 
    appearance: none; 
    width: 100%; 
    height: 4px; 
    background: #4E5058;
    border-radius: 0;
    outline: none;
}
input[type=range].mp-slider::-webkit-slider-thumb {
    -webkit-appearance: none; 
    appearance: none; 
    height: 12px; 
    width: 12px; 
    border-radius: 0;
    background: #FFFFFF; 
    cursor: pointer; 
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    margin-top: -4px; /* Align thumb with 4px track */
}
input[type=range].mp-slider::-webkit-slider-runnable-track { 
    width: 100%; 
    height: 4px; 
    cursor: pointer; 
    background: transparent;
    border-radius: 0;
}
.range-wrapper { display: flex; align-items: center; }

.bars { display: flex; align-items: flex-end; gap: 2px; height: 16px; }
.bar { width: 3px; background-color: var(--accent-green); border-radius: 0; animation: sound 400ms linear infinite alternate; animation-play-state: paused; }
.bars.playing .bar { animation-play-state: running; }
.bar:nth-child(1)  { height: 2px; animation-delay: -200ms; }
.bar:nth-child(2)  { height: 5px; animation-delay: -400ms; }
.bar:nth-child(3)  { height: 3px; animation-delay: -600ms; }
.bar:nth-child(4)  { height: 7px; animation-delay: -800ms; }
@keyframes sound { 0% { opacity: 0.35; height: 3px; } 100% { opacity: 1; height: 14px; } }

/* ==========================================================================
   DARKWULF MUSIC PLAYER (Flat Dark Block Schema)
   ========================================================================== */
.mp-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Song hinzufügen Leiste */
.mp-add-card {
    background: #2B2D31;
    border-radius: 0;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.mp-add-input-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #111214;
    border-radius: 0;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid transparent;
}
.mp-add-input-box:focus-within {
    border-color: #7289da;
}
.mp-add-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 14px;
    padding-right: 10px;
    color: #A1A1AA;
    font-size: 14px;
    flex-shrink: 0;
}
.mp-add-input-box input[type="text"],
input[type="text"].mp-add-input,
.mp-add-input {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0 14px 0 0;
    color: #F2F3F5;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    height: 100%;
    box-sizing: border-box;
}
.mp-add-input-box input[type="text"]:focus,
input[type="text"].mp-add-input:focus,
.mp-add-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
}
.mp-add-btn {
    height: 42px;
    padding: 0 22px;
    background: #23A559;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    flex-shrink: 0;
}

/* Warteschlange Tabelle */
.mp-queue-table-wrap {
    overflow-x: auto;
}
.mp-queue-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.mp-queue-table th {
    background: #111214;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #A1A1AA;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mp-queue-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    color: #F2F3F5;
    font-size: 13px;
}
.mp-queue-row--active td {
    background: rgba(35, 165, 89, 0.12);
}
.mp-track-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #A1A1AA;
    font-weight: 600;
    width: 32px;
    text-align: center;
}
.mp-track-num--active {
    color: #23A559;
}
.mp-track-info-cell {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.mp-track-thumb {
    width: 44px;
    height: 44px;
    border-radius: 0;
    object-fit: cover;
    flex-shrink: 0;
    background: #111214;
}
.mp-track-thumb-fallback {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: #111214;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A1A1AA;
    font-size: 16px;
    flex-shrink: 0;
}
.mp-track-meta {
    min-width: 0;
    flex: 1;
}
.mp-track-title {
    font-size: 14px;
    font-weight: 600;
    color: #F2F3F5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-track-title--active {
    color: #23A559;
}
.mp-track-url {
    font-size: 12px;
    color: #A1A1AA;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}
.mp-track-user {
    font-size: 13px;
    color: #F2F3F5;
    white-space: nowrap;
}
.mp-track-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #A1A1AA;
    white-space: nowrap;
}
.mp-actions-cell {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.mp-btn-action {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 0;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}
.mp-btn-action--play {
    background: #23A559;
    color: #FFFFFF;
}
.mp-btn-action--delete {
    background: #F04747;
    color: #FFFFFF;
}

/* Empty State */
.mp-empty-state {
    padding: 48px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.mp-empty-state i {
    font-size: 36px;
    color: #A1A1AA;
    opacity: 0.5;
}
.mp-empty-title {
    font-size: 16px;
    font-weight: 700;
    color: #F2F3F5;
}
.mp-empty-desc {
    font-size: 13px;
    color: #A1A1AA;
    max-width: 400px;
}

/* Equalizer Bars */
.mp-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    width: 20px;
    justify-content: center;
}
.mp-equalizer-bar {
    width: 3px;
    background: #23A559;
    border-radius: 0;
    height: 4px;
    animation: mpEqAnim 0.8s ease-in-out infinite alternate;
}
.mp-equalizer-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.mp-equalizer-bar:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.mp-equalizer-bar:nth-child(3) { height: 10px; animation-delay: 0.2s; }
@keyframes mpEqAnim {
    0% { height: 4px; }
    100% { height: 16px; }
}

/* Player Bar (Flat Dark Block) */
.mp-player-card {
    background: #111214;
    border-radius: 0;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.mp-player-left {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 28%;
    min-width: 200px;
}
.mp-player-cover {
    width: 56px;
    height: 56px;
    border-radius: 0;
    object-fit: cover;
    background: #1E1F22;
    flex-shrink: 0;
}
.mp-player-cover-fallback {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: #1E1F22;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A1A1AA;
    font-size: 22px;
    flex-shrink: 0;
}
.mp-player-info {
    min-width: 0;
    flex: 1;
}
.mp-player-title {
    font-size: 14px;
    font-weight: 700;
    color: #F2F3F5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mp-player-artist {
    font-size: 12px;
    color: #A1A1AA;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 3px;
}
.mp-player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 560px;
}
.mp-player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}
.mp-ctrl-btn {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: #2B2D31;
    border: none;
    color: #F2F3F5;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.mp-ctrl-btn--play {
    width: 42px;
    height: 42px;
    background: #FFFFFF;
    color: #111214;
    font-size: 16px;
}
.mp-ctrl-btn--stop {
    color: #F04747;
}
.mp-progress-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mp-time-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #A1A1AA;
    min-width: 36px;
}
.mp-time-text--right {
    text-align: right;
}
.mp-slider-wrap {
    flex: 1;
    display: flex;
    align-items: center;
}
.mp-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #383A40;
    border-radius: 0;
    outline: none;
    cursor: pointer;
}
.mp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #FFFFFF;
    cursor: pointer;
}
.mp-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #FFFFFF;
    cursor: pointer;
    border: none;
}
.mp-player-right {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 20%;
    min-width: 160px;
    justify-content: flex-end;
}
.mp-volume-icon {
    color: #A1A1AA;
    font-size: 14px;
}
.mp-volume-slider {
    width: 100px;
}

/* Einstellungen Tab */
.mp-settings-group {
    margin-bottom: 24px;
}
.mp-settings-group-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #A1A1AA;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 16px;
}
.mp-form-row {
    margin-bottom: 16px;
}
.mp-form-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.mp-form-select {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    height: 42px;
    padding: 0 14px;
    color: #F2F3F5;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.mp-form-select:focus {
    outline: 1px solid #7289da;
}
.mp-color-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mp-color-input {
    width: 44px;
    height: 40px;
    border: none;
    border-radius: 0;
    background: #111214;
    cursor: pointer;
    padding: 2px;
}
.mp-color-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #F2F3F5;
    font-weight: 600;
}
.mp-save-btn {
    height: 42px;
    padding: 0 24px;
    background: #23A559;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    cursor: pointer;
}
.mp-footer-actions {
    display: flex;
    justify-content: flex-end;
}



/* AUTO-GENERATED INLINE STYLES */
.shared__element { margin-bottom: 25px; }
.ai_settings__element { background: var(--accent-red); color: white; padding: 10px 20px; }

.ai-settings__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.shared__element-1 { background: rgba(231, 76, 60, 0.2); border-left: 4px solid #e74c3c; padding: 15px; margin-bottom: 20px; border-radius: 0; }
.bot_personalizer__element { grid-template-columns: 200px 1fr 300px; gap: 30px; }
.bot_personalizer__element-1 { display: contents; }
.shared__element-2 { width:100%; height:100%; object-fit:cover; }
.shared__element-3 { display:none; }
.bot_personalizer__element-2 { width:100%; height:100%; object-fit:cover; position:absolute; top:0; left:0; }
.bot_personalizer__element-3 { padding:10px; }
.shared__element-4 { text-decoration: none; }
.bot_personalizer__flex-center-bold { font-weight: 700; font-size: 14px; color: var(--text-main); display: flex; align-items: center; gap: 6px; }
.bot_personalizer__muted-xs { font-size: 11px; color: var(--text-muted); }
.bot_personalizer__element-4 { background: #5865F2; height: 60px; width: 100%; position:relative; }
.bot_personalizer__element-5 { padding: 15px; position: relative; }
.bot_personalizer__element-6 { margin-top: 35px; }
.bot_personalizer__flex-center-bold-1 { font-weight: 800; font-size: 18px; color: var(--text-main); display: flex; align-items: center; gap: 6px; }
.shared__muted-sm { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }
.bot_personalizer__muted-bold-xs { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.bot_personalizer__sm { font-size: 13px; color: var(--text-main); font-weight: 500; }
.shared__element-5 { margin-bottom: 20px; }
.cards__element { padding: 0; }
.cards__element-1 { padding: 10px 0; }
.commands__sm { font-size: 13px; display: inline-block; margin-top: 5px; }
.shared__element-6 { margin-bottom: 30px; min-height: auto; }
.shared__flex-center { display: flex; align-items: center; }
.shared__element-7 { margin-right: 8px; }
.shared__element-8 { margin-right: 5px; }
.unused__flex { display: flex; gap: 15px; align-items: flex-end; flex-wrap: wrap; }
.shared__element-9 { flex: 1; min-width: 200px; }
.shared__flex-bg-darker { display: flex; align-items: stretch; background: #111214; border-radius: 0; overflow: hidden; height: 44px; width: 100%; }
.shared__flex-center-muted { display: flex; align-items: center; justify-content: center; padding: 0 15px; background: rgba(255,255,255,0.05); color: var(--text-muted); font-size: 14px; }
.shared__element-10 { border-radius: 0; height: 100%; border: none; outline: none; padding-left: 10px; background: transparent; color: white; }
.shared__element-11 { flex: 2; min-width: 300px; }
.unused__bg-darker { height: 44px; border: none; background: #111214; color: white; border-radius: 0; padding: 0 15px; width: 100%; box-sizing: border-box; }
.moderation__element { margin: 0; }
.shared__element-12 { background: #23A559; color: white; height: 44px; padding: 0 20px; font-weight: 600; border: none; border-radius: 0; width: 100%; }
.shared__element-13 { overflow-x: auto; }
.shared__element-14 { width: 100%; border-collapse: collapse; text-align: left; }
.shared__element-15 { background: #1e1f22; }
.shared__muted-sm-1 { padding: 15px 20px; font-weight: 600; color: var(--text-muted); width: 25%; font-size: 13px; text-transform: uppercase; }
.shared__muted-sm-2 { padding: 15px 20px; font-weight: 600; color: var(--text-muted); width: 45%; font-size: 13px; text-transform: uppercase; }
.shared__muted-sm-3 { padding: 15px 20px; font-weight: 600; color: var(--text-muted); width: 15%; font-size: 13px; text-transform: uppercase; }
.shared__muted-sm-4 { padding: 15px 20px; font-weight: 600; color: var(--text-muted); width: 15%; text-align: right; font-size: 13px; text-transform: uppercase; }
.shared__muted { padding: 30px 20px; text-align: center; color: var(--text-muted); }
.shared__element-16 { border-bottom: 1px solid rgba(255,255,255,0.05); }
.shared__element-17 { padding: 15px 20px; font-family: monospace; font-size: 14px; }
.shared__element-18 { background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 0; }
.shared__element-19 { padding: 15px 20px; color: var(--text-main); line-height: 1.4; }
.shared__muted-sm-5 { padding: 15px 20px; color: var(--text-muted); font-size: 13px; }
.custom_commands__element { color: ' . ($r['color'] !== '#000000' ? htmlspecialchars($r['color']) : '#f2f3f5') . '; }
.shared__element-20 { padding: 15px 20px; text-align: right; }
.shared__element-21 { display: inline; }
.shared__element-22 { background: transparent; color: var(--accent-red); border: 1px solid var(--accent-red); }
.emojis__bg-darker { padding-left: 45px; background: #111214; }
.shared__muted-1 { color: var(--text-muted); font-size: 14px; }
.shared__element-23 { display: none; }
.discord-dash__element { position: relative; display: inline-block; }
.discord-dash__muted { cursor: pointer; color: var(--text-muted); transition: transform 0.2s; padding: 5px; }
.shared__bg-dark { display: none; position: absolute; top: 100%; right: 0; background: #2b2d31; border: 1px solid rgba(255,255,255,0.05); border-radius: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.4); padding: 15px; width: 240px; z-index: 9999; margin-top: 10px; cursor: default; }
.shared__muted-bold-xs { font-size: 11px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; }
.shared__flex { display: flex; flex-direction: column; gap: 12px; max-height: 300px; overflow-y: auto; }
.shared__muted-2 { cursor: grab; color: var(--text-muted); margin-left: 10px; padding: 5px; }
.unused__element { gap: 16px; font-size: 14px; }
.unused__text-green-sm { color: #23A559; font-weight: 500; font-size: 13px; }
.unused__text-light-bold-sm { font-weight: 800; color: #f2f3f5; font-size: 13px; }
.unused__flex-center-sm { color: #80848e; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.unused__circle { width: 6px; height: 6px; border-radius: 0; background: #4e5058; display: inline-block; }
.shared__muted-3 { cursor: grab; color: var(--text-muted); padding: 5px; }
.shared__muted-sm-6 { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.shared__flex-center-text-green { color: #23A559; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 5px; }
.shared__circle { width: 8px; height: 8px; border-radius: 0; background: #23A559; display: inline-block; }
.discord-dash__flex-center-text-red { color: #DA373C; font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 5px; }
.discord-dash__circle { width: 8px; height: 8px; border-radius: 0; background: #DA373C; display: inline-block; }
.discord-dash__element-1 { background: rgba(0,0,0,0.2); border-radius: 0; border: 1px solid var(--border-color); padding: 10px; pointer-events: none; }
.discord-dash__flex { display: flex; gap: 10px; }
.discord-dash__circle-1 { width: 24px; height: 24px; border-radius: 0; }
.discord-dash__flex-center { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.discord-dash__text-light-sm { color: #fff; font-weight: 600; font-size: 12px; }
.discord-dash__text-light-bold { background: #5865F2; color: #fff; font-size: 8px; padding: 1px 3px; border-radius: 0; font-weight: bold; }
.discord-dash__text-light-bold-xs { color: #fff; font-weight: 700; font-size: 11px; margin-bottom: 4px; }
.discord-dash__xs { color: #c4c5c6; font-size: 10px; line-height: 1.4; white-space: pre-wrap; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.discord-dash__flex-mt-sm { display: flex; gap: 3px; margin-top: 4px; flex-wrap: wrap; }
.discord-dash__center-bg-dark { background: #2b2d31; border: 1px solid var(--border-color); border-radius: 0; padding: 2px 4px; display: inline-flex; align-items: center; gap: 4px; }
.discord-dash__sm { font-size: 12px; }
.discord-dash__muted-bold { color: var(--text-muted); font-size: 9px; font-weight: bold; }
.discord-dash__muted-xs-mt-sm { color: var(--text-muted); font-size: 10px; margin-top: 2px; }
.shared__element-24 { color: #9146FF; }
.discord-dash__element-2 { padding: 0; margin: 0; display: block; position: relative; flex-grow: 1; }
.discord-dash__element-3 { padding: 0; display: block; position: absolute; top: 8px; bottom: 8px; left: 0; right: 0; overflow-y: auto; }
.discord-dash__flex-1 { display: flex; align-items: flex-start; gap: 12px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.02); }
.discord-dash__circle-2 { width: 8px; height: 8px; border-radius: 0; background: #23A559; display: inline-block; margin-top: 5px; flex-shrink: 0; }
.discord-dash__circle-3 { width: 8px; height: 8px; border-radius: 0; background: #DA373C; display: inline-block; margin-top: 5px; flex-shrink: 0; }
.discord-dash__flex-2 { display: flex; flex-direction: column; }
.discord-dash__text-light-sm-1 { font-weight: 500; color: #fff; font-size: 13px; }
.discord-dash__muted-xs { color: var(--text-muted); font-size: 11px; line-height: 1.4; word-wrap: break-word; }
.discord-dash__text-green-xs-mt-sm { color: #23A559; font-size: 10px; font-weight: 600; margin-top: 2px; }
.shared__element-25 { color: #ff0050; }
.discord-dash__muted-xs-mt-sm-1 { color: var(--text-muted); font-size: 11px; margin-top: 2px; }
.discord-dash__element-4 { color: #1DA1F2; }
.discord-dash__circle-4 { width: 8px; height: 8px; border-radius: 0; background: #1DA1F2; display: inline-block; margin-top: 5px; flex-shrink: 0; }
.discord-dash__element-5 { color: #FF0000; }
.discord-dash__element-6 { background: #ff0000; }
.discord-dash__element-7 { color: #E1306C; }
.discord-dash__element-8 { background: #ff0050; }
.discord-dash__element-9 { color: #53FC18; }
.discord-dash__element-10 { color: #F26522; }
.discord-dash__element-11 { background: #F26522; }
.shared__text-light-sm { font-size: 13px; color: #f2f3f5; font-weight: 500; }
.shared__element-26 { transform: scale(0.8); margin: 0; }
.shared__element-27 { width: 25%; }
.shared__element-28 { width: 20%; }
.shared__element-29 { width: 15%; }
.shared__element-30 { width: 15%; text-align: right; }
.logs__element { cursor: default; }
.logs__element-1 { padding-left: 10px; }
.logs__element-2 { display:block; }
/* =========================================
   MEMBER MANAGEMENT MODULE (FLAT DARK BLOCK)
   ========================================= */
.member-mgmt__alert-content {
    display: flex;
    align-items: center;
    gap: 8px;
}
.member-mgmt__stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}
.member-mgmt__stat-icon--red {
    background: rgba(240, 71, 71, 0.12);
    color: #F04747;
}
.member-mgmt__tabs-container {
    margin-bottom: 20px;
}
.member-mgmt__search-wrapper {
    position: relative;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.member-mgmt__search-icon {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: #949BA4;
    font-size: 14px;
    pointer-events: none;
}
.member-mgmt__search-input {
    width: 350px !important;
    max-width: 100%;
    display: block;
    padding-left: 38px !important;
}
.member-mgmt__table-scroll {
    overflow-x: auto;
}
.member-mgmt__table {
    width: 100%;
    border-collapse: collapse;
}
.member-mgmt__th-user {
    width: 350px;
}
.member-mgmt__muted-cell {
    color: #A1A1AA;
    font-size: 13px;
}
.member-mgmt__sync-notice {
    margin: 0;
    padding: 10px 20px;
    color: #A1A1AA;
    font-size: 12.5px;
}
.member-mgmt__reason-cell {
    font-size: 14px;
    color: #DBDEE1;
}
.moderation__element-1 { border:0; border-top:1px solid var(--border-color); margin: 20px 0; }
.moderation__muted-sm { font-size: 12px; color: var(--text-muted); margin-top:0; margin-bottom:10px; }
.music__flex-center { display: flex; align-items: center; gap: 16px; }
.music__flex { position: relative; flex: 1; max-width: 768px; height: 40px; display: flex; }
.music__flex-center-1 { position: absolute; top: 0; bottom: 0; left: 0; padding-left: 16px; display: flex; align-items: center; pointer-events: none; }
.music__element { color: #71717a; font-size: 16px; }
.music__text-light { display: block; width: 100%; height: 40px; margin: 0; background: var(--bg-dark); border: 1px solid var(--border-color); border-radius: 0; padding-left: 44px; padding-right: 16px; font-size: 14px; color: #fff; outline: none; transition: all 0.2s; box-sizing: border-box; }
.music__flex-center-text-light { margin: 0; height: 40px; background: #3f4147; color: #ffffff; padding: 0 24px; border-radius: 0; font-weight: normal; transition: all 0.2s; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: none; cursor: pointer; box-sizing: border-box; }
.shared__element-32 { text-align: center; }
.music__element-1 { color: #71717a; }
.music__element-2 { text-align: right; padding-right: 8px; }
.music__flex-center-2 { margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; align-items: center; color: #52525b; }
.music__element-3 { font-size: 36px; margin-bottom: 12px; opacity: 0.5; }
.music__flex-center-bg-dark { width: 64px; height: 64px; border-radius: 0; background: #2B2D31; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #52525b; }
.music__element-4 { overflow: hidden; }
.music__text-light-bold { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.music__element-5 { margin-left: 8px; }
.music__element-6 { width: 40px; text-align: right; }
.shared__element-33 { flex: 1; }
.music__element-7 { width: 40px; text-align: left; }
.music__element-8 { color: #52525b; cursor: default; opacity: 0.8; }
.music__element-9 { width: 1px; height: 24px; background: rgba(255,255,255,0.1); margin: 0 4px; }
.music__flex-center-3 { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.music__element-10 { font-size: 16px; }
.music__element-11 { width: 96px; }
.shared__flex-center-text-light-bold { font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.music__circle-muted { width: 32px; height: 32px; border-radius: 0; background: #1E1F22; border: none; color: #a1a1aa; cursor: pointer; }
.music__flex-center-4 { display: flex; align-items: center; gap: 12px; background: #1E1F22; border: 1px solid rgba(0,0,0,0.3); border-radius: 0; padding: 8px; }
.music__element-12 { width: 32px; height: 32px; border-radius: 0; cursor: pointer; background: transparent; border: 0; padding: 0; }
.music__muted { font-size: 14px; font-family: monospace; color: #a1a1aa; }
.music__element-13 { position: relative; }
.shared__element-34 { padding-left: 36px; }
.music__element-14 { position: absolute; left: 12px; top: 12px; color: #71717a; pointer-events: none; }
.music__sm-mt-sm { font-size: 12px; margin-top: 4px; }
.music__flex-center-5 { display: flex; justify-content: center; align-items: center; }
.music__truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music__xs-mt-sm-truncate { opacity: 0.7; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.music__element-15 { text-align: right; padding-right: 8px; font-variant-numeric: tabular-nums; }
.shared__flex-1 { display: flex; gap: 8px; }
.music__muted-1 { color: var(--text-muted); }
.reaction_roles__element { display: none; position: absolute; z-index: 1000; box-shadow: 0 8px 24px rgba(0,0,0,0.6); border-radius: 0; }
.reaction_roles__flex-center-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.shared__element-35 { margin-bottom: 5px; }
.reaction_roles__element-1 { width: auto; margin: 0; padding: 12px 24px; display: inline-block; text-decoration: none; }
.reaction_roles__element-2 { width: auto; margin: 0; padding: 12px 24px; display: inline-block; text-decoration: none; background: transparent; border: 1px solid var(--border-color); }
.reaction_roles__muted { grid-column: 1/-1; padding: 40px; text-align: center; color: var(--text-muted); background: var(--bg-dark); border-radius: 0; border: 1px dashed var(--border-color); }
.reaction_roles__element-3 { font-size: 40px; margin-bottom: 15px; }
.reaction_roles__element-4 { margin-top: 10px; }
.shared__element-36 { padding: 20px; }
.reaction_roles__flex { background: transparent; display: flex; gap: 16px; }
.reaction_roles__circle-flex-center { flex-shrink: 0; width: 40px; height: 40px; border-radius: 0; overflow: hidden; background: #2f3136; display: flex; align-items: center; justify-content: center; }
.shared__element-37 { width: 100%; height: 100%; object-fit: cover; }
.reaction_roles__element-5 { flex: 1; min-width: 0; }
.reaction_roles__flex-center { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.reaction_roles__text-light { color: #f2f3f5; font-weight: 500; font-size: 16px; letter-spacing: 0.1px; }
.reaction_roles__text-light-xs { background: #5865F2; color: #fff; font-size: 10px; padding: 1px 4px; border-radius: 0; font-weight: 600; line-height: 1.3; }
.reaction_roles__sm { color: #949ba4; font-size: 12px; margin-left: 2px; }
.reaction_roles__text-light-1 { color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 8px; word-break: break-word; }
.reaction_roles__element-6 { color: #dbdee1; font-size: 14px; line-height: 1.375; white-space: pre-wrap; word-break: break-word; }
.reaction_roles__flex-1 { display: flex; gap: 4px; margin-top: 8px; flex-wrap: wrap; }
.reaction_roles__center-bg-dark { background: #2b2d31; border: 1px solid #2b2d31; border-radius: 0; padding: 4px 6px; display: inline-flex; align-items: center; gap: 6px; }
.reaction_roles__element-7 { font-size: 16px; line-height: 1; }
.reaction_roles__sm-1 { color: #b5bac1; font-size: 13px; font-weight: 600; line-height: 1; }
.reaction_roles__flex-center-between-sm { margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.reaction_roles__flex-center-1 { color: #b5bac1; display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.reaction_roles__text-green { color:#2ecc71; }
.reaction_roles__element-8 { color:#faa61a; }
.reaction_roles__element-9 { color: var(--accent-red); text-decoration: none; font-weight: 500; padding: 6px 12px; background: rgba(218, 55, 60, 0.1); border-radius: 0; transition: 0.2s; }
.reaction_roles__element-10 { grid-template-columns: 2fr 1fr; }
.reaction_roles__element-11 { padding: 30px; }
.reaction_roles__element-12 { display: block; margin-bottom: 10px; font-weight: 500; font-size: 16px; }
.reaction_roles__element-13 { padding: 15px; border-radius: 0; box-sizing: border-box; appearance: none; cursor: pointer; }
.reaction_roles__element-14 { border: none; border-top: 1px solid var(--border-color); margin: 30px 0; }
.reaction_roles__flex-2 { display: flex; gap: 20px; margin-bottom: 20px; }
.reaction_roles__muted-sm { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.reaction_roles__element-15 { padding: 15px; border-radius: 0; }
.reaction_roles__element-16 { width: 50px; height: 50px; padding: 0; border: none; border-radius: 0; cursor: pointer; background: transparent; }
.reaction_roles__element-17 { padding: 15px; border-radius: 0; resize: vertical; }
.reaction_roles__element-18 { margin-bottom: 10px; }
.reaction_roles__flex-center-2 { display: flex; gap: 15px; margin-bottom: 15px; align-items: center; }
.reaction_roles__flex-3 { width: 44px; display: flex; justify-content: center; }
.reaction_roles__element-19 { background: rgba(255,255,255,0.05); color: var(--text-main); border: 1px dashed var(--border-color); padding: 12px; border-radius: 0; width: 100%; font-size: 14px; cursor: pointer; transition: 0.2s; }
.reaction_roles__element-20 { position: sticky; top: 20px; align-self: start; }
.reaction_roles__muted-sm-1 { margin: 0 0 10px 0; color: var(--text-muted); font-size: 13px; text-transform: uppercase; }
.reaction_roles__flex-4 { background: transparent; display: flex; gap: 16px; padding: 10px 0; }
.reaction_roles__bg-dark-mt-sm { background: #2b2d31; border-left: 4px solid #ff3366; border-radius: 0; padding: 12px 16px; margin-top: 4px; max-width: 100%; box-sizing: border-box; }
.reaction_roles__element-21 { width: 100%; background: var(--accent-red); color: white; border: none; padding: 15px; border-radius: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.reaction_roles__muted-sm-2 { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 15px; }
.reaction_roles__flex-center-3 { background: transparent; color: var(--accent-red); padding: 10px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.refactor__element { cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.refactor__flex-center { display: flex; justify-content: flex-end; align-items: center; border-top: 1px solid var(--border-color); padding-top: 15px; margin-top: auto; }
.refactor__flex { flex: 1; display: flex; flex-direction: column; }
.tiktok__element { width: 10%; }
.tiktok__element-1 { width: 35%; }
.tiktok__element-2 { color: #00f2fe; }
.shared__element-38 { margin-bottom: 15px; }
.welcome__element { margin-bottom: 30px; }
.welcome__muted-sm { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; display: block; }
.welcome__element-1 { color: #ed4245; }
.welcome__element-2 { position: relative; max-width: 100%; }
.welcome__element-3 { background: var(--bg-dark); border: 1px solid var(--border-color); color: var(--text-main); font-size: 14px; padding: 12px 15px; border-radius: 0; }
.welcome__bg-darker { display: inline-flex; background: #111214; border-radius: 0; padding: 4px; margin-bottom: 25px; gap: 4px; }
.welcome__element-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; align-items: start; }
.welcome__bg-darker-1 { background: #111214; border: 1px solid var(--border-color); border-radius: 0; padding: 20px; width: 100%; }
.welcome__element-5 { margin-bottom: 0; border: none; padding: 0; min-height: 80px; font-size: 15px; line-height: 1.5; color: #c4c5c6; background: transparent; width: 100%; outline: none; resize: none; }
.welcome__muted-sm-1 { text-align: right; color: var(--text-muted); font-size: 13px; margin-top: 15px; }
.welcome__element-6 { margin: 0; width: 100%; }
.welcome__bg-dark { padding: 20px; background: #2b2d31; border-radius: 0; }
.welcome__element-7 { max-width: 600px; }
.welcome__center-text-light-bg-dark { background: #2b2d31; color: #fff; border: 1px solid var(--border-color); padding: 8px 16px; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 0; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.welcome__muted-sm-2 { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; display:block; text-transform: uppercase; }
.welcome__bg-darker-2 { background: #111214; padding: 8px 12px; border-radius: 0; display: inline-flex; border: none; margin-top: 0; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.welcome__element-8 { background: conic-gradient(red, yellow, green, blue, magenta, red); }
.welcome__element-9 { background: #ffffff; }
.welcome__element-10 { background: #5c7e8f; }
.welcome__element-11 { background: #f04747; }
.welcome__element-12 { background: #faa61a; }
.welcome__element-13 { background: #fee75c; }
.welcome__element-14 { background: #57f287; }
.welcome__element-15 { background: #5865f2; }
.welcome__element-16 { background: #00a8fc; }
.welcome__element-17 { background: #9b59b6; }
.welcome__flex { display: flex; gap: 20px; align-items: flex-start; }
.welcome__muted-sm-3 { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; display:block; padding-left: 45px; text-transform: uppercase; }
.welcome__flex-center { display: flex; gap: 10px; align-items: center; }
.welcome__circle-flex-center-bg-darker { width: 35px; height: 35px; border-radius: 0; overflow: hidden; flex-shrink: 0; background: #111214; border: 1px dashed var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; }
.welcome__center-text-light { display: none; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); align-items: center; justify-content: center; color: #fff; }
.welcome__bg-darker-3 { flex: 1; background: #111214; border: none; color: #c4c5c6; padding: 10px 15px; border-radius: 0; font-size: 14px; outline: none; }
.welcome__bg-darker-4 { width: 100%; background: #111214; border: none; color: #c4c5c6; padding: 10px 15px; border-radius: 0; font-size: 14px; outline: none; }
.welcome__bg-darker-5 { background: #111214; border-radius: 0; padding: 15px; }
.welcome__element-18 { width: 100%; background: transparent; border: none; color: #c4c5c6; font-size: 14px; line-height: 1.5; resize: none; min-height: 80px; outline: none; padding: 0; margin: 0; }
.welcome__muted-sm-4 { text-align: right; color: var(--text-muted); font-size: 12px; margin-top: 10px; }
.welcome__bg-darker-6 { width: 100%; background: #111214; border: none; color: #adc0e8; padding: 10px 15px; border-radius: 0; font-size: 14px; outline: none; margin-bottom: 8px; }
.welcome__bg-darker-7 { width: 100%; background: #111214; border: none; color: #adc0e8; padding: 10px 15px; border-radius: 0; font-size: 14px; outline: none; margin-bottom: 20px; }
.welcome__bg-darker-8 { width: 100%; background: #111214; border: none; color: #adc0e8; padding: 10px 15px; border-radius: 0; font-size: 14px; outline: none; }
.welcome__element-19 { width: 130px; flex-shrink: 0; padding-top: 25px; }
.welcome__flex-center-bg-darker { width: 130px; height: 130px; border: 1px dashed var(--text-muted); border-radius: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: #111214; position: relative; overflow: hidden; }
.welcome__flex-1 { display: flex; justify-content: flex-end; margin-top: 20px; }
.welcome__element-20 { margin-top: 15px; }
.welcome__center { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 9999; align-items: center; justify-content: center; }
.welcome__element-21 { background: #313338; width: 500px; border-radius: 0; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.welcome__text-light-bold { font-size: 20px; font-weight: 700; margin: 0; color: #fff; }
.welcome__element-22 { padding: 0 20px 20px 20px; }
.welcome__flex-2 { display: flex; gap: 15px; }
.welcome__circle-flex-center { width: 40px; height: 40px; border-radius: 0; background: transparent; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.welcome__flex-center-1 { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.welcome__text-light { font-weight: 600; font-size: 15px; color: #fff; }
.welcome__text-light-bold-xs { background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 4px; border-radius: 0; }
.welcome__muted-sm-5 { color: var(--text-muted); font-size: 12px; }
.welcome__bg-dark-1 { background: #2b2d31; border-left: 4px solid #00a8fc; border-radius: 0; padding: 15px; margin-top: 5px; }
.welcome__flex-center-2 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.welcome__text-light-1 { color: #fff; font-weight: 600; font-size: 14px; }
.welcome__text-light-bold-1 { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 15px; }
.welcome__element-23 { color: #c4c5c6; font-size: 14px; margin-bottom: 15px; line-height: 1.4; }
.welcome__flex-3 { display: flex; flex-direction: column; gap: 10px; }
.welcome__text-light-sm { color: #fff; font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.welcome__sm { color: #c4c5c6; font-size: 13px; }
.welcome__flex-bg-dark { padding: 15px 20px; background: #2b2d31; display: flex; justify-content: flex-end; }
.welcome__text-light-2 { background: #4e5058; color: #fff; border: none; padding: 8px 24px; font-size: 14px; font-weight: 600; border-radius: 0; cursor: pointer; }
.youtube__element { width: 30%; }
.login__flex-center { display: flex; align-items: center; justify-content: center; gap: 10px; background: #5865F2; }
.profile__element { background: rgba(231, 76, 60, 0.2); border-left: 4px solid #e74c3c; padding: 15px; margin-bottom: 20px; border-radius: 0; }
.profile__element-1 { cursor: pointer; padding: 0; border: none; outline: none; background: transparent; width: 40px; height: 40px; border-radius: 0; }
.profile__element-2 { display:inline-block; }
.unused__element-1 { background:var(--bg-light); border:1px solid var(--border-color); }
.profile__element-3 { color:var(--text-muted); }
.profile__element-4 { overflow:hidden; }
.add_channel__element { grid-template-columns: 100%; gap: 30px; }
.shared__element-39 { color: var(--accent-red); }
.add_channel__element-1 { background: #9146FF; }
.custom_commands__muted-sm { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-top: 10px; }
.custom_commands__text-light { color: #fff; }
.shared__muted-4 { cursor: pointer; color: var(--text-muted); padding: 5px; transition: transform 0.2s; }
.shared__flex-center-1 { display: flex; align-items: center; gap: 15px; }
.shared__text-light-bg-dark { width:100%; height:100%; background:#2b2d31; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:bold; font-size: 16px; }
.shared__text-light-bold-xs { font-size: 10px; font-weight: 800; background: #5865f2; color: #fff; padding: 2px 6px; border-radius: 0; letter-spacing: 0.5px; }
.shared__muted-sm-mt-sm { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.refactor__element-1 { padding-top: 20px; }
.moderation__flex { display: flex; flex-direction: column; justify-content: flex-end; }
.moderation__element-2 { margin-bottom: 4px; }
.moderation__muted-sm-1 { font-size: 12px; color: var(--text-muted); margin: 0; }
.moderation__flex-1 { display: flex; align-items: flex-end; }
.moderation__element-3 { height: 100%; min-height: 80px; resize: none; margin: 0; }
.moderation__flex-2 { display: flex; flex-direction: column; gap: 20px; }
.moderation__element-4 { justify-content: flex-start; }
.moderation__element-5 { align-self: end; justify-self: end; }
.moderation__ml-auto { margin-left: auto; align-self: flex-end; }
.moderation__element-6 { height: 100%; min-height: 80px; resize: none; font-family: monospace; margin: 0; }
.sidebar__element { width:24px; height:24px; font-size:10px; }
.sidebar__element-1 { padding: 0 20px 10px 20px; }
.shared__element-40 { font-family: monospace; margin-right: 2px; }
.sidebar__element-2 { margin-bottom: 12px; }
.sidebar__element-3 { color: #b591f3; border-color: rgba(145, 70, 255, 0.35); background: rgba(145, 70, 255, 0.15); }
.sidebar__element-4 { margin-top: auto; padding: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.sidebar__flex-center { position: relative; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.sidebar__flex-center-muted-bg-dark { width: 100%; height: 100%; background: #2B2D31; display: flex; align-items: center; justify-content: center; color: #a1a1aa; }
.shared__element-34 { flex: 1; overflow: hidden; }
.sidebar__text-light-truncate { font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar__muted-sm { font-size: 12px; color: #a1a1aa; }
.sidebar__sm { color: #71717a; font-size: 12px; }
.sidebar__element-5 { bottom: 100%; top: auto; right: 0; margin-bottom: 10px; width: 100%; left: 0; }
.sidebar__element-6 { width: 16px; margin-right: 8px; }

/* MINIGAME TOGGLES */
.minigame-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: #1e1f22; border-radius: 0; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.02); }
.minigame-left { display: flex; align-items: center; gap: 15px; }
.minigame-icon-box { width: 42px; height: 42px; background: #111214; border-radius: 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.minigame-icon { color: var(--accent-green); font-size: 18px; }
.minigame-title { font-size: 15px; font-weight: 700; color: white; display: block; }
.minigame-desc { font-size: 13px; color: var(--text-sub); margin-top: 5px; line-height: 1.4; }


/* --- SUPERADMIN CSS --- */
.sa-section-header { margin-top: 30px; margin-bottom: 20px; }
.sa-section-header-title { font-size: 1.25rem; font-weight: 600; white-space: nowrap; margin: 0 0 10px 0; color: #f3f4f6; }
.sa-divider { border: 0; border-top: 1px solid #374151; margin: 0; }
.sa-flex-center { display: flex; align-items: center; gap: 10px; }
.sa-avatar-small { width: 32px; height: 32px; border-radius: 0; object-fit: cover; }
.sa-avatar-fallback { width: 32px; height: 32px; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; margin: 0; }
.sa-desc-text { line-height: 1.6; }
.sa-flex-between { display: flex; justify-content: space-between; }
.sa-icon-blue { color: #60a5fa; }
.sa-icon-green { color: #4ade80; }
.sa-desc-subtext { display: flex; justify-content: space-between; margin-top: 8px; color: #9ca3af; font-size: 0.85rem; }
.sa-icon-large { font-size: 24px; }
.sa-status-dot-live { display: inline-block; width: 10px; height: 10px; background-color: #ef4444; border-radius: 0; }
.sa-status-dot-offline { display: inline-block; width: 10px; height: 10px; background-color: #9ca3af; border-radius: 0; }
.sa-text-muted { color: #9ca3af; }
.sa-margin-top-30 { margin-top: 30px; }
.sa-margin-top-40 { margin-top: 40px; }
.sa-icon-margin { margin-right: 8px; }
.sa-metric-title { font-weight: 600; color: #f3f4f6; margin-bottom: 5px; }
.sa-metric-value { font-size: 1.5rem; color: #4ade80; margin-bottom: 10px; }
.sa-metric-date { font-size: 0.8rem; color: #6b7280; }
.sa-table-container { margin-top: 30px; background: #1e1f22; border-radius: 0; overflow: hidden; border: 1px solid #374151; }
.sa-table { width: 100%; border-collapse: collapse; text-align: left; }
.sa-table-head-row { background: #2b2d31; color: #9ca3af; font-size: 0.85rem; text-transform: uppercase; }
.sa-table-th { padding: 12px 15px; }
.sa-table-tbody { font-size: 0.9rem; color: #e5e7eb; }
.sa-table-row { border-bottom: 1px solid #374151; }
.sa-table-td { padding: 12px 15px; }
.sa-table-td-muted { color: #9ca3af; white-space: nowrap; padding: 12px 15px; }
.sa-badge-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; padding: 2px 6px; border-radius: 0; font-size: 0.8rem; }
.sa-text-light { color: #d1d5db; }
.sa-flex-col-gap { display: flex; flex-direction: column; gap: 15px; margin-top: 30px; }
.sa-error-card-err { background: #1e1f22; border-left: 4px solid #ef4444; border-radius: 0; padding: 15px; display: flex; justify-content: space-between; align-items: flex-start; }
.sa-error-card-warn { background: #1e1f22; border-left: 4px solid #f59e0b; border-radius: 0; padding: 15px; display: flex; justify-content: space-between; align-items: flex-start; }
.sa-error-source { background: rgba(0,0,0,0.3); padding: 3px 8px; border-radius: 0; font-size: 0.8rem; font-weight: 600; color: #d1d5db; }
.sa-error-level-err { color: #ef4444; font-size: 0.85rem; font-weight: bold; }
.sa-error-level-warn { color: #f59e0b; font-size: 0.85rem; font-weight: bold; }
.sa-error-date { color: #6b7280; font-size: 0.8rem; }
.sa-error-msg { color: #f3f4f6; font-size: 1rem; margin-bottom: 8px; }
.sa-error-trace { background: #111214; padding: 10px; border-radius: 0; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: #9ca3af; overflow-x: auto; max-width: 800px; }
.sa-btn-resolve { background: transparent; border: 1px solid #374151; color: #9ca3af; padding: 6px 12px; border-radius: 0; cursor: pointer; transition: all 0.2s; }
.sa-btn-resolve:hover { background: #374151; color: #fff; }
.sa-flex-col-between { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.sa-btn-restart { background: #374151; width: 100%; border: 1px solid #4b5563; }
.sa-success-box { background: rgba(46, 204, 113, 0.1); border-left: 4px solid #2ecc71; color: #2ecc71; padding: 15px; border-radius: 0; margin-top: 20px; }
.sa-margin-0 { margin: 0; }
.sa-margin-top-15 { margin-top: 15px; }
.sa-margin-top-0 { margin-top: 0; }
.sa-margin-bottom-8 { margin-bottom: 8px; }
.sa-border-red { border: 1px solid #ef4444; }
.sa-icon-red { color: #ef4444; }
.sa-icon-discord { color: #5865F2; }
.sa-icon-twitch { color: #9146FF; }
.sa-analytics-card { grid-column: 1 / -1; min-height: 400px; display: flex; flex-direction: column; }
.sa-canvas-container { flex-grow: 1; position: relative; }
.sa-canvas { position: absolute; left: 0; top: 0; right: 0; bottom: 0; width: 100%; height: 100%; }

/* Superadmin UI Tweaks */
.sa-status-header-icon { margin: 0 6px; width: 20px !important; height: 20px !important; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.sa-status-header-right { color: #a1a1aa; display: flex; gap: 10px; }
.sa-text-success { color: #22c55e !important; }
.sa-plugin-footer-right { display: flex; justify-content: flex-end; align-items: center; }
.sa-plugin-footer-controls { display: flex; align-items: center; font-size: 13px; color: #a1a1aa; }
.sa-btn-leave { background: transparent; border: none; color: #ef4444; font-weight: 600; cursor: pointer; padding: 0; transition: color 0.2s; }
.sa-btn-leave:hover { color: #b91c1c; }

/* =========================================
   LEAVE CONFIRM MODAL
   ========================================= */
.leave-modal-card {
    width: 450px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.leave-modal-title {
    color: #ef4444;
    font-size: 24px;
    margin-bottom: 10px;
}
.leave-modal-text {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.5;
    font-size: 15px;
}
.leave-modal-actions {
    justify-content: center;
    width: 100%;
    margin-top: 0;
}
.leave-modal-btn {
    flex: 1;
    padding: 12px;
}
.leave-modal-btn-submit {
    background: #ef4444 !important;
}

/* =========================================
   STATUS METRIC TILE
   ========================================= */
.status-metric-value-bold {
    font-weight: 700;
    color: #fff;
}
.status-metric-value-success {
    font-weight: 700;
    color: #23A559;
}
.status-plugin-leave-btn {
    color: #ef4444;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}
.status-header-left {
    display: flex;
    align-items: center;
}
.status-header-icon {
    width: 24px;
    height: 24px;
    border-radius: 0;
    margin-right: 10px;
    object-fit: cover;
}
.status-header-fallback {
    width: 24px;
    height: 24px;
    border-radius: 0;
    margin-right: 10px;
    background: #2b2d31;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}
.status-header-title {
    font-weight: 800;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
}

.status-plugin-footer-center {
    justify-content: center !important;
}

.sa-margin-right-10 {
    margin-right: 10px;
    background: none;
    border: none;
    color: #ef4444;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.ping-green { color: #22c55e; }
.ping-yellow { color: #eab308; }
.ping-red { color: #ef4444; }

/* LOCKED MODULE STYLING */
.plugin-card.sa-module-locked {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.plugin-card.sa-module-locked .plugin-header,
.plugin-card.sa-module-locked .plugin-desc,
.plugin-card.sa-module-locked .plugin-footer {
    filter: blur(3px);
}

.plugin-card.sa-module-locked::after {
    content: "\f023\00a0\00a0Modul gesperrt";
    font-family: "Font Awesome 6 Free", "Inter", sans-serif;
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #111214;
    color: #F04747;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 10;
    pointer-events: auto;
}

/* TILE TOGGLE MENU */
.tile-toggle-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #1E1F22;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    padding: 20px;
    width: 450px;
    z-index: 9999;
    margin-top: 10px;
    cursor: default;
}

.tile-toggle-menu__header {
    background: #111214;
    padding: 10px 15px;
    border-radius: 0;
    font-size: 13px;
    text-transform: uppercase;
    color: #F2F3F5;
    font-weight: 800;
    margin-bottom: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tile-toggle-menu__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

.tile-toggle-menu__item {
    background: #2B2D31;
    border-radius: 0;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tile-toggle-menu__label {
    font-size: 12px;
    font-weight: 700;
    color: #F2F3F5;
    text-transform: uppercase;
}

/* =========================================
   LOG SYSTEM: EBENE 1 & 2 + AUDIT-LOG VERLAUF
   100% Flat Dark Block Schema (border-radius: 0;)
   ========================================= */

/* Panel-Kacheln auf Ebene 1 */
.log-system-panel {
    background: #1E1F22 !important;
    border: none !important;
    border-radius: 0 !important;
    margin-bottom: 8px;
    padding: 14px 18px !important;
}

.log-system-panel__header-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.log-system-panel__icon {
    font-size: 20px;
    width: 44px;
    height: 44px;
    background: #111214;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.log-system-panel__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.log-status-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 0;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.log-status-pill--active {
    background: rgba(35, 165, 89, 0.15);
    color: #23A559;
}

.log-status-pill--inactive {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted, #949BA4);
}

.log-channel-tag {
    background: #111214;
    color: #5865F2;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.log-channel-tag--empty {
    color: var(--text-muted, #949BA4);
    border-color: rgba(255, 255, 255, 0.08);
}

.log-btn-edit,
button.log-btn-edit {
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Audit-Log Kachel & Header */
.log-audit-section {
    margin-top: 25px;
}

.log-audit-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.log-action-btn {
    height: 34px;
    border: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    padding: 0 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
}

.log-action-btn--secondary {
    background: #4E5058;
    color: #F2F3F5;
}

.log-action-btn--danger {
    background: #F04747;
    color: #FFFFFF;
}

.log-action-btn--primary {
    background: #5865F2;
    color: #FFFFFF;
}

/* Filter-Box im Flat Dark Block Schema */
.log-filter-box {
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 16px;
    margin-bottom: 18px;
    border-radius: 0;
}

.log-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.log-filter-item {
    display: flex;
    flex-direction: column;
    flex: 1 1 150px;
    min-width: 130px;
}

.log-filter-item--search {
    flex: 2 1 240px;
    min-width: 200px;
}

.log-filter-item--buttons {
    flex: 0 0 auto;
    min-width: auto;
}

.log-filter-btn-group {
    display: flex;
    gap: 6px;
    align-items: center;
    height: 32px;
}

.log-filter-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted, #949BA4);
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    height: 14px;
    line-height: 14px;
    white-space: nowrap;
}

.log-filter-label--spacer {
    visibility: hidden;
    pointer-events: none;
}

.log-search-wrap,
.log-select-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    height: 32px;
}

.log-search-icon {
    position: absolute;
    left: 10px;
    color: #71717A;
    font-size: 12px;
    pointer-events: none;
}

.log-select-chevron {
    position: absolute;
    right: 10px;
    color: #A1A1AA;
    font-size: 11px;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.log-filter-control,
input.log-filter-control,
select.log-filter-control {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    color: #F2F3F5;
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    padding: 0 10px;
    font-size: 12.5px;
    box-sizing: border-box;
    width: 100%;
    outline: none;
    line-height: 30px;
}

.log-filter-control:focus,
input.log-filter-control:focus,
select.log-filter-control:focus {
    border-color: #5865F2;
}

.log-filter-control--search {
    padding-left: 28px;
}

.log-filter-select,
select.log-filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 28px;
    cursor: pointer;
}

.log-btn-filter-submit,
button.log-btn-filter-submit {
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    box-sizing: border-box;
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    padding: 0 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.log-btn-filter-reset,
a.log-btn-filter-reset {
    height: 32px;
    min-height: 32px;
    max-height: 32px;
    box-sizing: border-box;
    width: 32px;
    background: #383A40;
    color: #F2F3F5;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
}

/* Log-Tabelle (Optimiert gegen Feldüberlappungen) */
.log-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: #1E1F22;
    border-radius: 0;
    margin-bottom: 15px;
}

.log-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    table-layout: fixed;
    min-width: 1050px;
}

.log-table__head {
    background: #111214;
}

.log-table__row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.log-table__row:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

.log-table__head th {
    padding: 11px 10px;
    color: var(--text-muted, #949BA4);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.log-table__td {
    padding: 11px 10px;
    font-size: 13px;
    color: #F2F3F5;
    vertical-align: middle;
}

.log-table__head th:first-child,
.log-table__td:first-child {
    padding-left: 16px;
}

.log-table__head th:last-child,
.log-table__td:last-child {
    padding-right: 18px;
}

/* Feste, inhaltsspezifische Spaltenbreiten */
.log-col-time {
    width: 135px;
    min-width: 135px;
    max-width: 135px;
    white-space: nowrap;
    color: var(--text-muted, #949BA4);
    font-size: 12px;
}

.log-col-level {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    text-align: center;
    white-space: nowrap;
}

.log-col-module {
    width: 95px;
    min-width: 95px;
    max-width: 95px;
    white-space: nowrap;
}

.log-col-source {
    width: 75px;
    min-width: 75px;
    max-width: 75px;
    white-space: nowrap;
}

.log-col-user {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
}

.log-col-action {
    width: 210px;
    min-width: 190px;
}

/* Maximale Raumzuteilung für Details */
.log-col-details {
    width: auto;
    min-width: 360px;
}

.log-table__action-title {
    font-weight: 600;
    color: #F2F3F5;
    display: inline-block;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.log-table__details-text {
    color: #D1D5DB;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: break-word;
    font-size: 13px;
}

.log-table__user {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.log-table__user-name {
    font-weight: 600;
    color: #F2F3F5;
}

.log-table__user-id {
    font-size: 11px;
    color: var(--text-muted, #949BA4);
    font-family: monospace;
}

.log-table__source {
    background: #111214;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-block;
}

.log-table__source--discord {
    color: #5865F2;
    border-left: 2px solid #5865F2;
}

.log-table__source--web {
    color: #23A559;
    border-left: 2px solid #23A559;
}

.log-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 0;
    display: inline-block;
    letter-spacing: 0.04em;
}

.log-badge--info {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
}

.log-badge--action {
    background: rgba(35, 165, 89, 0.15);
    color: #23A559;
}

.log-badge--warn {
    background: rgba(241, 196, 15, 0.15);
    color: #F1C40F;
}

.log-badge--critical {
    background: rgba(240, 71, 71, 0.15);
    color: #F04747;
}

.log-badge--module {
    background: #111214;
    color: #F2F3F5;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 0;
    display: inline-block;
}

.log-table__empty {
    padding: 50px 20px;
    text-align: center;
    color: var(--text-muted, #949BA4);
    font-size: 14px;
}

.log-table__empty i {
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.6;
}

/* Paginierung */
.log-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #111214;
    border-radius: 0;
    font-size: 13px;
    color: var(--text-muted, #949BA4);
    flex-wrap: wrap;
    gap: 12px;
}

.log-pagination__info {
    font-size: 12.5px;
    color: var(--text-muted, #949BA4);
}

.log-pagination__controls {
    display: flex;
    gap: 6px;
    align-items: center;
}

.log-pagination__btn {
    background: #1E1F22;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.log-pagination__btn--disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* Modal für Logs leeren */
.log-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.log-modal-overlay.active {
    display: flex;
}

.log-modal {
    background: #2B2D31;
    border-radius: 0;
    width: 100%;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.log-modal__header {
    background: #111214;
    padding: 16px 20px;
    color: #F04747;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.log-modal__body {
    padding: 22px 20px;
    color: #F2F3F5;
    font-size: 14px;
    line-height: 1.5;
}

.log-modal__footer {
    background: #111214;
    padding: 14px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Ebene 2 Editor spezifische Styles */
.log-editor-field-spacing {
    margin-top: 18px;
}

.log-color-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.log-color-hex-input {
    width: 130px !important;
}

.log-color-preview-box {
    width: 38px;
    height: 38px;
    border-radius: 0;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   AI SETTINGS PERSONA
   ========================================= */
.ai-persona-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ai-persona-toggle__btn {
    flex: 1;
    background: #111214;
    color: var(--text-muted);
    border: 2px solid transparent;
    padding: 15px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}


.ai-persona-toggle__btn--active {
    background: #2B2D31;
    color: #F2F3F5;
    border-color: #5865F2;
}

.ai-persona-toggle__btn:hover {
    background: #111214 !important;
}

.ai-persona-toggle__btn.ai-persona-toggle__btn--active:hover {
    background: #2B2D31 !important;
}

.ai-persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.ai-persona-grid.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.ai-persona-tile {
    background: #111214;
    border: 2px solid transparent;
    border-radius: 0;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-persona-tile:hover {
    background: #2B2D31;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.ai-persona-tile--active {
    background: #2B2D31;
    border-color: var(--accent-green);
}

.ai-persona-tile__icon {
    font-size: 28px;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.ai-persona-tile--active .ai-persona-tile__icon,
.ai-persona-tile:hover .ai-persona-tile__icon {
    color: #F2F3F5;
}

.ai-persona-tile--active.ai-persona-tile__icon--green {
    color: var(--accent-green);
}

.ai-persona-tile__name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-persona-tile--active .ai-persona-tile__name,
.ai-persona-tile:hover .ai-persona-tile__name {
    color: #F2F3F5;
}

.ai-persona-custom {
    transition: opacity 0.3s ease;
}

.ai-persona-custom.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Twitch Timer Module CSS */
.discord-dash__table-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.discord-dash__table-row:last-child {
    border-bottom: none;
}

/* AI Profile Dashboard Card */
.ai-profile-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.ai-profile-card__avatar {
    width: 32px;
    height: 32px;
    border-radius: 0;
    margin-right: 10px;
}
.ai-profile-card__name {
    color: var(--text-primary);
    font-weight: 700;
}
.ai-profile-card__text-box {
    color: var(--text-muted);
    font-size: 0.9em;
    line-height: 1.5;
    background: var(--bg-primary);
    padding: 12px;
    border-radius: 0;
    margin-top: 15px;
}

.timer-form__footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.timer-form__inputs-wrapper {
    display: flex;
    gap: 20px;
}

.timer-form__btn-inline {
    margin-top: 25px;
    width: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.timer-form__group {
    margin-bottom: 0;
}

.timer-form__help-text {
    margin-top: 5px;
}

.timer-table__message-preview {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-muted);
}

.timer-table__meta {
    font-size: 12px;
    color: var(--text-muted);
}

.timer-table__action-form {
    margin: 0;
    display: inline-block;
}

.timer-table__cell--right {
    text-align: right;
}

.timer-table__empty-state {
    text-align: center;
    padding: 20px;
}

.timer-form__input--small {
    max-width: 120px;
}

.table-container.timer-table-wrapper {
    border-radius: 0;
    border: none;
    background: transparent;
}

.cc-table tr:hover,
.cc-table tr:hover td {
    background: transparent !important;
}

/* ONBOARDING & REQUEST ACCESS */
.onboarding-card {
    max-width: 800px;
    margin: 60px auto;
    background: #1e1f22;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden;
    color: #F2F3F5;
    border: none;
}

.onboarding-card__header {
    background: #111214;
    padding: 20px 30px;
    text-align: center;
    border: none;
}

.onboarding-card__title {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.onboarding-card__desc {
    color: #A1A1AA;
    font-size: 14px;
}

.onboarding-card__body {
    padding: 30px;
    background: #2B2D31;
    border: none;
}

.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.onboarding-tile {
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.onboarding-tile--active {
    background: #111214;
}

.onboarding-tile__icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.onboarding-tile--discord .onboarding-tile__icon { color: #5865F2; }
.onboarding-tile--twitch .onboarding-tile__icon { color: #9146FF; }
.onboarding-tile--tiktok .onboarding-tile__icon { color: #00f2fe; }

.onboarding-tile__title {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

.onboarding-subgrid {
    display: none;
    background: #111214;
    padding: 20px;
    border-radius: 0;
    margin-bottom: 30px;
    border: none;
}

.onboarding-subgrid--show {
    display: block;
}

.onboarding-subgrid__title {
    font-size: 14px;
    color: #A1A1AA;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.onboarding-subgrid__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.onboarding-module {
    background: #2B2D31;
    padding: 10px 15px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    color: #A1A1AA;
    cursor: pointer;
    border: none;
}

.onboarding-module--active {
    color: #F2F3F5;
    background: #23A559;
    border: none;
}

.onboarding-module--disabled {
    opacity: 0.5;
    pointer-events: none;
}

.onboarding-card__footer {
    padding: 20px 30px;
    background: #111214;
    text-align: center;
    border: none;
}

.onboarding-btn {
    background: #23A559;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 0;
    text-transform: uppercase;
    cursor: pointer;
}
.onboarding-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
    background: #1E1F22;
    color: #A1A1AA;
}

/* SUPERADMIN USERS PAGE OVERRIDES */
.users-table-actions {
    display: flex;
    gap: 10px;
}
.sa-btn-approve {
    background: #23A559;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 0;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}
.sa-btn-reject {
    background: #F04747;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 0;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}
.sa-module-badge {
    background: #5865F2;
    color: white;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin: 2px;
}

/* SUPERADMIN MODULE TOGGLES (FLAT DARK BLOCK) */
.sa-module-toggle {
    display: inline-block;
    cursor: pointer;
    margin: 0;
}
.sa-module-toggle input[type="checkbox"] {
    display: none;
}
.sa-module-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #111214;
    color: #A1A1AA;
    padding: 8px 14px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}
.sa-module-toggle input[type="checkbox"]:checked + .sa-module-toggle-label {
    background: #23A559;
    color: #F2F3F5;
}
.sa-module-toggle-label i.fa-check {
    display: none;
}
.sa-module-toggle input[type="checkbox"]:checked + .sa-module-toggle-label i.fa-check {
    display: inline-block;
}
.sa-module-toggle-label i.fa-xmark {
    display: inline-block;
    color: #F04747;
}
.sa-module-toggle input[type="checkbox"]:checked + .sa-module-toggle-label i.fa-xmark {
    display: none;
}

/* ==========================================================================
   GLÜCKSRAD TOOL (Flat Dark Block Schema)
   ========================================================================== */

.wheel-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 24px;
}

.wheel-tool__badge {
    background: #1E1F22;
    color: #F2F3F5;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.wheel-tool__body {
    background: #383A40;
    padding: 24px;
}

.wheel-tool__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 950px) {
    .wheel-tool__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.wheel-tool__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: #111214;
    border-radius: 0;
    padding: 24px;
    box-sizing: border-box;
}

.wheel-tool__canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.wheel-tool__canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    display: block;
}

.wheel-tool__pointer {
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-right: 24px solid #F2F3F5;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.wheel-tool__spin-action-btn {
    background: #23A559;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    user-select: none;
    box-sizing: border-box;
}

.wheel-tool__panel {
    background: #111214;
    border-radius: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}

.wheel-tool__toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wheel-tool__tab-btn {
    flex: 1;
    background: #2B2D31;
    color: #A1A1AA;
    border: none;
    border-radius: 0;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    user-select: none;
}

.wheel-tool__tab-btn.is-active,
.wheel-tool__tab-btn--active {
    background: #383A40;
    color: #F2F3F5;
}

.wheel-tool__action-btn {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 8px 10px;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.wheel-tool__tab-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wheel-tool__tab-content--hidden {
    display: none;
}

.wheel-tool__field-label {
    font-size: 12px;
    font-weight: 700;
    color: #A1A1AA;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wheel-tool__textarea {
    width: 100%;
    height: 320px;
    background: #1E1F22;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
}

.wheel-tool__textarea:focus {
    outline: 1px solid #7289da;
}

/* Settings tab */
.wheel-tool__setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #1E1F22;
    border-radius: 0;
    gap: 12px;
    box-sizing: border-box;
}

.wheel-tool__setting-label {
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
}

.wheel-tool__setting-input {
    width: 72px;
    background: #111214;
    border: none;
    border-radius: 0;
    color: #F2F3F5;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    outline: none;
    box-sizing: border-box;
}

.wheel-tool__setting-input:focus {
    outline: 1px solid #7289da;
}

/* Results tab */
.wheel-tool__results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wheel-tool__results-title {
    font-size: 12px;
    font-weight: 700;
    color: #A1A1AA;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wheel-tool__results-reset {
    background: transparent;
    border: none;
    color: #F04747;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
}

.wheel-tool__results-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
    font-size: 13px;
    color: #F2F3F5;
}

.wheel-tool__history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #1E1F22;
    border-radius: 0;
    color: #F2F3F5;
    box-sizing: border-box;
}

.wheel-tool__history-rank {
    color: #A1A1AA;
    font-weight: 700;
    font-size: 12px;
}

/* Winner Modal */
.comp-modal--wheel-winner {
    width: 480px;
    max-width: 92vw;
    border-radius: 0;
}

.wheel-tool__winner-body {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    min-height: 160px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.wheel-tool__confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wheel-tool__winner-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wheel-tool__winner-congrats {
    font-size: 14px;
    font-weight: 800;
    color: #23A559;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.wheel-tool__winner-name {
    font-size: 28px;
    font-weight: 900;
    color: #F2F3F5;
    word-break: break-word;
}

.dw-btn-danger {
    background: #F04747;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   BINGO CREATOR TOOL (Flat Dark Block Schema)
   ========================================================================== */

.bingo-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 24px;
}

.bingo-tool__badge {
    background: #1E1F22;
    color: #F2F3F5;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.bingo-tool__body {
    background: #383A40;
    padding: 24px;
}

.bingo-tool__layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 950px) {
    .bingo-tool__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.bingo-tool__controls-card {
    background: #111214;
    border-radius: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
}

.bingo-tool__form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bingo-tool__label {
    font-size: 12px;
    font-weight: 700;
    color: #A1A1AA;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.bingo-tool__input {
    width: 100%;
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 10px 14px;
    color: #F2F3F5;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
}

.bingo-tool__input:focus {
    outline: 1px solid #7289da;
}

.bingo-tool__textarea {
    width: 100%;
    height: 190px;
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 12px 14px;
    color: #F2F3F5;
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
}

.bingo-tool__textarea:focus {
    outline: 1px solid #7289da;
}

.bingo-tool__select {
    width: 100%;
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 11px 36px 11px 14px;
    color: #F2F3F5;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    appearance: none;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
}

.bingo-tool__select:focus {
    outline: 1px solid #7289da;
}

.bingo-tool__toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1E1F22;
    border-radius: 0;
    padding: 12px 14px;
    gap: 12px;
    box-sizing: border-box;
}

.bingo-tool__toggle-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bingo-tool__toggle-title {
    font-size: 13px;
    font-weight: 700;
    color: #F2F3F5;
}

.bingo-tool__toggle-desc {
    font-size: 11.5px;
    color: #A1A1AA;
}

.bingo-tool__btn-submit {
    width: 100%;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bingo-tool__btn-reset {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Bingo Preview Card */
.bingo-tool__preview-card {
    background: #111214;
    border-radius: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.bingo-tool__preview-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bingo-tool__preview-badge {
    background: #1E1F22;
    color: #A1A1AA;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.bingo-tool__preview-title {
    color: #F2F3F5;
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    word-break: break-word;
}

.bingo-tool__grid {
    display: grid;
    gap: 8px;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    background: transparent;
    box-sizing: border-box;
}

.bingo-tool__grid[data-size="3"] {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
}

.bingo-tool__grid[data-size="4"] {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
}

.bingo-tool__grid[data-size="5"] {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
}

.bingo-tool__cell {
    background: #1E1F22;
    color: #F2F3F5;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    font-size: 13.5px;
    font-weight: 600;
    word-break: break-word;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

.bingo-tool__cell--free {
    background: #2B2D31;
    color: #5865F2;
    font-weight: 800;
}

.bingo-tool__cell--active {
    background: #23A559;
    color: #FFFFFF;
    font-weight: 700;
}

/* DASHBOARD COMPACT CARDS */
.plugins-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 15px;
    align-items: start;
}

.dashboard-group__title {
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-group__divider {
    border: 0;
    height: 1px;
    background: #333333;
    margin-bottom: 20px;
}

.dashboard-card {
    padding: 12px 20px 15px 20px;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    border-radius: 0 !important;
    background: #383A40;
    box-shadow: none;
}

.dashboard-card--placeholder {
    opacity: 0.6;
}

.dashboard-card__header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.dashboard-card__divider {
    border: 0;
    height: 1px;
    background: #333333;
    margin-bottom: 12px;
    width: 100%;
    display: block;
}

.dashboard-subtle-divider {
    border: 0;
    border-top: 1px solid var(--border-color);
    background: transparent;
    margin-bottom: 25px;
    margin-top: 5px;
    width: 100%;
    display: block;
}

.dashboard-card__avatar {
    width: 40px;
    height: 40px;
    background: #2b2d31;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 12px;
    border-radius: 50%;
}

.dashboard-card__avatar--twitch { background: #6441a5; color: #fff; }
.dashboard-card__avatar--tiktok { background: #000000; color: #fff; }
.dashboard-card__avatar--youtube { background: #ff0000; color: #fff; }

.dashboard-card__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dashboard-card__info {
    min-width: 0; /* Allows truncation */
}

.dashboard-card__name {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-card__meta {
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-card__meta-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.dashboard-card__status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 0;
}

.dashboard-card__status-dot--online { background-color: var(--accent-green); }
.dashboard-card__status-dot--offline { background-color: var(--accent-red); }

.dashboard-card__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.dashboard-card__label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
}

.dashboard-card__value {
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
}

.dashboard-card__value--online { color: var(--accent-green); }
.dashboard-card__value--offline { color: var(--accent-red); }
.dashboard-card__value--warning { color: #faa61a; }

.dashboard-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #111214;
    padding-top: 15px;
}

.dashboard-card__footer-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-card__footer-link--muted {
    color: var(--text-primary);
}

.dashboard-card__footer-link--danger {
    color: var(--accent-red);
}

.dashboard-card--active {
    border: 1px solid var(--accent-green);
}

.dashboard-card--add {
    background: #111214;
    border: 1px dashed #ffffff;
    transition: all 0.2s;
}
.dashboard-card--add:hover {
    background: #1e1f22;
}

.dashboard-card__placeholder-text {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 10px 0;
}

/* --- TWITCH MODERATION REDESIGN --- */

/* Sticky Save Button */
.btn-save-global {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--accent-green);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(35, 165, 89, 0.4);
    display: none; /* Shown via JS when changes occur */
}

/* Mod Card Enhancements */
.setting-card {
    margin-bottom: 24px;
}

.setting-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
    background: #1e1f22;
}

.setting-card-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background: #111214;
    padding: 2px 6px;
    border-radius: 0;
    margin-top: 4px;
    display: inline-block;
}

.setting-card.active .setting-card-header {
    border-left: 3px solid var(--accent-green);
}
.setting-card:not(.active) .setting-card-header {
    border-left: 3px solid transparent;
}
.setting-card:not(.active) .setting-card-icon {
    filter: grayscale(100%);
    opacity: 0.5;
}

/* Chip List */
.mod-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: #1e1f22;
    border-radius: 0;
    min-height: 40px;
}
.mod-chip {
    background: #2b2d31;
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mod-chip-remove {
    cursor: pointer;
    color: var(--accent-red);
    font-weight: bold;
}
.mod-chip-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 12px;
    outline: none;
    flex-grow: 1;
    min-width: 100px;
}

/* Custom Range Slider */
.mod-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #1e1f22;
    border-radius: 0;
    outline: none;
}
.mod-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 0;
    background: var(--text-primary);
    cursor: pointer;
}

/* Number Input Buttons */
.mod-number-wrapper {
    display: flex;
    align-items: center;
    background: #1e1f22;
    border-radius: 0;
    overflow: hidden;
    width: max-content;
}
.mod-number-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: bold;
    padding: 8px 12px;
    cursor: pointer;
}
.mod-number-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    width: 50px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    outline: none;
    -moz-appearance: textfield;
}
.mod-number-input::-webkit-outer-spin-button,
.mod-number-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Live Preview */
.mod-preview-container {
    margin-top: 20px;
    padding: 15px;
    background: #111214;
    border-radius: 0;
    border-left: 3px solid #7289da;
}
.mod-preview-title {
    font-size: 12px;
    font-weight: 700;
    color: #7289da;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mod-preview-chat {
    font-size: 13px;
    color: var(--text-primary);
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.mod-preview-chat-author {
    font-weight: 700;
    color: #ff8280; /* Random twitch name color */
}
.mod-preview-chat-msg {
    word-break: break-all;
}
.mod-preview-chat-msg.deleted {
    color: var(--text-muted);
    text-decoration: line-through;
}
.mod-preview-badge {
    font-size: 10px;
    background: var(--accent-red);
    color: #fff;
    padding: 2px 4px;
    border-radius: 0;
    margin-left: 6px;
    vertical-align: middle;
}
.mod-test-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.mod-test-input {
    flex-grow: 1;
    background: #1e1f22;
    border: none;
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 0;
    outline: none;
    font-size: 13px;
}
.mod-test-btn {
    background: #2b2d31;
    color: var(--text-primary);
    border: none;
    padding: 8px 16px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}
.plugin-desc.mod-system-tester {
    padding: 20px;
    flex-grow: 1;
    background: #383A40;
}

/* --- NEW MODERATION REDESIGN (GRID & SYSTEM TESTER) --- */
.mod-grid-input-no-margin {
    margin-bottom: 0 !important;
}

.mod-dashboard-wrapper {
    display: block;
    margin-bottom: 30px;
    background: #2b2d31;
    padding: 25px;
    border-radius: 0;
}

.mod-dashboard-wrapper .plugin-card {
    background: #383A40;
    box-shadow: none;
}

/* Stats Row */
.mod-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.mod-stat-card {
    background: #2B2D31;
    border-radius: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
}
.mod-stat-card-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mod-stat-card-title {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
}
.mod-stat-card-value {
    font-size: 28px;
    font-weight: 700;
    color: #F2F3F5;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.mod-stat-card-sub {
    font-size: 12px;
    color: var(--text-sub);
    font-weight: 500;
}
.mod-stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #1E1F22;
}
.mod-stat-card-icon.red { color: #F04747; border: 1px solid rgba(240,71,71,0.2); }
.mod-stat-card-icon.yellow { color: #F5A623; border: 1px solid rgba(245,166,35,0.2); }
.mod-stat-card-icon.green { color: #23A559; border: 1px solid rgba(35,165,89,0.2); }

/* Main Grid Layout */
.mod-grid {
    display: grid;
    grid-template-columns: 1fr 350px 280px;
    gap: 20px;
    align-items: stretch;
}
.mod-grid--2-cols {
    grid-template-columns: 1fr 350px;
}
.mod-grid--1-2-cols {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}
.mod-grid--with-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    margin-top: 15px;
}
.mod-grid__col--full {
    width: 100%;
}

/* Stats Column */
.mod-stats-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 2x2 Filter Grid */
.mod-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start;
}

.mod-filter-grid--4cols {
    grid-template-columns: repeat(4, 1fr);
}

/* Individual Filter Card */
.mod-filter-card {
    background: #383A40;
    border-radius: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: none;
    position: relative;
}
.mod-filter-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mod-filter-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    color: #F2F3F5;
}
.mod-filter-card-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.4;
    min-height: 40px;
}
.mod-filter-card-info {
    background: #111214;
    border-radius: 0;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.mod-filter-card-info-label { color: var(--text-sub); }
.mod-filter-card-info-value { font-weight: 700; color: #F2F3F5; }
.mod-filter-btn {
    background: #1E1F22;
    color: #F2F3F5;
    border: none;
    padding: 10px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    width: 100%;
}
.mod-filter-btn:hover { background: #111214; }

/* System Tester */
.mod-system-tester {
    height: 100%;
}
.mod-tester-panel {
    background: #111214;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}
.mod-tester-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mod-tester-title {
    font-size: 16px;
    font-weight: 800;
    color: #F2F3F5;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mod-tester-badge {
    background: rgba(35, 165, 89, 0.1);
    color: #23A559;
    border: 1px solid #23A559;
    padding: 2px 8px;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}
.mod-tester-body {
    padding: 20px;
    font-family: monospace;
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.6;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mod-tester-log { margin: 0; }
.mod-tester-check-box {
    background: #1E1F22;
    border-radius: 0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mod-tester-check-title {
    font-size: 10px;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
    color: var(--text-sub);
}
.mod-tester-check-input {
    background: #111214;
    padding: 10px 15px;
    border-radius: 0;
    color: #F2F3F5;
    font-size: 14px;
    font-family: monospace;
}
.mod-tester-results {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
}
.mod-tester-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 0;
    background: #111214;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
}
.mod-tester-result-row.triggered { border: 1px solid rgba(240,71,71,0.3); color: #F04747; }
.mod-tester-result-row.passed { border: 1px solid rgba(35,165,89,0.3); color: #23A559; }
.mod-tester-result-row.inactive { border: 1px solid rgba(255,255,255,0.05); color: var(--text-sub); }

.mod-tester-action-text {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-sub);
    margin-top: 10px;
}

.mod-tester-footer {
    padding: 15px 20px;
    background: #1E1F22;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.mod-tester-input {
    flex: 1;
    background: #111214;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0;
    padding: 10px 15px;
    color: #F2F3F5;
    font-family: monospace;
    font-size: 13px;
    outline: none;
}
.mod-tester-input:focus { border-color: #5865F2; }
.mod-tester-btn {
    background: #F04747;
    color: #FFF;
    border: none;
    border-radius: 0;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}
.mod-tester-btn:hover { background: #d83c3c; }

/* MODALS */
.mod-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}
.mod-modal-overlay.active { display: flex; }
.mod-modal {
    background: #2B2D31;
    border-radius: 0;
    width: 600px;
    max-width: 90vw;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.mod-modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mod-modal-title { font-size: 18px; font-weight: 800; color: #F2F3F5; }
.mod-modal-close {
    background: none; border: none; color: var(--text-sub); font-size: 24px; cursor: pointer;
}
.mod-modal-close:hover { color: #F2F3F5; }
.mod-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}
.mod-modal-footer {
    padding: 15px 20px;
    background: #1E1F22;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-radius: 0;
}


/* SONGLIST TOOL */
.songlist-tool {
    border-radius: 0;
    overflow: hidden;
}
.songlist-tool__topbar {
    display: flex;

/* MODULE TOGGLE BANNER */
.mod-toggle-banner {
    background: #111214;
    border-radius: 0;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.mod-toggle-banner__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mod-toggle-banner__title {
    font-size: 16px;
    font-weight: 800;
    color: #F2F3F5;
    text-transform: uppercase;
}
.mod-toggle-banner__status {
    font-size: 13px;
    font-weight: 600;
}
.mod-toggle-banner__status--active {
    color: #23A559;
}
.mod-toggle-banner__status--inactive {
    color: #A1A1AA;
}
.mod-toggle-banner__form {
    margin: 0;
}
.mod-toggle-banner__btn {
    border: none;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
}
.mod-toggle-banner__btn--activate {
    background: #23A559;
}
.mod-toggle-banner__btn--deactivate {
    background: #F04747;
}

.mod-disabled-overlay {
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
}
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #2b2d31;
    border-bottom: 1px solid #333333;
}

/* DASHBOARD MODULES MODAL */
.db-modules-modal {
    width: 800px;
    max-width: 95vw;
}
.db-modules-group {
    margin-bottom: 25px;
}
.db-modules-group:last-child {
    margin-bottom: 0;
}
.db-modules-group-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.db-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}
.db-module-card {
    background: #111214;
    border-radius: 0;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    text-align: center;
    color: #F2F3F5;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.db-module-card--configured::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(35, 165, 89, 0.05); /* very subtle green tint */
    border: 1px solid rgba(35, 165, 89, 0.2); /* very subtle green border */
    border-radius: 0;
    pointer-events: none;
}
.db-module-icon {
    font-size: 28px;
}
.db-module-name {
    font-size: 14px;
    font-weight: 600;
}

.db-module-icon--green { color: var(--accent-green); }
.db-module-icon--discord { color: #5865F2; }
.db-module-icon--red { color: #ED4245; }
.db-module-icon--yellow { color: #FEE75C; }
.db-module-icon--teal { color: #1ABC9C; }
.db-module-icon--gray { color: #95A5A6; }
.db-module-icon--pink { color: #E91E63; }
.db-module-icon--twitch { color: #9146FF; }
.db-module-icon--tiktok { color: #FF0050; }
.db-module-icon--twitter { color: #1DA1F2; }
.db-module-icon--youtube { color: #FF0000; }
.db-module-icon--instagram { color: #E1306C; }
.db-module-icon--rss { color: #F26522; }
.db-module-icon--kick { color: #53FC18; }
.db-module-icon--blue { color: #00A8FC; }

/* ==========================================================================
   OVERVIEW DASHBOARD (Kategorie-Kacheln & Modul-Cards im Flat Dark Block Schema)
   ========================================================================== */

.overview-category-card {
    background: #2B2D31;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 24px;
}

.overview-category-card .plugin-header {
    background: #111214;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.overview-category-badge {
    background: #1E1F22;
    color: #A1A1AA;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.overview-category-badge--all-active {
    color: #23A559;
}

.overview-category-body {
    background: #2B2D31;
    padding: 22px;
}

.overview-category-card .stat-card {
    background: #1E1F22;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.overview-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
}

@media (max-width: 650px) {
    .overview-modules-grid {
        grid-template-columns: 1fr;
    }
}

.overview-module-card {
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.overview-module-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.overview-module-card__icon-box {
    width: 42px;
    height: 42px;
    background: #1E1F22;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Sanft getönte Icon-Boxen für mehr visuelle Frische & Freundlichkeit */
.overview-icon-tint--green   { background: rgba(35, 165, 89, 0.16); }
.overview-icon-tint--blurple { background: rgba(88, 101, 242, 0.16); }
.overview-icon-tint--red     { background: rgba(240, 71, 71, 0.16); }
.overview-icon-tint--yellow  { background: rgba(250, 166, 26, 0.16); }
.overview-icon-tint--cyan    { background: rgba(0, 168, 252, 0.16); }
.overview-icon-tint--teal    { background: rgba(67, 181, 129, 0.16); }
.overview-icon-tint--pink    { background: rgba(235, 69, 158, 0.16); }
.overview-icon-tint--purple  { background: rgba(145, 70, 255, 0.16); }
.overview-icon-tint--magenta { background: rgba(225, 48, 108, 0.16); }
.overview-icon-tint--orange  { background: rgba(255, 165, 0, 0.16); }
.overview-icon-tint--kick    { background: rgba(83, 252, 24, 0.16); }
.overview-icon-tint--tiktok  { background: rgba(255, 0, 80, 0.16); }
.overview-icon-tint--white   { background: rgba(242, 243, 245, 0.12); }
.overview-icon-tint--default { background: #1E1F22; }

.overview-module-card__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.overview-module-card__toggle-wrap {
    margin-left: auto;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.overview-module-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overview-module-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.overview-module-card__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.overview-module-card__status--active {
    color: #23A559;
}

.overview-module-card__status--active .overview-module-card__status-dot {
    background: #23A559;
}

.overview-module-card__status--inactive {
    color: #949BA4;
}

.overview-module-card__status--inactive .overview-module-card__status-dot {
    background: #949BA4;
}

.overview-module-card__desc {
    font-size: 13px;
    line-height: 1.5;
    color: #DBDEE1;
    min-height: 38px;
    margin: 14px 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.overview-module-card__footer {
    display: flex;
    align-items: center;
    width: 100%;
}

.overview-module-card__btn-config {
    width: 100%;
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-sizing: border-box;
}

.overview-category-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1E1F22;
    color: #F2F3F5;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.overview-notify-card {
    cursor: pointer;
}

.overview-notify-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.overview-notify-card__platform-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.overview-notify-card__platform-icon {
    width: 30px;
    height: 30px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.overview-notify-card__platform-name {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview-notify-card__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 12px 0 14px 0;
    width: 100%;
}

.overview-notify-card__user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.overview-notify-card__avatar-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.overview-notify-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #1E1F22;
    display: block;
}

.overview-notify-card__avatar--live {
    box-shadow: 0 0 0 2px #23A559;
}

.overview-notify-card__user-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.overview-notify-card__user-name {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overview-notify-card__details-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #111214;
    border-radius: 0;
    padding: 10px 12px;
}

.overview-notify-card__status-msg {
    font-size: 12px;
    color: #DBDEE1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.overview-notify-card__live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #23A559;
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    min-width: 0;
}

.overview-notify-card__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #23A559;
    display: inline-block;
    flex-shrink: 0;
}

.overview-notify-card__stream-title {
    color: #A1A1AA;
    font-size: 11.5px;
    font-weight: 500;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.overview-notify-card__time-info {
    font-size: 11.5px;
    color: #A1A1AA;
    display: flex;
    align-items: center;
    gap: 6px;
}

.overview-notify-card__channel {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #949BA4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overview-notify-card__channel i {
    color: #A1A1AA;
    font-size: 10px;
}

.overview-notify-empty {
    grid-column: 1 / -1;
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.overview-notify-empty__icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: rgba(88, 101, 242, 0.16);
    color: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.overview-notify-empty__content {
    flex: 1;
    min-width: 0;
}

.overview-notify-empty__title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.overview-notify-empty__text {
    font-size: 13px;
    color: #A1A1AA;
    line-height: 1.4;
}

.overview-notify-empty__action {
    flex-shrink: 0;
}

.overview-notify-empty__btn {
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.songlist-tool__search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #111214;
    padding: 8px 12px;
    width: 250px;
    border: 1px solid #333333;
}
.songlist-tool__search-icon {
    color: var(--text-muted);
    font-size: 14px;
    margin-right: 10px;
}
.songlist-tool__search-input {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 14px;
    width: 100%;
    outline: none;
}
.songlist-tool__search-input::placeholder {
    color: var(--text-muted);
}
.songlist-tool__search-clear {
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}
.songlist-tool__new-btn {
    background: transparent;
    color: #ffd700;
    border: 1px solid #ffd700;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.songlist-tool__table {
    width: 100%;
    border-collapse: collapse;
}
.songlist-tool__table th {
    text-align: left;
    padding: 15px 20px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
    border-bottom: 1px solid #333333;
}
.songlist-tool__table td {
    padding: 15px 20px;
    font-size: 13px;
    color: var(--text-main);
    border-bottom: 1px solid #1e1f22;
}
.songlist-tool__request-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid #333333;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}
.songlist-tool__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 20px;
    background: #2b2d31;
}
.songlist-tool__pagination {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    color: var(--text-muted);
}
.songlist-tool__page-select {
    background: transparent;
    border: none;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 2px;
}
.songlist-tool__page-select option {
    background: #2b2d31;
    color: var(--text-main);
}
.songlist-tool__page-controls {
    display: flex;
    gap: 15px;
    margin-left: 15px;
}
.songlist-tool__page-controls i {
    cursor: pointer;
    font-size: 12px;
}
.songlist-tool__page-controls i:hover {
    color: #F2F3F5;
}

/* Songlist Queue Tab */
.songlist-queue-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}
.songlist-queue-stat {
    background: #2B2D31;
    border-radius: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 5px;
}
.songlist-queue-label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
}
.songlist-queue-value {
    font-size: 24px;
    font-weight: 700;
    color: #F2F3F5;
}
.songlist-queue-sub {
    font-size: 14px;
    color: var(--text-sub);
    font-weight: 500;
}

/* ==========================================================================
   STANDARD GRID & CARDS (FLAT DARK BLOCK)
   ========================================================================== */

.std-grid {
    display: grid;
    /* Responsive Basis: 300px min-width fÃƒÂ¼r 1 Spalte, wÃƒÂ¤chst bei Platz */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    align-items: start;
}

/* Base Card (Flat Dark Block) */
.std-card {
    background: #2b2d31;
    border-radius: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: none;
    height: 100%;
}

/* Sizes */
.std-card--small {
    grid-column: span 1;
    grid-row: span 1;
}

.std-card--medium-h {
    grid-column: span 2;
    grid-row: span 1;
}

.std-card--medium-v {
    grid-column: span 1;
    grid-row: span 2;
}

.std-card--large {
    grid-column: span 2;
    grid-row: span 2;
}

/* Dividers */
.std-card__divider {
    border: 0;
    height: 1px;
    background: #111214;
    margin: 15px 0;
    width: 100%;
}

.std-group__divider {
    border: 0;
    height: 2px;
    background: #111214;
    margin-bottom: 25px;
    width: 100%;
}

/* Responsive Anpassung fÃƒÂ¼r kleinere Bildschirme */
@media (max-width: 768px) {
    .std-card--medium-h, 
    .std-card--large {
        grid-column: span 1;
    }
}

/* REACTION ROLES SPECIFIC */
.plugin-card--auto {
    min-height: auto;
}
.reaction-roles__channel-item:hover { background: #35373c !important; }
.reaction-roles__channel-item--selected { background: rgba(35, 165, 89, 0.15) !important; border: 1px solid var(--accent-green); }
.reaction-roles__preview-reaction {
    background: #2B2D31;
    border: 1px solid transparent;
    border-radius: 0;
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.1s ease;
    user-select: none;
}
.reaction-roles__preview-reaction:hover { background: #35373c; }
.reaction-roles__preview-reaction--active {
    background: rgba(88, 101, 242, 0.15);
    border-color: #5865f2;
}

/* Kachel Inline Styles Replacement */
.reaction-roles__card {
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
    background: #383A40 !important;
}
.reaction-roles__card-desc {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #383A40 !important;
}
.reaction-roles__card-info {
    margin-bottom: 15px;
    color: #a1a1aa;
    font-size: 12px;
}
.reaction-roles__card-text {
    margin-bottom: 10px;
    color: #dcddde;
    line-height: 1.4;
}
.reaction-roles__card-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #111214;
    padding: 10px;
    border-radius: 0;
}
.reaction-roles__card-stats span {
    color: #F2F3F5;
    font-weight: 600;
}
.reaction-roles__card-emojis {
    background: #111214;
    border-radius: 0;
    padding: 0 10px;
    margin-bottom: 15px;
    max-height: 120px;
    overflow-y: auto;
}
.reaction-roles__emoji-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.reaction-roles__emoji-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.reaction-roles__emoji-icon {
    background: #2B2D31;
    padding: 4px 8px;
    border-radius: 0;
    font-size: 14px;
}
.reaction-roles__emoji-arrow {
    color: #4f545c;
    font-size: 10px;
}
.reaction-roles__emoji-role {
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.reaction-roles__card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.reaction-roles__btn-edit {
    flex: 1;
    background: #2B2D31;
    color: #F2F3F5;
    padding: 8px;
    font-weight: 600;
    font-size: 12px;
}
.reaction-roles__btn-del {
    flex: 1;
    text-align: center;
    background: rgba(240, 71, 71, 0.1);
    border: 1px solid rgba(240, 71, 71, 0.2);
    color: #F04747;
    text-decoration: none;
    padding: 8px;
    font-weight: 600;
    font-size: 12px;
}

/* AI SPRACH-BIBLIOTHEK (WELCOME) */
.ai-plugin-card {
    margin-top: 30px;
}

.ai-desc-text {
    color: var(--text-sub);
    margin-bottom: 20px;
    font-size: 14px;
}

.ai-filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.ai-filter-select {
    min-width: 200px;
}

.ai-filter-tabs {
    margin: 0;
    display: inline-flex;
}

.ai-table-container {
    max-height: 500px;
    overflow-y: auto;
}

.ai-table {
    width: 100%;
    border-collapse: collapse;
}

.ai-table__head-cell {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-sub);
    font-size: 12px;
    text-transform: uppercase;
}

.ai-table__head-cell--right {
    text-align: right;
}

.ai-table__row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.ai-table__cell {
    padding: 15px 10px;
    vertical-align: middle;
}

.ai-table__cell--right {
    text-align: right;
}

.ai-table__profile-flex {
    font-weight: 600;
    color: var(--text-main);
    font-size: 13px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-table__profile-icon {
    color: var(--accent-green);
    width: 16px;
    text-align: center;
}

.ai-table__text {
    color: var(--text-muted);
    font-size: 14px;
}

.ai-table__switch-wrapper {
    margin: 0;
    display: inline-block;
}

/* ==========================================================================
   AUTOMOD & MODERATION DASHBOARD (DARK FLAT BLOCK)
   ========================================================================== */

.automod-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
    color: #F2F3F5;
}

.automod-main-card {
    background: #2B2D31;
    border-radius: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    margin-top: 20px;
    overflow: hidden;
}

.automod-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.automod-header-title {
    font-size: 18px;
    font-weight: 800;
    color: #F2F3F5;
    letter-spacing: -0.2px;
}

/* 3x3 Cards Grid */
.automod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .automod-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .automod-grid {
        grid-template-columns: 1fr;
    }
}

.automod-rule-card {
    background: #1E1F22;
    border-radius: 0;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    transition: border-color 0.15s ease;
}

.automod-rule-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.automod-rule-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.automod-rule-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.automod-rule-icon {
    width: 42px;
    height: 42px;
    background: #111214;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #949BA4;
    font-size: 17px;
    flex-shrink: 0;
}

.automod-rule-meta {
    display: flex;
    flex-direction: column;
}

.automod-rule-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.automod-rule-subtitle {
    font-size: 12px;
    color: #949BA4;
    margin-top: 5px;
    line-height: 1.3;
}

/* Switches */
.switch-automod {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.switch-automod input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-automod-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #35373C;
    transition: .2s;
    border-radius: 24px;
}

.switch-automod-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
}

.switch-automod input:checked + .switch-automod-slider {
    background-color: var(--accent-green);
}

.switch-automod input:checked + .switch-automod-slider:before {
    transform: translateX(20px);
}

/* Edit Rule Button */
.btn-rule-edit {
    width: 100%;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 0;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.btn-rule-edit.active {
    background: #5865F2;
    color: #FFFFFF;
}

.btn-rule-edit.active:hover {
    background: #4752C4;
}

.btn-rule-edit.inactive {
    background: #39345c;
    color: #7d72ba;
}

.btn-rule-edit.inactive:hover {
    background: #423c6d;
    color: #9186d1;
}

/* Global Ignored Channels & Roles */
.automod-global-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 10px;
}

.automod-field-group {
    margin-bottom: 16px;
}

.automod-field-label {
    font-size: 13px;
    font-weight: 700;
    color: #949BA4;
    margin-bottom: 8px;
    display: block;
}

.automod-tag-container {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 44px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s ease;
}

.automod-tag-container:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.automod-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.automod-pill-list.automod-align-center {
    align-items: center;
}

.automod-role-pill {
    background: #232428;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 3px 8px 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
}

.role-color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.role-pill-remove,
.tag-badge-remove,
.channel-pill-remove {
    background: #DA373C;
    color: #FFFFFF;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
    border: none;
    padding: 0;
    line-height: 1;
    margin-left: 2px;
    transition: background 0.12s ease;
}

.role-pill-remove:hover,
.tag-badge-remove:hover,
.channel-pill-remove:hover {
    background: #FF5A5F;
}

.channel-pill {
    background: #232428;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 3px 8px 3px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
}

.automod-picker-placeholder {
    color: #949BA4;
    font-size: 13px;
}

.automod-container-caret {
    margin-left: auto;
    color: #949BA4;
    font-size: 12px;
}

.automod-hash-icon {
    color: #949BA4;
}

/* Sections for EingeschrÃƒÂ¤nkte KanÃƒÂ¤le & Automatische Aktionen */
.automod-section-card {
    background: #2B2D31;
    border-radius: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    overflow: hidden;
}

.automod-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.automod-section-title {
    font-size: 16px;
    font-weight: 800;
    color: #F2F3F5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #35373C;
    color: #949BA4;
    font-size: 11px;
    cursor: help;
    font-weight: bold;
}

.automod-badge-count {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 0;
    font-weight: 800;
    font-size: 13px;
    color: #F2F3F5;
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* Warning Ladder Tiers */
.warning-tier-block {
    background: #1E1F22;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tier-field-group {
    margin-bottom: 14px;
}

.stepper-input-box {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 12px;
    user-select: none;
}

.stepper-btn {
    background: none;
    border: none;
    color: #F2F3F5;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 4px 10px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.stepper-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.stepper-val {
    font-weight: 700;
    font-size: 15px;
    color: #F2F3F5;
}

.automod-select-dark {
    background: #111214 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23949BA4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    -webkit-appearance: none;
    color: #F2F3F5;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    height: 42px;
    padding: 0 36px 0 14px;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.automod-select-dark:focus {
    border-color: #5865F2;
}

.time-row-stepper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-row-stepper .stepper-input-box {
    flex: 1;
}

.time-row-stepper .automod-select-dark {
    width: 120px;
    flex-shrink: 0;
}

.btn-remove-tier {
    width: 100%;
    margin-top: 16px;
    background: #DA373C;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s ease;
}

.btn-remove-tier:hover {
    background: #A12829;
}

.btn-add-action {
    width: 100%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    color: #F2F3F5;
    border-radius: 0;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-add-action:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #5865F2;
}

/* Dropdown Menus */
.automod-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #111214;
    border: 1px solid #2B2D31;
    border-radius: 0;
    padding: 6px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    display: none;
}

.automod-dropdown-menu.active {
    display: block;
}

.automod-dropdown-menu.dropup,
.modal-bottom-row .automod-dropdown-menu {
    top: auto;
    bottom: calc(100% + 4px);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.7);
}

.automod-dropdown-item {
    padding: 8px 12px;
    border-radius: 0;
    color: #DBDEE1;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.12s ease;
}

.automod-dropdown-item:hover {
    background: #2B2D31;
    color: #FFFFFF;
}

/* --- MODAL POPUP --- */
.automod-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.automod-modal-backdrop.active {
    display: flex;
}

.automod-modal-dialog {
    background: #18191C;
    border-radius: 0;
    width: 840px;
    max-width: 95vw;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: modalIn 0.18s ease-out;
}

.automod-modal-header {
    padding: 22px 24px 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.automod-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    letter-spacing: 0.5px;
}

.automod-modal-title i {
    color: #5865F2;
    font-size: 20px;
}

.automod-modal-close {
    background: none;
    border: none;
    color: #949BA4;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.automod-modal-close:hover {
    color: #F2F3F5;
}

.automod-modal-body {
    padding: 0 24px 16px 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Action Cards in Modal */
.automod-action-cards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.automod-action-card {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.automod-action-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.automod-action-card.selected {
    border-color: #23A559;
    background: #09090D;
    box-shadow: inset 0 0 0 1px #23A559;
}

.automod-action-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #949BA4;
    font-size: 17px;
    flex-shrink: 0;
}

.automod-action-card.selected .automod-action-icon {
    color: #949BA4;
}

.punish-icon-stack {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.punish-icon-stack .icon-user-main {
    font-size: 15px;
    color: #949BA4;
    transform: translate(-3px, -2px);
}

.punish-icon-stack .icon-ban-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    font-size: 10px;
    color: #949BA4;
    background: #09090D;
    border-radius: 50%;
}

.automod-action-texts {
    flex: 1;
}

.automod-action-title {
    font-size: 14px;
    font-weight: 800;
    color: #F2F3F5;
}

.automod-action-desc {
    font-size: 12px;
    color: #949BA4;
    margin-top: 3px;
    line-height: 1.3;
}

.automod-action-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: #23A559;
    color: #FFFFFF;
    flex-shrink: 0;
}

.automod-action-card.selected .automod-action-check {
    display: flex;
}

/* Expandable Punishment Controls inside Action Card 3 */
.automod-punish-expand {
    display: none;
    cursor: default;
}

.automod-action-card.selected .automod-punish-expand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    width: 100%;
}

.automod-punish-field {
    display: flex;
    flex-direction: column;
}

.automod-punish-field .automod-field-label {
    font-size: 12px;
    font-weight: 600;
    color: #949BA4;
    margin-bottom: 6px;
}

.automod-punish-field .stepper-input-box {
    border-radius: 0;
    height: 42px;
    background: #0E0E15;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.automod-punish-field .automod-select-dark {
    border-radius: 0;
    height: 42px;
    background-color: #0E0E15;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.automod-punish-zeit-box {
    background: #0E0E15;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.automod-punish-zeit-box:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.automod-punish-zeit-box:focus-within {
    border-color: #5865F2;
}

.automod-punish-zeit-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.automod-punish-zeit-stepper .stepper-val {
    font-weight: 700;
    font-size: 15px;
    color: #F2F3F5;
}

.automod-punish-unit-picker {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 20px;
}

.automod-punish-unit-select {
    background: transparent;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    color: #F2F3F5;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 22px 4px 8px;
}

.automod-punish-unit-select option {
    background: #1E1F22;
    color: #F2F3F5;
}

.automod-unit-caret {
    position: absolute;
    right: 4px;
    pointer-events: none;
    font-size: 11px;
    color: #949BA4;
}

/* Tag Input in Modal */
.tag-input-box {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-height: 44px;
    cursor: text;
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

.tag-input-box:focus-within {
    border-color: #5865F2;
}

.tag-badge {
    background: #232428;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 3px 8px 3px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

input[type="text"].tag-input-field,
.tag-input-box input[type="text"],
.tag-input-field {
    background: transparent;
    border: none;
    color: #F2F3F5;
    font-size: 13px;
    outline: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 120px;
    height: auto;
}

/* Custom Message Input with Counter */
.msg-input-wrap {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 44px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.msg-input-wrap:focus-within {
    border-color: #5865F2;
}

input[type="text"].msg-input-field,
.msg-input-wrap input[type="text"],
.msg-input-field {
    background: transparent;
    border: none;
    color: #F2F3F5;
    font-size: 14px;
    outline: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    flex: 1;
    height: 100%;
}

.msg-char-counter {
    color: #949BA4;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
    flex-shrink: 0;
}

/* Modal Bottom 2 Columns */
.modal-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .modal-bottom-row {
        grid-template-columns: 1fr;
    }
}

/* Modal Specific Config Helpers */
.automod-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.automod-desc-text {
    font-size: 13px;
    color: #949BA4;
    margin: 0;
    line-height: 1.4;
}

/* Modal Footer */
.automod-modal-footer {
    padding: 8px 24px 24px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    background: transparent;
    border-top: none;
}

.btn-modal-close {
    background: #2B2D31;
    color: #F2F3F5;
    padding: 10px 22px;
    border-radius: 0;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-modal-close:hover {
    background: #35373C;
}

.btn-modal-save {
    background: #23A559;
    color: #FFFFFF;
    padding: 10px 26px;
    border-radius: 0;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-modal-save:hover {
    background: #1F924E;
}

/* Toast Notification (Bottom-Center, 3s auto-hide) */
.automod-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    z-index: 999999;
    background: #052014;
    border: 1px solid #1f6b43;
    border-radius: 0;
    padding: 13px 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 12px rgba(35, 165, 89, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.automod-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.automod-toast-icon {
    color: #23A559;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.automod-toast-text {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* AutoMod Navigation Tabs (Einstellungen | Log) */
.automod-nav-tabs {
    display: flex;
    align-items: center;
    gap: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
    padding-bottom: 0px;
}

.automod-nav-tab {
    background: none;
    border: none;
    color: #949BA4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 4px 14px 4px;
    cursor: pointer;
    position: relative;
    transition: color 0.15s ease;
    font-family: inherit;
}

.automod-nav-tab:hover {
    color: #DBDEE1;
}

.automod-nav-tab.active {
    color: #FFFFFF;
}

.automod-nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #FFFFFF;
    border-radius: 0;
}

/* Moderations-Logs Color Palette & Input Box */
.mod-log-palette {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.color-preset-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.color-preset-dot--c1 { background-color: #ff0000; }
.color-preset-dot--c2 { background-color: #faa61a; }
.color-preset-dot--c3 { background-color: #fee75c; }
.color-preset-dot--c4 { background-color: #57f287; }
.color-preset-dot--c5 { background-color: #5865f2; }
.color-preset-dot--c6 { background-color: #9b59b6; }
.color-preset-dot--c7 { background-color: #eb459e; }

.color-preset-dot:hover {
    transform: scale(1.15);
}

.preset-dot-inner {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFFFFF;
    display: none;
}

.color-preset-dot.selected .preset-dot-inner {
    display: block;
}

.mod-log-color-box {
    position: relative;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    height: 44px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
    z-index: 10;
}

.mod-log-color-box:has(.dash-color-picker-popup--visible),
.mod-log-color-box:has(.dw-color-picker-popup--visible),
.mod-log-color-box.is-active {
    z-index: 999;
}

.mod-log-color-box:focus-within {
    border-color: #5865F2;
}

.color-preview-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mod-log-color-box input.mod-log-color-input,
.mod-log-color-box input[type="text"] {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #F2F3F5 !important;
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    width: 100% !important;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit;
    height: 100% !important;
}

.mod-log-pipette-label {
    color: #949BA4;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
    z-index: 5;
    user-select: none;
    transition: color 0.15s ease;
}

.mod-log-pipette-label i {
    pointer-events: none;
}

.mod-log-pipette-label:hover {
    color: #FFFFFF;
}/* =============================================================
   CUSTOM DARK COLOR PICKER POPUP (Bild 2 Design)
   ============================================================= */
.dash-color-picker-popup,
/* =============================================================
   CUSTOM DARK COLOR PICKER POPUP (Bild 2 Design)
   ============================================================= */
.dw-color-picker-popup {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    width: 252px;
    background: #18191C;
    border: 1px solid #2B2D31;
    border-radius: 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
    padding: 12px;
    box-sizing: border-box;
    z-index: 1000;
    display: none;
    user-select: none;
}

.dash-color-picker-popup--visible,
.dw-color-picker-popup--visible {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-color-picker-popup--down,
.dw-color-picker-popup--down {
    bottom: auto;
    top: calc(100% + 8px);
}

.dash-color-picker-popup__sb-area,
.dw-color-picker-popup__sb-area {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 0;
    overflow: hidden;
    cursor: crosshair;
    background-color: #ff0000;
}

.dash-color-picker-popup__sb-white,
.dw-color-picker-popup__sb-white {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.dash-color-picker-popup__sb-black,
.dw-color-picker-popup__sb-black {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000000, rgba(0, 0, 0, 0));
}

.dash-color-picker-popup__sb-thumb,
.dw-color-picker-popup__sb-thumb {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-sizing: border-box;
}

.dash-color-picker-popup__hue-bar,
.dw-color-picker-popup__hue-bar {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 0;
    cursor: pointer;
    background: linear-gradient(to right, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}

.dash-color-picker-popup__hue-thumb,
.dw-color-picker-popup__hue-thumb {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 14px;
    background: #ffffff;
    border-radius: 0;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-sizing: border-box;
}

.dash-color-picker-popup__inputs-grid,
.dw-color-picker-popup__inputs-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 6px;
}

.dash-color-picker-popup__input-col,
.dw-color-picker-popup__input-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dash-color-picker-popup__field,
.dw-color-picker-popup__field {
    width: 100%;
    height: 26px;
    background: #111214 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0;
    color: #F2F3F5 !important;
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
    padding: 0 4px !important;
    margin: 0 !important;
    outline: none !important;
    box-sizing: border-box;
    font-family: inherit;
}

.dash-color-picker-popup__field:focus,
.dw-color-picker-popup__field:focus {
    border-color: #5865F2 !important;
}

.dash-color-picker-popup__field-label,
.dw-color-picker-popup__field-label {
    font-size: 10.5px;
    color: #8890A1;
    margin-top: 3px;
    font-weight: 600;
}

.dash-color-picker-popup__divider,
.dw-color-picker-popup__divider {
    border: none;
    border-top: 1px solid #2B2D31;
    margin: 2px 0 0 0;
}

.dash-color-picker-popup__swatches,
.dw-color-picker-popup__swatches {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
}

.dash-color-picker-popup__swatch,
.dw-color-picker-popup__swatch {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    display: inline-block;
}

.dash-color-picker-popup__swatch--c1,
.dw-color-picker-popup__swatch--c1 { background-color: #e02424; }

.dash-color-picker-popup__swatch--c2,
.dw-color-picker-popup__swatch--c2 { background-color: #f08c19; }

.dash-color-picker-popup__swatch--c3,
.dw-color-picker-popup__swatch--c3 { background-color: #f9e019; }

.dash-color-picker-popup__swatch--c4,
.dw-color-picker-popup__swatch--c4 { background-color: #8b572a; }

.dash-color-picker-popup__swatch--c5,
.dw-color-picker-popup__swatch--c5 { background-color: #7ed321; }

.dash-color-picker-popup__swatch--c6,
.dw-color-picker-popup__swatch--c6 { background-color: #417505; }

.dash-color-picker-popup__swatch--c7,
.dw-color-picker-popup__swatch--c7 { background-color: #bd10e0; }

.dash-color-picker-popup__swatch--c8,
.dw-color-picker-popup__swatch--c8 { background-color: #8a43f9; }

.dash-color-picker-popup__swatch--c9,
.dw-color-picker-popup__swatch--c9 { background-color: #4a90e2; }

.dash-color-picker-popup__swatch--c10,
.dw-color-picker-popup__swatch--c10 { background-color: #50e3c2; }

.dash-color-picker-popup__swatch--c11,
.dw-color-picker-popup__swatch--c11 { background-color: #b8e986; }

.dash-color-picker-popup__swatch--c12,
.dw-color-picker-popup__swatch--c12 { background-color: #000000; }

.dash-color-picker-popup__swatch--c13,
.dw-color-picker-popup__swatch--c13 { background-color: #4a4a4a; }

.dash-color-picker-popup__swatch--c14,
.dw-color-picker-popup__swatch--c14 { background-color: #888888; }

.dash-color-picker-popup__swatch--c15,
.dw-color-picker-popup__swatch--c15 { background-color: #d0d0d0; }

.dash-color-picker-popup__swatch--c16,
.dw-color-picker-popup__swatch--c16 { background-color: #ffffff; }

/* =========================================
   TICKET SYSTEM (Flat Dark Block Schema)
========================================= */
.ticket-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.ticket-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.ticket-grid--full {
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .ticket-grid {
        grid-template-columns: 1fr;
    }
}

.ticket-settings-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-field-label {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.ticket-field-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: -2px;
}

.ticket-input,
.ticket-select {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    color: #F2F3F5;
    padding: 10px 14px;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.ticket-select option {
    background: #111214;
    color: #F2F3F5;
}

.ticket-input:focus,
.ticket-select:focus {
    outline: 1px solid #7289da;
}

.ticket-textarea {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    color: #F2F3F5;
    padding: 10px 14px;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    min-height: 80px;
    resize: vertical;
}

.ticket-textarea:focus {
    outline: 1px solid #7289da;
}

.ticket-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ticket-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-toggle-row:last-child {
    border-bottom: none;
}

.ticket-toggle-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 16px;
}

.ticket-toggle-title {
    font-size: 14px;
    font-weight: 600;
    color: #F2F3F5;
}

.ticket-color-picker-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-color-input {
    width: 42px;
    height: 38px;
    background: #111214;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 2px;
    box-sizing: border-box;
}

.ticket-preview-box {
    background: #111214;
    border-radius: 0;
    padding: 18px;
    border-left: 4px solid #5865F2;
    margin-top: 10px;
}

.ticket-preview-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.ticket-preview-desc {
    font-size: 13.5px;
    color: #DBDEE1;
    line-height: 1.45;
    white-space: pre-line;
    margin-bottom: 16px;
}

.ticket-preview-footer {
    font-size: 11.5px;
    color: #949BA4;
    margin-bottom: 14px;
}

.ticket-preview-btn-mock {
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-block;
}

.ticket-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
}

.ticket-badge--open {
    background: rgba(35, 165, 89, 0.15);
    color: #23A559;
}

.ticket-badge--claimed {
    background: rgba(240, 178, 50, 0.15);
    color: #F0B232;
}

.ticket-badge--closed {
    background: rgba(240, 71, 71, 0.15);
    color: #F04747;
}

.ticket-table-container {
    width: 100%;
    overflow-x: auto;
}

.ticket-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.ticket-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11.5px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-table td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #F2F3F5;
}

.ticket-actions-bar {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.ticket-btn-primary {
    background: #23A559;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}

.ticket-btn-send {
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
}

.ticket-empty-state {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 13.5px;
}/* ==========================================================================
   TICKET SYSTEM (Flat Dark Block Schema)
   ========================================================================== */

.dash-ticket-container,
/* ==========================================================================
   TICKET SYSTEM (Flat Dark Block Schema)
   ========================================================================== */

.dw-ticket-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 60px;
    color: #F2F3F5;
}

/* HauptÃƒÂ¼bersicht Header (DarkWulf Standard: Konsistent mit restlichen Dashboard-Seiten) */
.ticket-page-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
}

.ticket-page-header .page-title {
    margin: 0 0 6px 0;
    border-bottom: none;
    padding-bottom: 0;
}

.ticket-page-header .page-subtitle {
    margin: 0;
    max-width: 850px;
    line-height: 1.5;
}

.dash-ticket-topbar,
.dw-ticket-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    border-bottom: none;
    padding-bottom: 0;
}

.dash-ticket-title-wrap,
.dw-ticket-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-ticket-title,
.dw-ticket-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 6px 0;
    text-transform: none;
    letter-spacing: normal;
}

.dash-ticket-subtitle,
.dw-ticket-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    max-width: 850px;
}

.dash-ticket-topbar-actions,
.dw-ticket-topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 4px;
}

.dash-ticket-btn-group,
.dw-ticket-btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-ticket-btn-close,
.dw-ticket-btn-close {
    background: #111214;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-ticket-btn-close__arrow,
.dw-ticket-btn-close__arrow {
    color: var(--text-muted);
    margin-right: 8px;
    font-size: 14px;
    display: inline-block;
}

.dw-btn-save,
.dash-ticket-btn-save,
.dw-ticket-btn-save {
    background: #23A559;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dw-btn-save-secondary,
.dash-ticket-btn-save-secondary,
.dw-ticket-btn-save-secondary {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-ticket-btn-save-post,
.dw-ticket-btn-save-post {
    background: #23A559;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}/* Sub-Tabs (DarkWulf Style) */
.dash-ticket-subtabs,
/* Sub-Tabs (DarkWulf Style) */
.dw-ticket-subtabs {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.dash-ticket-subtab,
.dw-ticket-subtab {
    background: transparent;
    border: none;
    padding: 8px 2px 12px 2px;
    font-size: 13.5px;
    font-weight: 700;
    color: #71717A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.dash-ticket-subtab--active,
.dw-ticket-subtab--active {
    color: #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
}/* Dashed Creator */
.dash-ticket-dashed-creator,
/* Dashed Creator */
.dw-ticket-dashed-creator {
    width: 100%;
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 16px;
    color: #F2F3F5;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top: 14px;
}/* Panel List Items */
.dash-ticket-panel-list,
/* Panel List Items */
.dw-ticket-panel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.dash-ticket-panel-item,
.dw-ticket-panel-item {
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box;
}

.dash-ticket-panel-item__left,
.dw-ticket-panel-item__left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dash-ticket-panel-item__icon,
.dw-ticket-panel-item__icon {
    width: 36px;
    height: 36px;
    background: #1E1F22;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A1A1AA;
    font-size: 15px;
    flex-shrink: 0;
}

.dash-ticket-panel-item__info,
.dw-ticket-panel-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-ticket-panel-item__name,
.dw-ticket-panel-item__name {
    font-size: 14.5px;
    font-weight: 700;
    color: #F2F3F5;
}

.dash-ticket-panel-item__channel,
.dw-ticket-panel-item__channel {
    font-size: 12.5px;
    color: #A1A1AA;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dash-ticket-panel-item__right,
.dw-ticket-panel-item__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-ticket-btn-edit,
.dw-ticket-btn-edit {
    width: 34px;
    height: 34px;
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
}

.dash-ticket-btn-edit--text,
.dw-ticket-btn-edit--text {
    width: auto;
    height: 32px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
}

.welcome-card--spaced {
    margin-bottom: 20px;
}

.welcome-icon--green {
    color: var(--accent-green);
}
.welcome-icon--red {
    color: var(--accent-red);
}

.dash-ticket-vars--inline,
.dw-ticket-vars--inline {
    margin-top: 15px;
}

.dash-ticket-vars__title,
.dw-ticket-vars__title {
    margin-bottom: 10px;
    font-weight: bold;
    color: #949ba4;
    font-size: 12px;
    text-transform: uppercase;
}

.dash-ticket-vars__item,
.dw-ticket-vars__item {
    font-size: 13px;
    margin-bottom: 4px;
}

.dash-ticket-vars__code,
.dw-ticket-vars__code {
    color: #d16e3e;
    font-family: monospace;
}

.dash-ticket-vars__desc,
.dw-ticket-vars__desc {
    color: #949ba4;
}

/* Live-Vorschau Karte im dash-Stil */
.welcome-preview-card {
    margin-top: 24px;
}

.welcome-preview-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.welcome-preview-item {
    background: #111214;
    border-radius: 0;
    padding: 16px 20px;
    box-sizing: border-box;
}

.welcome-preview-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.welcome-preview-item__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #F2F3F5;
}

.welcome-preview-item__type {
    font-size: 12px;
    color: #A1A1AA;
    font-family: monospace;
}

.welcome-preview-mockup {
    display: flex;
    gap: 16px;
    background: #1E1F22;
    border-radius: 0;
    padding: 16px;
}

.welcome-preview-mockup__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #111214;
}

.welcome-preview-mockup__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-preview-mockup__content {
    flex: 1;
    min-width: 0;
}

.welcome-preview-mockup__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.welcome-preview-mockup__name {
    font-size: 15px;
    font-weight: 600;
    color: #F2F3F5;
}

.welcome-preview-mockup__app-badge {
    background: #5865F2;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.welcome-preview-mockup__time {
    font-size: 12px;
    color: #949BA4;
}

.welcome-preview-mockup__text {
    font-size: 14px;
    color: #DBDEE1;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.welcome-mention {
    background: rgba(88, 101, 242, 0.3);
    color: #C9CDFB;
    padding: 0 4px;
    border-radius: 0;
    font-weight: 500;
}

.welcome-preview-embed {
    width: 100%;
    max-width: 432px;
    background: #2B2D31;
    border-radius: 0;
    padding: 12px 16px;
    margin-top: 10px;
    border-left: 4px solid #5865F2;
    box-sizing: border-box;
}

.welcome-preview-embed--color-red { border-left-color: #F04747; }
.welcome-preview-embed--color-orange { border-left-color: #FAA61A; }
.welcome-preview-embed--color-yellow { border-left-color: #FEE75C; }
.welcome-preview-embed--color-green { border-left-color: #57F287; }
.welcome-preview-embed--color-white { border-left-color: #FFFFFF; }
.welcome-preview-embed--color-blurple { border-left-color: #5865F2; }
.welcome-preview-embed--color-purple { border-left-color: #8A43F9; }
.welcome-preview-embed--color-magenta { border-left-color: #EB459E; }
.welcome-preview-embed--color-dark { border-left-color: #111214; }
.welcome-preview-embed--color-cyan { border-left-color: #1DA1F2; }


.welcome-preview-embed__author {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.welcome-preview-embed__title {
    font-size: 15px;
    font-weight: 700;
    color: #00A8FC;
    margin-bottom: 6px;
}

.welcome-preview-embed__desc {
    font-size: 14px;
    color: #DCDDDE;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 6px;
}

.welcome-preview-embed__footer {
    font-size: 12px;
    color: #949BA4;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-ticket-btn-del,
.dw-ticket-btn-del {
    width: 34px;
    height: 34px;
    background: rgba(240, 71, 71, 0.15);
    color: #F04747;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
}/* Empty State wenn noch kein Panel eingerichtet ist */
.dash-ticket-panel-empty,
/* Empty State wenn noch kein Panel eingerichtet ist */
.dw-ticket-panel-empty {
    background: #111214;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 0;
    padding: 30px 20px;
    text-align: center;
    margin-top: 10px;
}

.dash-ticket-panel-empty__icon,
.dw-ticket-panel-empty__icon {
    font-size: 28px;
    color: #A1A1AA;
    margin-bottom: 10px;
}

.dash-ticket-panel-empty__text,
.dw-ticket-panel-empty__text {
    font-size: 14px;
    font-weight: 600;
    color: #F2F3F5;
    margin-bottom: 6px;
}

.dash-ticket-panel-empty__sub,
.dw-ticket-panel-empty__sub {
    font-size: 12px;
    color: #A1A1AA;
}/* Counter Pill in Header */
.dash-counter-pill,
/* Counter Pill in Header */
.dw-counter-pill {
    background: #1E1F22;
    color: #A1A1AA;
    font-size: 12px;
    font-weight: 700;
    font-family: monospace;
    padding: 4px 10px;
    border-radius: 0;
    letter-spacing: 0.5px;
}/* Standard Toggle Switch (Pillen-Form, runder weißer Knopf, Grün aktiv) */
.dash-ticket-switch,
.dw-ticket-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.dash-ticket-switch input,
.dw-ticket-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    left: -9999px;
    margin: 0;
}

.dash-ticket-switch-slider,
.dw-ticket-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #80848E;
    transition: 0.25s ease;
    border-radius: 34px;
}

.dash-ticket-switch-slider:before,
.dw-ticket-switch-slider:before,
.dash-ticket-switch-slider::before,
.dw-ticket-switch-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #FFFFFF;
    transition: 0.25s ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dash-ticket-switch input:checked + .dash-ticket-switch-slider,
.dw-ticket-switch input:checked + .dw-ticket-switch-slider {
    background-color: var(--accent-green);
}

.dash-ticket-switch input:checked + .dash-ticket-switch-slider:before,
.dw-ticket-switch input:checked + .dw-ticket-switch-slider:before,
.dash-ticket-switch input:checked + .dash-ticket-switch-slider::before,
.dw-ticket-switch input:checked + .dw-ticket-switch-slider::before {
    transform: translateX(20px);
    background-color: #FFFFFF;
}
.dash-ticket-switch input:disabled + .dash-ticket-switch-slider,
.dw-ticket-switch input:disabled + .dw-ticket-switch-slider {
    opacity: 0.35;
    cursor: not-allowed;
}
/* Tab-Content Sichtbarkeit */
.dash-tab-content--hidden,
/* Tab-Content Sichtbarkeit */
.dw-tab-content--hidden {
    display: none !important;
}/* Kachel-Struktur (Flat Dark Block Schema) */
.dash-ticket-card,
/* Kachel-Struktur (Flat Dark Block Schema) */
.dw-ticket-card {
    background: #2B2D31;
    border: none;
    border-radius: 0;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.dash-ticket-card__header,
.dw-ticket-card__header {
    background: #2B2D31;
    padding: 18px 24px 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-ticket-card__header-left,
.dw-ticket-card__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    color: #F2F3F5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-ticket-card__header-left i,
.dw-ticket-card__header-left i {
    color: #A1A1AA;
    font-size: 14px;
}

.dash-ticket-card__header-right,
.dw-ticket-card__header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-ticket-card__badge,
.dw-ticket-card__badge {
    font-size: 12px;
    font-weight: 700;
    color: #A1A1AA;
    font-family: monospace;
}

.dash-ticket-card__body,
.dw-ticket-card__body {
    padding: 22px 24px;
    background: #2B2D31;
}/* Raster & Felder */
.dash-ticket-grid-2,
/* Raster & Felder */
.dw-ticket-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 860px) {.dash-ticket-grid-2,
.dw-ticket-grid-2 {
        grid-template-columns: 1fr;
    }
}

.dash-ticket-field,
.dw-ticket-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.dash-ticket-field:last-child,
.dw-ticket-field:last-child {
    margin-bottom: 0;
}

.dash-ticket-field--align-end,
.dw-ticket-field--align-end {
    justify-content: flex-end;
}

.dash-ticket-divider,
.dw-ticket-divider {
    border: none;
    border-top: 1px solid #111214;
    margin: 24px 0;
}

.dash-ticket-label,
.dw-ticket-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #A1A1AA;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dash-ticket-label-row,
.dw-ticket-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-ticket-info-icon,
.dw-ticket-info-icon {
    color: #71717A;
    font-size: 10px;
    background: #111214;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: help;
}

.dash-ticket-input-wrap,
.dw-ticket-input-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.dash-ticket-input,
.dw-ticket-input {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 11px 14px;
    color: #F2F3F5;
    font-size: 13.5px;
    outline: none;
    box-sizing: border-box;
}

.dash-ticket-input:focus,
.dw-ticket-input:focus {
    outline: 1px solid #7289da;
}

.dash-ticket-input--with-counter,
.dw-ticket-input--with-counter {
    padding-right: 64px;
}

.dash-ticket-counter,
.dw-ticket-counter {
    position: absolute;
    right: 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #71717A;
    pointer-events: none;
}

.dash-ticket-select-wrap,
.dw-select-wrap,
.dw-ticket-select-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.dash-ticket-select,
.dw-select,
.dw-ticket-select {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 11px 36px 11px 14px;
    color: #F2F3F5;
    font-size: 13.5px;
    appearance: none;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
}

.dash-ticket-select:focus,
.dw-select:focus,
.dw-ticket-select:focus {
    outline: 1px solid #7289da;
}

.dash-ticket-select-icon-left,
.dw-select-icon-left,
.dw-ticket-select-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8890A1;
    font-size: 13px;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.dw-select-icon-left.is-visible,
.dw-ticket-select-icon-left.is-visible,
.dw-select-wrap:has(.dw-select--with-icon-left) .dw-select-icon-left,
.dw-ticket-select-wrap:has(.dw-ticket-select--with-icon-left) .dw-ticket-select-icon-left {
    display: flex;
}

.dash-ticket-select--with-icon-left,
.dw-select--with-icon-left,
.dw-ticket-select--with-icon-left {
    padding-left: 38px !important;
}

.dash-channel-category-icon,
.dw-category-icon,
.dw-channel-category-icon {
    width: 16px;
    height: 16px;
    display: block;
    color: #8890A1;
}

.dash-ticket-select-icon-right,
.dw-select-icon-right,
.dw-ticket-select-icon-right {
    position: absolute;
    right: 14px;
    color: #A1A1AA;
    font-size: 12px;
    pointer-events: none;
}

.dash-ticket-textarea,
.dw-ticket-textarea {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 11px 14px;
    color: #F2F3F5;
    font-size: 13.5px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
    min-height: 90px;
}

.dash-ticket-textarea:focus,
.dw-ticket-textarea:focus {
    outline: 1px solid #7289da;
}

.dash-ticket-desc,
.dw-ticket-desc {
    font-size: 12px;
    color: #A1A1AA;
    line-height: 1.45;
}

.dash-ticket-desc--spaced,
.dw-ticket-desc--spaced {
    margin-top: 12px;
}/* Variablen Info Box & Untertitel unter ÃƒÅ“berschriften */
.dash-ticket-vars-sub,
/* Variablen Info Box & Untertitel unter ÃƒÅ“berschriften */
.dw-ticket-vars-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 3px;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.4;
    color: #A1A1AA;
}

.dash-ticket-vars-sub__title,
.dw-ticket-vars-sub__title {
    font-weight: 700;
    color: #A1A1AA;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.3px;
}

.dash-ticket-vars-sub__sep,
.dw-ticket-vars-sub__sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

.dash-ticket-vars,
.dw-ticket-vars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    font-size: 12px;
    background: #1E1F22;
    padding: 10px 14px;
    border-radius: 0;
}

.dash-ticket-vars-title,
.dw-ticket-vars-title {
    font-weight: 700;
    color: #A1A1AA;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 11px;
}

.dash-ticket-vars-row,
.dw-ticket-vars-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-ticket-vars-tag,
.dw-ticket-vars-tag {
    color: #E58B24;
    font-weight: 700;
    font-family: monospace;
}

.dash-ticket-vars-desc,
.dw-ticket-vars-desc {
    color: #A1A1AA;
}/* Dotted Slider (DarkWulf Limits) */
.dash-ticket-slider-row,
/* Dotted Slider (DarkWulf Limits) */
.dw-ticket-slider-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    background: #1E1F22;
    padding: 12px 16px;
    border-radius: 0;
    box-sizing: border-box;
    min-height: 48px;
}

.dash-ticket-slider-wrap,
.dw-ticket-slider-wrap {
    position: relative;
    flex: 1;
    height: 24px;
    display: flex;
    align-items: center;
}

.dash-ticket-slider-track,
.dw-ticket-slider-track {
    position: relative;
    width: 100%;
    height: 6px;
    background: #111214;
    border-radius: 0;
}

.dash-ticket-slider-dots,
.dw-ticket-slider-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 4px;
    box-sizing: border-box;
}

.dash-ticket-slider-dot,
.dw-ticket-slider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #383A40;
}

.dash-ticket-slider-thumb,
.dw-ticket-slider-thumb {
    position: absolute;
    width: 14px;
    height: 18px;
    background: #5865F2;
    border-radius: 0;
    cursor: pointer;
    left: 0;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}

.dash-ticket-slider-input,
.dw-ticket-slider-input {
    position: absolute;
    width: 100%;
    height: 24px;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
    margin: 0;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.dash-ticket-slider-val,
.dw-ticket-slider-val {
    font-size: 13.5px;
    font-weight: 700;
    color: #F2F3F5;
    font-family: monospace;
    min-width: 24px;
    text-align: right;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}/* Berechtigungen Matrix (5 Gruppen x 3 Status) */
.dash-perm-grid,
/* Berechtigungen Matrix (5 Gruppen x 3 Status) */
.dw-perm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.dash-perm-grid--3col,
.dw-perm-grid--3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

@media (max-width: 1100px) {.dash-perm-grid--3col,
.dw-perm-grid--3col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {.dash-perm-grid,
.dw-perm-grid {
        grid-template-columns: 1fr;
    }
}

.dash-perm-card,
.dw-perm-card {
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-perm-card__header,
.dw-perm-card__header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.dash-perm-card__desc,
.dw-perm-card__desc {
    font-size: 11.5px;
    color: #A1A1AA;
    margin-top: 4px;
    line-height: 1.35;
}

.dash-perm-card__list,
.dw-perm-card__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-perm-row,
.dw-perm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #111214;
    border-radius: 0;
}

.dash-perm-row__label,
.dw-perm-row__label {
    font-size: 12.5px;
    font-weight: 600;
    color: #F2F3F5;
}

.dash-perm-card__title,
.dw-perm-card__title {
    font-size: 13px;
    font-weight: 800;
    color: #F2F3F5;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
}

.dash-perm-badges-row,
.dw-perm-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dash-perm-badge,
.dw-perm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    border: none;
}

.dash-perm-badge--open,
.dw-perm-badge--open {
    background: #23A559;
    color: #FFFFFF;
}

.dash-perm-badge--closed,
.dw-perm-badge--closed {
    background: #F04747;
    color: #FFFFFF;
}

.dash-perm-badge--claimed,
.dw-perm-badge--claimed {
    background: #D89E28;
    color: #FFFFFF;
}

.dash-perm-badge--inactive,
.dw-perm-badge--inactive {
    background: #111214;
    color: #71717A;
}

/* GrÃƒÂ¼nde & Kategorien */
.dash-reasons-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    background: #1E1F22;
    padding: 12px 16px;
    border-radius: 0;
}

.dash-reasons-counter {
    font-size: 13.5px;
    font-weight: 700;
    color: #71717A;
    font-family: monospace;
}

.dash-reasons-type-selector {
    display: inline-flex;
    background: #111214;
    border-radius: 0;
    padding: 3px;
    gap: 4px;
}

.dash-reasons-type-btn {
    padding: 7px 14px;
    border-radius: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: #A1A1AA;
    cursor: pointer;
    user-select: none;
    border: none;
    background: transparent;
}

.dash-reasons-type-btn--active {
    background: #5865F2;
    color: #FFFFFF;
}

.dash-reasons-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.dash-reason-item {
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-reason-preview {
    background: #111214;
    border-radius: 0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-reason-preview__emoji {
    font-size: 20px;
}

.dash-reason-preview__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dash-reason-preview__title {
    font-size: 13.5px;
    font-weight: 700;
    color: #F2F3F5;
}

.dash-reason-preview__desc {
    font-size: 12px;
    color: #A1A1AA;
}

.dash-reason-inputs-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px;
}

.dash-reason-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.dash-reason-btn-del {
    background: #F04747;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.dash-reason-btn-add {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 14px;
    color: #F2F3F5;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    display: block;
}

/* Discord Panel Message Preview */
.dw-discord-msg,
.dash-discord-msg {
    background: #1E1F22;
    border-radius: 0;
    padding: 18px 20px;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: none;
}

.dw-discord-header,
.dash-discord-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dw-discord-avatar,
.dash-discord-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
    flex-shrink: 0;
}

.dw-discord-bot-name,
.dash-discord-bot-name {
    font-size: 14px;
    font-weight: 700;
    color: #F2F3F5;
}

.dw-discord-bot-badge,
.dash-discord-bot-badge {
    background: #5865F2;
    color: #FFFFFF;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 0;
    text-transform: uppercase;
}

.dw-discord-timestamp,
.dash-discord-timestamp {
    font-size: 11.5px;
    color: #949BA4;
}

.dw-discord-content-text,
.dash-discord-content-text {
    font-size: 13.5px;
    color: #DBDEE1;
    line-height: 1.5;
}

.dw-discord-embed,
.dash-discord-embed {
    background: #111214;
    border-left: 4px solid #5865F2;
    border-radius: 0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 520px;
}

.dw-discord-embed__title,
.dash-discord-embed__title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
}

.dw-discord-embed__desc,
.dash-discord-embed__desc {
    font-size: 13px;
    color: #DBDEE1;
    line-height: 1.45;
}

.dash-discord-actions-preview,
.dw-discord-actions-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.dash-discord-action-btn,
.dw-discord-action-btn {
    border: none;
    border-radius: 0;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: default;
}

.dash-discord-action-btn--gray,
.dw-discord-action-btn--gray {
    background: #4E5058;
}

.dash-discord-action-btn--green,
.dw-discord-action-btn--green {
    background: #23A559;
}

.dash-discord-action-btn--red,
.dw-discord-action-btn--red {
    background: #DA373C;
}

.dash-discord-action-btn--yellow,
.dw-discord-action-btn--yellow {
    background: #D89E28;
}

.dash-ticket-btn-send,
.dw-ticket-btn-send {
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 11px 22px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}/* Ticket Table (Verlauf) */
.dash-ticket-table-wrap,
/* Ticket Table (Verlauf) */
.dw-ticket-table-wrap {
    overflow-x: auto;
    border-radius: 0;
}

.dash-ticket-table,
.dw-ticket-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.dash-ticket-table th,
.dw-ticket-table th {
    background: #111214;
    color: #F2F3F5;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 16px;
    letter-spacing: 0.5px;
    border: none;
}

.dash-ticket-table td,
.dw-ticket-table td {
    background: #2B2D31;
    color: #F2F3F5;
    font-size: 13px;
    padding: 12px 16px;
    border-bottom: 1px solid #1E1F22;
}

.dash-ticket-status-badge,
.dw-ticket-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.dash-ticket-status-badge--open,
.dw-ticket-status-badge--open {
    background: #23A559;
    color: #FFFFFF;
}

.dash-ticket-status-badge--closed,
.dw-ticket-status-badge--closed {
    background: #71717A;
    color: #FFFFFF;
}

.dash-ticket-status-badge--claimed,
.dw-ticket-status-badge--claimed {
    background: #D89E28;
    color: #FFFFFF;
}

.dash-ticket-table-btn-close,
.dw-ticket-table-btn-close {
    background: #F04747;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.dash-ticket-table-btn-reopen,
.dw-ticket-table-btn-reopen {
    background: #23A559;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}/* 2-Ebenen Ansichten-Umschaltung */
.dash-ticket-view--hidden,
/* 2-Ebenen Ansichten-Umschaltung */
.dw-ticket-view--hidden {
    display: none !important;
}/* Panel-Editor Topbar (Flat Dark Block Schema - normales Scroll-Verhalten) */
.dash-editor-topbar,
/* Panel-Editor Topbar (Flat Dark Block Schema - normales Scroll-Verhalten) */
.dw-editor-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    border-bottom: none;
    margin-bottom: 24px;
}

.dash-editor-title-wrap,
.dw-editor-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.dash-editor-title,
.dw-editor-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    letter-spacing: normal;
    text-transform: none;
}

.dash-editor-title-line,
.dw-editor-title-line {
    display: none;
}

.dash-editor-actions,
.dw-editor-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-ticket-hidden-submit,
.dw-ticket-hidden-submit {
    display: none !important;
}

/* ==========================================================================
   STANDARD DASHBOARD LAYOUT SYSTEM (DarkWulf Flat Dark Block)
   ========================================================================== */

.dash-page-header {
    margin-bottom: 0;
}

.dash-title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: normal;
    text-transform: none;
    display: flex;
    align-items: center;
}

.dash-title i {
    margin-right: 12px;
    color: var(--text-muted);
    font-size: 22px;
}

.dash-subtitle {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.dash-divider {
    height: 0;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 16px 0 24px 0;
    width: 100%;
}

.dw-actions,
.dash-actions {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.dw-btn-back,
.dash-btn-back {
    background: #111214;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dw-btn-back__arrow,
.dash-btn-back__arrow {
    color: var(--text-muted);
    margin-right: 8px;
    font-size: 14px;
    display: inline-block;
}

.dw-subtabs,
.dash-subtabs {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.dw-subtab,
.dash-subtab {
    background: transparent;
    border: none;
    padding: 8px 2px 12px 2px;
    font-size: 13.5px;
    font-weight: 700;
    color: #71717A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.dw-subtab--active,
.dash-subtab--active {
    color: #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
}

.dash-editor-header,
.dw-editor-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

/* Notify-Editor Header (Titel oben, Trennlinie, Subtitel, Zurück-Button) */
.notify-editor-topbar {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.notify-editor-title {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

.notify-editor-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 0 14px 0;
}

.notify-editor-subtitle {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.notify-editor-actions {
    display: flex;
    align-items: center;
}

.dash-ticket-save-bar,
.dw-ticket-save-bar {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}/* Panel-Editor: Logs & Transkripte Sektion (Bild 2 Layout) */
.dash-ticket-log-box,
/* Panel-Editor: Logs & Transkripte Sektion (Bild 2 Layout) */
.dw-ticket-log-box {
    background: #1E1F22;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: none;
}

.dash-ticket-log-box:last-child,
.dw-ticket-log-box:last-child {
    margin-bottom: 0;
}

.dash-ticket-log-box__top,
.dw-ticket-log-box__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-ticket-log-box__title,
.dw-ticket-log-box__title {
    font-size: 15px;
    font-weight: 700;
    color: #F2F3F5;
}

/* Unsichtbarer nativer FarbwÃƒÂ¤hler ohne Inline-Styles */
.ticket-color-picker-hidden {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 0;
    height: 0;
    border: none;
    padding: 0;
    margin: 0;
}

.dash-color-palette,
.dw-color-palette {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.dash-color-chip,
.dw-color-chip {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.dash-color-chip--active,
.dw-color-chip--active {
    border-color: #FFFFFF;
}

.dash-color-chip--red,
.dw-color-chip--red { background: #FF0000; }
.dash-color-chip--orange,
.dw-color-chip--orange { background: #FF7700; }
.dash-color-chip--yellow,
.dw-color-chip--yellow { background: #FFD700; }
.dash-color-chip--green,
.dw-color-chip--green { background: #23A559; }
.dash-color-chip--blue,
.dw-color-chip--blue { background: #5865F2; }
.dash-color-chip--purple,
.dw-color-chip--purple { background: #7700FF; }
.dash-color-chip--magenta,
.dw-color-chip--magenta { background: #FF00FF; }

.dash-color-picker-row,
.dw-color-picker-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-reason-btn-settings {
    background: #383A40;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}/* ==========================================================================
   UNIFIED PAGE CONTAINER (Flat Dark Block Standard - 1200px)
   ========================================================================== */
.site-content-container,
.page-container,
.bot-profile-wrapper,
.dash-ticket-container,
.dw-ticket-container,
.automod-container,
.stats-page-container,
.gameserver-container,
.backups-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 50px;
    box-sizing: border-box;
}

/* ==========================================================================
   STATS PAGE - CLEAN BEM
   ========================================================================== */

.stats-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
@media (max-width: 900px) {
    .stats-detail-grid {
        grid-template-columns: 1fr;
    }
}
.stats-chart-card {
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 20px;
}
.stats-card-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stats-card-section-title--purple i {
    color: #8B5CF6;
}
.stats-card-section-title--amber i {
    color: #f59e0b;
}
.stats-chart-visual-box {
    height: 200px;
    background: #2B2D31;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    box-sizing: border-box;
    position: relative;
}
.stats-chart-svg {
    width: 100%;
    height: 100%;
}
.stats-chart-timeline {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #8a8f98;
    margin-top: 8px;
}
.stats-channels-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.stats-channel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #2B2D31;
    border-radius: 0;
    font-size: 13px;
}
.stats-channel-name {
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stats-channel-name i {
    color: #8a8f98;
}
.stats-channel-pct {
    font-weight: 700;
}
.stats-channel-pct--green {
    color: #23A559;
}
.stats-channel-pct--blue {
    color: #5865F2;
}
.stats-channel-pct--muted {
    color: #8a8f98;
}

/* ==========================================================================
   GAMESERVER SERVER MONITOR (Flat Dark Block Schema)
   ========================================================================== */
.gameserver-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}
@media (max-width: 900px) {
    .gameserver-grid {
        grid-template-columns: 1fr;
    }
}
.gameserver-card {
    background: #2B2D31;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}
.gameserver-card__header {
    background: #111214;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.gameserver-card__title-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    letter-spacing: 0.5px;
}
.gameserver-card__badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.gameserver-card__badge--online {
    background: rgba(35, 165, 89, 0.2);
    color: #23A559;
    border: 1px solid #23A559;
}
.gameserver-card__badge--offline {
    background: rgba(240, 71, 71, 0.2);
    color: #F04747;
    border: 1px solid #F04747;
}
.gameserver-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.gameserver-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.gameserver-metric-row__label {
    color: #A1A1AA;
}
.gameserver-metric-row__value {
    color: #F2F3F5;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}
.gameserver-resource-box {
    background: #1E1F22;
    border-radius: 0;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.gameserver-resource-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.gameserver-resource-bar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 600;
    color: #A1A1AA;
}
.gameserver-progress-track {
    height: 6px;
    background: #111214;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
}
.gameserver-progress-fill {
    height: 100%;
    border-radius: 0;
}
.gameserver-progress-fill--cpu {
    background: #5865F2;
}
.gameserver-progress-fill--ram {
    background: #23A559;
}
.gameserver-progress-fill--alert {
    background: #F04747;
}
.gameserver-progress-fill--w0 { width: 0%; }
.gameserver-progress-fill--w18 { width: 18%; }
.gameserver-progress-fill--w34 { width: 34%; }
.gameserver-progress-fill--w35 { width: 35%; }
.gameserver-progress-fill--w42 { width: 42%; }
.gameserver-progress-fill--w52 { width: 52%; }
.gameserver-progress-fill--w56 { width: 56%; }
.gameserver-progress-fill--w78 { width: 78%; }
.gameserver-progress-fill--w91 { width: 91%; }
.gameserver-card__footer {
    background: #111214;
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.gameserver-btn {
    border: none;
    border-radius: 0;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
}
.gameserver-btn--primary {
    background: #23A559;
    color: #FFFFFF;
}
.gameserver-btn--secondary {
    background: #383A40;
    color: #F2F3F5;
}
.gameserver-btn--danger {
    background: #F04747;
    color: #FFFFFF;
}

/* ==========================================================================
   DISCORD SERVER BACKUPS (Flat Dark Block Schema)
   ========================================================================== */
.backups-header-action-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 16px;
}
.backups-page-title {
    margin: 0 0 6px 0;
    border-bottom: none;
    padding-bottom: 0;
}
.backups-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 800px) {
    .backups-stats-grid {
        grid-template-columns: 1fr;
    }
}
.backup-stat-card {
    background: #2B2D31;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.backup-stat-card__label {
    font-size: 12px;
    color: #A1A1AA;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.backup-stat-card__value {
    font-size: 22px;
    color: #F2F3F5;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
}
.backups-main-card {
    background: #2B2D31;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 30px;
}
.backups-main-card__header {
    background: #111214;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.backups-main-card__title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.backups-table-wrap {
    overflow-x: auto;
}
.backups-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}
.backups-table th {
    background: #1E1F22;
    padding: 12px 18px;
    color: #A1A1AA;
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.backups-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #F2F3F5;
}
.backups-table tr:last-child td {
    border-bottom: none;
}
.backup-meta-pills {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}
.backup-pill {
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2px 7px;
    border-radius: 0;
    font-size: 11px;
    color: #A1A1AA;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}
.backup-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.backup-create-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.backup-name-input {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 8px 14px;
    color: #F2F3F5;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    min-width: 220px;
}
.backup-name-input:focus {
    outline: 1px solid #7289da;
}
.backup-btn {
    border: none;
    border-radius: 0;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
    text-decoration: none;
    display: inline-block;
}
.backup-btn--create {
    background: #23A559;
    color: #FFFFFF;
    padding: 9px 18px;
    font-size: 13px;
}
.backup-btn--download {
    background: #383A40;
    color: #F2F3F5;
}
.backup-btn--restore {
    background: #5865F2;
    color: #FFFFFF;
}
.backup-btn--delete {
    background: #F04747;
    color: #FFFFFF;
}
.backups-empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #A1A1AA;
    font-size: 14px;
}

/* ==========================================================================
   TICKET SYSTEM - REASONS & MODALS (BEM FLAT DARK BLOCK SCHEMA)
   ========================================================================== */

/* Type Selector (AuswahlmenÃƒÂ¼ vs. Button) */
.ticket-reasons-type {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.ticket-reasons-type__btn {
    border: none;
    border-radius: 0;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: #111214;
    color: #A1A1AA;
}

.ticket-reasons-type__btn--active {
    background: #5865F2;
    color: #FFFFFF;
}

/* Placeholder Field with Counter */
.ticket-reasons-placeholder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.ticket-reasons-placeholder-label {
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
}

.ticket-reasons-placeholder-counter {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: #A1A1AA;
}

.ticket-reasons-placeholder-input {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 10px 14px;
    color: #F2F3F5;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.ticket-reasons-placeholder-input:focus {
    outline: 1px solid #5865F2;
}

/* Reasons List */
.ticket-reasons-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
    margin-bottom: 20px;
}

/* Reason Card Item (Screenshot 2) */
.ticket-reason-card {
    display: flex;
    background: #2B2D31;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ticket-reason-card--dragging {
    opacity: 0.5;
}

/* Left Sidebar: Drag Handle & Trash Button */
.ticket-reason-card__side {
    width: 38px;
    background: #111214;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    flex-shrink: 0;
}

.ticket-reason-card__handle {
    cursor: grab;
    color: #A1A1AA;
    font-size: 16px;
    user-select: none;
    line-height: 1;
}

.ticket-reason-card__del-btn {
    border: none;
    background: transparent;
    color: #F04747;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    line-height: 1;
}

/* Main Content Area */
.ticket-reason-card__content {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* Top Preview Inset Box */
.ticket-reason-card__preview-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-reason-card__preview-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #A1A1AA;
    letter-spacing: 0.5px;
}

.ticket-reason-card__preview {
    background: #1E1F22;
    border-radius: 0;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ticket-reason-card__preview-emoji {
    font-size: 22px;
    line-height: 1.2;
    flex-shrink: 0;
}

.ticket-reason-card__preview-text {
    flex: 1;
    min-width: 0;
}

.ticket-reason-card__preview-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #F2F3F5;
    margin-bottom: 3px;
    line-height: 1.3;
}

.ticket-reason-card__preview-desc {
    font-size: 12px;
    color: #A1A1AA;
    line-height: 1.45;
    word-break: break-word;
}

/* Form Rows */
.ticket-reason-card__row-fields {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ticket-reason-card__emoji-block {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 50px;
    flex-shrink: 0;
}

.ticket-reason-card__label-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 18px;
}

.ticket-reason-card__field-title {
    font-size: 12px;
    color: #A1A1AA;
    font-weight: 600;
}

.ticket-reason-card__field-counter {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: #A1A1AA;
}

.ticket-reason-card__emoji-btn {
    width: 100%;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-sizing: border-box;
    user-select: none;
    margin: 0;
}

.ticket-reason-card__emoji-btn--active {
    outline: 1px solid #7289da;
}

.ticket-emoji-popover {
    display: none;
    position: fixed;
    z-index: 10001;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.75);
    border-radius: 0;
    overflow: hidden;
}

.ticket-emoji-popover emoji-picker {
    --background: #1E1F22;
    --border-color: #2B2D31;
    --input-border-color: #111214;
    --input-placeholder-color: #A1A1AA;
    --outline-color: #5865F2;
    --category-font-color: #A1A1AA;
    --indicator-color: #5865F2;
    width: 340px;
    height: 380px;
    border: none;
}

.ticket-emoji-popover--active {
    display: block;
}

.ticket-reason-card__text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

input.ticket-reason-card__input,
.ticket-reason-card__input {
    border-radius: 0;
    width: 100%;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 12px;
    color: #F2F3F5;
    font-size: 13.5px;
    outline: none;
    box-sizing: border-box;
    margin: 0;
}

input.ticket-reason-card__input:focus,
.ticket-reason-card__input:focus {
    outline: 1px solid #7289da;
    border-color: rgba(255, 255, 255, 0.08);
}

/* Actions Row at bottom of Card */
.ticket-reason-card__actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.ticket-reason-card__settings-btn {
    border: none;
    border-radius: 0;
    background: #111214;
    color: #F2F3F5;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    cursor: pointer;
    line-height: 1.2;
}

.ticket-reason-card__badge-configured {
    font-size: 11px;
    font-weight: 600;
    color: #23A559;
    background: rgba(35, 165, 89, 0.15);
    padding: 3px 8px;
    border-radius: 0;
}

/* Bottom Actions bar for Reasons */
.ticket-reasons-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.ticket-reasons-btn-add {
    border: none;
    border-radius: 0;
    background: #23A559;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    cursor: pointer;
}

.ticket-reasons-btn-template {
    border: none;
    border-radius: 0;
    background: #383A40;
    color: #F2F3F5;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    cursor: pointer;
}

/* Modal for Per-Reason Settings */
.ticket-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.ticket-modal-overlay--active {
    display: flex;
}

.ticket-modal {
    width: 600px;
    max-width: 95vw;
    background: #2B2D31;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ticket-modal__header {
    background: #111214;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-modal__title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    letter-spacing: 0.5px;
}

.ticket-modal__close-btn {
    border: none;
    background: transparent;
    color: #A1A1AA;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
}

.ticket-modal__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 70vh;
    overflow-y: auto;
}

.ticket-modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ticket-modal__label {
    font-size: 12.5px;
    font-weight: 700;
    color: #F2F3F5;
}

.ticket-modal__desc {
    font-size: 11.5px;
    color: #A1A1AA;
}

.ticket-modal__select {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 10px 12px;
    color: #F2F3F5;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.ticket-modal__select:focus {
    outline: 1px solid #5865F2;
}

.ticket-modal__textarea {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 10px 12px;
    color: #F2F3F5;
    font-size: 13px;
    outline: none;
    min-height: 80px;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
}

.ticket-modal__textarea:focus {
    outline: 1px solid #5865F2;
}

.ticket-modal__footer {
    background: #111214;
    padding: 14px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-modal__btn-cancel {
    border: none;
    border-radius: 0;
    background: #383A40;
    color: #F2F3F5;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    cursor: pointer;
}

.ticket-modal__btn-save {
    border: none;
    border-radius: 0;
    background: #23A559;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    cursor: pointer;
}

.ticket-reason-card__del-btn-text {
    border: none;
    border-radius: 0;
    background: #111214;
    color: #F04747;
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    cursor: pointer;
    line-height: 1.2;
}

.dash-discord-embed-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.dash-discord-embed-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-discord-embed__thumb {
    width: 68px;
    height: 68px;
    border-radius: 0;
    object-fit: cover;
    flex-shrink: 0;
}

.dash-discord-embed__thumb--hidden,
.dw-discord-embed__thumb--hidden {
    display: none;
}

.dash-discord-select-preview {
    background: #111214;
    border-radius: 0;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #A1A1AA;
    font-size: 13px;
    max-width: 520px;
    margin-top: 8px;
    user-select: none;
}

.ticket-reason-card__badge-configured--hidden {
    display: none;
}

.ticket-reason-card--dragging {
    opacity: 0.4;
}

/* --- TICKET ROLE MULTI-SELECT DROPDOWN --- */
.ticket-role-picker {
    position: relative;
    width: 100%;
    user-select: none;
}

.ticket-role-picker__control {
    background: #111214;
    border-radius: 0;
    min-height: 42px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    box-sizing: border-box;
}

.ticket-role-picker__control--active {
    outline: 1px solid #5865F2;
}

.ticket-role-picker__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.ticket-role-picker__placeholder {
    color: #A1A1AA;
    font-size: 13px;
    pointer-events: none;
}

.ticket-role-picker__placeholder--hidden {
    display: none;
}

.ticket-role-picker__tag {
    background: #2B2D31;
    border-radius: 0;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #F2F3F5;
    line-height: 1;
}

.ticket-role-picker__tag-dot,
.ticket-role-picker__item-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
    background-color: var(--role-color, #99AAB5);
}

.ticket-role-picker__tag-name {
    font-weight: 500;
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-role-picker__tag-remove {
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    background: #F04747;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}

.ticket-role-picker__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #A1A1AA;
    flex-shrink: 0;
}

.ticket-role-picker__clear {
    font-size: 14px;
    font-weight: 700;
    color: #A1A1AA;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
}

.ticket-role-picker__clear--hidden {
    display: none;
}

.ticket-role-picker__arrow {
    font-size: 11px;
    color: #A1A1AA;
    line-height: 1;
}

.ticket-role-picker__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #111214;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
}

.ticket-role-picker__menu--hidden {
    display: none;
}

.ticket-role-picker__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: 13px;
    color: #F2F3F5;
    cursor: pointer;
    background: transparent;
}

.ticket-role-picker__item--selected {
    background: #2B2D31;
    font-weight: 600;
}

.ticket-role-picker__item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-role-picker__item-check {
    font-size: 11px;
    font-weight: 700;
    color: #23A559;
}

.ticket-role-picker__item-check--hidden {
    display: none;
}

/* Channel Creation Toast & Optgroups (Flat Dark Block Schema) */
.ticket-channel-toast {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10002;
    background: #111214;
    color: #F2F3F5;
    padding: 12px 18px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    border-left: 3px solid #23A559;
    max-width: 420px;
    box-sizing: border-box;
    line-height: 1.4;
}

.ticket-channel-toast--error {
    border-left-color: #F04747;
}

.ticket-channel-toast--active {
    display: block;
}

.dash-ticket-select optgroup,
.dw-ticket-select optgroup {
    background: #111214;
    color: #A1A1AA;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 0;
}

.dash-ticket-select optgroup option,
.dw-ticket-select optgroup option {
    background: #1E1F22;
    color: #F2F3F5;
    font-size: 13px;
    font-weight: normal;
    padding: 6px 10px;
}/* ==========================================================================
   VISUELLER DISCORD EMBED BUILDER (SCREEN 2)
   ========================================================================== */
.dash-visual-embed,
/* ==========================================================================
   VISUELLER DISCORD EMBED BUILDER (SCREEN 2)
   ========================================================================== */
.dw-visual-embed {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    margin-bottom: 28px;
    align-items: flex-start;
    width: 100%;
}

.dash-visual-embed__rail,
.dw-visual-embed__rail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding-top: 6px;
    flex-shrink: 0;
}

.dash-visual-embed__rail-btn,
.dw-visual-embed__rail-btn {
    background: #111214;
    color: #A1A1AA;
    border: none;
    border-radius: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.dash-visual-embed__rail-btn--danger,
.dw-visual-embed__rail-btn--danger {
    background: rgba(240, 71, 71, 0.15);
    color: #F04747;
}

.dash-visual-embed__card,
.dw-visual-embed__card {
    flex: 1;
    min-width: 0;
    width: 100%;
    background: #111214;
    border-left: 4px solid var(--embed-color, #E02424);
    border-radius: 0;
    padding: 20px 20px 16px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.dash-visual-embed__top-row,
.dw-visual-embed__top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.dash-visual-embed__author-wrap,
.dw-visual-embed__author-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.dash-visual-embed__author-icon,
.dw-visual-embed__author-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    background: #1E1F22;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A1A1AA;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
}

.dash-visual-embed__author-icon img,
.dw-visual-embed__author-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-visual-embed__input-box,
.dw-visual-embed__input-box {
    border-radius: 0;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 12px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    box-sizing: border-box;
    margin: 0;
}

.dash-visual-embed__input-box:focus-within,
.dw-visual-embed__input-box:focus-within {
    outline: 1px solid #7289da;
}

.dash-visual-embed__input-box input.dash-visual-embed__input,
.dw-visual-embed__input-box input.dw-visual-embed__input,
input.dash-visual-embed__input,
input.dw-visual-embed__input,
.dash-visual-embed__input,
.dw-visual-embed__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    color: #F2F3F5;
    font-size: 13.5px;
    font-weight: 500;
    padding: 0;
    margin: 0;
    height: 100%;
    min-height: 0;
    font-family: inherit;
    width: 100%;
}

.dash-visual-embed__input-icon,
.dw-visual-embed__input-icon {
    color: #A1A1AA;
    cursor: pointer;
    margin-right: 8px;
    font-size: 13px;
}

.dash-visual-embed__counter,
.dw-visual-embed__counter {
    font-size: 11px;
    color: #A1A1AA;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 8px;
}

.dash-visual-embed__thumb-box,
.dw-visual-embed__thumb-box {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 0;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    background: #1E1F22;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.dash-visual-embed__thumb-box--hidden,
.dw-visual-embed__thumb-box--hidden {
    display: none;
}

.dash-visual-embed__thumb-img,
.dw-visual-embed__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.dash-visual-embed__thumb-placeholder,
.dw-visual-embed__thumb-placeholder {
    color: #A1A1AA;
    font-size: 20px;
}

.dash-visual-embed__thumb-del,
.dw-visual-embed__thumb-del {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #F04747;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    border: none;
}

.dash-visual-embed__textarea-box,
.dw-visual-embed__textarea-box {
    position: relative;
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
}

.dash-visual-embed__textarea,
.dw-visual-embed__textarea {
    background: transparent;
    border: none;
    outline: none;
    color: #F2F3F5;
    font-size: 13.5px;
    font-family: inherit;
    resize: vertical;
    min-height: 64px;
    line-height: 1.5;
}

.dash-visual-embed__textarea-footer,
.dw-visual-embed__textarea-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.dash-visual-embed__emoji-btn,
.dw-visual-embed__emoji-btn {
    background: transparent;
    border: none;
    color: #A1A1AA;
    font-size: 15px;
    cursor: pointer;
    padding: 2px 4px;
}

.dash-visual-embed__fields,
.dw-visual-embed__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-visual-embed__field-card,
.dw-visual-embed__field-card {
    background: #18191C;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-visual-embed__field-header,
.dw-visual-embed__field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-visual-embed__field-title,
.dw-visual-embed__field-title {
    font-size: 12px;
    font-weight: 700;
    color: #F2F3F5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-visual-embed__field-actions,
.dw-visual-embed__field-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-visual-embed__field-btn,
.dw-visual-embed__field-btn {
    background: transparent;
    border: none;
    color: #A1A1AA;
    cursor: pointer;
    font-size: 13px;
    padding: 4px;
}

.dash-visual-embed__field-btn--danger,
.dw-visual-embed__field-btn--danger {
    color: #F04747;
}

.dash-visual-embed__field-body,
.dw-visual-embed__field-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-visual-embed__field-body--collapsed,
.dw-visual-embed__field-body--collapsed {
    display: none;
}

.dash-visual-embed__inline-row,
.dw-visual-embed__inline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-visual-embed__inline-label,
.dw-visual-embed__inline-label {
    font-size: 12px;
    font-weight: 600;
    color: #A1A1AA;
}

.dash-visual-embed__actions-footer,
.dw-visual-embed__actions-footer {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.dash-visual-embed__add-btn,
.dw-visual-embed__add-btn {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.dash-visual-embed__sync-btn,
.dw-visual-embed__sync-btn {
    background: #111214;
    color: #A1A1AA;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}/* Embed-Feld & Titel mit Emoji-Auswahl (wie in Bild 2) */
.dash-visual-embed__field-row,
/* Embed-Feld & Titel mit Emoji-Auswahl (wie in Bild 2) */
.dw-visual-embed__field-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.dash-visual-embed__field-emoji-btn,
.dw-visual-embed__field-emoji-btn {
    border-radius: 0;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
    box-sizing: border-box;
    user-select: none;
    margin: 0;
}

.dash-visual-embed__field-emoji-btn--active,
.dw-visual-embed__field-emoji-btn--active {
    outline: 1px solid #7289da;
}

.dash-visual-embed__field-name-wrap,
.dw-visual-embed__field-name-wrap {
    flex: 1;
    min-width: 0;
}

.dash-visual-embed__settings-grid,
.dw-visual-embed__settings-grid {
    margin-top: 24px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}/* ==========================================================================
   THUMBNAIL CHOOSER MODAL (FLAT DARK BLOCK SCHEMA)
   ========================================================================== */
.dash-thumb-modal-overlay,
/* ==========================================================================
   THUMBNAIL CHOOSER MODAL (FLAT DARK BLOCK SCHEMA)
   ========================================================================== */
.dw-thumb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.dash-thumb-modal-overlay--active,
.dw-thumb-modal-overlay--active,
.dash-thumb-modal-overlay.open,
.dw-thumb-modal-overlay.open {
    display: flex;
}

.dash-thumb-modal,
.dw-thumb-modal {
    width: 100%;
    max-width: 520px;
    background: #111214;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dash-thumb-modal__header,
.dw-thumb-modal__header {
    background: #111214;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-thumb-modal__title,
.dw-thumb-modal__title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-thumb-modal__title i,
.dw-thumb-modal__title i {
    color: #5865F2;
}

.dash-thumb-modal__close-btn,
.dw-thumb-modal__close-btn {
    background: transparent;
    border: none;
    color: #A1A1AA;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dash-thumb-modal__body,
.dw-thumb-modal__body {
    background: #383A40;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-thumb-modal__section-title,
.dw-thumb-modal__section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
    letter-spacing: 0.5px;
}

.dash-thumb-modal__dropzone,
.dw-thumb-modal__dropzone {
    background: #1E1F22;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dash-thumb-modal__dropzone.dragover,
.dw-thumb-modal__dropzone.dragover {
    border-color: #5865F2;
    background: rgba(88, 101, 242, 0.08);
}

.dash-thumb-modal__drop-icon,
.dw-thumb-modal__drop-icon {
    font-size: 32px;
    color: #5865F2;
}

.dash-thumb-modal__drop-text,
.dw-thumb-modal__drop-text {
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
}

.dash-thumb-modal__drop-sub,
.dw-thumb-modal__drop-sub {
    font-size: 11px;
    color: #A1A1AA;
}

.dash-thumb-modal__file-input,
.dw-thumb-modal__file-input {
    display: none;
}

.dash-thumb-modal__status,
.dw-thumb-modal__status {
    font-size: 12px;
    min-height: 16px;
}

.dash-thumb-modal__status--loading,
.dw-thumb-modal__status--loading,
.dash-thumb-modal__status--info,
.dw-thumb-modal__status--info {
    color: #FAA61A;
}

.dash-thumb-modal__status--success,
.dw-thumb-modal__status--success {
    color: #23A559;
}

.dash-thumb-modal__status--error,
.dw-thumb-modal__status--error {
    color: #F04747;
}

.dash-thumb-modal__url-box,
.dw-thumb-modal__url-box {
    display: flex;
    gap: 10px;
}

.dash-thumb-modal__input,
.dw-thumb-modal__input {
    flex: 1;
    background: #1E1F22;
    border: none;
    border-radius: 0;
    padding: 0 14px;
    height: 42px;
    color: #F2F3F5;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.dash-thumb-modal__input:focus,
.dw-thumb-modal__input:focus {
    outline: 1px solid #7289DA;
}

.dash-thumb-modal__btn-apply,
.dw-thumb-modal__btn-apply {
    background: #23A559;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 0 18px;
    height: 42px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.dash-thumb-modal__footer,
.dw-thumb-modal__footer {
    background: #111214;
    padding: 14px 20px;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-thumb-modal__btn-cancel,
.dw-thumb-modal__btn-cancel {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   COMPONENT MESSAGES BUILDER & DISCORD LIVE-PREVIEW (FLAT DARK BLOCK)
   ========================================================================== */

.comp-builder {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.comp-builder--has-action-bar {
    padding-bottom: 90px;
}

.comp-builder__header {
    background: #111214;
    border-radius: 0;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.comp-builder__title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.comp-builder__name-input {
    background: #1E1F22;
    border: none;
    border-radius: 0;
    color: #F2F3F5;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 14px;
    width: 320px;
}

.comp-builder__name-input:focus {
    outline: 1px solid #7289da;
}

.comp-builder__header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-builder__btn {
    border: none;
    border-radius: 0;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.comp-builder__btn--primary {
    background: #23A559;
    color: #FFFFFF;
}

.comp-builder__btn--secondary {
    background: #2B2D31;
    color: #F2F3F5;
}

.comp-builder__btn--send {
    background: #5865F2;
    color: #FFFFFF;
}

.comp-builder__btn--danger {
    background: #F04747;
    color: #FFFFFF;
}

.comp-builder__btn-send-badge {
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}

.dash-visual-editor-right .discord-chat-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

#componentsListContainer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.welcome-container--has-action-bar {
    padding-bottom: 90px;
}

.comp-builder__content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 25px;
    align-items: start;
}

@media (max-width: 1100px) {
    .comp-builder__content {
        grid-template-columns: 1fr;
    }
}

/* Editor Spalte */
.comp-editor {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comp-block {
    background: #2B2D31;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.comp-block__header {
    background: #111214;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comp-block__title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-block__header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-block__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-block__drag-handle {
    color: #A1A1AA;
    cursor: grab;
    padding: 2px 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    user-select: none;
}

.comp-block__drag-handle:active {
    cursor: grabbing;
}

.comp-block--dragging {
    opacity: 0.45;
}

.comp-block--drag-over-top {
    border-top: 2px solid #5865F2 !important;
}

.comp-block--drag-over-bottom {
    border-bottom: 2px solid #5865F2 !important;
}

.comp-block__icon-btn {
    background: transparent;
    border: none;
    color: #A1A1AA;
    cursor: pointer;
    font-size: 15px;
    padding: 4px;
}

.comp-block__icon-btn:disabled {
    opacity: 0.25 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.comp-block__icon-btn--danger {
    color: #F04747;
}

.comp-block__body {
    padding: 18px;
}

.comp-block__body--collapsed {
    display: none;
}

.comp-block__preview-title {
    font-size: 11px;
    font-weight: 600;
    color: #A1A1AA;
    background: #1E1F22;
    padding: 2px 8px;
    border-radius: 0;
    margin-left: 8px;
    text-transform: none;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

/* Spezifische Komponenten-Blöcke */
.comp-block__textarea {
    width: 100%;
    min-height: 90px;
    background: #111214;
    border: none;
    border-radius: 0;
    color: #F2F3F5;
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

.comp-block__textarea:focus {
    outline: 1px solid #7289da;
}

.comp-block__counter {
    text-align: right;
    font-size: 12px;
    color: #A1A1AA;
    margin-top: 6px;
}

.comp-block__input {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    color: #F2F3F5;
    padding: 10px 14px;
    font-size: 14px;
    box-sizing: border-box;
}

.comp-block__input:focus {
    outline: 1px solid #7289da;
}

/* Spezifische Text-Komponenten Felder (Überschrift & Beschreibung) */
.comp-text-title-box {
    margin-bottom: 12px;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0 14px;
    height: 44px;
    box-sizing: border-box;
}

.comp-text-title-input {
    font-size: 14.5px;
    font-weight: 700;
    color: #F2F3F5;
}

.comp-text-desc-box {
    margin-bottom: 0;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 12px 14px;
    box-sizing: border-box;
}

.comp-text-desc-box:focus-within {
    outline: 1px solid #7289da;
}

.comp-text-desc-textarea {
    width: 100%;
    min-height: 100px;
    background: transparent;
    border: none;
    outline: none;
    color: #F2F3F5;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;
    resize: vertical;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Container mit Akzentlinie */
.comp-container {
    background: #232528;
    border-left: 4px solid #5865F2;
    border-radius: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
}

.comp-container--no-border {
    border-left: none;
}

.comp-container__sublist {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Button-Reihe */
.comp-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    background: #1E1F22;
    padding: 12px;
    border-radius: 0;
}

.comp-item-btn {
    background: #2B2D31;
    border: none;
    border-radius: 0;
    color: #F2F3F5;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.comp-item-btn--primary { background: #5865F2; }
.comp-item-btn--secondary { background: #4E5058; }
.comp-item-btn--success { background: #248046; }
.comp-item-btn--danger { background: #DA373C; }
.comp-item-btn--link { background: #35373C; }

/* Inline-Button-Editor (Flat Dark Block Schema) */
.comp-btn-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-btn-editor__item {
    background: #2B2D31;
    border-radius: 0;
    overflow: hidden;
    border: none;
}

.comp-btn-editor__header {
    background: #111214;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comp-btn-editor__header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comp-btn-editor__nav-btn {
    background: #1E1F22;
    color: #A1A1AA;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
}

.comp-btn-editor__nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.comp-btn-editor__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
    letter-spacing: 0.5px;
}

.comp-btn-editor__badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 0;
    color: #F2F3F5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.comp-btn-editor__badge--primary { background: #5865F2; }
.comp-btn-editor__badge--secondary { background: #4E5058; }
.comp-btn-editor__badge--success { background: #248046; }
.comp-btn-editor__badge--danger { background: #DA373C; }
.comp-btn-editor__badge--link { background: #35373C; }

.comp-btn-editor__header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.comp-btn-editor__delete-btn {
    background: #DA373C;
    color: #FFFFFF;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
}

.comp-btn-editor__body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-btn-editor__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.comp-btn-editor__col {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-btn-editor__col--hidden {
    display: none;
}

.comp-btn-editor__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
}

.comp-btn-editor__type-toggle {
    display: flex;
    gap: 6px;
}

.comp-btn-editor__type-btn {
    flex: 1;
    background: #1E1F22;
    color: #A1A1AA;
    border: none;
    border-radius: 0;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.comp-btn-editor__type-btn--active {
    background: #5865F2;
    color: #FFFFFF;
}

.comp-btn-editor__styles {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.comp-btn-editor__style-btn {
    flex: 1;
    min-width: 60px;
    padding: 7px 8px;
    border: none;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    text-align: center;
}

.comp-btn-editor__style-btn--primary { background: #5865F2; }
.comp-btn-editor__style-btn--secondary { background: #4E5058; }
.comp-btn-editor__style-btn--success { background: #248046; }
.comp-btn-editor__style-btn--danger { background: #DA373C; }
.comp-btn-editor__style-btn--selected {
    box-shadow: 0 0 0 2px #FFFFFF;
}

.comp-btn-editor__textarea {
    resize: vertical;
    min-height: 70px;
}

.comp-btn-editor__emoji-wrap {
    display: flex;
    gap: 6px;
    align-items: center;
}

.comp-btn-editor__emoji-picker-btn {
    background: #111214;
    color: #F2F3F5;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
}

.comp-btn-editor__embed-toggle {
    background: transparent;
    border: none;
    color: #A1A1AA;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 0;
    text-align: left;
}

.comp-btn-editor__embed-box {
    background: #1E1F22;
    padding: 12px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.comp-btn-editor__embed-box--hidden {
    display: none;
}

.comp-btn-editor__add-btn {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.comp-btn-editor__limit-hint {
    background: #1E1F22;
    color: #A1A1AA;
    padding: 10px 14px;
    border-radius: 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

/* AuswahlmenÃƒÂ¼ (Select Menu) */
.comp-select-wrapper {
    background: #1E1F22;
    padding: 14px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comp-option-item {
    background: #2B2D31;
    border-radius: 0;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comp-option-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.comp-option-item__label {
    font-weight: 600;
    font-size: 14px;
    color: #F2F3F5;
}

.comp-option-item__desc {
    font-size: 12px;
    color: #A1A1AA;
}

.comp-btn-item-wrap {
    display: inline-flex;
    align-items: center;
    background: #111214;
    border-radius: 0;
    padding: 3px;
    gap: 4px;
}

.comp-btn-move-btn {
    background: transparent;
    border: none;
    color: #A1A1AA;
    cursor: pointer;
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-btn-move-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.comp-option-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.comp-option-move-btn {
    background: #111214;
    border: none;
    color: #A1A1AA;
    cursor: pointer;
    font-size: 12px;
    width: 26px;
    height: 26px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comp-option-move-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

/* HinzufÃƒÂ¼gen-Bereich */
.comp-add-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111214;
    padding: 14px 18px;
    border-radius: 0;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    margin-top: 18px;
}

.comp-add-btn {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.comp-add-dropdown {
    position: absolute;
    bottom: 55px;
    left: 18px;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    min-width: 200px;
    z-index: 100;
    padding: 6px 0;
}

.comp-add-dropdown.active {
    display: flex;
}

.comp-add-dropdown__item {
    background: transparent;
    border: none;
    color: #F2F3F5;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-limits-info {
    font-size: 12px;
    color: #A1A1AA;
    display: flex;
    gap: 16px;
}

/* Discord Live-Preview */
.comp-preview {
    background: #111214;
    border-radius: 0;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 20px;
}

.comp-preview__title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #A1A1AA;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.discord-chat-card {
    background: #313338;
    border-radius: 0;
    padding: 16px;
    display: flex;
    gap: 14px;
    font-family: 'Inter', sans-serif;
}

.discord-chat__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.discord-chat__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discord-chat__content-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.discord-chat__header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-chat__username {
    font-weight: 600;
    font-size: 15px;
    color: #F2F3F5;
}

.discord-chat__bot-badge {
    background: #5865F2;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    border-radius: 0;
    padding: 1px 4px;
    text-transform: uppercase;
}

.discord-chat__time {
    font-size: 12px;
    color: #949BA4;
}

.discord-chat__text {
    font-size: 14px;
    color: #DBDEE1;
    line-height: 1.55;
    word-break: break-word;
    white-space: pre-wrap;
    margin: 0;
}

.discord-chat__h1 {
    font-size: 19px;
    font-weight: 700;
    color: #F2F3F5;
    margin: 14px 0 8px 0;
    line-height: 1.35;
}
.discord-chat__h1:first-child {
    margin-top: 0;
}

.discord-chat__h2 {
    font-size: 16px;
    font-weight: 700;
    color: #F2F3F5;
    margin: 12px 0 6px 0;
    line-height: 1.3;
}
.discord-chat__h2:first-child {
    margin-top: 0;
}

.discord-chat__h3 {
    font-size: 14.5px;
    font-weight: 600;
    color: #F2F3F5;
    margin: 10px 0 4px 0;
    line-height: 1.3;
}
.discord-chat__h3:first-child {
    margin-top: 0;
}

.discord-chat__divider {
    height: 1px;
    background: #3F4147;
    margin: 14px 0;
    width: 100%;
}

.discord-chat__image {
    max-width: 100%;
    border-radius: 0;
    margin-top: 6px;
}

.discord-chat__embed {
    background: #2B2D31;
    border-radius: 0;
    border-left: 4px solid #5865F2;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
    max-width: 100%;
}

.discord-chat__embed--no-border {
    border-left: none;
}

.discord-chat__btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.discord-chat__btn {
    border: none;
    border-radius: 0;
    height: 36px;
    padding: 0 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.discord-chat__btn--primary { background: #5865F2; }
.discord-chat__btn--secondary { background: #4E5058; }
.discord-chat__btn--success { background: #248046; }
.discord-chat__btn--danger { background: #DA373C; }
.discord-chat__btn--link { background: #4E5058; }

.discord-chat__select {
    background: #2B2D31;
    border: 1px solid #1E1F22;
    border-radius: 0;
    padding: 8px 12px;
    color: #DBDEE1;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

/* Modals fÃƒÂ¼r Buttons, Select-Options und Antworten */
.comp-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.comp-modal-overlay.active,
.comp-modal-overlay--open {
    display: flex;
}

.comp-modal {
    background: #111214;
    border-radius: 0;
    width: 600px;
    max-width: 95vw;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.comp-modal--large {
    width: 800px;
}

.comp-modal__header {
    background: #111214;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comp-modal__title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
}

.comp-modal__close {
    background: transparent;
    border: none;
    color: #A1A1AA;
    cursor: pointer;
    font-size: 18px;
}

.comp-modal__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 75vh;
    overflow-y: auto;
}

.comp-modal__footer {
    background: #111214;
    padding: 14px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.comp-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-form-group__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
}

.comp-btn-style-selector {
    display: flex;
    gap: 10px;
}

.comp-btn-style-option {
    border: 2px solid transparent;
    border-radius: 0;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
}

.comp-btn-style-option.selected {
    border-color: #FFFFFF;
}

.comp-color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.comp-color-swatch {
    width: 26px;
    height: 26px;
    border-radius: 0;
    border: none;
    cursor: pointer;
}

.comp-color-swatch.selected {
    box-shadow: 0 0 0 2px #FFFFFF;
}

/* ÃƒÅ“bersicht / Listen-Ansicht */
.comp-list-card {
    background: #2B2D31;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.comp-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comp-list-table th {
    background: #111214;
    color: #F2F3F5;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    padding: 14px 18px;
    text-align: left;
}

.comp-list-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #F2F3F5;
}

.comp-status-badge {
    padding: 2px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.comp-status-badge--draft {
    background: rgba(161, 161, 170, 0.15);
    color: #A1A1AA;
}

.comp-status-badge--sent {
    background: rgba(35, 165, 89, 0.15);
    color: #23A559;
}

.comp-status-badge--embed {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
}

.comp-list-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.comp-builder__btn--link {
    text-decoration: none;
    display: inline-block;
}

.comp-builder__btn--sm {
    padding: 6px 14px;
    font-size: 13px;
}

.comp-form-group--mt {
    margin-top: 10px;
}

.comp-feedback {
    display: none;
    padding: 10px;
    border-radius: 0;
    font-size: 13px;
}

.comp-feedback--loading {
    display: block;
    background: #2B2D31;
    color: #F2F3F5;
}

.comp-feedback--success {
    display: block;
    background: rgba(35, 165, 89, 0.2);
    color: #23A559;
}

.comp-feedback--error {
    display: block;
    background: rgba(240, 71, 71, 0.2);
    color: #F04747;
}

.comp-block__divider-box {
    padding: 14px 18px;
    background: #1E1F22;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.comp-block__divider-line {
    border: none;
    border-top: 1px solid #3F4147;
    margin: 0;
    width: 100%;
}

.comp-color-pipette {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.comp-add-btn--sub {
    margin-top: 10px;
}

.comp-btn-pen-icon {
    font-size: 10px;
    margin-left: 4px;
}

.comp-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comp-option-actions {
    display: flex;
    gap: 8px;
}

.comp-btn-add-opt {
    margin-top: 6px;
}

.comp-sub-menu {
    position: fixed;
    z-index: 1000;
}

.discord-chat__link-icon {
    font-size: 11px;
    margin-left: 4px;
}

.discord-chat__chevron-icon {
    font-size: 11px;
}

.discord-chat__pre {
    background: #1E1F22;
    padding: 6px;
    border-radius: 0;
    font-family: monospace;
}

.discord-chat__code {
    background: #1E1F22;
    padding: 2px 4px;
    border-radius: 0;
    font-family: monospace;
}

/* ==========================================================================
   NOTIFY SYSTEM (Ticket-System-Vorbild: Flat Dark Block Schema)
   ========================================================================== */
.notify-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.notify-filter-pill {
    background: #111214;
    color: #A1A1AA;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    outline: none;
}

.notify-filter-pill--active {
    background: #2B2D31;
    color: #F2F3F5;
}

.notify-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FFFFFF;
}

.notify-platform-badge--twitch { background: #9146FF; }
.notify-platform-badge--youtube { background: #CC0000; }
.notify-platform-badge--kick { background: #53FC18; color: #111214; }
.notify-platform-badge--tiktok { background: #00F2FE; color: #111214; }
.notify-platform-badge--twitter { background: #1DA1F2; }
.notify-platform-badge--instagram { background: #E1306C; }
.notify-platform-badge--rss { background: #FFA500; color: #111214; }

.notify-editor-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1080px) {
    .notify-editor-grid {
        grid-template-columns: 1fr;
    }
}

.notify-preview-sticky {
    position: sticky;
    top: 24px;
}

.notify-preview-card {
    background: #111214;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.notify-preview-card__header {
    background: #111214;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notify-preview-card__body {
    background: #313338;
    padding: 20px;
}

.notify-chat-msg {
    display: flex;
    gap: 16px;
    font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.notify-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #1E1F22;
}

.notify-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notify-chat-content {
    flex: 1;
    min-width: 0;
}

.notify-chat-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.notify-chat-author {
    font-size: 15px;
    font-weight: 600;
    color: #F2F3F5;
}

.notify-chat-bot-tag {
    background: #5865F2;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 0;
    text-transform: uppercase;
}

.notify-chat-time {
    font-size: 12px;
    color: #949BA4;
}

.notify-chat-text {
    font-size: 14px;
    color: #DBDEE1;
    line-height: 1.4;
    margin-bottom: 10px;
    word-break: break-word;
}

.notify-chat-embed {
    background: #2B2D31;
    border-radius: 0;
    border-left: 4px solid var(--embed-color, #9146FF);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 520px;
}

.notify-chat-embed__author {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #F2F3F5;
    margin-bottom: 2px;
}

.notify-chat-embed__platform-icon {
    font-size: 13px;
}

.notify-chat-embed__platform-icon--twitch {
    color: #9146FF;
}

.notify-chat-embed__platform-icon--youtube {
    color: #FF0000;
}

.notify-chat-embed__platform-icon--kick {
    color: #53FC18;
}

.notify-chat-embed__platform-icon--tiktok {
    color: #00F2FE;
}

.notify-chat-embed__platform-icon--twitter {
    color: #1DA1F2;
}

.notify-chat-embed__platform-icon--instagram {
    color: #E1306C;
}

.notify-chat-embed__platform-icon--rss {
    color: #FFA500;
}

.notify-chat-embed__title {
    font-size: 15px;
    font-weight: 700;
    color: #00A8FC;
    text-decoration: none;
    line-height: 1.3;
}

.notify-chat-embed__desc {
    font-size: 13px;
    color: #DBDEE1;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.notify-chat-embed__thumb {
    width: 100%;
    height: 180px;
    background: #1E1F22;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.notify-chat-embed__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notify-chat-embed__thumb-placeholder {
    font-size: 32px;
    color: #4E5058;
}

.notify-chat-embed__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #949BA4;
    margin-top: 4px;
}

.notify-chat-embed__footer-logo {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

.notify-chat-embed__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.notify-chat-components {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.notify-discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #383A40;
    color: #F2F3F5;
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 0;
    user-select: none;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.notify-discord-btn__icon {
    font-size: 12px;
    color: #949BA4;
}

.notify-log-table {
    width: 100%;
    border-collapse: collapse;
}

.notify-log-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
    background: #111214;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.notify-log-table td {
    padding: 14px 16px;
    font-size: 13px;
    color: #F2F3F5;
    background: #383A40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.notify-log-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
}

.notify-log-status--success {
    background: rgba(35, 165, 89, 0.2);
    color: #23A559;
}

.notify-log-status--error {
    background: rgba(240, 71, 71, 0.2);
    color: #F04747;
}

.notify-log-status--test {
    background: rgba(88, 101, 242, 0.2);
    color: #5865F2;
}



/* AI Vorgefertigte Nachrichten Tabelle */
.ai-sentences-container {
    max-height: 480px;
    overflow-y: auto;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #111214;
    margin-top: 14px;
}
.ai-sentences-table {
    width: 100%;
    border-collapse: collapse;
}
.ai-sentences-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
    background: #111214;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 2;
}
.ai-sentences-table td {
    padding: 12px 16px;
    font-size: 13.5px;
    color: #F2F3F5;
    background: #383A40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}
.ai-sentences-table tr:last-child td {
    border-bottom: none;
}
.ai-sentences-table__profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #23A559;
    text-transform: uppercase;
    white-space: nowrap;
}
.ai-sentences-table__profile i {
    font-size: 14px;
}
.ai-sentences-table__msg {
    line-height: 1.4;
    word-break: break-word;
}
.ai-sentences-table__switch-col {
    text-align: right;
    width: 200px;
}
.ai-sentences-table__actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}
.ai-sentences-table__apply-btn {
    background: #2b2d31;
    color: #f2f3f5;
    border: none;
    border-radius: 0;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* ==========================================================================
   GAMESERVER TWO-COLUMN EDITOR & DISCORD STATUS PREVIEW (FLAT DARK BLOCK)
   ========================================================================== */
.dw-visual-editor-grid,
.dash-visual-editor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 15px;
}

@media (max-width: 1024px) {
    .dw-visual-editor-grid,
    .dash-visual-editor-grid {
        grid-template-columns: 1fr;
    }
}

.dw-visual-editor-left,
.dash-visual-editor-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dw-visual-editor-right,
.dash-visual-editor-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 20px;
    align-self: start;
}

.discord-status-preview {
    max-width: 520px;
    width: 100%;
    box-sizing: border-box;
    background: #2B2D31;
    border-left: 4px solid var(--embed-accent, #23A559);
    border-radius: 0;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    color: #DBDEE1;
}

.discord-status-preview--color-green { border-left-color: #23A559; }
.discord-status-preview--color-blurple { border-left-color: #5865F2; }
.discord-status-preview--color-purple { border-left-color: #8A43F9; }
.discord-status-preview--color-yellow { border-left-color: #FEE75C; }
.discord-status-preview--color-pink { border-left-color: #EB459E; }
.discord-status-preview--color-red { border-left-color: #F04747; }
.discord-status-preview--color-dark { border-left-color: #111214; }
.discord-status-preview--color-cyan { border-left-color: #1DA1F2; }

.discord-status-preview__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #F2F3F5;
}

.discord-status-preview__header-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.discord-status-preview__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.discord-status-preview__title-desc {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discord-status-preview__title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

.discord-status-preview__desc {
    font-size: 13.5px;
    color: #DBDEE1;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Universelle Gameserver Textfarben (BEM-Schema, kein Inline-CSS) */
.gs-color,
.pz-color {
    display: inline;
}
.gs-color--gold,
.pz-color--gold {
    color: #FFCC33;
}
.gs-color--white,
.pz-color--white {
    color: #F2F3F5;
}
.gs-color--red,
.pz-color--red {
    color: #FF664D;
}
.gs-color--green,
.pz-color--green {
    color: #66FF66;
}
.gs-color--cyan,
.pz-color--cyan {
    color: #66B2FF;
}
.gs-color--blue,
.pz-color--blue {
    color: #5865F2;
}
.gs-color--purple,
.pz-color--purple {
    color: #B280FF;
}
.gs-color--orange,
.pz-color--orange {
    color: #F57731;
}
.gs-color--yellow,
.pz-color--yellow {
    color: #FEE75C;
}
.gs-color--gray,
.pz-color--gray {
    color: #949BA4;
}

/* Discord Markdown Vorschau-Elemente (Option A) */
.discord-status-preview__h3 {
    font-size: 15px;
    font-weight: 700;
    color: #F2F3F5;
    margin: 12px 0 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}
.discord-status-preview__h3:first-child {
    margin-top: 0;
}
.discord-status-preview__badge {
    font-size: 14px;
    line-height: 1;
    display: inline-block;
}
.discord-status-preview__subtext {
    font-size: 13px;
    color: #A1A1AA;
    font-style: italic;
    margin: 2px 0 6px 0;
    line-height: 1.35;
}
.discord-status-preview__paragraph {
    font-size: 13.5px;
    color: #DBDEE1;
    line-height: 1.4;
    margin: 0 0 6px 0;
}
.discord-status-preview__quote {
    margin: 12px 0 6px 0;
    padding: 4px 0 4px 10px;
    border-left: 4px solid #4E5058;
    color: #F2F3F5;
    font-size: 13.5px;
    line-height: 1.4;
    background: transparent;
}
.discord-status-preview__link-row {
    margin-top: 10px;
    font-size: 13.5px;
    color: #DBDEE1;
    line-height: 1.4;
}
.discord-status-preview__link {
    color: #00A8FC;
    text-decoration: none;
    word-break: break-all;
}

.discord-status-preview__thumb {
    width: 70px;
    height: 70px;
    border-radius: 0;
    object-fit: cover;
    flex-shrink: 0;
    background: #111214;
}

.discord-status-preview__thumb--hidden {
    display: none;
}

.discord-status-preview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px;
    margin-top: 4px;
}

.discord-status-preview__field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.discord-status-preview__field--full {
    grid-column: 1 / -1;
}

.discord-status-preview__field-label {
    font-size: 12px;
    font-weight: 700;
    color: #949BA4;
    line-height: 1.25;
}

.discord-status-preview__field-value {
    font-size: 13.5px;
    font-weight: 400;
    color: #F2F3F5;
    line-height: 1.3;
}

.discord-status-preview__field-value code {
    background: #1E1F22;
    padding: 2px 4px;
    border-radius: 0;
    font-size: 12px;
    color: #DBDEE1;
}

.discord-status-preview__footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #949BA4;
    padding-top: 4px;
    margin-top: 2px;
    border: none;
}

.gameserver-test-btn {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.gameserver-test-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.discord-status-preview__buttons {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.discord-status-preview__btn-join {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #2B2D31;
    color: #F2F3F5;
    padding: 8px 14px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: default;
}

.dw-switch-row,
.dash-switch-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.dash-ticket-hint,
.dw-ticket-hint {
    font-size: 11.5px;
    color: #A1A1AA;
    line-height: 1.35;
    margin-top: 4px;
}

.dw-color-palette,
.dash-color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.dw-color-pill,
.dash-color-pill {
    width: 28px;
    height: 28px;
    border-radius: 0;
    cursor: pointer;
    background-color: var(--pill-color, #23A559);
    border: 2px solid transparent;
    box-sizing: border-box;
}

.dw-color-pill--active,
.dash-color-pill--active {
    border-color: #FFFFFF;
}

.dw-logo-btn-row,
.dash-logo-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.dw-file-input--hidden,
.dash-file-input--hidden {
    display: none;
}

.dw-color-pill--green, .dash-color-pill--green { background-color: #23A559; }
.dw-color-pill--blurple, .dash-color-pill--blurple { background-color: #5865F2; }
.dw-color-pill--purple, .dash-color-pill--purple { background-color: #8A43F9; }
.dw-color-pill--yellow, .dash-color-pill--yellow { background-color: #FEE75C; }
.dw-color-pill--pink, .dash-color-pill--pink { background-color: #EB459E; }
.dw-color-pill--red, .dash-color-pill--red { background-color: #F04747; }
.dw-color-pill--dark, .dash-color-pill--dark { background-color: #111214; }
.dw-color-pill--cyan, .dash-color-pill--cyan { background-color: #1DA1F2; }

/* Gameserver Monitor - Server Info Layout */
.dw-server-info-layout,
.dash-server-info-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.dw-server-info-avatar-col,
.dash-server-info-avatar-col {
    width: 140px;
    flex-shrink: 0;
}

.dw-server-info-fields,
.dash-server-info-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dw-remove-wrap--hidden,
.dash-remove-wrap--hidden {
    display: none;
}

/* =========================================================
   GLOBAL ACTION BAR (Sticky Footer on Config Pages)
   ========================================================= */
.global-action-bar {
    position: fixed;
    bottom: 40px;
    left: calc(50% + 130px);
    transform: translate(-50%, 200%);
    opacity: 0;
    pointer-events: none;
    width: max-content;
    height: auto;
    background-color: #111214;
    border: 1px solid #2B2D31;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    gap: 14px;
    z-index: 999999 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.global-action-bar--visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}
.global-action-bar__warning {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #F2F3F5;
    padding-right: 14px;
    border-right: 1px solid #2B2D31;
    white-space: nowrap;
}
.global-action-bar__warning i {
    color: #F04747;
    font-size: 15px;
}
.global-action-bar__msg {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.global-action-bar__msg--show {
    opacity: 1;
}
.global-action-bar__msg-success {
    color: #23A559;
}
.global-action-bar__msg-error {
    color: #F04747;
}
.global-action-bar__buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}
.global-action-bar__btn {
    padding: 8px 18px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}
.global-action-bar__btn--cancel {
    background-color: #2B2D31;
    color: #F2F3F5;
}
.global-action-bar__btn--save {
    background-color: #23A559;
    color: #FFFFFF;
}
.global-action-bar__btn--secondary {
    background-color: #4E5058;
    color: #FFFFFF;
}
.global-action-bar__btn--hidden {
    display: none !important;
}
.page-container--has-action-bar {
    padding-bottom: 90px !important;
}
/* ==========================================
   DISCORD MOCKUP STYLES (DARKWULF)
   ========================================== */
.discord-mockup {
    background: transparent;
    padding: 10px 0;
    display: flex;
    gap: 16px;
    margin-bottom: 15px;
}
.discord-mockup__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e1f22;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.discord-mockup__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.discord-mockup__content {
    flex: 1;
}
.discord-mockup__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.discord-mockup__name {
    color: #f2f3f5;
    font-weight: 500;
    font-size: 15px;
}
.discord-mockup__app-badge {
    background: #5865f2;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.discord-mockup__time {
    color: #949ba4;
    font-size: 12px;
}
.discord-mockup__input-wrap {
    position: relative;
    background: #1e1f22;
    border-radius: 0;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.discord-mockup__input {
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    color: #dbdee1;
    font-size: 15px;
    line-height: 1.375;
    padding: 12px 48px 12px 16px;
    min-height: 44px;
    resize: none;
    outline: none;
    font-family: inherit;
}
.discord-mockup__char-counter {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 12px;
    color: #949ba4;
    display: flex;
    align-items: center;
    gap: 8px;
}
.discord-mockup__emoji {
    color: #b5bac1;
    font-size: 20px;
}
.embed-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #949ba4;
    border: 1px dashed #4e5058;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.embed-add-btn:hover {
    color: #dbdee1;
    border-color: #949ba4;
    background: rgba(255,255,255,0.05);
}

.dash-ticket-vars--inline,
.dw-ticket-vars--inline {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 20px;
}

/* Discord Embed Builder */
.discord-embed-builder-wrapper {
    display: none;
    margin-top: 15px;
    align-items: flex-start;
}
.discord-embed-builder-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-right: 12px;
    align-items: center;
    margin-top: 0;
}
.discord-embed-builder-sidebar .icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    border: none;
}
.discord-embed-builder-sidebar .icon-btn--eye {
    background: #5865F2;
    color: white;
}
.discord-embed-builder-sidebar .icon-btn--eye.active {
    background: #3ba55c;
}
.discord-embed-builder-sidebar .icon-btn--trash {
    background: #F04747;
    color: white;
}

.discord-embed-builder {
    width: 100%;
    max-width: 520px;
    background: #2b2d31;
    border-radius: 0;
    border-left: 4px solid #ffffff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    box-sizing: border-box;
}

.discord-embed-builder__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.discord-embed-builder.preview-mode .discord-embed-builder__form {
    display: none;
}

.discord-embed-builder__preview {
    display: none;
}
.discord-embed-builder.preview-mode .discord-embed-builder__preview {
    display: block;
}

.discord-embed-builder__row {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.discord-embed-builder__row--footer {
    align-items: center;
}

/* Input Containers */
.discord-embed-builder__input-container {
    background: #1e1f22;
    border-radius: 0;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}
.discord-embed-builder__input-container:focus-within {
    border-color: #5865F2;
}

.discord-embed-builder__input-container--author {
    flex: 1;
    height: 44px;
}
.discord-embed-builder__input-container--single {
    height: 36px;
}
.discord-embed-builder__input-container--desc {
    height: 100px;
    align-items: stretch;
}

/* Specific inputs to completely override global input[type="text"] */
input[type="text"].discord-embed-builder__input,
textarea.discord-embed-builder__input {
    background: transparent !important;
    border: none !important;
    color: #dbdee1 !important;
    font-size: 14px !important;
    font-family: inherit !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
input[type="text"].discord-embed-builder__input::placeholder,
textarea.discord-embed-builder__input::placeholder {
    color: #5c5e66 !important;
    font-weight: 500 !important;
}

.discord-embed-builder__input-container--author input.discord-embed-builder__input {
    height: 100%;
    padding: 0 45px 0 12px !important;
    line-height: 44px;
}
.discord-embed-builder__input-container--single input.discord-embed-builder__input {
    height: 100%;
    padding: 0 45px 0 12px !important;
    line-height: 36px;
}
.discord-embed-builder__input-container--desc textarea.discord-embed-builder__input {
    height: 100%;
    padding: 8px 35px 22px 12px !important;
    resize: none !important;
    line-height: 1.4;
}

/* Character counters & icons inside inputs */
.discord-embed-builder__counter {
    position: absolute;
    font-size: 10px;
    color: #5c5e66;
    font-weight: 600;
    pointer-events: none;
    user-select: none;
}
.discord-embed-builder__counter--author {
    right: 10px;
    bottom: 5px;
}
.discord-embed-builder__counter--single {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.discord-embed-builder__counter--desc {
    right: 10px;
    bottom: 6px;
}

.discord-embed-builder__link-icon {
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 13px;
    color: #dbdee1;
}
.discord-embed-builder__desc-emoji {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 16px;
    color: #b5bac1;
}

/* Placeholders */
.discord-embed-builder__placeholder {
    border: 1px dashed #4e5058;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dbdee1;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
    flex-shrink: 0;
}
.discord-embed-builder__placeholder--circle {
    border-radius: 50% !important;
}
.discord-embed-builder__placeholder--author {
    width: 36px;
    height: 36px;
    font-size: 13px;
}
.discord-embed-builder__placeholder--thumbnail {
    width: 44px;
    height: 44px;
    font-size: 16px;
}
.discord-embed-builder__placeholder--footer {
    width: 24px;
    height: 24px;
    font-size: 10px;
}
.discord-embed-builder__placeholder--large {
    width: 100%;
    height: 170px;
    font-size: 32px;
}

.discord-embed-builder__add-field {
    color: #5865F2;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    margin: 4px 0;
}

.discord-embed-builder__colors {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}
.discord-embed-builder__color {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
}
.discord-embed-builder__color.active {
    border-color: white;
}

/* Discord Embed Inline Preview */
.discord-embed-preview {
    font-size: 14px;
    line-height: 1.3;
}
.discord-embed-preview__author {
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.discord-embed-preview__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #4f545c;
    flex-shrink: 0;
}
.discord-embed-preview__title {
    font-weight: 700;
    color: #00a8fc;
    margin-bottom: 8px;
}
.discord-embed-preview__desc {
    color: #dcddde;
    white-space: pre-wrap;
    margin-bottom: 8px;
}
.discord-embed-preview__footer {
    font-size: 12px;
    font-weight: 500;
    color: #dcddde;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.discord-embed-preview__footer-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #4f545c;
    flex-shrink: 0;
}
.discord-embed-preview__empty {
    color: #dcddde;
    font-style: italic;
}

/* Deaktivierte Kachelinhalte für Plugin-Cards */
.plugin-desc--disabled {
    opacity: 0.35;
    pointer-events: none;
    user-select: none;
    filter: grayscale(80%);
    cursor: not-allowed;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

/* Modal für ungespeicherte Änderungen */
.unsaved-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.unsaved-modal-overlay--visible {
    display: flex;
}
.unsaved-modal {
    width: 100%;
    max-width: 480px;
    background: #111214;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: none;
}
.unsaved-modal__header {
    background: #111214;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.unsaved-modal__title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    display: flex;
    align-items: center;
    gap: 10px;
}
.unsaved-modal__icon {
    color: #F04747;
}
.unsaved-modal__body {
    background: #383A40;
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #F2F3F5;
}
.unsaved-modal__footer {
    background: #111214;
    padding: 14px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.unsaved-modal__btn-stay {
    background: #2b2d31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.unsaved-modal__btn-discard {
    background: #F04747;
    color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* Welcome Logs Badges (BEM, Flat Dark Block Schema) */
.welcome-log-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.welcome-log-badge--join {
    background: rgba(35, 165, 89, 0.2);
    color: #23A559;
}

.welcome-log-badge--leave {
    background: rgba(240, 71, 71, 0.2);
    color: #F04747;
}

.welcome-cards-stack,
.welcome-logs-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Modal für Lösch-Bestätigung (Begrüßung) */
.delete-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.delete-modal-overlay--visible {
    display: flex;
}

.delete-modal {
    width: 100%;
    max-width: 480px;
    background: #111214;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: none;
}

.delete-modal__header {
    background: #111214;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.delete-modal__title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #F2F3F5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delete-modal__icon {
    color: #F04747;
}

.delete-modal__body {
    background: #383A40;
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #F2F3F5;
}

.delete-modal__footer {
    background: #111214;
    padding: 14px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.delete-modal__btn-cancel {
    background: #2b2d31;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.delete-modal__btn-confirm {
    background: #F04747;
    color: #ffffff;
    border: none;
    border-radius: 0;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

/* Reaction Roles Logs Badges & Container */
.rr-log-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.rr-log-badge--add {
    background: rgba(35, 165, 89, 0.2);
    color: #23A559;
}

.rr-log-badge--remove {
    background: rgba(240, 71, 71, 0.2);
    color: #F04747;
}

.rr-logs-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rr-mapping-emoji-input {
    width: 70px;
    text-align: center;
    font-size: 18px;
}

.rr-mapping-select-wrap {
    flex: 1;
}




/* ==========================================================================
   FLAT DARK INLAY FORM CONTROLS & COMPATIBILITY EXTENSIONS (DarkWulf Standard)
   ========================================================================== */

/* Standardisiertes Inlay-Design f??r Inputs und Textareas */
.bp-input,
.custom-textarea,
textarea.bp-input {
    background: #1E1F22 !important;
    color: #F2F3F5 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    line-height: 1.5;
}

.bp-input:focus,
.custom-textarea:focus,
textarea.bp-input:focus {
    outline: 1px solid #7289da !important;
}

/* Standardisiertes Inlay-Design f??r native Select-Dropdowns */
select.bp-select,
.dw-select,
.dw-ticket-select,
.dash-ticket-select {
    background: #1E1F22 !important;
    color: #F2F3F5 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 36px 10px 14px;
    appearance: none;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    cursor: pointer;
}

select.bp-select:focus,
.dw-select:focus,
.dw-ticket-select:focus,
.dash-ticket-select:focus {
    outline: 1px solid #7289da !important;
}

.dw-select--with-icon-left,
.dw-ticket-select--with-icon-left,
.dash-ticket-select--with-icon-left,
select.bp-select--with-icon-left {
    padding-left: 38px !important;
}

select.bp-select option,
.dw-select option,
.dw-ticket-select option,
.dash-ticket-select option {
    background: #1E1F22;
    color: #F2F3F5;
}

/* Spezifische Ticket/Notify Layout- & Input-Erweiterungen */
.dw-ticket-actions,
.dash-ticket-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dw-ticket-textarea-wrap,
.dash-ticket-textarea-wrap {
    position: relative;
    width: 100%;
}

.dw-ticket-textarea,
.dash-ticket-textarea {
    width: 100%;
    min-height: 90px;
    background: #1E1F22 !important;
    color: #F2F3F5 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    resize: vertical;
    outline: none;
}

.dw-ticket-textarea:focus,
.dash-ticket-textarea:focus {
    outline: 1px solid #7289da !important;
}

.dw-color-picker-popup__input-hex,
.dw-color-picker-popup__input-r,
.dw-color-picker-popup__input-g,
.dw-color-picker-popup__input-b,
.dash-color-picker-popup__input-hex,
.dash-color-picker-popup__input-r,
.dash-color-picker-popup__input-g,
.dash-color-picker-popup__input-b {
    background: #1E1F22;
    color: #F2F3F5;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 4px 6px;
    font-size: 12px;
    text-align: center;
    outline: none;
}

.dw-ticket-select--category,
.dash-ticket-select--category {
    font-weight: 600;
}

.dw-visual-embed__field-emoji-display,
.dash-visual-embed__field-emoji-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.dw-visual-embed__field-emoji-input,
.dash-visual-embed__field-emoji-input {
    width: 40px;
    background: #1E1F22;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    text-align: center;
    font-size: 16px;
}

/* ==========================================================================
   Superadmin System Controls & Broadcast Modal (BEM)
   ========================================================================== */
.sa-controls__footer {
    display: flex;
    justify-content: flex-end;
}

.sa-controls__btn-auto {
    width: auto;
}

.sa-broadcast-modal {
    display: none;
}

.sa-broadcast-modal__card {
    max-width: 550px;
    width: 100%;
}

.sa-broadcast-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sa-broadcast-modal__title {
    margin: 0;
}

.sa-broadcast-modal__close-btn {
    background: none;
    border: none;
    color: #A1A1AA;
    cursor: pointer;
    font-size: 1.2rem;
}

.sa-broadcast-modal__group--top-15 {
    margin-top: 15px;
}

.sa-broadcast-modal__group--top-20 {
    margin-top: 20px;
}

.sa-broadcast-modal__server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sa-broadcast-modal__server-label {
    margin: 0;
    color: #F2F3F5;
}

.sa-broadcast-modal__toggle-all-btn {
    background: none;
    border: none;
    color: #5865F2;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}

.sa-broadcast-modal__server-list {
    background: #111214;
    border-radius: 0;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    border: none;
}

.sa-broadcast-modal__server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #2B2D31;
    border-radius: 0;
    margin-bottom: 6px;
}

.sa-broadcast-modal__server-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sa-broadcast-modal__server-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.sa-broadcast-modal__server-initials {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1E1F22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: #FFFFFF;
}

.sa-broadcast-modal__server-name {
    font-size: 14px;
    font-weight: 500;
    color: #F2F3F5;
}

.sa-broadcast-modal__embed-row {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #111214;
    padding: 15px;
    border-radius: 0;
}

.sa-broadcast-modal__embed-title {
    color: #F2F3F5;
}

.sa-broadcast-modal__embed-hint {
    font-size: 12px;
    color: #A1A1AA;
    margin-top: 4px;
}

.sa-broadcast-modal__actions {
    margin-top: 25px;
}

.sa-broadcast-modal__btn-send {
    background: #F04747;
    color: #FFFFFF;
    border: none;
}

/* ==========================================================================
   Login Page & Card Layout (BEM)
   ========================================================================== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111214 url('../images/login_bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(17, 18, 20, 0.4) 0%, rgba(17, 18, 20, 0.85) 100%);
    pointer-events: none;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #111214;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: none;
}

.login-card__header {
    background: #111214;
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 2px solid var(--accent-red, #DA373C);
}

.login-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.login-card__logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(218, 55, 60, 0.35));
}

.login-card__title {
    font-size: 20px;
    font-weight: 800;
    color: #F2F3F5;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 14px 0 0 0;
}

.login-card__subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #A1A1AA;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 6px 0 0 0;
}

.login-card__body {
    background: #383A40;
    padding: 28px 24px;
    text-align: center;
}

.login-card__alert {
    background: #241416;
    color: #F04747;
    border-left: 3px solid #DA373C;
    padding: 12px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 20px;
}

.login-card__info-text {
    font-size: 13px;
    line-height: 1.6;
    color: #D4D4D8;
    margin: 0 0 24px 0;
}

.login-card__form {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
}

.login-card__remember-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1E1F22;
    padding: 12px 16px;
    border-radius: 0;
    margin-bottom: 20px;
    cursor: pointer;
    user-select: none;
    text-align: left;
    box-sizing: border-box;
    width: 100%;
}

.login-card__remember-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #23A559;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.login-card__remember-label {
    font-size: 13px;
    font-weight: 500;
    color: #F2F3F5;
    cursor: pointer;
    line-height: 1.4;
}

.login-card__btn-discord {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: var(--accent-red, #DA373C);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}

.login-card__btn-icon {
    width: 22px;
    height: 22px;
    fill: #FFFFFF;
    flex-shrink: 0;
}

.login-card__footer {
    background: #111214;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #2B2D31;
    font-size: 11px;
    color: #A1A1AA;
}

.login-card__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.login-card__status-dot {
    width: 8px;
    height: 8px;
    background: #23A559;
    border-radius: 50%;
    display: inline-block;
}

.login-card__security {
    font-weight: 500;
    color: #A1A1AA;
}

/* ==========================================================================
   WELCOME PAGE (DarkWulf & Tickets Style)
   ========================================================================== */
.welcome-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 50px;
    box-sizing: border-box;
}

.welcome-grid-layout {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1060px) {
    .welcome-grid-layout {
        grid-template-columns: 1fr;
    }
}

.welcome-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-preview-column {
    position: sticky;
    top: 20px;
}

.welcome-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.welcome-field-group:last-child {
    margin-bottom: 0;
}

.welcome-field-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.welcome-field-grid-2--spaced {
    margin-top: 8px;
}

.welcome-desc--spaced {
    margin-bottom: 20px;
}

.welcome-type-toggle {
    margin-bottom: 18px;
}

.welcome-actions-bar {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.welcome-btn-save {
    background: var(--accent-green, #23A559);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13.5px;
    padding: 12px 28px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.welcome-upload-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.welcome-upload-box {
    background: #1E1F22;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.welcome-upload-box__title {
    font-size: 12px;
    font-weight: 700;
    color: #F2F3F5;
    text-transform: uppercase;
}

.welcome-upload-box__preview {
    max-height: 80px;
    object-fit: cover;
    border-radius: 0;
}

/* Discord Live Preview Styles (Welcome Page) */
.welcome-discord-msg {
    background: #111214;
    border-radius: 0;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.welcome-discord-msg__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #1E1F22;
}

.welcome-discord-msg__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-discord-msg__body {
    flex: 1;
    min-width: 0;
}

.welcome-discord-msg__author-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.welcome-discord-msg__name {
    color: #F2F3F5;
    font-weight: 700;
    font-size: 14px;
}

.welcome-discord-msg__badge {
    background: #5865F2;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 0;
    text-transform: uppercase;
}

.welcome-discord-msg__time {
    color: #A1A1AA;
    font-size: 11px;
}

.welcome-discord-msg__text {
    color: #D4D4D8;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.welcome-discord-embed {
    background: #1E1F22;
    border-left: 4px solid #FFFFFF;
    border-radius: 0;
    padding: 14px 16px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.welcome-discord-embed__author-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.welcome-discord-embed__author-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.welcome-discord-embed__author-name {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 13px;
}

.welcome-discord-embed__title {
    color: #00A8FC;
    font-weight: 700;
    font-size: 15px;
}

.welcome-discord-embed__desc {
    color: #D4D4D8;
    font-size: 13.5px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.welcome-discord-embed__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.welcome-discord-embed__field-name {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.welcome-discord-embed__field-val {
    color: #D4D4D8;
    font-size: 13px;
}

.welcome-discord-embed__image {
    max-width: 100%;
    border-radius: 0;
    margin-top: 6px;
}

/* Custom Commands (DarkWulf 2-Ebenen-Schema) */
.cc-role-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.cc-role-chip {
    background: #1E1F22;
    color: #DBDEE1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}
.cc-role-chip--active {
    background: #23A559;
    color: #FFFFFF;
    border-color: #23A559;
}
.cc-input-wrapper {
    position: relative;
    width: 100%;
    background: transparent;
    border: none;
}
.cc-input-wrapper__prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #A1A1AA;
    font-size: 15px;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    z-index: 2;
}
input[type="text"].cc-input-wrapper__input,
.cc-input-wrapper__input {
    width: 100% !important;
    padding-left: 28px !important;
    margin: 0 !important;
}
.cc-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.cc-type-btn {
    background: #1E1F22;
    color: #A1A1AA;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.cc-type-btn--active {
    background: #5865F2;
    color: #FFFFFF;
    border-color: #5865F2;
}

/* =========================================
   COMMANDS MODULE STYLES (FLAT DARK BLOCK)
   ========================================= */
.cmd-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.cmd-filter-btn {
    background: #2B2D31;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #949BA4;
    padding: 8px 14px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cmd-filter-btn.active {
    background: #5865F2;
    color: #FFFFFF;
    border-color: #5865F2;
    font-weight: 700;
}
.cmd-filter-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 700;
    color: #DBDEE1;
}
.cmd-filter-btn.active .cmd-filter-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}
.cmd-search-wrapper {
    position: relative;
    margin-bottom: 16px;
}
.cmd-search-input {
    width: 100%;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 12px 16px 12px 44px !important;
    color: #FFFFFF;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
}
.cmd-search-input:focus {
    border-color: #5865F2;
}
.cmd-search-input::placeholder {
    color: #5C6067;
}
.cmd-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #949BA4;
    font-size: 15px;
    pointer-events: none;
}
.cmd-pill {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 0;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    white-space: nowrap;
}
.cmd-blue {
    background: rgba(88, 101, 242, 0.12);
    color: #5865F2;
    border: 1px solid rgba(88, 101, 242, 0.35);
}
.cmd-red {
    background: rgba(218, 55, 60, 0.12);
    color: #DA373C;
    border: 1px solid rgba(218, 55, 60, 0.35);
}
.cmd-purple {
    background: rgba(145, 70, 255, 0.12);
    color: #9146FF;
    border: 1px solid rgba(145, 70, 255, 0.35);
}
.cmd-green {
    background: rgba(35, 165, 89, 0.12);
    color: #23A559;
    border: 1px solid rgba(35, 165, 89, 0.35);
}
.cmd-amber {
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.cmd-table-card {
    background: #2B2D31;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 40px;
}
.commands-table {
    width: 100%;
    border-collapse: collapse;
    background: #2B2D31;
}
.commands-table th {
    background: #1E1F22;
    padding: 14px 18px;
    text-align: left;
    color: #949BA4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.commands-table th.cmd-th-command {
    width: 260px;
}
.cmd-desc-text {
    font-size: 14px;
    color: #E2E8F0;
    margin-bottom: 4px;
}
.cmd-syntax-label {
    font-size: 11px;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
}
.commands-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    background: #2B2D31;
}
.commands-table tr:last-child td {
    border-bottom: none;
}
.cmd-cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 0;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #949BA4;
    margin-left: 8px;
    vertical-align: middle;
}
.cmd-syntax-box {
    margin-top: 6px;
    display: inline-block;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 5px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #DBDEE1;
}

/* =========================================
   TICKET SYSTEM DISCORD LIVE-PREVIEW
   ========================================= */
.ticket-preview-select {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 10px 14px;
    max-width: 432px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    cursor: default;
}
.ticket-preview-select__placeholder {
    color: #949BA4;
    font-size: 13.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ticket-preview-select__chevron {
    color: #949BA4;
    font-size: 12px;
}
.ticket-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    max-width: 432px;
}
.ticket-preview-btn {
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}
.ticket-preview-btn--gray {
    background: #4E5058;
}
.welcome-preview-embed__thumbnail {
    float: right;
    width: 64px;
    height: 64px;
    border-radius: 0;
    object-fit: cover;
    margin-left: 16px;
    margin-bottom: 8px;
}
.welcome-preview-embed__author-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
}
.welcome-preview-embed__content-text {
    font-size: 14px;
    color: #DBDEE1;
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-word;
}
.welcome-preview-embed__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 6px;
}
.welcome-preview-embed__fields--inline {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.welcome-preview-embed__field {
    min-width: 0;
}
.welcome-preview-embed__field-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #F2F3F5;
    margin-bottom: 2px;
    line-height: 1.3;
}
.welcome-preview-embed__field-value {
    font-size: 13px;
    color: #DBDEE1;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}
.welcome-preview-embed__footer-text {
    font-size: 11.5px;
    color: #949BA4;
    line-height: 1.2;
}

.ticket-preview-hidden {
    display: none !important;
}

/* ==========================================================================
   EMOJIS & GIFS DASHBOARD (Flat Dark Block Schema)
   ========================================================================== */
.emoji-search-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.emoji-search-input {
    width: 100%;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 12px 42px 12px 44px;
    color: #FFFFFF;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
}

.emoji-search-input:focus {
    border-color: #5865F2;
}

.emoji-search-input::placeholder {
    color: #5C6067;
}

.emoji-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #949BA4;
    font-size: 15px;
    pointer-events: none;
}

.emoji-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #949BA4;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.emoji-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

.emoji-card-item {
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    cursor: default;
}

.emoji-card-item__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.emoji-card-item__preview {
    width: 40px;
    height: 40px;
    background: #1E1F22;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.emoji-card-item__img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.emoji-card-item__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    overflow: hidden;
}

.emoji-card-item__name {
    font-size: 14px;
    font-weight: 700;
    color: #F2F3F5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'JetBrains Mono', monospace;
}

.emoji-type-badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    padding: 2px 6px;
    width: fit-content;
}

.emoji-type-badge--static {
    background: rgba(88, 101, 242, 0.15);
    color: #5865F2;
}

.emoji-type-badge--animated {
    background: rgba(235, 69, 158, 0.15);
    color: #EB459E;
}

.emoji-card-item__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.emoji-upload-modal {
    max-width: 520px;
    width: 100%;
}

.emoji-upload-modal__subtitle {
    color: #A1A1AA;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

/* ==========================================================================
   STEAM DIRECT CONNECT / JOIN PAGE (DarkWulf Red Accent & Flat Dark Block Schema)
   ========================================================================== */
.join-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111214 url('../images/login_bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #F2F3F5;
    margin: 0;
}

.join-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(17, 18, 20, 0.4) 0%, rgba(17, 18, 20, 0.85) 100%);
    pointer-events: none;
}

.join-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    background: #2B2D31;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: none;
}

.join-card__header {
    background: #111214;
    padding: 26px 24px 20px;
    text-align: center;
    border-bottom: 2px solid var(--accent-red, #DA373C);
}

.join-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.join-card__logo {
    max-height: 56px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.join-card__title {
    font-size: 18px;
    font-weight: 800;
    color: #F2F3F5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 12px 0 0 0;
    word-break: break-word;
}

.join-card__subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #A1A1AA;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 4px 0 0 0;
}

.join-card__body {
    background: #2B2D31;
    padding: 22px 24px;
    text-align: center;
}

.join-card__alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    margin-bottom: 16px;
    box-sizing: border-box;
    background: #1E1F22;
    color: #D4D4D8;
    border: none;
}

.join-card__alert i {
    color: #A1A1AA;
    font-size: 13px;
    flex-shrink: 0;
}

.join-card__alert--error {
    background: #241416;
    color: #F04747;
    border-left: 3px solid #DA373C;
}

.join-card__alert--error i {
    color: #F04747;
}

.join-card__info-text {
    font-size: 12px;
    line-height: 1.5;
    color: #A1A1AA;
    margin: 0 0 16px 0;
    text-align: center;
}

.join-card__btn-steam {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: var(--accent-red, #DA373C);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.join-card__btn-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.join-card__inlay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1E1F22;
    padding: 10px 14px;
    border-radius: 0;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    width: 100%;
    border: none;
}

.join-card__inlay-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 2px;
    min-width: 0;
}

.join-card__inlay-label {
    font-size: 10px;
    font-weight: 700;
    color: #A1A1AA;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.join-card__inlay-val {
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
    color: #F2F3F5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.join-card__copy-btn {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 8px;
}

.join-card__guide-box {
    background: #1E1F22;
    border-radius: 0;
    padding: 14px 16px;
    margin-top: 14px;
    text-align: left;
    box-sizing: border-box;
    border: none;
}

.join-card__guide-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #F2F3F5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.join-card__guide-icon {
    color: #A1A1AA;
}

.join-card__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.join-card__step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.45;
    color: #D4D4D8;
}

.join-card__step-badge {
    background: #2B2D31;
    color: #F2F3F5;
    font-weight: 700;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 0;
    flex-shrink: 0;
    margin-top: 1px;
}

.join-card__step-text {
    flex: 1;
}

.join-card__step-sub {
    font-size: 11px;
    color: #A1A1AA;
    margin-top: 4px;
    line-height: 1.4;
}

.join-card__tip-box {
    background: #24272A;
    border-left: 3px solid var(--accent-red, #DA373C);
    border-radius: 0;
    padding: 10px 12px;
    margin-top: 12px;
    text-align: left;
    font-size: 11px;
    line-height: 1.45;
    color: #D4D4D8;
    box-sizing: border-box;
}

.join-card__tip-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--accent-red, #DA373C);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.join-card__footer {
    background: #111214;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    color: #A1A1AA;
    border-radius: 0;
}

.join-card__status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.join-card__status-dot {
    width: 8px;
    height: 8px;
    background: #23A559;
    border-radius: 50%;
    display: inline-block;
}

.join-card__security {
    font-weight: 500;
    color: #A1A1AA;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Komponenten-Builder: Embed-Details & Zeichenlimit-Pills
   ========================================================================== */
.comp-details-embed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.comp-details-embed-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-details-embed-label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 600;
}

.comp-embed-color-group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-embed-color-group--hidden {
    display: none;
}

.comp-color-preview-circle {
    cursor: pointer;
}

.comp-color-picker-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.comp-char-pill {
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: none;
}

.comp-char-pill--ok {
    color: #23A559;
}

.comp-char-pill--warning {
    color: #FEE75C;
}

.comp-char-pill--danger {
    color: #F04747;
}

.comp-status-info {
    font-size: 12px;
    font-weight: 500;
}

.comp-status-info--ok {
    color: #23A559;
}

.comp-status-info--warning {
    color: #FEE75C;
}

.comp-status-info--danger {
    color: #F04747;
}

/* ==========================================================================
   Komponenten-Builder: Embed-Metadaten, Felder & Spoiler
   ========================================================================== */

/* Embed Metadaten Bereich (Autor, Thumbnail, Footer) */
.comp-embed-meta-accordion {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-embed-meta-accordion--hidden {
    display: none;
}

.comp-embed-meta-toggle-btn {
    background: #1E1F22;
    color: #F2F3F5;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.comp-embed-meta-content {
    display: none;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
    background: #1E1F22;
    padding: 16px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-embed-meta-content--open {
    display: flex;
}

.comp-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 600px) {
    .comp-meta-grid {
        grid-template-columns: 1fr;
    }
}

.comp-meta-subgroup {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comp-meta-subgroup__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #A1A1AA;
}

/* Spoiler Switch Zeile (Bild) */
.comp-spoiler-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.comp-spoiler-label {
    font-size: 13px;
    color: #DBDEE1;
    font-weight: 500;
    cursor: pointer;
}

/* Embed-Feld Komponente */
.comp-field-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comp-field-inline-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.comp-field-inline-label {
    font-size: 13px;
    color: #DBDEE1;
    font-weight: 500;
    cursor: pointer;
}

.comp-field-inline-hint {
    font-size: 11px;
    color: #A1A1AA;
    margin-left: 4px;
}

/* Discord Live Preview: Author */
.discord-chat__embed-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #F2F3F5;
    margin-bottom: 4px;
}

.discord-chat__embed-author-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.discord-chat__embed-author-link {
    color: #F2F3F5;
    text-decoration: none;
}

/* Discord Live Preview: Thumbnail & Grid */
.discord-chat__embed-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.discord-chat__embed-content-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.discord-chat__embed-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 0;
    object-fit: cover;
    flex-shrink: 0;
}

/* Discord Live Preview: Footer & Timestamp */
.discord-chat__embed-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #949BA4;
    margin-top: 6px;
}

.discord-chat__embed-footer-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.discord-chat__embed-footer-bullet {
    margin: 0 2px;
}

/* Discord Live Preview: Embed Fields Grid */
.discord-chat__fields-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
    margin-top: 4px;
}

.discord-chat__field {
    min-width: 0;
    word-break: break-word;
}

.discord-chat__field--full {
    grid-column: 1 / -1;
}

.discord-chat__field-name {
    font-size: 13px;
    font-weight: 700;
    color: #F2F3F5;
    margin-bottom: 2px;
}

.discord-chat__field-value {
    font-size: 13px;
    color: #DBDEE1;
    line-height: 1.4;
}

/* Discord Live Preview: Spoiler Image */
.discord-chat__image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 0;
    overflow: hidden;
    margin-top: 4px;
}

.discord-chat__image-wrap--spoiler .discord-chat__image {
    filter: blur(44px);
    cursor: pointer;
}

.discord-chat__image-wrap--revealed .discord-chat__image {
    filter: none;
    cursor: default;
}

.discord-chat__spoiler-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #F2F3F5;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
}

.discord-chat__image-wrap--revealed .discord-chat__spoiler-badge {
    display: none;
}

/* Senden-Button in Komponenten-Liste (Ebene 1) */
.comp-list-btn-send {
    width: 34px;
    height: 34px;
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
}

.comp-list-btn-send--sent {
    background: #23A559;
}

.comp-modal-hint {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #A1A1AA;
}

.comp-feedback--modal-spaced {
    margin-top: 12px;
}

.comp-status-badge--modified {
    background: rgba(254, 231, 92, 0.15);
    color: #FEE75C;
    border: 1px solid rgba(254, 231, 92, 0.3);
}

.comp-list-btn-send--modified {
    background: #D89E28;
    color: #FFFFFF;
}

/* ==========================================================================
   TEMPORÄRE SPRACHKANÄLE (TEMP-VOICE) MODUL
   DarkWulf Flat Dark Block Schema - 100% Statisch (Kein Hover)
   ========================================================================== */

.temp-voice-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.temp-voice-toggle-wrap {
    display: flex;
    align-items: center;
}

.temp-voice-status-switch {
    width: 52px;
    height: 28px;
    background: #111214;
    border: none;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: background 0.2s ease;
}

.temp-voice-status-switch--active {
    background: #23A559;
}

.temp-voice-status-switch__knob {
    display: block;
    width: 22px;
    height: 22px;
    background: #F2F3F5;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.2s ease;
}

.temp-voice-status-switch--active .temp-voice-status-switch__knob {
    transform: translateX(24px);
}

.temp-voice-hub-icon {
    width: 44px;
    height: 44px;
    background: #111214;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865F2;
    font-size: 18px;
    flex-shrink: 0;
}

.temp-voice-cat-badge {
    background: #111214;
    color: #F2F3F5;
    padding: 2px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
}

.temp-voice-card-mt {
    margin-top: 24px;
}

/* Befehle Grid */
.temp-voice-cmd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.temp-voice-cmd-card {
    background: #1E1F22;
    padding: 14px 16px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.temp-voice-cmd-code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    color: #5865F2;
    background: #111214;
    padding: 4px 8px;
    border-radius: 0;
    display: inline-block;
    width: fit-content;
}

.temp-voice-cmd-desc {
    font-size: 12.5px;
    line-height: 1.4;
    color: #A1A1AA;
}

/* Formulare & Editor */
.temp-voice-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.temp-voice-actions-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.temp-voice-back-btn {
    width: 42px;
    height: 42px;
    background: #111214;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #F2F3F5;
    font-size: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

.temp-voice-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.temp-voice-form-group {
    display: flex;
    flex-direction: column;
}

.temp-voice-form-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

.temp-voice-chip {
    background: #111214;
    color: #5865F2;
    border: none;
    padding: 2px 6px;
    border-radius: 0;
    font-size: 11px;
    cursor: pointer;
    font-family: monospace;
    margin: 0 2px;
}

/* Switch Zeilen */
.temp-voice-switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.temp-voice-switch-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.temp-voice-switch-row:first-child {
    padding-top: 0;
}

.temp-voice-switch-info {
    flex: 1;
    padding-right: 20px;
}

.temp-voice-switch-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #F2F3F5;
    margin-bottom: 4px;
}

.temp-voice-switch-sub {
    font-size: 12.5px;
    color: #A1A1AA;
    line-height: 1.4;
}

.temp-voice-checkbox-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.temp-voice-checkbox-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.temp-voice-checkbox-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #111214;
    border-radius: 13px;
    transition: background 0.2s ease;
}

.temp-voice-checkbox-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #F2F3F5;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.temp-voice-checkbox-switch input:checked + .temp-voice-checkbox-slider {
    background: #23A559;
}

.temp-voice-checkbox-switch input:checked + .temp-voice-checkbox-slider:before {
    transform: translateX(22px);
}

/* Panel Vorschau & Editor */
.temp-voice-panel-editor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .temp-voice-panel-editor-grid {
        grid-template-columns: 1fr;
    }
}

.temp-voice-color-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.temp-voice-color-picker {
    width: 46px;
    height: 38px;
    background: #1E1F22;
    border: none;
    border-radius: 0;
    cursor: pointer;
    padding: 2px;
}

.temp-voice-textarea {
    resize: vertical;
    min-height: 200px;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
}

.temp-voice-panel-preview {
    background: #1E1F22;
    border-radius: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.temp-voice-preview-title {
    font-size: 11px;
    font-weight: 800;
    color: #A1A1AA;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.temp-voice-discord-embed {
    background: #2B2D31;
    border-radius: 0;
    border-left: 4px solid var(--panel-accent, #5865F2);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.temp-voice-discord-title {
    font-size: 15px;
    font-weight: 700;
    color: #F2F3F5;
}

.temp-voice-discord-desc {
    font-size: 13px;
    line-height: 1.45;
    color: #DBDEE1;
    white-space: pre-wrap;
    word-break: break-word;
}

.temp-voice-discord-footer {
    font-size: 11px;
    color: #949BA4;
    margin-top: 6px;
}

/* 10 Buttons Vorschau (Reihe 1 & 2) */
.temp-voice-buttons-preview {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 432px;
    width: 100%;
}

.temp-voice-btn-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 432px;
    width: 100%;
}

.temp-voice-dc-btn {
    background: #4E5058;
    color: #F2F3F5;
    height: 38px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    user-select: none;
}

.temp-voice-dc-btn--danger {
    background: #DA373C;
}

/* ==========================================================================
   TEMPORARY VOICE CHANNELS - ERWEITERUNGEN (TICKET-SYSTEM STIL & DARKWULF PARITÄT)
   DarkWulf Flat Dark Block Schema - 100% Statisch (Kein Hover)
   ========================================================================== */

/* 1. Permissions Matrix (3 Spalten wie im Ticket-System) */
.temp-voice-perms-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.temp-voice-perm-card-inner {
    background: #1E1F22;
    border-radius: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.temp-voice-perm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.temp-voice-perm-card-title {
    font-size: 13px;
    font-weight: 800;
    color: #F2F3F5;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.temp-voice-perm-card-desc {
    font-size: 11.5px;
    color: #A1A1AA;
    line-height: 1.35;
}

/* 3-Way Toggle Segmented Control (Deny / Inherit / Allow) */
.temp-voice-3way-toggle {
    display: inline-flex;
    background: #1E1F22;
    border-radius: 0;
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
}

.temp-voice-toggle-btn {
    border: none;
    background: transparent;
    color: #71717A;
    padding: 5px 8px;
    border-radius: 0;
    font-size: 11px;
    cursor: pointer;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    line-height: 1;
}

.temp-voice-toggle-btn--deny.is-active {
    background: #DA373C;
    color: #FFFFFF;
}

.temp-voice-toggle-btn--neutral.is-active {
    background: #4E5058;
    color: #FFFFFF;
}

.temp-voice-toggle-btn--allow.is-active {
    background: #23A559;
    color: #FFFFFF;
}

/* 2. Role Selector Chips */
.temp-voice-role-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.temp-voice-role-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #111214;
    border-radius: 0;
    padding: 10px 14px;
    min-height: 44px;
    align-items: center;
    box-sizing: border-box;
}

.temp-voice-role-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1E1F22;
    border-radius: 0;
    padding: 4px 10px;
    font-size: 12px;
    color: #F2F3F5;
    font-weight: 500;
}

.temp-voice-role-chip__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.temp-voice-role-chip__remove {
    cursor: pointer;
    color: #A1A1AA;
    font-size: 11px;
    padding-left: 2px;
}

.temp-voice-role-empty {
    font-size: 12px;
    color: #71717A;
    font-style: italic;
}

.temp-voice-role-select-row {
    display: flex;
    gap: 8px;
}

.temp-voice-role-add-btn {
    background: #111214;
    border: none;
    color: #F2F3F5;
    border-radius: 0;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* 3. 15-Tool Grid & Authentische Discord-Buttons */
.temp-voice-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.temp-voice-tool-card {
    background: #1E1F22;
    opacity: 0.35;
    color: #71717A;
    border-radius: 0;
    height: 38px;
    padding: 0 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    user-select: none;
    box-sizing: border-box;
}

.temp-voice-tool-card.is-active {
    background: #383A40;
    opacity: 1.0;
    color: #F2F3F5;
}

.temp-voice-tool-card--danger.is-active {
    background: #DA373C;
    color: #FFFFFF;
}

.temp-voice-tool-card__icon {
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.temp-voice-tool-card__name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Wenn Beschriftungen deaktiviert sind (Icon-only wie in Discord & DarkWulf) */
.temp-voice-tool-grid-15--no-labels .temp-voice-tool-card__name {
    display: none;
}

.temp-voice-tool-grid-15--no-labels .temp-voice-tool-card__icon {
    font-size: 17px;
}

/* 4. Live Buttons in Preview */
.temp-voice-dc-btn--with-label {
    padding: 0 12px;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.temp-voice-buttons-preview--labeled .temp-voice-btn-row {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

/* 5. DarkWulf Parität: Stepper Komponente */
.temp-voice-stepper {
    display: flex;
    align-items: center;
    background: #111214;
    border-radius: 0;
    padding: 3px 6px;
    box-sizing: border-box;
}

.temp-voice-stepper__btn {
    background: transparent;
    border: none;
    color: #F2F3F5;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    user-select: none;
}

.temp-voice-stepper__input {
    flex: 1;
    background: transparent;
    border: none;
    color: #F2F3F5;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
}

.temp-voice-stepper__input::-webkit-outer-spin-button,
.temp-voice-stepper__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 6. DarkWulf: Symmetrisches 3-Karten Berechtigungs-Layout */
.dw-perms-grid,
.temp-voice-perms-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.temp-voice-perms-row-2col {
    display: contents;
}

.dw-perms-card,
.temp-voice-perms-card {
    background: #111214;
    border-radius: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    box-sizing: border-box;
}

.dw-perms-card__header,
.temp-voice-perms-card__header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.dw-perms-card__title,
.temp-voice-perms-card__title {
    font-size: 13px;
    font-weight: 800;
    color: #F2F3F5;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dw-perms-card__btn,
.temp-voice-perms-card__btn {
    background: #2B2D31;
    border: none;
    color: #F2F3F5;
    border-radius: 0;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    user-select: none;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .dw-perms-grid,
    .temp-voice-perms-cards {
        grid-template-columns: 1fr;
    }
}

/* 7. DarkWulf Zentriertes Modal für Kanal-Berechtigungen */
.comp-modal--perms {
    width: 680px;
    max-width: 95vw;
}

.comp-modal__body--perms {
    background: #1E1F22;
    padding: 20px 24px;
    max-height: 72vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.temp-voice-perm-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.temp-voice-perm-section__title {
    font-size: 11.5px;
    font-weight: 800;
    color: #A1A1AA;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.temp-voice-perm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #111214;
    border-radius: 0;
    box-sizing: border-box;
}

.temp-voice-perm-row__label {
    font-size: 13.5px;
    font-weight: 600;
    color: #F2F3F5;
}

/* 8. DarkWulf Parität: Integriertes Multi-Select Rollenfeld mit Chips */
.temp-voice-multiselect {
    position: relative;
    width: 100%;
}

.temp-voice-multiselect__container {
    background: #111214;
    border-radius: 0;
    padding: 6px 10px;
    min-height: 42px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-sizing: border-box;
}

.temp-voice-multiselect__chip {
    background: #1E1F22;
    border-radius: 0;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #F2F3F5;
}

.temp-voice-multiselect__chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.temp-voice-multiselect__chip-del {
    color: #A1A1AA;
    cursor: pointer;
    font-size: 11px;
    display: flex;
    align-items: center;
}

.temp-voice-multiselect__placeholder {
    color: #71717A;
    font-size: 13px;
    padding: 4px 6px;
}

.temp-voice-multiselect__dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #111214;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    padding: 6px;
    box-sizing: border-box;
}

.temp-voice-multiselect__dropdown.is-open {
    display: block;
}

.temp-voice-multiselect__item {
    padding: 8px 12px;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #F2F3F5;
    cursor: pointer;
}

.temp-voice-multiselect__item.is-selected {
    background: #1E1F22;
    color: #7289da;
}

/* 9. DarkWulf Parität: Zeichenzähler & Eingabe-Wrapper */
.temp-voice-field-with-counter {
    position: relative;
    display: flex;
    align-items: center;
}

.temp-voice-field-with-counter .dw-ticket-input {
    padding-right: 60px;
}

.temp-voice-char-counter {
    position: absolute;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #71717A;
    pointer-events: none;
    user-select: none;
}

.temp-voice-textarea-counter {
    text-align: right;
    font-size: 11px;
    font-weight: 700;
    color: #71717A;
    margin-top: 4px;
}

/* 10. DarkWulf Parität: 15-Tool Grid */
.temp-voice-tool-grid-15 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 14px;
    max-width: 620px;
    width: 100%;
}

.temp-voice-tool-grid-15--no-labels {
    max-width: 420px;
}

@media (max-width: 900px) {
    .temp-voice-tool-grid-15 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .temp-voice-tool-grid-15 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 11. DarkWulf Parität: Befehle-Suchleiste auf Ebene 1 */
.temp-voice-cmd-search {
    position: relative;
    margin-bottom: 14px;
}

.temp-voice-cmd-search__input {
    width: 100%;
    background: #111214;
    border: none;
    border-radius: 0;
    padding: 10px 14px 10px 38px;
    color: #F2F3F5;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}

.temp-voice-cmd-search__input:focus {
    outline: 1px solid #7289da;
}

.temp-voice-cmd-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #71717A;
    font-size: 13px;
}

.temp-voice-cmd--hidden {
    display: none !important;
}

/* 12. DarkWulf Parität: Einstellungen Sektion, Tooltips & Variablen-Block */
.temp-voice-card-header--clean {
    border-bottom: none;
    padding-bottom: 6px;
}

.temp-voice-card-title {
    text-transform: none !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #F2F3F5 !important;
    letter-spacing: normal !important;
}

.temp-voice-field-label {
    text-transform: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #A1A1AA !important;
    letter-spacing: normal !important;
}

.temp-voice-label-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.temp-voice-label-row .dw-ticket-label {
    margin-bottom: 0;
}

.temp-voice-tooltip-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.temp-voice-help-badge {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #2B2D31;
    color: #A1A1AA;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.temp-voice-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #0D0E11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 8px 14px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    width: max-content;
    max-width: 290px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    pointer-events: none;
    display: none;
}

.temp-voice-tooltip-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #0D0E11;
}

.temp-voice-tooltip-wrap:hover .temp-voice-tooltip,
.temp-voice-tooltip-wrap.is-open .temp-voice-tooltip {
    display: block;
}

/* Variablen Block unter Kanalname */
.temp-voice-vars-block {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.temp-voice-vars-title {
    font-size: 13px;
    font-weight: 700;
    color: #F2F3F5;
    margin-bottom: 2px;
}

.temp-voice-var-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #F2F3F5;
    cursor: pointer;
    user-select: none;
}

.temp-voice-var-code {
    color: #F06543;
    font-weight: 700;
}

.temp-voice-var-desc {
    color: #F2F3F5;
}

/* ==========================================================================
   REACTION ROLES BUTTONS & MODES (Flat Dark Block Schema)
   ========================================================================== */

/* 1. Typ-Umschalter (Button vs Auswahlmenü vs Reaktion) */
.rr-type-switch {
    display: inline-flex;
    background: #111214;
    padding: 4px;
    border-radius: 0;
    gap: 4px;
    border: none;
}

.rr-type-btn {
    background: transparent;
    border: none;
    color: #A1A1AA;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.rr-type-btn--active {
    background: #5865F2;
    color: #F2F3F5;
}

/* 2. Button-Konfigurationskarten (Liste der Rollen-Buttons) */
.rr-btn-item {
    background: #111214;
    border-radius: 0;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: none;
}

.rr-btn-item__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rr-btn-item__preview-col {
    width: 90px;
    flex: 0 0 90px;
}

.rr-btn-item__input-col {
    flex: 1;
    min-width: 160px;
}

.rr-btn-item__style-col {
    width: 160px;
    flex: 0 0 160px;
}

.rr-btn-item__role-col {
    flex: 1.2;
    min-width: 180px;
}

.rr-btn-item__action-col {
    width: 40px;
    display: flex;
    justify-content: flex-end;
}

/* 3. Reaktionsmodus Kacheln */
.rr-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.rr-mode-card {
    background: #111214;
    border-radius: 0;
    padding: 14px 16px;
    border: 2px solid transparent;
    cursor: pointer;
}

.rr-mode-card--active {
    border-color: #5865F2;
    background: #18191C;
}

.rr-mode-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.rr-mode-card__title {
    font-size: 14px;
    font-weight: 700;
    color: #F2F3F5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rr-mode-card__radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #4E5058;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rr-mode-card--active .rr-mode-card__radio {
    border-color: #5865F2;
}

.rr-mode-card__radio-inner {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
}

.rr-mode-card--active .rr-mode-card__radio-inner {
    background: #5865F2;
}

.rr-mode-card__desc {
    font-size: 12px;
    color: #A1A1AA;
    line-height: 1.4;
}

/* 4. Discord Live-Vorschau Buttons */
.welcome-preview-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.welcome-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.welcome-preview-btn--success {
    background: #248046;
}

.welcome-preview-btn--primary {
    background: #5865F2;
}

.welcome-preview-btn--secondary {
    background: #4E5058;
}

.welcome-preview-btn--danger {
    background: #DA373C;
}

.dw-actions--between,
.dash-actions--between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dw-actions__right,
.dash-actions__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shared__hidden {
    display: none !important;
}

/* ==========================================================================
   DARKWULF-STYLE REACTION ROLES ADVANCED SYSTEM (Flat Dark Block Schema)
   ========================================================================== */

/* 1. Hinweis-Banner (Alert Info Box) */
.rr-alert-box {
    background: #1C1929;
    border-radius: 0;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border: none;
}

.rr-alert-box__icon {
    color: #9B59B6;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.rr-alert-box__text {
    font-size: 13.5px;
    font-weight: 500;
    color: #E2D9F3;
    line-height: 1.4;
}

/* 2. Drag & Drop Handle */
.rr-drag-handle {
    color: #4E5058;
    cursor: grab;
    padding: 0 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

/* 3. Button Item Styling & Modal Trigger */
.rr-btn-pill-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    background: #248046;
    min-width: 140px;
    justify-content: center;
    font-family: inherit;
}

.rr-btn-pill-trigger--primary {
    background: #5865F2;
}

.rr-btn-pill-trigger--secondary {
    background: #4E5058;
}

.rr-btn-pill-trigger--success {
    background: #248046;
}

.rr-btn-pill-trigger--danger {
    background: #DA373C;
}

/* 4. Select-Menu (Auswahlmenü) Zeilen & Optionen */
.rr-option-item {
    background: #111214;
    border-radius: 0;
    padding: 14px 16px;
    margin-bottom: 10px;
    border: none;
}

.rr-option-item__row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rr-option-item__emoji-col {
    width: 80px;
    flex: 0 0 80px;
}

.rr-option-item__label-col {
    flex: 1;
    min-width: 150px;
}

.rr-option-item__desc-col {
    flex: 1.2;
    min-width: 180px;
}

.rr-option-item__role-col {
    flex: 1.2;
    min-width: 180px;
}

.rr-option-item__action-col {
    width: 40px;
    display: flex;
    justify-content: flex-end;
}

/* Discord Select Menu Preview */
.rr-discord-select-preview {
    background: #111214;
    border-radius: 0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    color: #A1A1AA;
    font-size: 13.5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.rr-discord-select-preview__text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rr-discord-select-preview__chevron {
    font-size: 12px;
    color: #71717A;
}

/* 5. In-Place Discord Message & Embed Editor */
.rr-message-content-wrap {
    margin-bottom: 14px;
    position: relative;
}

.rr-content-textarea {
    width: 100%;
    min-height: 80px;
    background: #111214;
    color: #F2F3F5;
    border: none;
    border-radius: 0;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.rr-char-counter {
    font-size: 11px;
    color: #71717A;
    text-align: right;
    margin-top: 4px;
}

.rr-embed-editor-box {
    background: #18191C;
    border-left: 4px solid #5865F2;
    border-radius: 0;
    padding: 16px 20px;
    margin-top: 12px;
    position: relative;
}

.rr-embed-editor-sidebar {
    position: absolute;
    left: -46px;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rr-embed-sidebar-btn {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: #5865F2;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.rr-embed-sidebar-btn--danger {
    background: #DA373C;
}

.rr-embed-row {
    margin-bottom: 12px;
}

.rr-embed-row--flex {
    display: flex;
    gap: 12px;
    align-items: center;
}

.rr-embed-author-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex: 1;
}

.rr-embed-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #111214;
    border: 1px dashed #4E5058;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717A;
    font-size: 12px;
    flex-shrink: 0;
}

.rr-embed-thumb-box {
    width: 54px;
    height: 54px;
    border-radius: 0;
    background: #111214;
    border: 1px dashed #4E5058;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #71717A;
    font-size: 16px;
    flex-shrink: 0;
}

.rr-embed-title-input {
    width: 100%;
    background: #111214;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 0;
    padding: 8px 12px;
    box-sizing: border-box;
}

.rr-embed-desc-textarea {
    width: 100%;
    min-height: 90px;
    background: #111214;
    color: #DBDEE1;
    font-size: 13.5px;
    border: none;
    border-radius: 0;
    padding: 8px 12px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    line-height: 1.4;
}

/* Embed Fields */
.rr-embed-field-item {
    background: #111214;
    border-radius: 0;
    padding: 10px 14px;
    margin-bottom: 8px;
    border: none;
}

.rr-embed-field-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.rr-embed-field-item__title {
    font-size: 12.5px;
    font-weight: 700;
    color: #A1A1AA;
}

.rr-embed-field-item__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rr-embed-field-item__inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rr-embed-fields-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.rr-embed-add-field-btn {
    background: transparent;
    color: #5865F2;
    border: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    margin-bottom: 12px;
}

/* Banner / Image Area */
.rr-embed-banner-box {
    background: #111214;
    border: 1px dashed #4E5058;
    border-radius: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #71717A;
    gap: 8px;
    margin-bottom: 12px;
}

/* Footer Area */
.rr-embed-footer-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* 6. Rollenfilter Kacheln */
.rr-filter-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.rr-filter-card {
    background: #111214;
    border-radius: 0;
    padding: 14px 16px;
    border: 2px solid transparent;
}

.rr-filter-card--active {
    border-color: #5865F2;
    background: #18191C;
}

.rr-filter-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.rr-filter-card__title {
    font-size: 13.5px;
    font-weight: 700;
    color: #F2F3F5;
}

.rr-filter-roles-wrap {
    margin-top: 8px;
}

/* 7. Button Modal Settings */
.rr-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.rr-modal-box {
    background: #1E1F22;
    border-radius: 0;
    width: 480px;
    max-width: 92vw;
    padding: 24px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.rr-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.rr-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #F2F3F5;
}

.rr-modal-btn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.rr-modal-style-option {
    padding: 10px 14px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rr-modal-style-option--active {
    border-color: #FFFFFF;
}

.rr-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Reaktionsrollen Vorschau Ergaenzungen */
.welcome-preview-message-content {
    font-size: 14px;
    color: #DBDEE1;
    line-height: 1.4;
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-word;
}

.welcome-preview-embed__image {
    width: 100%;
    border-radius: 0;
    margin-top: 10px;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.welcome-preview-embed__footer-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 6px;
    vertical-align: middle;
}

.rr-filter-roles-select {
    width: 100%;
    min-height: 110px;
    background: #1E1F22;
    border: none;
    border-radius: 0;
    color: #F2F3F5;
    padding: 8px;
    font-family: inherit;
    font-size: 13.5px;
    outline: none;
    box-sizing: border-box;
}

.rr-filter-roles-select:focus {
    outline: 1px solid #7289da;
}

.rr-embed-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.rr-embed-banner-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 0;
}

/* =========================================
   SERVER SETUP WIZARD (FLAT DARK BLOCK)
   ========================================= */
.server-setup-wizard {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
.server-setup-wizard__header {
    text-align: center;
    margin-bottom: 30px;
}
.server-setup-wizard__title {
    font-size: 26px;
    font-weight: 800;
    color: #F2F3F5;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.server-setup-wizard__title-icon {
    color: #5865F2;
}
.server-setup-wizard__subtitle {
    color: #A1A1AA;
    font-size: 14px;
    margin: 0 0 40px 0;
}
.server-setup-wizard__progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}
.server-setup-wizard__progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #2B2D31;
    z-index: 1;
    transform: translateY(-50%);
}
.server-setup-wizard__step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2B2D31;
    color: #A1A1AA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    position: relative;
    z-index: 2;
}
.server-setup-wizard__step-badge--active {
    background: #5865F2;
    color: #FFFFFF;
}
.server-setup-wizard__step-badge--completed {
    background: #23A559;
    color: #FFFFFF;
}
.server-setup-wizard__step {
    display: none;
}
.server-setup-wizard__step--active {
    display: block;
}
.server-setup-wizard__card {
    background: #111214;
    border-radius: 0;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.server-setup-wizard__card--center {
    text-align: center;
    padding: 40px 25px;
}
.server-setup-wizard__card-title {
    color: #F2F3F5;
    font-size: 18px;
    margin: 0 0 15px 0;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.server-setup-wizard__card-title-icon--amber {
    color: #F59E0B;
}
.server-setup-wizard__card-title-icon--indigo {
    color: #5865F2;
}
.server-setup-wizard__card-title-icon--yellow {
    color: #FEE75C;
}
.server-setup-wizard__card-desc {
    color: #A1A1AA;
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
}
.server-setup-wizard__status-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.server-setup-wizard__status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 0;
    background: #2B2D31;
    font-size: 14px;
    font-weight: 500;
    color: #F2F3F5;
}
.server-setup-wizard__status-indicator--ok {
    border-left: 3px solid #23A559;
}
.server-setup-wizard__status-indicator--ok i {
    color: #23A559;
}
.server-setup-wizard__status-indicator--error {
    border-left: 3px solid #F04747;
}
.server-setup-wizard__status-indicator--error i {
    color: #F04747;
}
.server-setup-wizard__error-text {
    color: #F04747;
    font-size: 13px;
    margin-top: 10px;
    width: 100%;
}
.server-setup-wizard__field-box {
    margin-bottom: 20px;
    background: #2B2D31;
    padding: 15px;
    border-radius: 0;
}
.server-setup-wizard__field-label {
    color: #F2F3F5;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}
.server-setup-wizard__field-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.server-setup-wizard__select {
    margin-bottom: 0 !important;
    flex: 1;
}
.server-setup-wizard__auto-create-btn {
    background: transparent;
    border: 1px solid #23A559;
    color: #23A559;
    padding: 8px 15px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.server-setup-wizard__spinner {
    display: none;
    animation: wizardSpinnerSpin 1s linear infinite;
}
.server-setup-wizard__spinner.is-active {
    display: inline-block;
}
@keyframes wizardSpinnerSpin {
    100% { transform: rotate(360deg); }
}
.server-setup-wizard__toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2B2D31;
    padding: 15px;
    border-radius: 0;
    margin-bottom: 12px;
}
.server-setup-wizard__toggle-info {
    flex: 1;
}
.server-setup-wizard__toggle-title {
    color: #F2F3F5;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}
.server-setup-wizard__toggle-desc {
    color: #A1A1AA;
    font-size: 12px;
}
.server-setup-wizard__success-icon {
    color: #23A559;
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
}
.server-setup-wizard__success-title {
    color: #F2F3F5;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
}
.server-setup-wizard__success-desc {
    color: #A1A1AA;
    font-size: 15px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}
.server-setup-wizard__footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}
.server-setup-wizard__btn {
    background: #2B2D31;
    color: #F2F3F5;
    border: none;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}
.server-setup-wizard__btn--next {
    background: #5865F2;
    color: #FFFFFF;
}
.server-setup-wizard__btn--finish {
    background: #23A559;
    color: #FFFFFF;
}
.is-invisible {
    visibility: hidden !important;
}

/* ==========================================================================
   PHASE 16: EMOJIS, LOGS, STATS, BACKUPS & AI-SETTINGS (BEM ARCHITECTURE)
   Flat Dark Block Schema: Borderless, statisch ohne unerlaubte Hover-Effekte
   ========================================================================== */

/* 1. Emojis & GIFs Modul (.emojis-mgmt) */
.emojis-mgmt__upload-modal {
    max-width: 520px;
}
.emojis-mgmt__upload-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* 2. Server-Logs Modul (.logs-viewer) */
.logs-viewer__setting-card {
    margin-bottom: 15px;
}
.log-modal-overlay.active {
    display: flex;
}

/* 3. Server-Statistiken Modul (.server-stats) */
.server-stats__overview-grid {
    margin-bottom: 30px;
}

/* 4. Server-Backups Modul (.server-backups) */
.server-backups__header-row {
    margin-bottom: 25px;
}

/* 5. DarkWulf AI-Settings Modul (.ai-settings) */
.ai-settings__header-borderless {
    border-bottom: none !important;
}
.ai-settings__info-reset {
    margin-left: 0 !important;
}
.ai-settings__api-group {
    margin-top: 15px;
}
.ai-settings__api-select {
    max-width: 400px;
}
.ai-settings__textarea--flash {
    outline: 2px solid var(--accent-green) !important;
}

/* ==========================================================================
   PHASE 17: FINALE CLEANUP & BEM REGELN (100% INLINE-CSS FREIHEIT)
   ========================================================================== */

/* Sidebar Bereinigungen */
.sidebar-invite-badge {
    font-size: 10px;
    background: #23A559;
    color: #FFFFFF;
    padding: 2px 6px;
    border-radius: 0;
    margin-left: auto;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.server-dropdown-item--inactive {
    opacity: 0.5;
    filter: grayscale(100%);
}
.sidebar-profile-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-red);
}

/* Moderation Log Bereinigungen */
.automod-field-group--mt-24 {
    margin-top: 24px;
}
.automod-field-group--mt-20 {
    margin-top: 20px;
}
.mod-logs__hidden-picker {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Preset Farb-Punkte */
.color-preset-dot--red { background-color: #ff0000; }
.color-preset-dot--orange { background-color: #faa61a; }
.color-preset-dot--yellow { background-color: #fee75c; }
.color-preset-dot--green { background-color: #57f287; }
.color-preset-dot--blurple { background-color: #5865f2; }
.color-preset-dot--purple { background-color: #9b59b6; }
.color-preset-dot--pink { background-color: #eb459e; }

/* ==========================================================================
   CLUSTER 1: AUTH, ONBOARDING & PROFILE BEM CLASSES
   ========================================================================== */
.onboarding-alert--danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: #ef4444;
    margin-bottom: 20px;
}
.onboarding-checkbox--hidden {
    display: none;
}
.onboarding-footer__logout {
    margin-top: 15px;
}
.onboarding-footer__logout-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
}
.pending-container {
    max-width: 520px;
    margin: 60px auto;
    padding: 0 20px;
}
.pending-card {
    background: var(--bg-card);
    border-radius: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.pending-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pending-desc {
    line-height: 1.6;
}
.pending-text {
    color: var(--text-main);
    margin-bottom: 15px;
}
.pending-btn-logout {
    background: #3f4147;
    color: #fff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.profile-connection-status__text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 5px;
}
.profile-connection-form {
    margin-top: 15px;
}
.profile-connection-name {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 8px;
}
.profile-connection-input {
    width: 100%;
}

/* ==========================================================================
   CLUSTER 2: DISCORD & AUTOMOD BEM CLASSES
   ========================================================================== */
.role-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.automod-honeypot-panel {
    background: var(--bg-mid);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 15px;
    margin-top: 15px;
}
.automod-honeypot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.automod-honeypot-header__left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.automod-honeypot-icon {
    font-size: 1.1rem;
    color: #f59e0b;
}
.automod-honeypot-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
}
.automod-honeypot-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.automod-honeypot-channel-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.automod-honeypot-channel-select {
    flex-grow: 1;
}
.automod-stepper-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.automod-stepper-icon {
    color: var(--accent-green);
}
.automod-switch-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.automod-field-group--hidden {
    display: none;
}
.automod-field-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.automod-warning-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid #f59e0b;
    border-radius: 0;
    color: #f59e0b;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* ==========================================================================
   CLUSTER 3: TWITCH PAGES BEM CLASSES
   ========================================================================== */
.twitch-channel-alert {
    margin-bottom: 20px;
}
.setting-card-header--borderless {
    border-bottom: none;
}
.setting-card-info--flush {
    margin-bottom: 0;
}
.twitch-cmd-actions {
    display: flex;
    gap: 8px;
}
.twitch-cmd-btn-edit {
    padding: 4px 8px;
}
.twitch-cmd-delete-form {
    display: inline;
}
.log-table-container--spaced {
    margin-top: 25px;
}
.log-table__td--bold {
    font-weight: bold;
}
.log-table__td--wrap {
    word-break: break-all;
}
.twitch-gamble-title-icon {
    color: #8b5cf6;
    margin-right: 8px;
}
.twitch-gamble-alert {
    margin-bottom: 20px;
}
.twitch-gamble-alert--danger {
    margin-bottom: 20px;
}
.twitch-gamble-intro-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.twitch-gamble-form-group {
    margin-bottom: 20px;
}
.twitch-gamble-label {
    font-size: 13px;
    font-weight: 700;
    color: #F2F3F5;
    margin-bottom: 6px;
}
.twitch-gamble-flex-row {
    display: flex;
    gap: 20px;
}
.twitch-gamble-flex-item {
    flex: 1;
}
.twitch-gamble-help-text {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}
.twitch-gamble-syntax-green {
    color: #2ecc71;
}
.twitch-gamble-submit-wrap {
    margin-top: 25px;
}
.twitch-mod-btn-icon {
    margin-right: 8px;
}
.twitch-mod-icon--link {
    color: #3b82f6;
}
.twitch-mod-icon--caps {
    color: #8b5cf6;
}
.twitch-mod-icon--spam {
    color: #23A559;
}
.twitch-mod-icon--word {
    color: #F04747;
}
.twitch-mod-icon--regex {
    color: #F5A623;
}
.twitch-mod-icon--bot {
    color: var(--text-sub);
}
.twitch-mod-icon--terminal {
    color: #F04747;
}
.twitch-mod-tester-box--hidden {
    display: none;
}
.twitch-mod-textarea--hidden {
    display: none;
}
.mod-filter-btn--compact {
    width: auto;
    padding: 10px 20px;
}
.mod-setting-group--spaced {
    margin-top: 20px;
}
.mod-settings-row--spaced {
    margin-top: 15px;
}

/* ==========================================================================
   CLUSTER 4: SONGS & SUPERADMIN BEM CLASSES
   ========================================================================== */
.songlist-tool__table--full {
    margin-top: 0;
    width: 100%;
}
.songlist-tool__th--actions {
    text-align: right;
}
.songlist-tool__footer--padded {
    padding: 15px 20px;
}
.plugin-header--queue-sub {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
}
.songlist-tool__empty-cell {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}
.songlist-tool__page-icon--disabled {
    opacity: 0.5;
}
.songlist-tool__placeholder {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}
.song-tab-panel {
    display: none;
}
.song-tab-panel.active {
    display: block;
}

.sa-alert-box--danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    color: #ef4444;
    margin-top: 15px;
    padding: 15px;
    border-radius: 0;
}
.sa-cursor-pointer {
    cursor: pointer;
}
.sa-modules-count__unlocked {
    color: var(--accent-green);
}
.sa-modules-count__divider {
    color: var(--text-muted);
    padding: 0 4px;
}
.sa-modules-count__locked {
    color: var(--accent-red);
}
.sa-status-offline {
    color: #a1a1aa;
}
.status-metric-row--hidden {
    visibility: hidden;
}
.sa-plugin-footer-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sa-footer-brand {
    font-weight: 800;
    font-size: 13px;
}
.sa-footer-actions {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #a1a1aa;
}
.sa-footer-dot {
    width: 4px;
    height: 4px;
    background-color: #52525b;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.sa-success-box--banner {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    padding: 15px 20px;
    border-radius: 0;
    margin-bottom: 25px;
    border-left: 4px solid #2ecc71;
}
.sa-success-box__icon {
    margin-right: 10px;
}
.sa-section-header-title--lowercase {
    text-transform: none;
}
.sa-section-header-title--offline {
    color: #ef4444;
}
.sa-brand-icon--discord {
    color: var(--accent-discord);
    margin-right: 8px;
}
.sa-brand-icon--twitch {
    color: #9146FF;
    margin-right: 8px;
}
.notify-modal.active {
    display: flex;
}
.sa-modal-card--wide {
    max-width: 700px;
    width: 100%;
}
.sa-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.sa-modal-title--flush {
    margin: 0;
}
.sa-modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}
.sa-modules-toggle-list {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}
.sa-modal-btn--save {
    background: var(--accent-green);
}
.sa-modal-title-img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin: 0 5px;
}
.sa-modal-title-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #111214;
    font-size: 10px;
    font-weight: 800;
    vertical-align: middle;
    margin: 0 5px;
}
.sa-modal-group {
    margin-top: 10px;
    margin-bottom: 20px;
}
.sa-modal-group__header {
    background: var(--bg-dark);
    padding: 10px 15px;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.sa-modal-group__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sa-modal-card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 0;
    border: none;
    margin-bottom: 0;
}
.sa-modal-card-item__info {
    margin-bottom: 0;
    text-align: left;
    flex-grow: 1;
}
.sa-modal-card-item__title {
    font-size: 0.8rem;
    font-weight: 700;
}
.sa-modal-card-item__switch {
    transform: scale(0.85);
    transform-origin: right center;
    margin: 0;
}

.sa-users-section-title {
    color: #F2F3F5;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}
.sa-users-section-title--active {
    margin-top: 40px;
}
.sa-users-empty-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    border-radius: 0;
    color: var(--text-muted);
}
.sa-users-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sa-users-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    object-fit: cover;
}
.sa-users-avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}
.sa-users-name--uppercase {
    text-transform: uppercase;
}
.sa-users-form {
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.sa-users-card-desc {
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.sa-users-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.sa-users-modules-heading {
    font-size: 13px;
    font-weight: 800;
    color: #F2F3F5;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.sa-users-modules-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sa-users-card-footer {
    display: flex;
    justify-content: space-between;
}
.sa-users-card-desc--flush {
    line-height: 1.6;
}
.sa-users-meta--compact {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 5px;
}
.sa-module-badge--superadmin {
    background: var(--accent-red);
}
.sa-users-badge-list {
    margin-top: 10px;
}
.sa-users-empty-text {
    font-size: 11px;
    color: var(--text-muted);
}

/* Discord Custom Emoji Rendering */
.dw-discord-emoji {
    width: 1.25em;
    height: 1.25em;
    vertical-align: -0.22em;
    display: inline-block;
    margin-right: 4px;
}

/* Temp-Voice Icon-Sets & Toolbar (Flat Dark Block Schema) */
.temp-voice-icon-sets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}
@media (max-width: 900px) {
    .temp-voice-icon-sets-grid {
        grid-template-columns: 1fr;
    }
}
.temp-voice-set-card {
    background: #1E1F22;
    border: 2px solid #2B2D31;
    border-radius: 0;
    padding: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    user-select: none;
}
.temp-voice-set-card.is-active {
    border-color: #5865F2;
    background: #23252A;
}
.temp-voice-set-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.temp-voice-set-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.temp-voice-set-card__title {
    font-size: 13px;
    font-weight: 700;
    color: #F2F3F5;
}
.temp-voice-set-card__badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    background: #111214;
    color: #5865F2;
    padding: 2px 6px;
    border-radius: 0;
    letter-spacing: 0.5px;
}
.temp-voice-set-card.is-active .temp-voice-set-card__badge {
    background: #5865F2;
    color: #FFFFFF;
}
.temp-voice-set-card__desc {
    font-size: 11px;
    color: #A1A1AA;
    line-height: 1.4;
    min-height: 32px;
}
.temp-voice-set-card__preview {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #111214;
    padding: 8px 10px;
    border-radius: 0;
}
.temp-voice-set-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Klickbare Icon-Toolbar über dem Textfeld */
.temp-voice-toolbar {
    background: #111214;
    border: 1px solid #2B2D31;
    border-bottom: none;
    border-radius: 0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.temp-voice-toolbar__label {
    font-size: 11px;
    font-weight: 700;
    color: #A1A1AA;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.temp-voice-toolbar__icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.temp-voice-toolbar__btn {
    background: #1E1F22;
    border: 1px solid #2B2D31;
    border-radius: 0;
    width: 32px;
    height: 32px;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
}
.temp-voice-toolbar__btn:focus {
    outline: 1px solid #5865F2;
}
.temp-voice-toolbar__img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    pointer-events: none;
}

/* ==========================================================================
   Flat Dark In-App Bestätigungs-Modal (Audit P1-1, BEM .dw-confirm-*)
   Striktes Flat Dark Block Schema: border-radius: 0; statisches Design
   ========================================================================== */
.dw-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.dw-confirm-modal {
    background: #1E1F22;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 !important;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dw-confirm-modal__header {
    background: #111214;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.dw-confirm-modal__icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dw-confirm-modal__icon--danger {
    color: #F04747;
}

.dw-confirm-modal__icon--primary {
    color: #5865F2;
}

.dw-confirm-modal__icon--success {
    color: #23A559;
}

.dw-confirm-modal__icon--warning {
    color: #FEE75C;
}

.dw-confirm-modal__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #F2F3F5;
    letter-spacing: 0.02em;
    flex-grow: 1;
}

.dw-confirm-modal__body {
    padding: 20px 18px;
    color: #DCDDDE;
    font-size: 0.9rem;
    line-height: 1.5;
    background: #1E1F22;
}

.dw-confirm-modal__footer {
    padding: 12px 18px;
    background: #111214;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.dw-confirm-btn {
    border-radius: 0 !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    border: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dw-confirm-btn--cancel {
    background: #2B2D31;
    color: #F2F3F5;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dw-confirm-btn--cancel:focus {
    outline: 1px solid #7289da;
}

.dw-confirm-btn--danger {
    background: #F04747;
    color: #FFFFFF;
}

.dw-confirm-btn--danger:focus {
    outline: 1px solid #FFFFFF;
}

.dw-confirm-btn--primary {
    background: #5865F2;
    color: #FFFFFF;
}

.dw-confirm-btn--primary:focus {
    outline: 1px solid #FFFFFF;
}

.dw-confirm-btn--success {
    background: #23A559;
    color: #FFFFFF;
}

.dw-confirm-btn--success:focus {
    outline: 1px solid #FFFFFF;
}

/* ==========================================================================
   DARKWULF LOGS & COLOR PALETTE BEM CLASSES (Flat Dark Block Schema)
   ========================================================================== */

.dw-view-hidden {
    display: none !important;
}

.dw-color-palette {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.dw-color-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
}

.dw-color-circle--selected {
    border-color: #FFFFFF;
    outline: 2px solid #7289da;
}

.dw-color-circle--purple {
    background-color: #8A43F9;
}

.dw-color-circle--blurple {
    background-color: #5865F2;
}

.dw-color-circle--green {
    background-color: #23A559;
}

.dw-color-circle--red {
    background-color: #F04747;
}

.dw-color-circle--orange {
    background-color: #FAA61A;
}

.dw-color-circle--pink {
    background-color: #EB459E;
}

.dw-color-circle--cyan {
    background-color: #00B0F4;
}

.dw-color-circle--yellow {
    background-color: #FEE75C;
}

.dw-color-input-wrap.log-color-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 240px;
}

.log-color-preview-box {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background-color: #8A43F9;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

