.club-page {
    --club-colour: #f0c545;

    width: 100%;
    padding: 18px 20px 28px;
}

.club-identity {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 0 0 14px;
    padding: 16px 18px;

    background: #0b1728;
    border: 0;
    border-radius: 5px;
}

.club-identity__badge-wrap {
    width: 92px;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 92px;

    background: #07111f;
    border: 0;
    border-radius: 5px;
}

.club-identity__badge {
    width: 78px;
    height: 78px;

    object-fit: contain;
    display: block;
}

.club-identity__main {
    min-width: 0;
}

.club-identity__name {
    margin: 0;

    color: #f0c545;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 900;
}


/* CLUB TABS */

.club-tabs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;

    margin-bottom: 14px;

    background: #0b1728;
}

.club-tabs__button {
    position: relative;

    min-height: 48px;

    border: 0;
    border-radius: 0;

    background: transparent;
    color: #d5dceb;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
}

.club-tabs__button:hover {
    background: #101d31;
    color: #ffffff;
}

.club-tabs__button.is-active {
    background: #101d31;
    color: #f0c545;
}

.club-tabs__button.is-active::after {
    content: "";

    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;

    height: 3px;

    background: #f0c545;
}

.club-content {
    width: 100%;
}

.club-panel {
    width: 100%;
}

.club-panel[hidden] {
    display: none;
}


/* OVERVIEW */

.club-overview {
    display: grid;
    grid-template-columns: 1.55fr 0.9fr;
    gap: 14px;

    align-items: stretch;
}

.club-overview__media,
.club-overview__info {
    min-width: 0;
}


/* STADIUM / KITS */

.club-overview__media {
    padding: 10px;

    background: #0b1728;
    border: 0;
    border-radius: 5px;
}

.club-overview__stadium-image-wrap {
    position: relative;

    height: 330px;

    overflow: hidden;

    background: #07111f;
    border: 0;
    border-radius: 4px;
}

.club-overview__stadium-image-wrap.is-missing {
    background: #07111f;
}

.club-overview__stadium-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}

.club-overview__stadium-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;

    padding: 44px 14px 13px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(0, 0, 0, 0.92)
        );
}

.club-overview__stadium-label {
    margin-bottom: 3px;

    color: var(--club-colour);

    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club-overview__stadium-name {
    color: #ffffff;

    font-size: 21px;
    line-height: 1.1;
    font-weight: 900;
}

.club-overview__capacity {
    flex: 0 0 auto;

    padding: 7px 10px;

    background: rgba(0, 0, 0, 0.74);
    border: 0;
    border-radius: 4px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}

.club-visuals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;

    margin-top: 9px;
}

.club-visuals__item {
    height: 118px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #07111f;
    border: 0;
    border-radius: 4px;
}

.club-visuals__image {
    width: 100px;
    height: 100px;

    max-width: 90%;
    max-height: 90%;

    object-fit: contain;
    display: block;
}


/* MANAGER / CAPTAIN */

.club-overview__info {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 9px;
}

.club-detail-card {
    min-height: 88px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 13px 16px;

    background: #101d31;
    border: 0;
    border-radius: 5px;
}

.club-detail-card--captain {
    min-height: 100px;

    display: grid;
    grid-template-columns: 1fr 82px;
    gap: 14px;

    align-items: center;
}

.club-detail-card__label {
    margin-bottom: 7px;

    color: var(--club-colour);

    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club-detail-card__value {
    color: #ffffff;

    font-size: 24px;
    line-height: 1.05;
    font-weight: 900;

    word-break: break-word;
}

.club-detail-card__captain-image {
    width: 78px;
    height: 78px;

    object-fit: cover;
    display: block;

    border: 0;
    border-radius: 50%;

    background: #07111f;
}


/* CLUB COUNTS */

.club-counts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));

    gap: 8px;

    min-height: 0;
    height: 100%;
}

.club-count {
    min-width: 0;
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 10px;

    background: #101d31;
    border: 0;
    border-radius: 5px;

    text-align: center;

    grid-column: auto !important;
}

.club-count:last-child {
    grid-column: auto !important;
}

.club-count strong {
    display: block;

    margin-bottom: 5px;

    color: var(--club-colour);

    font-size: 27px;
    line-height: 1;
    font-weight: 900;
}

.club-count span {
    color: #d5dceb;

    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
}

.club-count--injury strong,
.club-count--suspension strong {
    color: #ffffff;
}


/* CLUB DASHBOARD */

.club-dashboard-row {
    display: grid;
    gap: 10px;

    margin-top: 12px;
}

.club-dashboard-row--primary,
.club-dashboard-row--secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-dashboard-card {
    min-width: 0;

    padding: 12px 14px;

    background: #0b1728;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 5px;
}

.club-dashboard-card__title {
    margin: 0 0 10px;

    color: #f0c545;

    font-size: 12px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.club-dashboard-empty {
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aeb8cc;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    text-align: center;
}


/* NEXT FIXTURE */

.club-dashboard-card--fixture,
.club-dashboard-card--form {
    min-height: 0;
}

.club-next-fixture {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 2px 0 5px;
}

.club-next-fixture__matchup {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.club-next-fixture__team {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    text-align: center;
}

.club-next-fixture__badge {
    width: 68px;
    height: 68px;

    object-fit: contain;
    display: block;
}

.club-next-fixture__team-name {
    max-width: 100%;

    overflow: hidden;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.15;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.club-next-fixture__versus {
    color: #ffffff;

    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
}

.club-next-fixture__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 12px;

    color: #d5dceb;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.club-next-fixture__dot {
    width: 5px;
    height: 5px;

    display: inline-block;

    flex: 0 0 5px;

    background: #f0c545;
    border-radius: 50%;
}

.club-next-fixture__date {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 8px;

    color: #ffffff;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.club-next-fixture__calendar {
    position: relative;

    width: 12px;
    height: 11px;

    display: inline-block;

    flex: 0 0 12px;

    border: 1px solid #d5dceb;
    border-radius: 2px;
}

.club-next-fixture__calendar::before {
    content: "";

    position: absolute;
    left: 1px;
    right: 1px;
    top: 2px;

    height: 1px;

    background: #d5dceb;
}

.club-next-fixture__deadline {
    color: #9eabc0;
}


/* FORM */

.club-dashboard-card--form {
    display: flex;
    flex-direction: column;
}

.club-form-reveal {
    flex: 1;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 0;
    padding: 12px;

    border: 0;
    border-radius: 4px;

    background: transparent;
    color: #ffffff;

    font-family: inherit;

    cursor: pointer;
}

.club-form-reveal[hidden] {
    display: none;
}

.club-form-reveal:hover,
.club-form-reveal:focus-visible {
    background: #101d31;
}

.club-form-reveal__lock {
    position: relative;

    width: 22px;
    height: 18px;

    margin-bottom: 4px;

    border: 3px solid #ffffff;
    border-radius: 3px;
}

.club-form-reveal__lock::before {
    content: "";

    position: absolute;
    left: 3px;
    top: -13px;

    width: 10px;
    height: 11px;

    border: 3px solid #ffffff;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.club-form-reveal strong {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.club-form-reveal span:last-child {
    color: #9eabc0;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
}

.club-form-results {
    flex: 1;

    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    padding: 12px;

    border-radius: 4px;

    cursor: pointer;
}

.club-form-results[hidden] {
    display: none;
}

.club-form-results:hover,
.club-form-results:focus-visible {
    background: #101d31;
    outline: none;
}

.club-form-result {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #15243a;
    border: 2px solid #33435b;
    border-radius: 50%;

    color: #ffffff;

    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.club-form-result.is-win {
    background: #123827;
    border-color: #2db86d;
    color: #65dc98;
}

.club-form-result.is-draw {
    background: #37321c;
    border-color: #c9aa39;
    color: #f0d463;
}

.club-form-result.is-loss {
    background: #3c1d26;
    border-color: #d34b64;
    color: #f2798f;
}


/* TEAM STATISTICS */

.club-dashboard-card--stats {
    margin-top: 10px;
}

.club-season-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.club-season-stat {
    min-width: 0;
    min-height: 62px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 7px 10px;

    border-right: 1px solid rgba(255, 255, 255, 0.10);

    text-align: center;
}

.club-season-stat:last-child {
    border-right: 0;
}

.club-season-stat span {
    color: #b9c3d6;

    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

.club-season-stat strong {
    margin-top: 8px;

    color: #ffffff;

    font-size: 21px;
    line-height: 1;
    font-weight: 900;
}


/* SEASON LEADERS */

.club-dashboard-card--leaders,
.club-dashboard-card--records {
    min-height: 210px;
}

.club-season-leaders {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
}

.club-season-leader {
    min-height: 78px;

    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;

    padding: 7px 3px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.club-season-leader:last-child {
    border-bottom: 0;
}

.club-season-leader__image {
    width: 54px;
    height: 54px;

    object-fit: cover;
    object-position: top center;
    display: block;

    background: #07111f;
    border-radius: 50%;
}

.club-season-leader__details {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.club-season-leader__details span {
    color: #b9c3d6;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.club-season-leader__details strong {
    overflow: hidden;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.1;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.club-season-leader__value {
    min-width: 52px;

    color: #f0c545;

    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
}

.club-season-leader .club-dashboard-empty {
    grid-column: 1 / -1;
    min-height: 64px;
}


/* SEASON RECORDS */

.club-season-records {
    display: grid;
}

.club-season-record {
    min-height: 57px;

    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;

    padding: 6px 2px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.club-season-record:last-child {
    border-bottom: 0;
}

.club-season-record__icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid currentColor;
    border-radius: 50%;

    font-size: 17px;
    line-height: 1;
    font-weight: 900;
}

.club-season-record__icon--win {
    color: #32c675;
}

.club-season-record__icon--loss {
    color: #e04d68;
}

.club-season-record__icon--score {
    color: #f0c545;
}

.club-season-record > div {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.club-season-record > div > span {
    color: #b9c3d6;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.club-season-record strong {
    overflow: hidden;

    color: #ffffff;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}



/* CLUB SQUAD */

.club-squad {
    width: 100%;
    padding: 16px;

    background: #0b1728;
    border-radius: 5px;
}

.club-raw-roster {
    width: 100%;

    overflow: visible;

    background: #07111f;
    border-radius: 4px;
}

.club-raw-roster__content {
    width: 100%;
    min-height: 570px;

    margin: 0;
    padding: 15px 12px;

    overflow: visible;

    background: #07111f;
    color: #dce4f2;

    border: 0;
    border-radius: 4px;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 13.5px;
    line-height: 18px;

    white-space: pre;
    tab-size: 4;
}

.club-raw-roster__empty {
    min-height: 570px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: #07111f;
    color: #aeb8cc;

    border-radius: 4px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

.club-squad__summary-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 8px;

    margin: 14px 0;
}

.club-squad__download,
.club-squad__wage-bill {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 3px;
}

.club-squad__download {
    padding: 0 18px;

    background: #162b6f;
    border: 0;

    color: #ffffff;

    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.025em;

    cursor: pointer;
}

.club-squad__download:hover,
.club-squad__download:focus-visible {
    background: #1c3689;
    color: #ffffff;
}

.club-squad__download.is-copied {
    background: #16794b;
}

.club-squad__download.is-error {
    background: #9e2f3f;
}

.club-squad__wage-bill {
    gap: 8px;

    padding: 0 16px;

    background: #101d31;
    color: #aeb8cc;

    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.club-squad__wage-bill strong {
    color: #f0c545;

    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    text-transform: none;
    letter-spacing: 0;
}

.club-player-list {
    width: 100%;

    display: grid;
    gap: 5px;
}

.club-player-list__empty {
    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: #101d31;
    color: #aeb8cc;

    border-radius: 4px;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

.club-player-card {
    width: 100%;
    min-height: 92px;

    display: grid;
    grid-template-columns: 260px 118px 118px minmax(0, 1fr);
    align-items: center;
    gap: 14px;

    padding: 11px 14px;

    background: #101d31;
    border-left: 3px solid transparent;
    border-radius: 4px;

    transition:
        background 0.16s ease,
        border-color 0.16s ease;
}

.club-player-card:nth-child(even) {
    background: #0d1a2d;
}

.club-player-card:hover {
    background: #14243b;
    border-left-color: #f0c545;
}

.club-player-card__identity {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 12px;
}

.club-player-card__photo-link {
    width: 54px;
    height: 54px;

    display: block;
    flex: 0 0 54px;

    border-radius: 50%;
    text-decoration: none;
    outline: none;
}

.club-player-card__photo {
    width: 54px;
    height: 54px;


    object-fit: cover;
    object-position: top center;
    display: block;

    background: #07111f;
    border: 2px solid rgba(240, 197, 69, 0.28);
    border-radius: 50%;
}

.club-player-card__identity-main {
    min-width: 0;
}

.club-player-card__name-row {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 7px;
}

.club-player-card__name {
    min-width: 0;

    display: block;
    overflow: hidden;

    color: #ffffff;

    font-size: 16px;
    line-height: 1.15;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    outline: none;

    transition: color 0.16s ease;
}

.club-player-card__photo-link:hover .club-player-card__photo,
.club-player-card__photo-link:focus-visible .club-player-card__photo {
    border-color: #f0c545;
}

.club-player-card__name:hover,
.club-player-card__name:focus-visible {
    color: #f0c545;
}

.club-player-card__statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;

    margin-top: 6px;
}

.club-player-status {
    min-height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 7px;

    background: #263750;
    color: #dce4f2;

    border-radius: 999px;

    font-size: 8px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.club-player-status.is-captain {
    background: rgba(240, 197, 69, 0.15);
    color: #f0c545;
}

.club-player-status.is-loan {
    background: rgba(76, 145, 224, 0.16);
    color: #79b2f2;
}

.club-player-status.is-callup {
    background: rgba(45, 184, 109, 0.14);
    color: #5ed391;
}

.club-player-status.is-retiring {
    background: rgba(224, 77, 104, 0.14);
    color: #ef7d91;
}

.club-player-card__money {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.club-player-card__money span {
    color: #8793aa;

    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.club-player-card__money strong {
    color: #ffffff;

    font-size: 16px;
    line-height: 1;
    font-weight: 900;
}

.club-player-card__minutes {
    min-width: 0;
}

.club-player-card__minutes-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 9px;
}

.club-player-card__minutes-topline > span {
    color: #aeb8cc;

    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;
}

.club-player-card__minutes-topline > span:first-child {
    color: #ffffff;
    font-weight: 800;
}

.club-player-card__progress {
    position: relative;

    width: 100%;
    height: 9px;

    overflow: hidden;

    background: #07111f;
    border-radius: 999px;
}

.club-player-card__progress-fill {
    width: 0;
    height: 100%;

    display: block;

    background: #d34b64;
    border-radius: inherit;
}

.club-player-card__minutes.is-warning .club-player-card__progress-fill {
    background: #c9aa39;
}

.club-player-card__minutes.is-complete .club-player-card__progress-fill {
    background: #2db86d;
}

.club-player-card__minutes.is-complete .club-player-card__minutes-topline > span:last-child {
    color: #5ed391;
}

.club-player-card__minutes.is-warning .club-player-card__minutes-topline > span:last-child {
    color: #e3c35b;
}

.club-player-card__minutes.is-danger .club-player-card__minutes-topline > span:last-child {
    color: #ef7d91;
}

.club-player-card__minutes-na {
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    color: #7f8aa0;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
}

/* CLUB FIXTURES */

.club-fixtures {
    width: 100%;

    padding: 16px;

    background: #0b1728;
    border-radius: 5px;
}

.club-fixtures__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 14px;
}

.club-fixtures__title {
    margin: 0;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.club-fixtures__subtitle {
    margin: 4px 0 0;

    color: #8f9bb0;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.club-fixtures__filters {
    display: flex;
    align-items: center;
    gap: 5px;
}

.club-fixtures__filter {
    min-height: 34px;

    padding: 0 13px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 3px;

    background: #101d31;
    color: #aeb8cc;

    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;

    cursor: pointer;
}

.club-fixtures__filter:hover {
    background: #162640;
    color: #ffffff;
}

.club-fixtures__filter.is-active {
    background: #f0c545;
    border-color: #f0c545;

    color: #07111f;
}

.club-fixtures__list {
    display: grid;
    gap: 4px;
}

.club-fixtures__empty {
    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #aeb8cc;

    font-size: 13px;
    font-weight: 700;
}


/* FIXTURE ROW */

.club-fixture-row {
    min-height: 72px;

    display: grid;
    grid-template-columns:
        58px
        150px
        minmax(0, 1fr)
        112px;

    align-items: center;
    gap: 12px;

    padding: 8px 10px;

    background: #101d31;
    border-left: 3px solid transparent;
    border-radius: 3px;
}

.club-fixture-row:hover {
    background: #13223a;
}

.club-fixture-row.is-complete {
    border-left-color: #33435b;
}

.club-fixture-row.is-upcoming {
    border-left-color: #f0c545;
}

.club-fixture-row[hidden] {
    display: none;
}


/* DATE */

.club-fixture-row__date {
    min-height: 48px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-right: 1px solid rgba(255, 255, 255, 0.08);

    text-align: center;
}

.club-fixture-row__date strong {
    color: #ffffff;

    font-size: 19px;
    line-height: 1;
    font-weight: 900;
}

.club-fixture-row__date span {
    margin-top: 4px;

    color: #f0c545;

    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.05em;
}


/* COMPETITION */

.club-fixture-row__competition {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.club-fixture-row__competition strong {
    overflow: hidden;

    color: #ffffff;

    font-size: 11px;
    line-height: 1.1;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.club-fixture-row__competition span {
    overflow: hidden;

    color: #8f9bb0;

    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* MATCH */

.club-fixture-row__match {
    min-width: 0;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        64px
        minmax(0, 1fr);

    align-items: center;
    gap: 10px;
}

.club-fixture-row__team {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 9px;
}

.club-fixture-row__team--home {
    justify-content: flex-end;
    text-align: right;
}

.club-fixture-row__team--away {
    justify-content: flex-start;
    text-align: left;
}

.club-fixture-row__team img {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    object-fit: contain;
    display: block;
}

.club-fixture-row__team span {
    overflow: hidden;

    color: #e8edf7;

    font-size: 12px;
    line-height: 1.1;
    font-weight: 800;

    white-space: nowrap;
    text-overflow: ellipsis;
}


/* SCORE / V */

.club-fixture-row__score {
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.club-fixture-row__score strong {
    min-width: 48px;

    padding: 8px 7px;

    background: #07111f;
    border-radius: 3px;

    color: #ffffff;

    font-size: 15px;
    line-height: 1;
    font-weight: 900;
}


/* REPORT / UPCOMING */

.club-fixture-row__action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.club-fixture-row__report {
    min-width: 104px;
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;

    background: #162b6f;
    border: 0;
    border-radius: 3px;

    color: #ffffff;

    font-family: inherit;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;
}

.club-fixture-row__report:hover,
.club-fixture-row__report:focus-visible {
    background: #1c3689;
    color: #ffffff;
}

.club-fixture-row__status {
    min-width: 82px;

    padding: 7px 8px;

    background: rgba(240, 197, 69, 0.08);
    border: 1px solid rgba(240, 197, 69, 0.24);
    border-radius: 3px;

    color: #f0c545;

    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}


/* IN-PLACE MATCH REPORT */

.club-fixture-report-viewer {
    width: 100%;

    background: #101d31;
    border-radius: 4px;

    overflow: hidden;
}

.club-fixture-report-viewer[hidden] {
    display: none;
}

.club-fixture-report-viewer__header {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 14px 16px;

    background: #07111f;
    border-bottom: 3px solid #f0c545;
}

.club-fixture-report-viewer__header > div {
    min-width: 0;
}

.club-fixture-report-viewer__title {
    margin: 0;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.club-fixture-report-viewer__meta {
    margin-top: 6px;

    color: #aeb8cc;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
}

.club-fixture-report-viewer__close {
    flex: 0 0 auto;

    min-height: 36px;

    padding: 0 14px;

    background: #162b6f;
    border: 0;
    border-radius: 3px;

    color: #ffffff;

    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;

    cursor: pointer;
}

.club-fixture-report-viewer__close:hover,
.club-fixture-report-viewer__close:focus-visible {
    background: #1c3689;
}

.club-fixture-report-viewer__status {
    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    color: #aeb8cc;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

.club-fixture-report-viewer__status[hidden] {
    display: none;
}

.club-fixture-report-viewer__content {
    width: 100%;

    margin: 0;
    padding: 20px;

    overflow-x: auto;

    background: #07111f;
    color: #dce4f2;

    border: 0;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 16px;
    line-height: 1.5;

    white-space: pre;
    tab-size: 4;
}

.club-fixture-report-viewer__content[hidden] {
    display: none;
}


/* CLUB FINANCES */

.club-finance {
    width: 100%;

    display: grid;
    gap: 14px;
}

.club-finance .is-positive {
    color: #4fd68a;
}

.club-finance .is-negative {
    color: #ef7188;
}

.club-finance .is-neutral {
    color: #dce4f2;
}

.club-finance-hero {
    width: 100%;

    padding: 22px 22px 18px;

    background: #0b1728;

    border-top: 3px solid #f0c545;
    border-radius: 5px;

    text-align: center;
}

.club-finance-hero__label {
    display: block;

    color: #9aa7bd;

    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.club-finance-hero__balance {
    display: block;

    margin-top: 8px;

    color: #ffffff;

    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.club-finance-hero__summary {
    max-width: 720px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;

    margin: 20px auto 0;
}

.club-finance-summary-stat {
    min-height: 70px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 10px 12px;

    background: #101d31;
    border-radius: 4px;
}

.club-finance-summary-stat span {
    color: #8f9bb0;

    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.club-finance-summary-stat strong {
    color: #ffffff;

    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.club-finance-section {
    width: 100%;

    padding: 16px;

    background: #0b1728;
    border-radius: 5px;
}

.club-finance-section__heading-row {
    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 12px;
}

.club-finance-section__title {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
}

.club-finance-section__heading-row .club-finance-section__title {
    margin-bottom: 0;
}

.club-finance-section__net {
    flex: 0 0 auto;

    font-size: 17px;
    line-height: 1;
    font-weight: 900;
}

.club-finance-season-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.club-finance-season-card {
    position: relative;

    min-height: 82px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px;

    overflow: hidden;

    background: #101d31;
    border-radius: 4px;
}

.club-finance-season-card::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: #5b6880;
}

.club-finance-season-card.is-cost::before {
    background: #d34b64;
}

.club-finance-season-card.is-income::before {
    background: #2db86d;
}

.club-finance-season-card span {
    color: #8f9bb0;

    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.club-finance-season-card strong {
    color: #ffffff;

    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.club-finance-season-card.is-cost strong {
    color: #ef7188;
}

.club-finance-season-card.is-income strong {
    color: #4fd68a;
}

.club-finance-months {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.club-finance-month {
    overflow: hidden;

    background: #101d31;
    border-radius: 4px;
}

.club-finance-month__header {
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    padding: 0 12px;

    background: #07111f;
    border-bottom: 2px solid #162b6f;
}

.club-finance-month__header span {
    color: #ffffff;

    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.club-finance-month__header strong {
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.club-finance-month__rows {
    padding: 5px 10px 7px;
}

.club-finance-month__row {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.club-finance-month__row:last-child {
    border-bottom: 0;
}

.club-finance-month__row span {
    color: #9ca8bc;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;
}

.club-finance-month__row strong {
    color: #dce4f2;

    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

.club-finance-loans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: center;
    gap: 8px;

    margin-bottom: 12px;
}

.club-finance-loan {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 0 13px;

    background: #101d31;
    border-radius: 4px;
}

.club-finance-loan span {
    color: #8f9bb0;

    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.club-finance-loan strong {
    color: #ffffff;

    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.club-finance-transfers {
    display: grid;
    gap: 5px;
}

.club-finance-transfers__empty {
    min-height: 86px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #101d31;
    color: #8490a5;

    border-radius: 4px;

    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
}

.club-finance-transfer {
    min-height: 62px;

    display: grid;
    grid-template-columns: 94px minmax(0, 1fr) 120px;
    align-items: center;
    gap: 14px;

    padding: 9px 13px;

    background: #101d31;
    border-left: 3px solid transparent;
    border-radius: 4px;

    transition:
        background 0.16s ease,
        border-color 0.16s ease;
}

.club-finance-transfer:nth-child(even) {
    background: #0d1a2d;
}

.club-finance-transfer:hover {
    background: #14243b;
    border-left-color: #f0c545;
}

.club-finance-transfer__date {
    color: #8490a5;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
}

.club-finance-transfer__player {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.club-finance-transfer__player strong {
    overflow: hidden;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.1;
    font-weight: 900;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.club-finance-transfer__player span {
    overflow: hidden;

    color: #9ca8bc;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.club-finance-transfer__fee {
    justify-self: end;

    color: #ffffff;

    font-size: 15px;
    line-height: 1;
    font-weight: 900;
    text-align: right;
}


/* CLUB ACADEMY */

.club-academy {
    width: 100%;

    display: grid;
    gap: 14px;
}

.club-academy__top {
    width: 100%;

    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 12px;

    align-items: stretch;
}

.club-academy-staff,
.club-academy-roster,
.club-academy-training {
    background: #0b1728;
    border-radius: 5px;
}

.club-academy-staff,
.club-academy-roster {
    min-width: 0;
    padding: 14px;
}

.club-academy__section-title {
    margin: 0 0 11px;

    color: #f0c545;

    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.club-academy-staff__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.club-academy-staff__card {
    min-height: 62px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;

    padding: 10px 11px;

    background: #101d31;
    border-radius: 4px;
}

.club-academy-staff__card--wide {
    grid-column: 1 / -1;
    min-height: 54px;
}

.club-academy-staff__label {
    color: #8f9bb0;

    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.club-academy-staff__value {
    color: #ffffff;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
}

.club-academy-staff__value.is-positive {
    color: #2db86d;
}

.club-academy-staff__value.is-muted {
    color: #8490a5;
}

.club-academy-roster {
    overflow: hidden;
}

.club-academy-roster__content {
    width: 100%;
    min-height: 240px;

    margin: 0;
    padding: 13px 11px;

    overflow-x: auto;
    overflow-y: visible;

    background: #07111f;
    color: #dce4f2;

    border: 0;
    border-radius: 4px;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 14px;
    line-height: 19px;

    white-space: pre;
    tab-size: 4;
}

.club-academy-roster__empty {
    min-height: 240px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: #07111f;
    color: #8490a5;

    border-radius: 4px;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

.club-academy-training {
    width: 100%;
    padding: 14px;
}

.club-academy-training__heading {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 10px;
}

.club-academy-training__heading .club-academy__section-title {
    margin-bottom: 0;
}

.club-academy-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 3px;

    background: #07111f;
    border-radius: 4px;
}

.club-academy-view-toggle__button {
    min-width: 100px;
    height: 30px;

    padding: 0 12px;

    border: 0;
    border-radius: 3px;

    background: transparent;
    color: #9ca8bc;

    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.035em;

    cursor: pointer;
}

.club-academy-view-toggle__button:hover,
.club-academy-view-toggle__button:focus-visible {
    color: #ffffff;
    outline: none;
}

.club-academy-view-toggle__button.is-active {
    background: #f0c545;
    color: #07111f;
}

.club-academy-weeks {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
}

.club-academy-week {
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #24344d;
    border-radius: 3px;

    background: #101d31;
    color: #dce4f2;

    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;

    cursor: pointer;

    transition:
        background 0.14s ease,
        border-color 0.14s ease,
        color 0.14s ease;
}

.club-academy-week.is-available:hover,
.club-academy-week.is-available:focus-visible {
    background: #14243b;
    border-color: #f0c545;
    color: #ffffff;
    outline: none;
}

.club-academy-week.is-active {
    background: #f0c545;
    border-color: #f0c545;
    color: #07111f;
}

.club-academy-week.is-unavailable,
.club-academy-week:disabled {
    background: #0a1525;
    border-color: #16243a;
    color: #4f5d73;

    cursor: default;
    opacity: 0.72;
}

.club-academy-training__special {
    display: flex;
    justify-content: center;

    margin: 10px 0 12px;
}

.club-academy-midseason {
    min-width: 220px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 18px;

    border: 1px solid #31405a;
    border-radius: 3px;

    background: #101d31;
    color: #ffffff;

    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.035em;

    cursor: pointer;

    transition:
        background 0.14s ease,
        border-color 0.14s ease,
        color 0.14s ease;
}

.club-academy-midseason.is-available:hover,
.club-academy-midseason.is-available:focus-visible {
    background: #14243b;
    border-color: #f0c545;
    outline: none;
}

.club-academy-midseason.is-active {
    background: #f0c545;
    border-color: #f0c545;
    color: #07111f;
}

.club-academy-midseason.is-unavailable,
.club-academy-midseason:disabled {
    background: #0a1525;
    border-color: #16243a;
    color: #4f5d73;

    cursor: default;
    opacity: 0.72;
}

.club-academy-viewer {
    width: 100%;

    overflow: hidden;

    background: #07111f;
    border-radius: 4px;
}

.club-academy-viewer__header {
    min-height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    padding: 0 14px;

    background: #101d31;
    border-bottom: 1px solid #1c2b42;
}

.club-academy-viewer__title {
    margin: 0;

    color: #ffffff;

    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.club-academy-viewer__mode {
    color: #f0c545;

    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.club-academy-viewer__status[hidden] {
    display: none;
}

.club-academy-viewer__status {
    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    color: #8490a5;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

.club-academy-viewer__content {
    width: 100%;
    min-height: 420px;
    max-height: 900px;

    margin: 0;
    padding: 14px;

    overflow: auto;

    background: #07111f;
    color: #dce4f2;

    border: 0;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 11.5px;
    line-height: 16px;

    white-space: pre;
    tab-size: 4;
}

.club-academy-viewer__content[hidden] {
    display: none;
}


/* CLUB HISTORY */

.club-history {
    width: 100%;

    display: grid;
    gap: 14px;
}

.club-history-section {
    width: 100%;

    padding: 16px;

    background: #0b1728;
    border-radius: 5px;
}

.club-history-section__header {
    min-height: 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 12px;
}

.club-history-section__title {
    margin: 0;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
}

.club-history-section__count {
    color: #f0c545;

    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.club-history-empty {
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #101d31;
    border-radius: 4px;

    color: #8490a5;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

/* TROPHY CABINET */

.club-history-trophy-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.club-history-trophy {
    min-height: 156px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px;

    background: #101d31;
    border-radius: 4px;

    text-align: center;
}

.club-history-trophy__image {
    width: 84px;
    height: 84px;

    display: block;

    object-fit: contain;
}

.club-history-trophy__details {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.club-history-trophy__details strong {
    color: #ffffff;

    font-size: 11px;
    line-height: 1.15;
    font-weight: 900;
}

.club-history-trophy__details span {
    color: #f0c545;

    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

/* LEAGUE HISTORY */

.club-history-table-wrap {
    width: 100%;

    overflow: hidden;

    background: #101d31;
    border-radius: 4px;
}

.club-history-table {
    width: 100%;

    border-collapse: collapse;
    table-layout: fixed;
}

.club-history-table th,
.club-history-table td {
    padding: 11px 8px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    text-align: center;
    font-variant-numeric: tabular-nums;
}

.club-history-table th {
    background: #07111f;
    color: #9ca8bc;

    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.club-history-table td {
    color: #dce4f2;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
}

.club-history-table tbody tr:nth-child(even) td {
    background: #0d1a2d;
}

.club-history-table tbody tr:last-child td {
    border-bottom: 0;
}

.club-history-table th:first-child,
.club-history-table td:first-child {
    width: 120px;

    text-align: left;
    padding-left: 14px;
}

.club-history-table th:nth-child(2),
.club-history-table td:nth-child(2) {
    width: 72px;
}

/* ARCHIVED ROSTERS / ACADEMIES */

.club-history-archive-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 12px;
}

.club-history-archive-button {
    min-width: 92px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    background: #101d31;
    border: 1px solid #31405a;
    border-radius: 3px;

    color: #dce4f2;

    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.14s ease,
        border-color 0.14s ease,
        color 0.14s ease;
}

.club-history-archive-button.is-available:hover,
.club-history-archive-button.is-available:focus-visible {
    background: #14243b;
    border-color: #f0c545;
    color: #ffffff;
    outline: none;
}

.club-history-archive-button.is-active {
    background: #f0c545;
    border-color: #f0c545;
    color: #07111f;
}

.club-history-archive-button.is-unavailable,
.club-history-archive-button:disabled {
    background: #0a1525;
    border-color: #16243a;
    color: #4f5d73;

    cursor: default;
    opacity: 0.72;
}

.club-history-archive-none {
    color: #8490a5;

    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
}

.club-history-viewer {
    width: 100%;

    overflow: hidden;

    background: #07111f;
    border-radius: 4px;
}

.club-history-viewer__header {
    min-height: 46px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    background: #101d31;
    border-bottom: 1px solid #1c2b42;
}

.club-history-viewer__title {
    margin: 0;

    color: #ffffff;

    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.club-history-viewer__status {
    min-height: 125px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    color: #8490a5;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

.club-history-viewer__status[hidden] {
    display: none;
}

.club-history-viewer__content {
    width: 100%;
    min-height: 320px;
    max-height: 720px;

    margin: 0;
    padding: 14px;

    overflow: auto;

    background: #07111f;
    color: #dce4f2;

    border: 0;

    font-family:
        Consolas,
        "Courier New",
        monospace;

    font-size: 12px;
    line-height: 17px;

    white-space: pre;
    tab-size: 4;
}

.club-history-viewer__content[hidden] {
    display: none;
}

/* EMPTY TABS */

.club-panel__placeholder {
    min-height: 340px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b1728;
    border: 0;
    border-radius: 5px;

    color: #c9d2e4;

    font-size: 18px;
    font-weight: 800;
}


/* PLAYER PROFILE MODAL */

body.is-player-profile-modal-open {
    overflow: hidden;
}

.player-profile-modal[hidden] {
    display: none;
}

.player-profile-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.player-profile-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(2, 8, 18, 0.84);
    cursor: pointer;
}

.player-profile-modal__dialog {
    position: relative;
    z-index: 1;

    width: 950px;
    max-width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    max-height: 940px;

    display: flex;
    flex-direction: column;
    overflow: hidden;

    background: #07111f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 3px solid #f0c545;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.58);
}

.player-profile-modal__bar {
    min-height: 52px;
    padding: 0 10px 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 0 0 auto;

    background: #0b1728;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.player-profile-modal__bar strong {
    min-width: 0;
    overflow: hidden;

    color: #f0c545;

    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.player-profile-modal__close {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;

    padding: 0;

    background: #101d31;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;

    color: #ffffff;

    font-family: inherit;
    font-size: 30px;
    line-height: 1;
    font-weight: 500;

    cursor: pointer;
}

.player-profile-modal__close:hover,
.player-profile-modal__close:focus-visible {
    background: #162b6f;
    border-color: #f0c545;
    color: #f0c545;
    outline: none;
}

.player-profile-modal__content {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;

    background: #07111f;
}

.player-profile-modal__content::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.player-profile-modal__content .player-page {
    min-height: 100%;
}

.player-profile-modal__loading,
.player-profile-modal__error {
    min-height: 260px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 30px;

    color: #aeb8cc;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
}

.player-profile-modal__loading::before {
    content: "";

    width: 34px;
    height: 34px;

    border: 3px solid rgba(255, 255, 255, 0.16);
    border-top-color: #f0c545;
    border-radius: 50%;

    animation: player-profile-modal-spin 0.8s linear infinite;
}

.player-profile-modal__error strong {
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.player-profile-modal__error a {
    min-height: 38px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #162b6f;
    color: #ffffff;

    border-radius: 4px;

    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.player-profile-modal__error a:hover,
.player-profile-modal__error a:focus-visible {
    color: #f0c545;
    outline: 1px solid #f0c545;
}

@keyframes player-profile-modal-spin {
    to {
        transform: rotate(360deg);
    }
}


/* FIXED WIDTH MOBILE */

@media (max-width: 1000px) {
    .club-page {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.club-roster-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.club-roster-tabs__button { min-height: 38px; padding: 9px 16px; border: 1px solid rgba(255,255,255,.18); background: #07111f; color: #dce4f2; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.club-roster-tabs__button:hover, .club-roster-tabs__button:focus-visible { border-color: #f0c545; color: #f0c545; }
.club-roster-tabs__button.is-active { border-color: #f0c545; background: #f0c545; color: #162b6f; }
[data-roster-panel][hidden] { display: none !important; }
.club-roster-stats__scope { margin: 0 0 10px; color: #aeb8cc; font-size: 12px; }
.club-roster-stats__table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid rgba(255,255,255,.14); background: #07111f; }
.club-roster-stats__table { width: 100%; border-collapse: collapse; font-size: 12px; }
.club-roster-stats__table th, .club-roster-stats__table td { padding: 11px 9px; border-bottom: 1px solid rgba(255,255,255,.09); color: #dce4f2; text-align: right; white-space: nowrap; }
.club-roster-stats__table th { background: #162b6f; color: #f0c545; font-size: 10px; text-transform: uppercase; }
.club-roster-stats__table th button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; text-transform: inherit; cursor: pointer; }
.club-roster-stats__table th[aria-sort="descending"] button::after { content: ' ↓'; }
.club-roster-stats__table th[aria-sort="ascending"] button::after { content: ' ↑'; }
.club-roster-stats__table th:first-child, .club-roster-stats__table td:first-child { position: sticky; left: 0; min-width: 150px; background: #07111f; text-align: left; }
.club-roster-stats__table th:first-child { background: #162b6f; z-index: 1; }
.club-roster-stats__table tbody tr:nth-child(even), .club-roster-stats__table tbody tr:nth-child(even) td:first-child { background: #0b1728; }
.club-roster-stats__table tbody tr:hover, .club-roster-stats__table tbody tr:hover td:first-child { background: #102038; }
.club-roster-stats__table tr:last-child td { border-bottom: 0; }
.club-roster-stats__table a { color: #fff; font-weight: 800; text-decoration: none; }
.club-roster-stats__table a:hover, .club-roster-stats__table a:focus-visible { color: #f0c545; text-decoration: underline; }
.club-roster-stats__status { padding: 24px 16px; border: 1px solid rgba(255,255,255,.14); color: #aeb8cc; font-size: 13px; background: #07111f; }
.club-roster-stats__retry { margin-top: 10px; padding: 9px 16px; border: 1px solid #f0c545; background: #f0c545; color: #162b6f; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.club-roster-stats__note { margin: 10px 0 0; color: #aeb8cc; font-size: 11px; }
@media (max-width:600px) {
    .club-roster-tabs__button { padding: 9px 12px; font-size: 11px; }
    .club-roster-stats__table-wrap { max-width: min(100%, calc(100vw - 76px)); }
    .club-roster-stats__table { font-size: 11px; }
    .club-roster-stats__table th, .club-roster-stats__table td { padding: 10px 7px; }
    .club-roster-stats__table th:first-child, .club-roster-stats__table td:first-child { min-width: 125px; }
}
