/* ---- Memberlist Grid Layout ---- */

.memberlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px;
}

/* einzelne User-Kachel */
.memberlist-card {
    background: #324040;               /* passt zu deinen trow Farben */
    border: 1px solid #2c3636;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

/* Avatar oben */
.memberlist-card .ml-avatar {
    text-align: center;
    margin-bottom: 8px;
}
.memberlist-card .ml-avatar img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Username & Titel */
.memberlist-card .ml-username {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}
.memberlist-card .ml-usertitle {
    margin-bottom: 8px;
}

/* Stats unten */
.memberlist-card .ml-stats {
    margin-top: auto;         /* drückt Stats nach unten */
    line-height: 1.4;
    border-top: 1px dotted #2c3636;
    padding-top: 6px;
}

/* Responsive Fallbacks */
@media (max-width: 1200px) {
    .memberlist-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .memberlist-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .memberlist-grid { grid-template-columns: 1fr; }
}

/* --- Balken-Layout für Memberlist-Stats --- */

.ml-bars {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 0;
}

.ml-bars li {
    background: #2a3434;              /* leicht dunkler Balken */
    border-top: 1px solid #1c2424;     /* dünne Trennlinie wie im Menü */
    border-bottom: 1px solid #3a4747;  /* gives depth */
    padding: 8px 10px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
    /* KEIN uppercase, KEINE extra Farbe */
    text-transform: none;
    color: inherit;
}

/* erster Balken ohne obere Linie */
.ml-bars li:first-child {
    border-top: none;
}

/* Links im Balken normal übernehmen */
.ml-bars li a {
    color: #baf7f7;
    text-decoration: none;
    font-weight: bold;   /* falls du es etwas wie im Screenshot willst */
}

.ml-bars li a:hover {
    text-decoration: underline;
}
