.player-skins {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.player-skin {
    position: relative;
    display: block;
    width: 110px;
    margin: 0 5px 10px;
    text-align: center;
    text-decoration: none !important;
}

    .player-skin img {
        display: block;
        width: 110px;
        height: 110px;
        margin-bottom: 4px;
        border: 1px solid rgba(128, 128, 128, .3);
        border-radius: 4px;
        object-fit: cover;
    }

    .player-skin span {
        display: block;
        overflow: hidden;
        font-size: 11px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .player-skin .label {
        position: absolute;
        top: 4px;
        right: 4px;
        font-size: 10px;
    }

    .player-skin-no-image {
        width: 110px;
        height: 110px;
        margin-bottom: 4px;
        border: 1px solid rgba(128, 128, 128, .3);
        border-radius: 4px;
        background: rgba(128, 128, 128, .12);
    }

.player-skin-equipped img,
.player-skin-equipped .player-skin-no-image {
    border-color: rgba(98, 196, 98, .8);
}

.player-skins-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-bottom: 10px;
}

    .player-skins-header .streak-name {
        margin: 0;
    }

.player-stars {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding: 3px 12px 3px 9px;
    border: 1px solid rgba(240, 173, 78, .6);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(240, 173, 78, .25), rgba(240, 173, 78, .06));
}

    .player-stars-icon {
        color: #f0ad4e;
        text-shadow: 0 0 6px rgba(240, 173, 78, .7);
    }

    .player-stars small {
        opacity: .75;
    }

.player-skins-row + .player-skins-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(128, 128, 128, .3);
}

.panel-heading .badge.badge-second {
    background-color: #FFBC00;
    color: #222;
}

th {
    width: 1%;
    white-space: nowrap;
    padding-right: 24px !important;
}

.progress {
    margin: 0;
}

.players-dropdown-menu {
    height: 175px;
    overflow-y: auto;
}

.second {
    color: #FFBC00 !important;
}

.separator {
    color: #979797;
}

.previous-names .label {
    border: 1px solid #979797;
}

.streak-row {
    margin-bottom: 6px;
}

.streak-row:last-child {
    margin-bottom: 0;
}

.streak-name {
    font-weight: bold;
    margin-bottom: 3px;
}

.streak-tiles {
    line-height: 0;
    font-size: 0;
}

.streak-tile {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 3px 3px 0;
    border-radius: 0;
    vertical-align: top;
}

.streak-win {
    background-color: #2ea44f;
}

.streak-loss {
    background-color: #d73a49;
}

.streak-draw {
    background-color: #c6cbd1;
}

.player-tabs {
    margin-bottom: 15px;
}

    .player-tabs > li > a {
        padding: 8px 12px;
    }

    .player-tabs .badge {
        margin-left: 3px;
        font-size: 11px;
    }

.campaign-help {
    font-size: 12px;
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.campaign-card {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid rgba(128, 128, 128, .3);
    border-radius: 8px;
    background: rgba(128, 128, 128, .05);
}

.campaign-cover {
    flex: 0 0 96px;
    width: 96px;
    height: auto;
    margin-right: 12px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.campaign-body {
    flex: 1;
    align-self: center;
    min-width: 0;
}

.campaign-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

    .campaign-title strong {
        overflow: hidden;
        font-size: 15px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .campaign-title span {
        flex: 0 0 auto;
        font-size: 12px;
        opacity: .7;
    }

.campaign-line + .campaign-line {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(128, 128, 128, .25);
}

.campaign-player {
    margin-bottom: 4px;
    font-weight: bold;
}

    .campaign-player small {
        font-weight: normal;
    }

.campaign-bar {
    display: flex;
    height: 10px;
    margin-bottom: 6px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(128, 128, 128, .2);
}

    .campaign-bar span {
        display: block;
        height: 100%;
    }

.campaign-numbers {
    display: flex;
    gap: 6px;
}

    .campaign-numbers > div {
        flex: 1;
        min-width: 0;
        padding: 4px 6px;
        border-radius: 4px;
        text-align: center;
        background: rgba(128, 128, 128, .08);
    }

    .campaign-numbers strong {
        display: block;
        font-size: 18px;
        line-height: 1.2;
    }

    .campaign-numbers small {
        display: block;
        overflow: hidden;
        font-size: 11px;
        white-space: nowrap;
        text-overflow: ellipsis;
        opacity: .7;
    }

.campaign-win {
    color: #2ea44f;
}

.campaign-loss {
    color: #d73a49;
}

@media screen and (max-width: 700px) {
    .player-tabs > li > a {
        padding: 6px 8px;
        font-size: 12px;
    }

    .left-side {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .right-side {
        width: 100% !important;
    }

    .campaign-numbers small {
        white-space: normal;
    }

    .relation-card-item thead th {
        white-space: normal;
        padding-right: 5px !important;
    }

    .table-responsive th.mobile-row-label {
        display: block !important;
        width: auto;
        white-space: normal;
        text-align: left;
        padding: 5px !important;
        border-bottom: 1px solid #ddd;
    }
}
