html, body {
    margin: 0;
    padding: 0;
    width: 1920px;
    height: 1080px;
    background: transparent;
    overflow: hidden;
}

.overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 1920px;
    height: 1080px;
    pointer-events: none; /* Erlaubt Klicks durch das Overlay */
    z-index: 9999;

    /* Rahmen und Glow um die komplette Fläche */
    border: 2px solid #000; /* Schwarzer Rahmen */
    box-shadow:
        inset 0 0 15px rgba(0, 183, 255, 0.4),
        inset 0 0 25px rgba(0, 183, 255, 0.3),
        inset 0 0 35px rgba(0, 183, 255, 0.2),
        inset 0 0 45px rgba(125, 240, 255, 0.15);
}

:root {
    --chat-scale: 0.90; /* kleiner skalieren: 0.85 = 85% */
}

.chat-overlay {
    position: absolute;
    top: 0px; /* 20px höher platziert */
    left: 20px;
    width: 420px; /* nach rechts größer gemacht */
    height: 220px;
    pointer-events: none; /* Chat nicht anklickbar in OBS */
    z-index: 1;
    transform: scale(var(--chat-scale));
    transform-origin: top left;
    overflow: hidden; /* Zusätzlicher Zuschnitt, falls Inhalte überstehen */
}

.chat-overlay iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}

.perk-overlay {
    position: absolute;
    bottom: 80px;
    right: 80px;
    width: 200px; /* Exakte Größe für das Perk-Viereck */
    height: 200px; /* Quadratisch wie die Perks */
    background: linear-gradient(135deg, #0e3fa9 0%, #00b7ff 70%, #7df0ff 100%); /* Blaue Verläufe */
    border: 4px solid #000; /* Schwarzer Rand */
    transform: rotate(45deg); /* Gedreht um 45 Grad wie ein Diamant */
    pointer-events: none; /* Nicht klickbar, ideal für OBS */
    box-shadow: 
        0 0 20px rgba(0, 183, 255, 0.8),    /* Innerer blauer Schein */
        0 0 40px rgba(0, 183, 255, 0.6),    /* Mittlerer blauer Schein */
        0 0 60px rgba(0, 183, 255, 0.4),    /* Äußerer blauer Schein */
        0 0 80px rgba(125, 240, 255, 0.3);  /* Weiter äußerer heller Schein */
    opacity: 1; /* Komplett undurchsichtig */
}

.perk-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg); /* Gegenrotation, damit Text horizontal bleibt */
    font-family: 'Great Vibes', cursive;
    font-size: 96px;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.85),
        0 0 14px rgba(0, 183, 255, 0.75),
        0 0 28px rgba(0, 183, 255, 0.55);
    pointer-events: none;
    user-select: none;
}