.wm-main-wrapper {
        width: 100%;
        max-width: 1080px;
        margin: 0 auto;
        padding: 15px;
        box-sizing: border-box;
    }

    /* WICHTIG: Das fängt die Breite auf dem Handy ab */
    .wm-table-container { 
        width: 100%; 
        overflow-x: auto; /* Erlaubt horizontales Scrollen NUR für die Tabelle */
        -webkit-overflow-scrolling: touch; /* Macht das Wischen auf iPhones butterweich */
        font-family: Arial, sans-serif; 
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        position: relative;
    }

    /* Basis der Tabelle: Weiß (Ungerade Zeilen: 1, 3, 5...) */
    .wm-rangliste { 
        width: 100%; 
        border-collapse: collapse; 
        font-size: 16px; 
        background: #ffffff; 
        color: #000000; 
    }

    .wm-rangliste th, .wm-rangliste td { 
        padding: 6px 10px; 
        text-align: left; 
        border-bottom: 1px solid rgba(0, 0, 0, 0.06); 
        box-sizing: border-box;
        line-height: 1.2;
    }

    .wm-rangliste th { 
        padding: 14px 10px; 
        background-color: #6A2D34; 
        color: white !important; 
        font-weight: bold; 
    }

    .wm-rangliste td { 
        padding: 6px 10px; 
        text-align: left; 
        border-bottom: 1px solid rgba(0, 0, 0, 0.06); 
        box-sizing: border-box;
        line-height: 1.2;
    }

    /* Zentrale Steuerung für die Punktespalte (letzte Spalte) */
    .wm-rangliste td:last-child {
        text-align: center;
        font-size: 18px; 
        font-weight: bold;
        color: #000000 !important; 
    }
    
    .wm-rangliste th:last-child {
        text-align: center;
        font-weight: bold;
        color: white !important;
    }

    .wm-fixed-header {
        position: fixed;
        top: 0; 
        left: auto;
        z-index: 999;
        background-color: #1a1a1a;
        box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    }

    /* ZEILE GERADE (2, 4, 6...): Elegantes, helles Pastell-Grau */
    .wm-rangliste tbody tr:nth-child(even) { 
        background-color: #f2f2f2 !important;  
    }

    /* HOVER-EFFEKT: Zartes Pastell-Gelb beim Drüberfahren */
    .wm-rangliste tbody tr:hover {
        background-color: #fff2cc !important;
    }

    /* HIGHLIGHT-FARBEN */
    .platz-1 { 
        background-color: #ffe599 !important; /* Pastell-Gold */
        font-weight: bold; 
    }
    .platz-1 td { color: #1a1a1a !important; }

    .aktueller-spieler { 
        background-color: #d9ebd3 !important; /* Pastell-Grün */
        font-weight: bold; 
        border-left: 5px solid #2ea44f; 
    }
    .aktueller-spieler td { color: #1b5e20 !important; }

  /* BADGES (Abzeichen): Kräftige, satt gefärbte Buttons mit weißem Text */
    .badge { 
        display: inline-block; 
        padding: 3px 6px; 
        font-size: clamp(0.8em, 2.8vw, 1em);
        font-weight: bold; 
        border-radius: 4px; 
        color: #ffffff !important; /* Strahlend weißer Text für besten Kontrast */
        text-align: center; 
        min-width: 20px; 
    }
    .b-4 { background-color: #2563eb !important; } /* Kräftiges Blau */
    .b-3 { background-color: #16a34a !important; } /* Kräftiges Grün */
    .b-2 { background-color: #d97706 !important; } /* Kräftiges Warm-Orange */
    .b-1 { background-color: #4b5563 !important; } /* Kräftiges Graphit-Grau */

    /* SMARTPHONE-OPTIMIERUNG */
    @media screen and (max-width: 600px) {
        .wm-main-wrapper {
            padding: 5px; 
        }
        
        .wm-rangliste { 
            font-size: 14px; 
        }

        .wm-rangliste th, .wm-rangliste td { 
            padding: 5px 6px; 
        }
        
        .wm-rangliste td:last-child {
            font-size: 14px !important; 
            color: #000000 !important;
        }

        .badge {
            padding: 1px 4px;
            font-size: 11px;
            min-width: 16px;
        }
    }
	/* Spielernamen ohne Zeilenumbruch darstellen */
.wm-rangliste td:nth-child(2), 
.player-name, 
.spielername {
    white-space: nowrap;
}