.metric-card {

    background: rgba(255,255,255,.03);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 12px;

    padding: 14px;

    text-align:center;

    transition:.2s;

}

.metric-card:hover{

    transform:translateY(-2px);

    border-color:#4C9845;

}

.metric-title{

    color:#9ea7b3;

    font-size:.85rem;

    margin-bottom:8px;

    text-transform:uppercase;

}

.metric-value{

    font-size:2rem;

    font-weight:700;

    color:white;

}

.metric-subtitle{

    margin-top:6px;

    font-size:.8rem;

    color:#8c939b;

}


.stat-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:16px;

    margin-top:20px;

}

/* ==============================
   Status Badges
============================== */

.status-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:6px 12px;

    border-radius:999px;

    font-size:.82rem;

    font-weight:600;

    border:1px solid rgba(255,255,255,.08);

}

.status-icon{

    font-size:.9rem;

}

/* Grün */

.status-success{

    background:rgba(76,152,69,.15);

    color:#4C9845;

    border-color:#4C9845;

}

/* Gelb */

.status-warning{

    background:rgba(255,193,7,.15);

    color:#ffc107;

    border-color:#ffc107;

}

/* Rot */

.status-danger{

    background:rgba(220,53,69,.15);

    color:#dc3545;

    border-color:#dc3545;

}

/* Blau */

.status-info{

    background:rgba(13,202,240,.15);

    color:#0dcaf0;

    border-color:#0dcaf0;

}

/* Grau */

.status-neutral{

    background:rgba(255,255,255,.05);

    color:#c7c7c7;

}


/* ==============================
   Progress Bar
============================== */

.progress-wrapper{

    display:flex;

    align-items:center;

    gap:12px;

    margin-top:8px;

}

.progress-track{

    flex:1;

    height:10px;

    background:rgba(255,255,255,.08);

    border-radius:999px;

    overflow:hidden;

}

.progress-fill{

    height:100%;

    transition:.4s ease;

}

.progress-value{

    width:50px;

    text-align:right;

    font-weight:700;

    color:#ffffff;

}


/* ==========================================
   Combat Readiness – kompakte Darstellung
========================================== */

.combat-layout {
    display: grid;
    grid-template-columns: 360px 500px;
    justify-content: center;
    gap: 80px;
    align-items: center;
}

.combat-summary {
    text-align: center;
}

.combat-circle {
    width: 190px;
    height: 190px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 7px solid #4C9845;
    border-radius: 50%;
    background: rgba(16,20,24,.35);
    color: #F4F6F8;
    font-size: 46px;
    font-weight: 800;
    box-shadow: inset 0 0 25px rgba(0,0,0,.20);
}

.combat-training-status {
    font-size: 1.45rem;
    line-height: 1.2;
}

.combat-training-label {
    margin-top: 5px;
    color: #9ea7b3;
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.combat-improvement {
    margin-top: 22px;
    font-size: .82rem;
    color: #aeb5bd;
}

.combat-improvement > strong {
    display: block;
    margin-bottom: 8px;
    color: #dfe3e7;
    font-size: .88rem;
}

.combat-improvement ul {
    text-align: left;
    margin: 0 auto;
    padding-left: 20px;
    max-width: 275px;
}

.combat-improvement li {
    margin-bottom: 4px;
}

.combat-parts {
    width: 500px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.combat-parts-title {
    margin-bottom: 3px;
    color: #9ea7b3;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.combat-row {
    width: 100%;
    margin-bottom: 0;
}

.combat-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    color: #DDE2E7;
    font-size: 12px;
}

.combat-row-header strong {
    color: #F2F4F6;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.combat-row .progress-wrapper {
    width: 100%;
    margin-top: 0;
}

.combat-row .progress-track {
    height: 5px;
}

.combat-row .progress-value {
    width: 34px;
    font-size: 10px;
}

@media(max-width:1100px) {
    .combat-layout {
        grid-template-columns: 320px minmax(0, 460px);
        gap: 45px;
    }

    .combat-parts {
        width: 100%;
    }
}

@media(max-width:850px) {
    .combat-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .combat-parts {
        width: 100%;
    }

    .combat-circle {
        width: 160px;
        height: 160px;
        font-size: 40px;
    }
}

/* ==========================================
   Player Header V2
========================================== */

.player-status-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
    margin:20px 0;
}

.player-readiness{
    margin:20px 0 24px;
}

.player-readiness-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
    font-weight:600;
    font-size:15px;
}
/* =====================================================
   V5 DASHBOARD MAIN AREA
===================================================== */

.v5-dashboard-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.65fr) minmax(330px, .85fr);
    gap:20px;
    margin-top:20px;
    align-items:stretch;
}

.v5-card{
    background:linear-gradient(180deg,#202630 0%,#1b2028 100%);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:22px;
    box-shadow:0 8px 24px rgba(0,0,0,.25);
}

.v5-card-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
    margin-bottom:20px;
}

.v5-card-header h2{
    margin:0;
    color:#4C9845;
    font-size:22px;
}

.v5-card-subtitle{
    display:block;
    margin-top:5px;
    color:#9ea7b3;
    font-size:13px;
}

.v5-card-link{
    color:#4C9845;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
}

.v5-card-link:hover{
    text-decoration:underline;
}

.v5-status-dot{
    width:11px;
    height:11px;
    border-radius:50%;
    display:block;
    background:#4C9845;
    box-shadow:0 0 12px rgba(76,152,69,.7);
    margin-top:6px;
}

.clan-profile{
    display:flex;
    align-items:center;
    gap:22px;
    padding:18px;
    border-radius:13px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.06);
}

.clan-emblem-wrap{
    width:76px;
    height:76px;
    flex:0 0 76px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.clan-emblem{
    max-width:76px;
    max-height:76px;
    object-fit:contain;
}

.clan-emblem-fallback{
    width:76px;
    height:76px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(76,152,69,.12);
    border:1px solid rgba(76,152,69,.35);
    font-size:34px;
}

.clan-name{
    color:#fff;
    font-size:25px;
    font-weight:700;
}

.clan-tag{
    color:#4C9845;
    font-size:15px;
    font-weight:700;
    margin-top:2px;
}

.clan-motto{
    color:#9ea7b3;
    font-size:13px;
    margin-top:8px;
    font-style:italic;
}

.clan-info-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-top:16px;
}

.clan-info-item{
    padding:14px;
    border-radius:12px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.06);
}

.info-label{
    display:block;
    color:#89929e;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.7px;
    margin-bottom:7px;
}

.clan-info-item strong{
    color:#fff;
    font-size:15px;
}

.system-status-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.system-status-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 15px;
    border-radius:12px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.06);
}

.system-status-name{
    display:flex;
    align-items:center;
    gap:10px;
    color:#e7ebf0;
    font-weight:600;
    font-size:14px;
}

.system-icon{
    width:28px;
    text-align:center;
    font-size:17px;
}

.system-value{
    color:#dce2e8;
    font-size:13px;
    font-weight:600;
}

.top-players-card{
    margin-top:20px;
}

.top-player-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.top-player-row{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto 80px;
    align-items:center;
    gap:12px;
    padding:13px 15px;
    border-radius:11px;
    background:rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.06);
    text-decoration:none;
    transition:.2s ease;
}

.top-player-row:hover{
    border-color:#4C9845;
    background:rgba(76,152,69,.06);
    transform:translateX(3px);
}

.top-player-rank{
    color:#8d98a5;
    font-weight:700;
    text-align:center;
}

.top-player-name{
    color:#fff;
    font-weight:600;
}

.top-player-status{
    color:#9ea7b3;
    font-size:12px;
    text-align:right;
}

.top-player-wn8{
    text-align:right;
    font-size:18px;
    font-weight:800;
}

.empty-state{
    padding:20px;
    text-align:center;
    color:#8f98a4;
}

@media(max-width:1100px){
    .v5-dashboard-grid{
        grid-template-columns:1fr;
    }

    .clan-info-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:650px){
    .clan-profile{
        align-items:flex-start;
    }

    .clan-info-grid{
        grid-template-columns:1fr;
    }

    .top-player-row{
        grid-template-columns:34px minmax(0,1fr) 70px;
    }

    .top-player-status{
        display:none;
    }
}

/* ==========================================
   Operations Overview
========================================== */

.operations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 18px;
}

.operation-box {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    transition: .25s;
}

.operation-box:hover {
    transform: translateY(-4px);
    border-color: var(--pdgh-green);
    box-shadow: 0 0 18px rgba(76,152,69,.18);
}

.operation-value {
    font-size: 42px;
    font-weight: 700;
    color: white;
}

.operation-label {
    margin-top: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

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

@media (max-width: 700px) {
    .operations-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   TEAMSpeak Dashboard
========================================== */
.v5-teamspeak-card{margin-top:20px}
.v5-ts-connection{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.08em}
.v5-ts-connection.online{color:#8bdc87;background:rgba(76,152,69,.09);border:1px solid rgba(76,152,69,.28)}
.v5-ts-connection.offline{color:#ef7777;background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.24)}
.v5-ts-dot,.v5-ts-online-dot{display:inline-block;width:7px;height:7px;flex:0 0 7px;border-radius:50%}
.v5-ts-connection.online .v5-ts-dot,.v5-ts-online-dot{background:#63d66a;box-shadow:0 0 8px rgba(99,214,106,.55)}
.v5-ts-connection.offline .v5-ts-dot{background:#ef5555}
.v5-ts-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.v5-ts-stat{display:grid;grid-template-columns:28px 1fr;grid-template-rows:1fr 1fr;column-gap:9px;align-items:center;min-height:70px;padding:12px 14px;border:1px solid var(--v5-border);border-radius:12px;background:rgba(255,255,255,.025)}
.v5-ts-stat>i{grid-row:1/3;color:var(--v5-green);font-size:18px;text-align:center}
.v5-ts-stat strong{color:#fff;font-size:23px;line-height:1;font-weight:800}
.v5-ts-stat span{color:var(--v5-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.v5-ts-section+.v5-ts-section{margin-top:17px}
.v5-ts-section-title{margin-bottom:8px;color:var(--v5-muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.v5-ts-waiting-list,.v5-ts-client-list{display:flex;flex-direction:column;gap:5px}
.v5-ts-waiting-item,.v5-ts-client-row{display:flex;align-items:center;justify-content:space-between;gap:15px;min-width:0;padding:8px 11px;border:1px solid rgba(255,255,255,.055);border-radius:9px;background:rgba(255,255,255,.022)}
.v5-ts-waiting-item{justify-content:flex-start;color:#dce2e8;font-size:12px}
.v5-ts-waiting-item i{width:18px;color:var(--v5-green);text-align:center}
.v5-ts-client-name,.v5-ts-client-channel{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v5-ts-client-name{display:flex;align-items:center;gap:8px;color:#f1f4f7;font-size:12px;font-weight:700}
.v5-ts-online-dot{width:6px;height:6px;flex-basis:6px}
.v5-ts-client-channel{color:#89929e;font-size:11px;text-align:right}
.v5-ts-empty{color:#7f8995;font-size:11px}
.v5-ts-offline{display:flex;align-items:center;gap:9px;padding:12px;border:1px solid rgba(239,68,68,.18);border-radius:10px;background:rgba(239,68,68,.055);color:#ef7777;font-size:12px;font-weight:700}
@media(max-width:900px){.v5-ts-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.v5-ts-client-row{align-items:flex-start;flex-direction:column;gap:3px}.v5-ts-client-channel{text-align:left}}

/* ==========================================
   BOLLWERK DETAILSEITE
========================================== */

.v5-detail-card {
    margin-top: 20px;
}

.v5-detail-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.v5-detail-stat {
    min-height: 72px;
    padding: 13px 15px;
    border: 1px solid var(--v5-border);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.v5-detail-stat span {
    display: block;
    color: var(--v5-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.v5-detail-stat span i {
    margin-right: 5px;
    color: var(--v5-green);
}

.v5-detail-stat strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}

.v5-bollwerk-table {
    display: flex;
    flex-direction: column;
}

.v5-bollwerk-row {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 130px 150px;
    gap: 15px;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255,255,255,.045);
}

.v5-bollwerk-row:last-child {
    border-bottom: 0;
}

.v5-bollwerk-header {
    min-height: 34px;
    color: var(--v5-muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.v5-bollwerk-rank {
    color: var(--v5-muted);
    font-size: 12px;
    font-weight: 700;
}

.v5-bollwerk-player {
    overflow: hidden;
    color: #f1f4f7;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v5-bollwerk-count {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.v5-bollwerk-status {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.v5-bollwerk-status.status-elite {
    color: #4CAF50;
}

.v5-bollwerk-status.status-aktiv {
    color: #8BC34A;
}

.v5-bollwerk-status.status-fahrer {
    color: #FFC107;
}

.v5-bollwerk-status.status-keine {
    color: #8b949e;
}

.v5-detail-empty {
    padding: 25px 12px;
    color: var(--v5-muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 850px) {
    .v5-detail-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v5-bollwerk-row {
        grid-template-columns: 45px minmax(0, 1fr) 90px;
    }

    .v5-bollwerk-status {
        display: none;
    }
}

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

/* ==========================================
   SPIELER – V5
========================================== */

.v5-player-list-table {
    overflow: hidden;
}

.v5-player-link-row {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease;
}

.v5-player-link-row:hover {
    background: rgba(76,175,80,.055);
}

.v5-player-online {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #59616a;
    vertical-align: middle;
}

.v5-player-online.online {
    background: #63d66a;
    box-shadow: 0 0 7px rgba(99,214,106,.55);
}

/* V5 Spieler – Aktivitätsstatus: reiner Punkt ohne Rahmen */
.v5-player-activity-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: middle;
}
.v5-player-activity-dot.activity-green { background: #22c55e; box-shadow: 0 0 7px rgba(34,197,94,.45); }
.v5-player-activity-dot.activity-yellow { background: #facc15; box-shadow: 0 0 7px rgba(250,204,21,.4); }
.v5-player-activity-dot.activity-red { background: #ef4444; box-shadow: 0 0 7px rgba(239,68,68,.4); }

.v5-player-rank {
    color: var(--v5-muted);
}

.v5-player-readiness {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v5-readiness-bar {
    display: block;
    width: 90px;
    height: 5px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255,255,255,.08);
}

.v5-readiness-bar > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--v5-green);
}

.v5-player-profile {
    margin-top: 20px;
}

.v5-profile-grid {
    display: grid;
    grid-template-columns: 180px minmax(0,1fr);
    gap: 25px;
    align-items: stretch;
}

.v5-profile-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    border: 1px solid var(--v5-border);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.v5-profile-wn8 {
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.v5-profile-label {
    margin-top: 6px;
    color: var(--v5-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.v5-profile-title {
    margin-top: 5px;
    color: #dce2e8;
    font-size: 12px;
    font-weight: 700;
}

.v5-profile-stats,
.v5-profile-metrics {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 10px;
}

.v5-profile-stats > div,
.v5-profile-metrics > div {
    padding: 13px;
    border: 1px solid var(--v5-border);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
}

.v5-profile-stats span,
.v5-profile-metrics span {
    display: block;
    color: var(--v5-muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.v5-profile-stats strong,
.v5-profile-metrics strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.v5-profile-meta {
    display: flex;
    gap: 25px;
    margin-top: 18px;
    color: var(--v5-muted);
    font-size: 10px;
}

.v5-profile-meta strong {
    color: #dce2e8;
}

@media (max-width: 950px) {
    .v5-profile-grid {
        grid-template-columns: 1fr;
    }

    .v5-profile-stats,
    .v5-profile-metrics {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .v5-player-row {
        grid-template-columns: 45px minmax(0,1fr) 80px 90px;
    }

    .v5-player-row > span:nth-child(5),
    .v5-player-row > span:nth-child(6) {
        display: none;
    }
}

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

    .v5-profile-meta {
        flex-direction: column;
        gap: 6px;
    }
}

/* ==========================================
   SPIELER – V5 TABLE LAYOUT FIX
========================================== */

.v5-player-list-table .v5-player-row {
    display: grid;
    grid-template-columns: 55px minmax(240px, 2.25fr) 90px 110px 100px 125px minmax(170px, 1.25fr) 105px;
    gap: 16px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.v5-player-list-table .v5-player-header {
    min-height: 38px;
    padding: 0 14px;
}

.v5-player-list-table .v5-player-data {
    min-height: 52px;
    padding: 0 14px;
}

.v5-player-list-table .v5-player-data > span,
.v5-player-list-table .v5-player-header > span {
    min-width: 0;
}

.v5-player-list-table .v5-player-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v5-player-list-table .v5-player-readiness {
    min-width: 0;
}

.v5-player-list-table .v5-player-activity-points {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}


.v5-player-list-table .v5-readiness-bar {
    width: 110px;
    flex: 0 1 110px;
}

@media (max-width: 1050px) {
    .v5-player-list-table .v5-player-row {
        grid-template-columns: 45px minmax(170px, 2fr) 80px 90px 85px 100px minmax(130px, 1fr) 90px;
        gap: 10px;
    }
}

@media (max-width: 850px) {
    .v5-player-list-table .v5-player-row {
        grid-template-columns: 45px minmax(0, 1fr) 80px 90px;
    }

    .v5-player-list-table .v5-player-row > span:nth-child(5),
    .v5-player-list-table .v5-player-row > span:nth-child(6),
    .v5-player-list-table .v5-player-row > span:nth-child(7) {
        display: none;
    }
}

/* ==========================================
   SPIELER – V5 FILTER + ZUFALL 30 TAGE
========================================== */
.v5-filter-bar,
.v5-player-filter-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 10px;
    color: var(--v5-muted);
    font-size: 10px;
    font-weight: 700;
}

.v5-player-filter-bar i {
    color: var(--v5-green);
}

.v5-player-filter-bar button {
    margin-left: auto;
    border: 1px solid var(--v5-border);
    border-radius: 7px;
    padding: 6px 9px;
    background: rgba(255,255,255,.025);
    color: #cbd2dc;
    font: inherit;
    cursor: pointer;
}

.v5-player-filter-bar button:hover {
    background: rgba(255,255,255,.055);
    color: #fff;
}

.v5-player-list-table .v5-player-header > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 6px 0;
}

.v5-column-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v5-column-filter {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: 25px;
    padding: 4px 7px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 6px;
    outline: none;
    background: rgba(0,0,0,.22);
    color: #e9edf2;
    font: 700 9px/1.2 inherit;
    text-transform: none;
}

.v5-column-filter::placeholder {
    color: #69727e;
}

.v5-column-filter:focus {
    border-color: rgba(76,152,69,.55);
    background: rgba(0,0,0,.30);
}

.v5-player-list-table .v5-player-random30 {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.v5-filter-empty {
    border: 1px dashed var(--v5-border);
    border-radius: 9px;
    margin-top: 10px;
}

@media (max-width: 1050px) {
    .v5-player-list-table .v5-player-row {
        grid-template-columns: 45px minmax(170px, 2fr) 80px 90px 85px 100px minmax(125px, 1fr) 90px;
        gap: 8px;
    }
}

@media (max-width: 850px) {
    .v5-player-list-table .v5-player-row {
        grid-template-columns: 45px minmax(0, 1fr) 80px 90px;
    }

    .v5-player-list-table .v5-player-row > span:nth-child(5),
    .v5-player-list-table .v5-player-row > span:nth-child(6),
    .v5-player-list-table .v5-player-row > span:nth-child(7),
    .v5-player-list-table .v5-player-row > span:nth-child(8) {
        display: none;
    }

    .v5-player-list-table .v5-player-header > span:nth-child(n+5) {
        display: none;
    }
}


/* ==========================================
   SPIELER V5 – FILTERPANEL + 8 SPALTEN
========================================== */
.v5-player-filter-panel {
    margin: 0 0 14px;
    padding: 12px 14px 14px;
    border: 1px solid var(--v5-border);
    border-radius: 11px;
    background: rgba(0,0,0,.13);
}
.v5-player-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.v5-player-filter-head > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}
.v5-player-filter-head i { color: var(--v5-green); }
.v5-player-filter-head span { color: #dfe5eb; font-size: 11px; font-weight: 800; }
.v5-player-filter-head small { color: var(--v5-muted); font-size: 9px; font-weight: 600; }
.v5-player-filter-head button {
    flex: 0 0 auto;
    border: 1px solid var(--v5-border);
    border-radius: 7px;
    padding: 6px 9px;
    background: rgba(255,255,255,.025);
    color: #cbd2dc;
    font: 700 9px/1.2 inherit;
    cursor: pointer;
}
.v5-player-filter-head button:hover { background: rgba(255,255,255,.055); color: #fff; }
.v5-player-filter-grid {
    display: grid;
    grid-template-columns: 55px minmax(140px, 2.25fr) 90px 110px 100px 125px minmax(150px, 1.25fr) 105px;
    gap: 10px;
    align-items: end;
}
.v5-player-filter-grid label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    color: #8f99a7;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.v5-player-filter-grid .v5-column-filter {
    width: 100%;
    height: 27px;
    box-sizing: border-box;
    padding: 5px 7px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 6px;
    outline: none;
    background: rgba(0,0,0,.22);
    color: #e9edf2;
    font: 700 10px/1.2 inherit;
    text-transform: none;
}
.v5-player-filter-grid .v5-column-filter:focus {
    border-color: rgba(76,152,69,.55);
    background: rgba(0,0,0,.30);
}
.v5-player-filter-grid .v5-column-filter::placeholder { color: #69727e; }

/* Genau acht Spalten: Zufall 30 Tage liegt zwischen Bollwerk und Bereitschaft. */
.v5-player-list-table .v5-player-row {
    grid-template-columns: 55px minmax(140px, 2.25fr) 90px 110px 100px 125px minmax(150px, 1.25fr) 105px;
}
.v5-player-list-table .v5-player-random30 {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    color: #dce2e8;
}
.v5-player-list-table .v5-player-header > span:nth-child(6),
.v5-player-list-table .v5-player-data > span:nth-child(6) {
    text-align: right;
}

@media (max-width: 1150px) {
    .v5-player-filter-grid,
    .v5-player-list-table .v5-player-row {
        grid-template-columns: 45px minmax(120px, 2fr) 75px 90px 80px 105px minmax(125px, 1fr) 90px;
        gap: 7px;
    }
}
@media (max-width: 900px) {
    .v5-player-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .v5-player-list-table .v5-player-row {
        grid-template-columns: 45px minmax(0, 1fr) 75px 90px;
    }
    .v5-player-list-table .v5-player-row > span:nth-child(n+5) { display: none; }
}
@media (max-width: 600px) {
    .v5-player-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v5-player-filter-head { align-items: flex-start; }
    .v5-player-filter-head > div { flex-wrap: wrap; }
}


/* ==========================================
   SPIELER V5 – FILTER/SORTIERUNG + SAUBERE AUSRICHTUNG
========================================== */
.v5-player-filter-grid {
    grid-template-columns: 55px minmax(150px, 2.25fr) 90px 105px 100px 125px minmax(145px, 1.25fr) 105px;
    gap: 10px;
    align-items: end;
}
.v5-player-filter-grid label {
    text-align: center;
}
.v5-filter-control {
    display: flex;
    align-items: stretch;
    gap: 3px;
    min-width: 0;
}
.v5-filter-control .v5-column-filter {
    flex: 1 1 auto;
    min-width: 0;
}
.v5-sort-buttons {
    display: flex;
    flex-direction: column;
    flex: 0 0 22px;
    gap: 2px;
}
.v5-sort-btn {
    width: 22px;
    height: 12px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 3px;
    background: rgba(255,255,255,.025);
    color: #7f8996;
    font: 700 7px/10px Arial, sans-serif;
    cursor: pointer;
}
.v5-sort-btn:hover,
.v5-sort-btn.active {
    border-color: rgba(76,152,69,.55);
    background: rgba(76,152,69,.16);
    color: #73bd6a;
}
.v5-player-list-table .v5-player-row {
    grid-template-columns: 55px minmax(150px, 2.25fr) 90px 105px 100px 125px minmax(145px, 1.25fr) 105px;
    gap: 10px;
    align-items: center;
}
.v5-player-list-table .v5-player-header > span,
.v5-player-list-table .v5-player-data > span {
    text-align: center;
    justify-content: center;
}
.v5-player-list-table .v5-player-header > span:nth-child(2),
.v5-player-list-table .v5-player-data > span:nth-child(2) {
    text-align: left;
    justify-content: flex-start;
}
.v5-player-list-table .v5-player-data > span:nth-child(6),
.v5-player-list-table .v5-player-data > span:nth-child(8) {
    font-variant-numeric: tabular-nums;
}
.v5-player-list-table .v5-player-readiness {
    justify-content: center !important;
}
.v5-player-list-table .v5-player-activity-points {
    text-align: center !important;
}
@media (max-width: 1150px) {
    .v5-player-filter-grid,
    .v5-player-list-table .v5-player-row {
        grid-template-columns: 45px minmax(120px, 2fr) 75px 90px 80px 105px minmax(125px, 1fr) 90px;
        gap: 7px;
    }
}
