.head-to-head--game {
    border-radius: 20px;
}

.head-to-head__flash {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.head-to-head__flash--success {
    background: #eef8ee;
    border: 1px solid #b9dfb9;
}

.head-to-head__flash--error {
    background: #fff1f1;
    border: 1px solid #e5bcbc;
}

.head-to-head__position {
    margin: 0 auto;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-align: center;
    padding: 15px 0px;
    color: #FFF;
    font-size: 26px;
    border-radius: 20px 20px 0px 0px;
    font-family: "Fira Sans";
}

.head-to-head__players {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin: 20px 30px;
}

.head-to-head__player-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 20px;
    border: 5px solid #fff;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.head-to-head__player-card:hover {
    border-color: #999;
}

.head-to-head__player-name {
    display: block;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    white-space: pre-line;
    text-align: left;
    position: absolute;
    top: 0px;
    left: 100px;

}

.head-to-head__player-team {
    display: block;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    position: absolute;
    top: 80px;
    left: 100px;    
}

.head-to-head__versus {
    font-weight: 800;
    text-transform: uppercase;
    color: #FFF;
}

@media (max-width: 767px) {
    .head-to-head__players {
        grid-template-columns: 1fr;
    }

    .head-to-head__versus {
        text-align: center;
    }
}

.head-to-head--position {
    margin: 24px 0;
}

.head-to-head__table-wrap {
    overflow-x: auto;
}

.head-to-head__empty {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
}

.head-to-head__period-label {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
}

.head-to-head__movement {
    font-weight: 700;
}

.head-to-head__movement--up {
    color: #1a7f37;
}

.head-to-head__movement--down {
    color: #b42318;
}

.head-to-head__movement--new {
    color: #175cd3;
}

.head-to-head__movement--unchanged,
.head-to-head__movement--out {
    color: #666;
}

.head-to-head--rankings-hub {
    margin: 24px 0;
}

.head-to-head__hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.head-to-head__hub-card {
    
}

.head-to-head__hub-card-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.2;
}

.head-to-head__hub-list {
    margin: 0;
    padding-left: 20px;
}

.head-to-head__hub-list-item {
    margin-bottom: 10px;
}

.head-to-head__hub-player-name {
    display: block;
    font-weight: 700;
}

.head-to-head__hub-player-team {
    display: block;
    font-size: 13px;
    color: #666;
}

.head-to-head__hub-link-wrap {
    margin: 14px 0 0;
}

.head-to-head__hub-link {
    font-weight: 700;
    text-decoration: none;
}

.head-to-head__hub-empty {
    margin: 0;
    color: #666;
}

@media (max-width: 1024px) {
    .head-to-head__hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .head-to-head__hub-grid {
        grid-template-columns: 1fr;
    }
}

.head-to-head__skip-button {
    margin-top: 0;
    background: transparent;
    border: 0;
    color: #666;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;

    -webkit-border-radius: 15px !important;
    -moz-border-radius: 15px !important;
    border-radius: 15px !important;
    font-weight: 700;
    background: #E0DD28 !important;
    padding: 5px 15px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    display: inline-block;
    border: solid 2px #fff;
    /*box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);*/
    cursor: pointer;    
}

.head-to-head__form.is-submitting {
    pointer-events: none;
    opacity: 0.75;
}

.head-to-head__form button[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

.head-to-head__skip {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

 .head-to-head__player-image {
    position: absolute;
    z-index: 0;
    left: -15%;
    bottom: 0;
    max-width: 130px;
    max-height: 130px;
    margin: 0px !important;
 }