.idt-statistics-container {
    min-width: 0;
    max-width: 100%;
    padding-top: 24px;
    padding-bottom: 32px;
}

.idt-player-statistics-nav a {
    display: block;
    padding: 14px 18px;
    border: 1px solid #16854b;
    border-radius: 12px;
    color: inherit;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
}

.idt-player-statistics {
    min-width: 0;
    margin-top: 24px;
    scroll-margin-top: 110px;
}

.idt-stats-period {
    font-size: .85rem;
    opacity: .8;
    line-height: 1.6;
}

.idt-surface-stats,
.idt-player-results {
    display: grid;
    gap: 12px;
}

.idt-surface-row,
.idt-player-result {
    border: 1px solid rgba(128, 128, 128, .25);
    border-radius: 12px;
    padding: 14px;
}

.idt-surface-heading,
.idt-result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.idt-surface-row progress {
    display: block;
    width: 100%;
    height: 12px;
    margin: 10px 0;
    accent-color: #16854b;
}

.idt-recent-form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}

.idt-form-result {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #64748b;
    color: white;
    font-weight: 700;
}

.idt-form-win {
    background: #16854b;
}

.idt-player-result {
    display: grid;
    gap: 6px;
}

.idt-player-result small {
    opacity: .8;
}


/* Link contestuali nelle statistiche */

.idt-stat-link,
.idt-ranking-profile-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(100, 145, 115, .45);
    text-underline-offset: 3px;
    transition: color .15s ease;
}

.idt-stat-link:hover,
.idt-ranking-profile-link:hover,
.idt-stat-link:focus-visible,
.idt-ranking-profile-link:focus-visible {
    color: #16854b;
}

.idt-ranking-profile-link {
    font-weight: inherit;
}
