/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent3);
    border-radius: 4px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent2);
    box-shadow: 0 0 10px var(--glow);
}

::-webkit-scrollbar-thumb:active {
    background: var(--accent1);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent3) var(--bg2);
}

/* ================================================
   INFO BLOCK - Unterhalb Icon-Nav
   ================================================ */
.info-block {
    width: 100%;
    margin: 40px 0 40px 0;
    padding: 0;
}

.info-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

/* Alle Spalten auf 300px Höhe */
.info-left,
.info-center,
.info-right {
    height: 300px;
}

/* ================================================
   LINKE SPALTE - Willkommenstext
   ================================================ */
.welcome-card {
    background: var(--bg2);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent3);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* ================================================
   MITTLERE SPALTE - Wetter + Team
   ================================================ */
.info-center {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 300px;
}

/* Wetter Card - Mit genug Platz */
.weather-card-compact {
    background: var(--bg2);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent3);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    height: 100px;
    flex-shrink: 0;
}

.weather-compact-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.weather-icon-compact {
    font-size: 28px;
    filter: drop-shadow(0 0 10px var(--glow));
}

.weather-info-compact {
    flex: 1;
}

.weather-season-compact {
    color: var(--accent2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.weather-temp-compact {
    font-size: 24px;
    font-weight: 900;
    color: var(--accent2);
    text-shadow: 0 0 20px var(--glow);
}

.weather-condition-compact {
    color: var(--text2);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rain-bar-compact {
    margin-top: 8px;
}

.rain-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.rain-percent {
    color: var(--accent2);
    font-weight: 700;
}

.rain-track {
    height: 6px;
    background: var(--bg3);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--accent3);
}

.rain-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    box-shadow: 0 0 10px var(--glow);
    transition: width 0.5s ease-out;
}

.team-section {
height: 100px;
}

.team-title {
    color: var(--accent2);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--glow);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent3);
}

.team-members-large {
    height: 130px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.team-member-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0;
	height: 37px;
    padding-right: 15px;
    background: var(--bg3);
    border: 1px solid var(--accent3);
    border-radius: 6px;
    transition: all 0.3s;
    flex-shrink: 0;
	margin: 4px;
    overflow: hidden;
}

.team-member-card:hover {
    background: rgba(74, 122, 74, 0.15);
    border-color: var(--accent1);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.team-img {
    width: 50px;
    height: 50px;
    border-radius: 0;
	object-position:top;
    border: none;
    border-right: 2px solid var(--accent1);
    box-shadow: none;
    object-fit: cover;
    filter: grayscale(60%);
    transition: all 0.3s;
    flex-shrink: 0;
}

.team-member-card:hover .team-img {
    filter: grayscale(0%);
}

.team-info {
    flex: 1;
    padding-left: 15px;
}

.team-name {
    color: var(--accent2);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.team-role {
    color: var(--text3);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================================
   RECHTE SPALTE - Character OTM
   ================================================ */
.character-otm {
    display: flex;
    flex-direction: column;
    height: 300px;
    background: var(--bg2);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}
.character-otm:hover {
    border-color: var(--accent1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 30px var(--glow);
    transform: translateY(-5px);
}
.otm-label {
    background: var(--bg3);
    color: var(--accent2);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px;
    text-align: center;
    text-shadow: 0 0 10px var(--glow);
}
.otm-char-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(60%);
    transition: all 0.3s;
	object-position: 0px -92px;
}
.character-otm:hover .otm-char-image {
    filter: grayscale(0%);
}
.otm-char-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: var(--bg3);
}
.otm-char-name {
    color: var(--accent2);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 8px;
    text-shadow: 0 0 10px var(--glow);
}
.otm-quote {
    flex: 1;
    color: var(--text2);
    font-size: 13px;
	margin-top:1px;
    font-style: italic;
    align-items: center;
	text-align:center;
}


        /* ================================================
           BROADCAST & QUOTES BLOCK
           ================================================ */
        .broadcast-quotes-block {
            width: 100%;
            margin: 40px 0;
            padding: 0;
        }

        .broadcast-quotes-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 25px;
        }

        /* ================================================
           LINKE SPALTE - System Broadcast
           ================================================ */
        .system-broadcast {
            background: var(--bg2);
            backdrop-filter: blur(15px);
            border: 1px solid var(--accent1);
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow);
            height: 180px;
            overflow-y: auto;
        }

        .broadcast-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--accent3);
        }

        .broadcast-icon {
            font-size: 30px;
			margin-top: -9px;
            color: var(--warning);
            filter: drop-shadow(0 0 10px rgba(212, 168, 83, 0.6));
            animation: pulse 5s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        .broadcast-title {
            color: var(--accent2);
            font-size: 15px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 10px var(--glow);
        }

        .broadcast-messages {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .broadcast-message {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            padding: 8px;
            background: var(--bg3);
            border-left: 3px solid var(--accent1);
            border-radius: 4px;
            transition: all 0.3s;
        }

        .broadcast-message:hover {
            background: rgba(74, 122, 74, 0.15);
            border-left-color: var(--accent2);
            transform: translateX(5px);
        }

        .broadcast-bullet {
            color: var(--accent1);
            font-size: 16px;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .broadcast-text {
            flex: 1;
            color: var(--text2);
            font-size: 13px;
            line-height: 1.6;
        }

        .broadcast-text strong {
            color: var(--accent2);
            font-weight: 700;
        }

        /* ================================================
           RECHTE SPALTE - Inplay Quotes
           ================================================ */
        .inplay-quotes {
            background: var(--bg2);
            backdrop-filter: blur(15px);
            border: 1px solid var(--accent3);
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            height: 180px;
            display: flex;
            flex-direction: column;
        }

        .quotes-header {
            color: var(--accent2);
            font-size: 15px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 0 0 10px var(--glow);
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--accent3);
            text-align: center;
        }

        .quotes-container {
            flex: 1;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

.quote-card {
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative; /* Wichtig für die Pseudo-Elemente */
    overflow: auto; /* Verhindert die weiße Box */
}

/* Rausch-Overlay */
.quote-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(74, 122, 74, 0.1) 2px,
        rgba(74, 122, 74, 0.1) 4px
    );
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Glitch-Sweep Overlay */
.quote-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(74, 122, 74, 0.3) 25%, 
        transparent 50%, 
        rgba(74, 122, 74, 0.3) 75%, 
        transparent 100%
    );
    background-size: 200% 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.quote-card:hover::before {
    opacity: 1;
    animation: staticNoise 0.1s infinite;
}

.quote-card:hover::after {
    opacity: 1;
    animation: glitchSweep 0.6s ease-in-out infinite;
}

.quote-card:hover {
    color: var(--accent2);
    border-color: var(--accent1);
    box-shadow: 0 0 30px var(--glow);
    animation: glitchShake 0.3s infinite;
}

/* Symbol und Label über dem Effekt */
.quote-card-symbol,
.quote-card-label {
    position: relative;
    z-index: 2;
}

.quote-card-symbol {
    font-size: 24px;
    filter: drop-shadow(0 0 10px var(--glow));
}

.quote-card-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animationen */
@keyframes staticNoise {
    0%, 100% { 
        background-position: 0 0; 
        opacity: 0.8;
    }
    25% { 
        background-position: 1px 1px; 
        opacity: 0.9;
    }
    50% { 
        background-position: -1px 0; 
        opacity: 0.7;
    }
    75% { 
        background-position: 0 -1px; 
        opacity: 1;
    }
}

@keyframes glitchSweep {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glitchShake {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1px, 1px); }
    20% { transform: translate(1px, -1px); }
    30% { transform: translate(-1px, -1px); }
    40% { transform: translate(1px, 1px); }
    50% { transform: translate(0, 0); }
}
        .quote-text {
            color: var(--text2);
            font-size: 13px;
            font-style: italic;
            line-height: 1.5;
            margin-bottom: 8px;
            position: relative;
            padding-left: 12px;
            border-left: 2px solid var(--accent1);
        }

        .quote-author {
            color: var(--accent2);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: right;
        }

        /* Scrollbar Styling */
        .quotes-container::-webkit-scrollbar {
            width: 8px;
        }

        .quotes-container::-webkit-scrollbar-track {
            background: var(--bg3);
            border-radius: 4px;
        }

        .quotes-container::-webkit-scrollbar-thumb {
            background: var(--accent1);
            border-radius: 4px;
        }

        .quotes-container::-webkit-scrollbar-thumb:hover {
            background: var(--accent2);
        }

/* ================================================
   RECENT THREADS IN INPLAY QUOTES
   ================================================ */
/* ================================================
   RECENT THREADS IN INPLAY QUOTES
   ================================================ */

/* Recent Thread Items */
.quotes-container .recentthreads_thread {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--accent3);
}

.quotes-container .recentthreads_thread:last-child {
    margin-bottom: 0;
    padding-bottom: 5px;
}

/* Thread Title mit Punkt */
.quotes-container .recentthreads_thread .recentthreads_threadlink {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 5px;
}

.quotes-container .recentthreads_thread .recentthreads_threadlink::before {
    content: '»';
    color: var(--accent1);
    font-size: 13px;
    flex-shrink: 0;
}

.quotes-container .recentthreads_thread .recentthreads_threadlink a {
    color: var(--text2);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    line-height: 1.5;
    font-weight: 600;
}

.quotes-container .recentthreads_thread .recentthreads_threadlink a:hover {
    color: var(--accent2);
}

/* Meta-Bereich für Author und Time */
.quotes-container .recentthreads_thread .recentthreads_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 18px;
    gap: 10px;
}

/* Author */
.quotes-container .recentthreads_thread .recentthreads_author {
    color: var(--text3);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quotes-container .recentthreads_thread .recentthreads_author::before {
    content: 'von ';
    color: var(--text3);
    text-transform: lowercase;
    font-size: 13px;
}

.quotes-container .recentthreads_thread .recentthreads_author a {
    color: var(--accent2);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 700;
}

.quotes-container .recentthreads_thread .recentthreads_author a:hover {
    color: var(--accent1);
}

/* Time - rechts */
.quotes-container .recentthreads_thread .recentthreads_time {
    color: var(--text3);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Verstecke Forum, Datum und Uhrzeit aus anderen Bereichen */
.quotes-container .recentthreads_thread .recentthreads_forum,
.quotes-container .recentthreads_thread .recentthreads_date {
    display: none !important;
}

/* === SELECT2 CUSTOM STYLING === */
.select2-container-multi .select2-choices {
    background: var(--bg1) !important;
    border: 1px solid var(--accent3) !important;
    padding: 5px !important;
}

.select2-container-multi .select2-choices .select2-search-field input {
    padding: 5px;
    margin: 1px 0;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--text2);
    outline: 0;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    background: transparent !important;
}

.select2-container-multi .select2-choices .select2-search-choice {
    background: rgba(74, 122, 74, 0.2) !important;
    border: 1px solid var(--accent1) !important;
    color: var(--text2) !important;
    padding: 3px 5px 3px 18px !important;
    font-family: 'Courier New', monospace;
}

.select2-container-multi .select2-choices:focus-within {
    border-color: var(--accent1) !important;
    box-shadow: 0 0 10px var(--glow) !important;
}

.select2-drop {
    background: var(--bg2) !important;
    border: 1px solid var(--accent1) !important;
    color: var(--text2) !important;
}

.select2-results .select2-highlighted {
    background: rgba(74, 122, 74, 0.3) !important;
    color: var(--text1) !important;
}
/* Custom Checkbox Styling */
.c-modbit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.thread-checkbox-container {
    display: inline-block !important;
    position: relative !important;
    cursor: pointer !important;
    user-select: none !important;
    width: 13px !important;
    height: 13px !important;
}

.thread-checkbox-container input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Custom Checkmark */
.thread-checkbox {
    display: block !important;
    width: 13px !important;
    height: 13px !important;
    background: var(--bg3) !important;
    border: 1px solid var(--accent3) !important;
    transition: all 0.3s !important;
    position: relative !important;
    box-sizing: border-box !important;
}

/* Hover */
.thread-checkbox-container:hover .thread-checkbox {
    border-color: var(--accent2) !important;
    background: var(--bg2) !important;
}

/* Checked State */
.thread-checkbox-container input:checked ~ .thread-checkbox {
    background: var(--accent1) !important;
    border-color: var(--accent1) !important;
    box-shadow: 0 0 10px var(--glow) !important;
}

/* Checkmark Icon */
.thread-checkbox::after {
    content: '' !important;
    position: absolute !important;
    display: none !important;
    left: 5px !important;
    top: 2px !important;
    width: 5px !important;
    height: 9px !important;
    border: solid var(--bg1) !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.thread-checkbox-container input:checked ~ .thread-checkbox::after {
    display: block !important;
}