body.profile-template {
    --profile-red: #dd0005;
    --profile-red-light: #ffb2b2;
    --profile-gray-lighter: #b5b5b5;
    --profile-gray-light: #383838;
    --profile-gray: #333333;
    --profile-gray-dark: #262626;
    --profile-gray-darker: #1a1a1a;
    --profile-white: #ffffff;
    --profile-yellow: #ffff00;
    --profile-border-color: #444444;
    --profile-box-radius: 2px;
    --profile-box-gap: 16px;
    --profile-box-padding-y: 20px;
    --profile-box-padding-x: 18px;
    --profile-font-family: 'Lato', sans-serif;
    --profile-breakpoint-xs: 576px;
    --profile-breakpoint-sm: 768px;
    --profile-breakpoint-md: 992px;
    --profile-breakpoint-lg: 1024px;
    --profile-inactive-opacity: 0.2;
}

body.profile-template :is(#main, #header-main) {
    background-color: var(--profile-gray-darker) !important;
}

body.profile-template #header-main {
    border-bottom: 1px solid var(--profile-border-color);
}

body.profile-template .container {
    max-width: 1310px !important;
}

body.profile-template .page-title-section {
    display: none;
}

body.profile-template #header-main {
    margin-top: 0;
}

body.profile-template .inner {
    background-color: transparent !important;
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: var(--profile-box-gap);
    font-family: var(--profile-font-family);
    padding-top: 32px;
}

.profile-content.inactive .profile-row:not(.shooter-details) {
    opacity: var(--profile-inactive-opacity);
}

.profile-content .profile-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: var(--profile-box-gap);
}

.profile-content .profile-box {
    border-radius: var(--profile-box-radius);
    background-color: var(--profile-gray);
    width: 100%;
    padding-top: var(--profile-box-padding-y);
    padding-bottom: var(--profile-box-padding-y);
    padding-left: var(--profile-box-padding-x);
    padding-right: var(--profile-box-padding-x);
}

.profile-content .box-title {
    color: Var(--profile-gray-lighter);
    text-transform: uppercase;
    font-family: var(--profile-font-family);
    font-size: 16px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.4;
}

/** Membership Status */

.profile-content .membership-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--profile-red);
    border-radius: var(--profile-box-radius);
    padding: 6px;
    font-size: 14px;
    margin-bottom: 20px;
}

.profile-content .membership-status .message .icon {
    width: 30px;
    aspect-ratio: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--profile-white);
    color: var(--profile-red);
    margin-right: 8px;
}

.profile-content .membership-status .message a {
    color: var(--profile-white);
    text-decoration: underline;
}

.profile-content .membership-status .message a:hover {
    text-decoration: none;
}

.profile-content .membership-status .close {
    background-color: transparent;
    color: var(--profile-white);
    border: 0;
    width: 30px;
    aspect-ratio: 1;
    opacity: 1;
}

.profile-content .membership-status .close:hover {
    opacity: .5;
}

.profile-content .membership-status .close .icon {
    width: 100%;
    height: 100%;
}

.profile-content .membership-status.restricted-access {
    margin: 30px 0 90px;
}

/** Shooter Details About */
@media (min-width: 1312px) {
    .profile-content .profile-row.shooter-details {
        flex-direction: row;
    }
}

.profile-content .shooter-details .about {
    container-type: inline-size;
    flex-basis: calc(50% - (var(--profile-box-gap) / 2));
    flex-shrink: 0;
    flex-grow: 1;
}

.profile-content .shooter-details .about .inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--profile-box-gap);
    height: 100%;
}

.profile-content .shooter-details .about .inner .image {
    background-color: var(--profile-gray-lighter);
    overflow: hidden;
    aspect-ratio: 1.0
}

.profile-content .shooter-details .about .inner .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content .shooter-details .about .inner .info {
    flex-grow: 1;
    flex-basis: calc(66.66% - (var(--profile-box-gap) / 2));
    display: flex;
    flex-direction: column;
    gap: var(--profile-box-gap);
}

.profile-content .shooter-details .about .inner .info .column {
    flex-basis: calc(50% - (var(--profile-box-gap) / 2));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-content .shooter-details .about .inner .info .column:last-child {
    border-right: none;
}

.profile-content .shooter-details .about .inner .info .info-item {
    line-height: 1.4;
    margin-bottom: 6px;
}

.profile-content .shooter-details .about .inner .info .info-item:last-child {
    margin-bottom: 0;
}

.profile-content .shooter-details .about .inner .info .info-item .title {
    color: var(--profile-gray-lighter);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
}

.profile-content .shooter-details .about .inner .info .info-item .value {
    color: var(--profile-yellow);
}

.profile-content .shooter-details .about .inner .info .shooter-info {
    line-height: 1.4;
}

.profile-content .shooter-details .about .inner .info .shooter-info .number {
    color: var(--profile-white);
    font-size: 22px;
    font-weight: 800;
}

.profile-content .shooter-details .about .inner .info .shooter-info .name {
    color: var(--profile-yellow);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.profile-content .shooter-details .about .inner .info .shooter-info .location {
    color: var(--profile-white);
    font-size: 14px;
}

@container (min-width: 480px) { /** Width of .about **/
    .profile-content .shooter-details .about .inner {
        flex-direction: row;
    }

    .profile-content .shooter-details .about .inner .image {
        aspect-ratio: 1;
        flex-basis: calc(33.33% - (var(--profile-box-gap) / 2));
        max-width: 250px;
        flex-shrink: 1;
        flex-grow: 1;
        max-height: 100%;
        /* align-self: start; Force 1/1 aspect ratio no matter the container height */
    }

    .profile-content .shooter-details .about .inner .info {
        flex-direction: row;
    }

    .profile-content .shooter-details .about .inner .info .column {
        border-right: 1px solid var(--profile-border-color);
    }
}

/** Shooter Details Rank Scores */

.profile-content .shooter-details .rank-scores {
    container-type: inline-size;
    flex-basis: calc(50% - (var(--profile-box-gap) / 2));
    flex-shrink: 0;
    flex-grow: 0;
}

.profile-content .shooter-details .rank-scores .columns {
    display: flex;
    flex-direction: column;
    gap: var(--profile-box-gap);
    justify-content: start;
}

@container (min-width: 580px) { /** Width of .rank-scores **/
    .profile-content .shooter-details .rank-scores .columns {
        flex-direction: row;
    }
}

.profile-content .shooter-details .rank-scores ul {
    list-style: none;
    padding: 0 40px 0 0;
    margin: 0;
    flex-basis: calc(50% - (var(--profile-box-gap) / 2));
}

.profile-content .shooter-details .rank-scores ul li {
    display: flex;
    fiont-size: 14px;
    justify-content: space-between;
    padding: 0;
    line-height: 1.6;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--profile-gray-lighter);
    border-bottom: 1px solid var(--profile-border-color);
}

.profile-content .shooter-details .rank-scores ul li .score {
    color: var(--profile-yellow);
    padding-right: 20px;
}

/** Credits */
.profile-content .credits {
    container-type: inline-size;
}

.profile-content.inactive .credits {
    display: none;
}

.profile-content .credits .inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.profile-content .credits .inner .counts {
    flex-grow: 0;
    flex-shrink: 0;
    line-height: 1.4;
    font-size: 14px;
    text-align: center;
}

.profile-content .credits .inner .counts .total {
    text-transform: uppercase;
    color: var(--profile-gray-lighter);
    font-weight: 800;
    margin-bottom: 16px;
}

.profile-content .credits .inner .counts .total .count {
    color: var(--profile-white);
    font-weight: normal;
}

.profile-content .credits .inner .counts .needs {
    color: var(--profile-yellow);
    font-weight: 800;
}

.profile-content .credits .inner .current-progress {
    flex-basis: calc(80% - (var(--profile-box-gap) / 2));
    flex-grow: 1;
    width: 100%;
}

.profile-content .credits .inner .current-progress .bar-wrap .rail {
    --rail-side-gap: 18px;
    position: relative;
    /* background-color: rgba(255, 255, 255, 0.5); */
    margin-left: var(--rail-side-gap);
    margin-right: var(--rail-side-gap);
    width: calc(100% - var(--rail-side-gap) * 2);
    height: 16px;
}

.profile-content .credits .inner .current-progress .bar-wrap .rail.top {
    top: 0;
}

.profile-content .credits .inner .current-progress .bar-wrap .rail.top :is(.nv, .mm, .ss, .ex) {
    position: absolute;
    color: var(--profile-white);
    top: 0;
    line-height: 1;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    transform: translateX(-50%);
}

.profile-content .credits .inner .current-progress .bar-wrap .rail.bottom {
    bottom: 0;
}

.profile-content .credits .inner .current-progress .bar-wrap .rail.bottom .pointer {
    position: absolute;
    height: 50px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    margin-top: -25px;
    transform: translateX(-50%);
}

.profile-content .credits .inner .current-progress .bar-wrap .bar {
    --bar-height: 20px;
    background: linear-gradient(to right, var(--profile-red-light), var(--profile-red));
    border-radius: calc(var(--bar-height) / 2);
    height: var(--bar-height);
}

@container (min-width: 576px) { /** Width of .credits **/
    .profile-content .credits .inner {
        flex-direction: row;
        gap: 80px;
    }

    .profile-content .credits .inner .counts {
        flex-basis: calc(40% - (var(--profile-box-gap) / 2));
        flex-grow: 0;
        flex-shrink: 0;
        border-right: 1px solid var(--profile-border-color);
        line-height: 1.4;
        font-size: 14px;
        text-align: left;
    }

    .profile-content .credits .inner .current-progress {
        width: auto;
    }
}

@container (min-width: 992px) { /** Width of .credits **/
    .profile-content .credits .inner .counts {
        flex-basis: calc(20% - (var(--profile-box-gap) / 2));
    }
}

/** Accolates and Sponsors Slider **/

@media (min-width: 576px) {
    .profile-content .accolades-sponsors {
        flex-direction: row;
    }
}

.profile-content .accolades-sponsors .slider {
    position: relative;
    padding: 0 30px;
    margin-bottom: 30px;
}

.profile-content .accolades-sponsors .slider .track {
    overflow: hidden;
}

.profile-content .accolades-sponsors .slider :is(.controls-prev, .controls-next) {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    left: 0;
}

.profile-content .accolades-sponsors .slider .controls-next {
    left: auto;
    right: 0;
    transform: translateY(-50%) translateX(100%);
}


.profile-content .accolades-sponsors .slider :is(.controls-prev, .controls-next) :is(.prev, .next) {
    background: transparent;
    border: 0;
    padding: 2px 10px;
}

.profile-content .accolades-sponsors .slider :is(.controls-prev, .controls-next) :is(.prev, .next) .icon {
    width: 30px;
    height: 30px;
    color: var(--profile-gray-lighter);
    transform: rotate(-90deg);
}

.profile-content .accolades-sponsors .slider .controls-next .next .icon {
    transform: rotate(90deg);
}

/** Accolades **/

.profile-content .accolades-sponsors .accolades {
    flex-basis: calc(50% - (var(--profile-box-gap) / 2));
    flex-shrink: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    .profile-content .accolades-sponsors.w-sponsors .accolades {
        max-width: calc(50% - (var(--profile-box-gap) / 2));
    }
}

.profile-content .accolades-sponsors .accolades .inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.profile-content .accolades-sponsors .accolades .accolades-slider .slide {
    --slide-gap: 16px;
    width: 100%;
    aspect-ratio: 1;
    width: calc(25% - (var(--slide-gap) / 1.341));
    margin-right: var(--slide-gap);
}

.profile-content .accolades-sponsors .accolades .accolades-slider .slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/** Sponsors **/

.profile-content .accolades-sponsors .sponsors {
    flex-basis: calc(50% - (var(--profile-box-gap) / 2));
    flex-shrink: 0;
    flex-grow: 0;
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) {
    .profile-content .accolades-sponsors .sponsors {
        max-width: calc(50% - (var(--profile-box-gap) / 2));
    }
}

.profile-content .accolades-sponsors .sponsors .inner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.profile-content .accolades-sponsors .sponsors .sponsors-slider .slide {
    --slide-gap: 48px;
    width: 100%;
    aspect-ratio: 3/2;
    width: calc(50% - (var(--slide-gap) / 2));
    margin-right: var(--slide-gap);
}

.profile-content .accolades-sponsors .sponsors .sponsors-slider .slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/** Viewing Options **/

.profile-content .viewing-options {
    background-color: var(--profile-gray-dark);
    padding: 20px 0;
}

@media (min-width: 992px) {
    .profile-content .viewing-options {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.profile-content.inactive .viewing-options {
    display: none;
}

.profile-content .viewing-options .viewing-options-form {
    margin: 0;
}

.profile-content .viewing-options .in {
    display: flex;
    flex-direction: column;
    text-align: center;
}

@media (min-width: 992px) {
    .profile-content .viewing-options .in {
        flex-direction: row;
        justify-content: start;
        text-align: left;
    }
}

.profile-content .viewing-options .in .item {
    padding: 6px 16px;
    flex-grow: 0;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .profile-content .viewing-options .in .item {
        border-right: 1px solid var(--profile-border-color);
    }
}

@media (min-width: 992px) {
    .profile-content .viewing-options .in .item:first-child {
        padding-right: 20px;
    }

    .profile-content .viewing-options .in .item:last-child {
        border-right: none;
        padding-right: 0;
    }
}

.profile-content .viewing-options .in .item.viewing-label {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--profile-gray-lighter);
    text-transform: uppercase;
}


.profile-content .viewing-options .in .item.type {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-content .viewing-options .in .item.type .type-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    background: transparent;
}

.profile-content .viewing-options .in .item.type .type-button .selection {
    font-weight: 800;
    color: var(--profile-gray-lighter);
}

.profile-content .viewing-options .in .item.type .type-button.nrl22 .selection.nrl22,
.profile-content .viewing-options .in .item.type .type-button.nrl22x .selection.nrl22x {
    color: var(--profile-yellow);
}

.profile-content .viewing-options .in .item.type .type-button .toggle {
    width: 34px;
    height: 16px;
    border-radius: 8px;
    background-color: var(--profile-gray-lighter);
    position: relative;
    appearance: none;
}

.profile-content .viewing-options .in .item.type .type-button .toggle .switch {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 18px;
    height: 14px;
    border-radius: 7px;
    background-color: var(--profile-white);
}

.profile-content .viewing-options .in .item.type .type-button.nrl22 .toggle .switch {
    left: 1px;
}

.profile-content .viewing-options .in .item.type .type-button.nrl22:hover .toggle .switch {
    left: auto;
    right: 1px;
}

.profile-content .viewing-options .in .item.type .type-button.nrl22x .toggle .switch {
    left: auto;
    right: 1px;
}

.profile-content .viewing-options .in .item.type .type-button.nrl22x:hover .toggle .switch {
    left: 1px;
    right: auto;
}

.profile-content .viewing-options .in .item.division {
    max-width: 250px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-content .viewing-options .in .item.division .wrap {
    position: relative;
}

.profile-content .viewing-options .in .item.division .wrap select {
    border: 0;
    background: var(--profile-gray-dark);
    box-shadow: none;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--profile-yellow);
    appearance: none;
    cursor: pointer;
    width: 100%;
    padding-right: 32px;
    font-weight: 800;
    position: relative
}

.profile-content .viewing-options .in .item.division .wrap .arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translatey(-50%) rotate(180deg);
    color: var(--profile-gray-lighter);
    cursor: pointer;
    pointer-events: none;
}

.profile-content .viewing-options .in .item.division .wrap:hover .arrow {
    color: var(--profile-yellow);
}

.profile-content .viewing-options .in .item.season {
    max-width: 250px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-content .viewing-options .in .item.season .wrap {
    position: relative;
}

.profile-content .viewing-options .in .item.season .wrap select {
    border: 0;
    background: var(--profile-gray-dark);
    box-shadow: none;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--profile-yellow);
    appearance: none;
    cursor: pointer;
    width: 100%;
    padding-right: 32px;
    font-weight: 800;
    position: relative
}

.profile-content .viewing-options .in .item.season .wrap .arrow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translatey(-50%) rotate(180deg);
    color: var(--profile-gray-lighter);
    cursor: pointer;
    pointer-events: none;
}

.profile-content .viewing-options .in .item.season .wrap:hover .arrow {
    color: var(--profile-yellow);
}

@media (min-width: 992px) {
    .profile-content .viewing-options .in .item.current {
        display: flex;
        justify-content: start;
        align-items: center;
        flex-grow: 1;
        flex-shrink: 1;
        line-height: 1.1;
        padding-right: 26px;
    }
}

/** Gear List **/

@media (min-width: 992px) {
    .profile-content .gear-season {
        flex-direction: row;
    }
}

.profile-content .gear .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: calc(var(--profile-box-padding-x) / -1);
    margin-right: calc(var(--profile-box-padding-x) / -1);
    padding: 0;
}

.profile-content .gear .list .item {
    flex-basis: 50%;
    flex-grow: 1;
    flex-shrink: 0;
    padding: 2px var(--profile-box-padding-x);
    margin: 0;
    list-style: none;
}

.profile-content .gear .list .item:nth-child(4n + 1),
.profile-content .gear .list .item:nth-child(4n + 2) {
    background-color: var(--profile-gray-light);

}

.profile-content .gear .list .item .type {
    color: var(--profile-white);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
}

.profile-content .gear .list .item .name {
    color: var(--profile-yellow);
}

/** Season Snapshot **/

.profile-content .season-snapshot {
    container-type: inline-size;
    flex-basis: calc(64% - (var(--profile-box-gap) / 2));
    flex-shrink: 0;
    flex-grow: 1;
}

.profile-content .season-snapshot .header {
    display: flex;
    flex-direction: column;
    gap: var(--profile-box-gap);
    padding-bottom: 20px;
}

@container (min-width: 640px) {
    .profile-content .season-snapshot .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.profile-content .season-snapshot .header .box-title {
    flex-grow: 0;
    margin-bottom: 0;
}

.profile-content .season-snapshot .header .season-filter {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: var(--profile-box-gap);
    flex-grow: 1;
    padding: 0;
    margin: 0;
}

.profile-content .season-snapshot .header .season-filter .item {
    list-style: none;
}

.profile-content .season-snapshot .header .season-filter .item .button {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    color: var(--profile-gray-lighter);
    font-weight: 800;
}

.profile-content .season-snapshot .header .season-filter .item .button.active {
    color: var(--profile-white);
}

.profile-content .season-snapshot .header .season-filter .item .button:hover {
    color: var(--profile-yellow);
}

.profile-content .season-snapshot .header .compare {
    border: 0;
    background: var(--profile-red);
    color: var(--profile-white);
    border-radius: var(--profile-box-radius);
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    padding: 6px 14px;
    display: none;
}

@container (min-width: 640px) {
    .profile-content .season-snapshot .header .compare {
        margin-top: -12px;
        margin-bottom: -12px;
    }
}

.profile-content .season-snapshot .header .compare .icon {
    width: 20px;
    height: 20px;
}

.profile-content .season-snapshot .leaderboard-scores {
    border-top: 1px solid var(--profile-border-color);
    padding-top: 20px;
    margin-bottom: 40px;
}

.profile-content .season-snapshot .leaderboard-scores .leaderboard-title {
    font-size: 14px;
    color: var(--profile-white);
    text-transform: uppercase;
    font-family: var(--profile-font-family);
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.profile-content .season-snapshot .leaderboard-scores .score-item {
    text-align: center;
}

.profile-content .season-snapshot .leaderboard-scores .score-item .badge {
    position: relative;
    background: transparent;
    border-radius: 0;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    padding: 0;
}

.profile-content .season-snapshot .leaderboard-scores .score-item .badge .circle {
    width: 100%;
    height: 100%;
}

.profile-content .season-snapshot .leaderboard-scores .score-item .badge .score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--profile-yellow);
    font-size: 17.5px;
    font-weight: 800;
}

.profile-content .season-snapshot .leaderboard-scores .score-item .badge .score.smaller {
    font-size: 14px;
}

.profile-content .season-snapshot .leaderboard-scores .score-item .details {
    font-size: 14px;
    line-height: 1.4;
}

.profile-content .season-snapshot .leaderboard-scores .leaderboard-highlights {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-content .season-snapshot .leaderboard-scores .leaderboard-highlights.top {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--profile-border-color);
}

.profile-content .season-snapshot .leaderboard-scores .leaderboard-highlights.bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--profile-border-color);
}

.profile-content .season-snapshot .leaderboard-scores .leaderboard-highlights .leaderboard-title {
    text-align: center;
}

.profile-content .season-snapshot .leaderboard-scores .leaderboard-top-matches .group {
    display: flex;
    flex-wrap: wrap;
    row-gap: 60px;
}

.profile-content .season-snapshot .leaderboard-scores .leaderboard-top-matches .group .score-item {
    flex-basis: 100%;
    flex-shrink: 0;
    flex-grow: 0;
}

@container (min-width: 700px) {
    .profile-content .season-snapshot .leaderboard-scores .leaderboard-top-matches .group .score-item {
        flex-basis: 33.33%;
    }
}

/** Season Snapshot - Charts **/

@container (min-width: 700px) {
    .profile-content .season-snapshot .charts {
        display: flex;
        flex-wrap: wrap;
        gap: var(--profile-box-gap);
    }
}

.profile-content .season-snapshot .charts .chart-title {
    font-size: 14px;
    color: var(--profile-white);
    text-transform: uppercase;
    font-family: var(--profile-font-family);
    font-weight: 800;
}

.profile-content .season-snapshot .charts .points-chart {
    aspect-ratio: 2;
    margin-bottom: 20px;
}

@container (min-width: 700px) {
    .profile-content .season-snapshot .charts .points-chart {
        flex-basis: calc(50% - (var(--profile-box-gap) / 2));
        flex-shrink: 0;
        flex-grow: 0;
        margin-bottom: 0;
    }
}

.profile-content .season-snapshot .charts .points-chart canvas {
    width: 100%;
    height: 100%;
    background-color: var(--profile-gray-light);
}

.profile-content .season-snapshot .charts .impact-chart {
    aspect-ratio: 2;
}

@container (min-width: 700px) {
    .profile-content .season-snapshot .charts .impact-chart {
        flex-basis: calc(50% - (var(--profile-box-gap) / 2));
        flex-shrink: 0;
        flex-grow: 0;
    }

}

.profile-content .season-snapshot .charts .impact-chart canvas {
    width: 100%;
    height: 100%;
    background-color: var(--profile-gray-light);
}

/** Breakdown **/

@media (min-width: 992px) {
    .profile-content .breakdown-row {
        flex-direction: row;
        justify-content: end;
    }
}

.profile-content .breakdown {
    flex-basis: calc(64% - (var(--profile-box-gap) / 2));
    flex-shrink: 0;
    flex-grow: 0;
    container-type: inline-size;
}

@media (min-width: 992px) {
    .profile-content .breakdown {
        width: calc(64% - (var(--profile-box-gap) / 2));
    }
}

.profile-content .breakdown .header {
    display: flex;
    flex-direction: column;
    gap: var(--profile-box-gap);
    padding-bottom: 20px;
}

@container (min-width: 640px) {
    .profile-content .breakdown .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.profile-content .breakdown .header .box-title {
    flex-grow: 0;
    margin-bottom: 0;
}

.profile-content .breakdown .season-title {
    font-size: 16px;
    font-family: var(--profile-font-family);
    font-weight: 800;
}

.profile-content .breakdown .breakdown-table-wrap {
    overflow-x: auto;
}

.profile-content .breakdown .breakdown-table-wrap .breakdown-table  {
    margin-bottom: 0;
    width: 100%;
    table-layout: auto;
}

.profile-content .breakdown .breakdown-table-wrap .breakdown-table thead tr th {
    background-color: var(--profile-gray-light);
    color: var(--profile-yellow);
    font-size: 14px;
    font-weight: 800;
    font-family: var(--profile-font-family);
    white-space: nowrap;
    cursor: pointer;
}

.profile-content .breakdown .breakdown-table-wrap .breakdown-table tbody tr td {
    background-color: var(--profile-gray-darker);
    font-size: 14px;
    font-weight: 800;
    font-family: var(--profile-font-family);
}

.profile-content .breakdown .breakdown-table-wrap .breakdown-table tbody tr:nth-child(even) td {
    background-color: transparent;
}

/** Activity **/

@media (min-width: 992px) {
    .profile-content .activity-row {
        flex-direction: row;
        justify-content: end;
    }
}

.profile-content .activity {
    flex-basis: calc(64% - (var(--profile-box-gap) / 2));
    flex-shrink: 0;
    flex-grow: 0;
}

.profile-content .activity .list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--profile-box-gap);
    max-height: 230px;
    overflow: auto;
}

.profile-content .activity .list .item {
    list-style: none;
    padding: 10px 20px;
    background-color: var(--profile-white);
    border-radius: 10px;
    color: var(--profile-gray-darker);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-content .activity .list .item .icon {
    color: var(--profile-red);
    height: 20px;
    width: 20px;
}

/** Disclaimer **/

@media (min-width: 992px) {
    .profile-content .disclaimer-row {
        justify-content: end;
        flex-direction: row;
    }
}

.profile-content .disclaimer {
    flex-basis: calc(64% - (var(--profile-box-gap) / 2));
    flex-shrink: 0;
    flex-grow: 0;
}

