/* =========================================
   League Stats — Tab Content
========================================= */

.tab-content {
    display: none;
    animation: fadeTab 0.18s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeTab {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   League Stats - Tabs
========================================= */
#league-stats-page #logo-box {
    margin-top: 24px;
}

#league-stats-page .lc-league-stats-tabs {
    width: 100%;
    height: 42px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 0 16px;
    gap: 14px;
    margin-top: 24px;
    direction: rtl;
}


/* Tab */

#league-stats-page .lc-league-stats-tab {
    width: auto;
    min-width: 0;
    height: 42px;

    flex: 1 1 0;
    min-width: 0;

    box-sizing: border-box;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 10px;
    
    border: 1px solid #525252;
    border-radius: 8px;

    background: transparent;

    font-family: "ModamFaNum", "Modam", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;

    color: #f8fafc;
    cursor: pointer;
}


/* Active Tab */

#league-stats-page .lc-league-stats-tab.is-active {
    background:
        linear-gradient(
            95.65deg,
            rgba(59, 130, 246, 0) 36.98%,
            rgba(59, 130, 246, 0.49) 88.43%
        ),
        rgba(59, 130, 246, 0.32);
}


/* Tab Content */

#league-stats-page .league-stats-tab-content {
    display: none;
}

#league-stats-page .league-stats-tab-content.is-active {
    display: block;
}

/* =========================================
   League Stats - Statistics Dropdown
========================================= */

#league-stats-page .lc-league-stats-dropdown {
    position: relative;
    width: calc(100% - 32px);
    height: 48px;
    margin-top: 20px;
    margin-left: 16px;
    margin-right: 16px;
}


/* Trigger */

#league-stats-page .lc-league-stats-dropdown__trigger {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 48px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 12px 22px;
    gap: 0px;

        background:
    radial-gradient(
        ellipse at 85% 50%,
        rgba(59, 130, 246, 0.10) 0%,
        rgba(59, 130, 246, 0.035) 35%,
        transparent 70%
    ),
    linear-gradient(
        212.16deg,
        rgba(0, 0, 0, 0) 51.23%,
        rgba(59, 130, 246, 0.0988) 100.43%
    ),
    rgba(59, 130, 246, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.32);

    box-shadow:
        0 4px 16px rgba(30, 60, 180, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 8px;
    direction: ltr;
    cursor: pointer;
}


/* Arrow */

#league-stats-page .lc-league-stats-dropdown__arrow {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Selected text */

#league-stats-page .lc-league-stats-dropdown__selected {
    width: 118px;
    height: 22px;

    flex: 0 0 118px;

    font-family: "ModamFaNum", "Modam", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;

    text-align: right;

    color: #F8FAFC;

    white-space: nowrap;
}


/* Open menu */

#league-stats-page .lc-league-stats-dropdown__menu {
    position: absolute;

    top: 60px;
    right: 0;

    width: 100%;
    height: 474px;
    overflow-y: auto;
    overflow-x: hidden;

    padding: 0;

    background-image:
    linear-gradient(
        188.32deg,
        rgba(0, 0, 0, 0) 51.23%,
        rgba(59, 130, 246, 0.099) 100.43%
    ),
    linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.05) 0%,
        rgba(59, 130, 246, 0.05) 100%
    );

    border: 1px solid rgba(59, 130, 246, 0.18);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 8px;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.15s ease,
        visibility 0.15s ease;

    z-index: 10;
}


/* Open state */

#league-stats-page .lc-league-stats-dropdown.is-open
    .lc-league-stats-dropdown__menu {

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Arrow rotation */

#league-stats-page .lc-league-stats-dropdown.is-open
    .lc-league-stats-dropdown__arrow {

    transform: rotate(180deg);
}


/* Options container */

#league-stats-page .lc-league-stats-dropdown__options {
    width: 100%;
    max-width: 335px;

    display: flex;
    flex-direction: column;

    padding: 0 8px;
    gap: 10px;

    margin: 19px auto 0;

    direction: rtl;
}


/* Option */
#league-stats-page .lc-league-stats-dropdown__option {
    position: relative;
    width: 100%;
    max-width: 319px;
    height: 36px;

    flex: 0 0 36px;

    display: block;

    padding: 0 0 14px 0;

    background: transparent;
    border: 0;

    font-family: "Modam", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;

    color: #F8FAFC;

    text-align: right;
    direction: rtl;

    white-space: nowrap;

    cursor: pointer;
}

#league-stats-page .lc-league-stats-dropdown__option:not(:last-child)::after {
    content: "";
    position: absolute;

    bottom: 0;
    left: 12px;
    right: 12px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.045) 15%,
        rgba(255, 255, 255, 0.09) 50%,
        rgba(255, 255, 255, 0.045) 85%,
        transparent 100%
    );
}

/* Last option */

#league-stats-page .lc-league-stats-dropdown__option:last-child {
    height: 22px;
    flex-basis: 22px;

    padding-bottom: 0;

    border-bottom: 0;
}

/* Player Dropdown - connect old JS */
#league-stats-page .lc-player-dropdown-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#league-stats-page .lc-player-dropdown-arrow {
    transition: transform 0.15s ease;
}

#league-stats-page .lc-player-dropdown-menu {
    scrollbar-width: none;
}

#league-stats-page .lc-player-dropdown-menu::-webkit-scrollbar {
    display: none;
}

#league-stats-page .lc-player-dropdown-menu {
    height: 474px;
    padding-bottom: 12px;
}

#league-stats-page .lc-player-dropdown-menu .lc-league-stats-dropdown__options {
    padding-bottom: 12px;
}

/* =========================================
   Team Stats Filter
========================================= */

.team-stats-filter {
    position: relative;
    width: calc(100% - 32px);
    margin: 20px 16px 0;
    z-index: 1000;
}


/* Trigger */

.team-stats-filter__toggle {
    width: 100%;
    height: 48px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 12px 22px;

    background:
        radial-gradient(
            ellipse at 85% 50%,
            rgba(59, 130, 246, 0.10) 0%,
            rgba(59, 130, 246, 0.035) 35%,
            transparent 70%
        ),
        linear-gradient(
            212.16deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.0988) 100.43%
        ),
        rgba(59, 130, 246, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 8px;

    color: #F8FAFC;
    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        inset 0 -1px 0 rgba(59, 130, 246, 0.08),
        0 4px 24px rgba(0, 0, 0, 0.32),
        0 0 18px rgba(59, 130, 246, 0.08),
        0 0 42px rgba(59, 130, 246, 0.035);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


/* Arrow */

.team-stats-filter__arrow {
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #F8FAFC;

    transition: transform 0.15s ease;
}


/* Label */

.team-stats-filter__label {
    font-family: "ModamFaNum", "Modam", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;

    color: #F8FAFC;
}


/* Open Menu */

.team-stats-filter__menu {
    position: absolute;

    top: 60px;
    right: 0;
    left: 0;

    height: 474px;
    overflow-y: auto;
    overflow-x: hidden;

    padding: 0;

    background-image:
        linear-gradient(
            188.32deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.099) 100.43%
        ),
        linear-gradient(
            90deg,
            rgba(59, 130, 246, 0.05) 0%,
            rgba(59, 130, 246, 0.05) 100%
        );

    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 8px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.3);

    z-index: 9999;
}


/* Options */

.team-stats-filter__item {
    width: 100%;

    display: block;

    padding: 0 0 14px 0;
    margin: 0;

    height: 36px;

    background: transparent;
    border: 0;

    color: #F8FAFC;

    font-family: "ModamFaNum", "Modam", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;

    text-align: right;
    direction: rtl;

    cursor: pointer;
}


/* Remove separator lines */

.team-stats-filter__item,
.team-stats-filter__item:hover {
    border-bottom: 0 !important;
}


/* Hover */

.team-stats-filter__item:hover {
    background: transparent;
    color: #F8FAFC;
}

/* =========================================
   League Stats - Player
========================================= */
#league-stats-player {
    padding-bottom: 102px !important;
}

.lc-player-stats {
    width: calc(100% - 42px);

    margin-top: 24px;
    margin-left: 21px;
    margin-right: 21px;

    display: flex;
    flex-direction: column;
    gap: 0;
}


/* Header */

.lc-player-stats__header {
    width: 100%;
    height: 38px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 0 16px;

    direction: ltr;

    background:
        linear-gradient(
            188.32deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.099) 100.43%
        ),
        rgba(59, 130, 246, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.18);
    border-bottom: none;

    border-radius: 8px 8px 0 0;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


/* View All */

.lc-player-stats__view-all {
    display: flex;
    align-items: center;
    gap: 0;

    padding: 0;
    margin: 0;

    background: none;
    border: 0;

    color: #ffffff;

    font-family: "ModamFaNum", "Modam", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    
}


/* Statistic Title */

.lc-player-stats__title {
    display: flex;
    align-items: center;
    gap: 3px;

    direction: rtl;
}

.lc-player-stats__title span {
    font-family: "Modam", "ModamFaNum", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    padding-right: 12px;
    color: #f8fafc;
}

/* Players Box */

.lc-player-stats__box {
    width: 100%;
    height: 162px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 16px;
    gap:12px;

    background:
        linear-gradient(
            188.32deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.099) 100.43%
        ),
        rgba(59, 130, 246, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 0 0 8px 8px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.3);
}



/* =========================================
   LiveCube — Premium Player Card
========================================= */

.lc-player-card {
    position: relative;
    width: 100%;
    height: 138px;
    overflow: hidden;
    border-radius: 8px;
    isolation: isolate;

    background: #0A101B;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(148, 163, 184, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

/* Background */

.lc-player-card__background {
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        radial-gradient(
            ellipse at 50% 22%,
            rgba(37, 99, 235, 0.19) 0%,
            rgba(20, 45, 82, 0.10) 42%,
            transparent 72%
        ),
        linear-gradient(
            145deg,
            #111D2E 0%,
            #0C1421 48%,
            #080D16 100%
        );
}

/* Player Jersey */

.lc-player-card__image {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    bottom: 24px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    z-index: 1;
    pointer-events: none;
}

.lc-player-card__image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center bottom;

    display: block;

    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.22));
}

/* Bottom Gradient */

.lc-player-card__gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 78%;

    z-index: 4;
    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(8, 13, 22, 0) 0%,
            rgba(8, 13, 22, 0.12) 22%,
            rgba(8, 13, 22, 0.60) 50%,
            rgba(5, 9, 16, 0.94) 79%,
            #050910 100%
        );
}

/* Club Logo */

.lc-player-card__club {
    position: absolute;
    top: 7px;
    left: 7px;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 6;

    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.lc-player-card__club img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Rank */

.lc-player-card__rank {
    position: absolute;
    top: 10px;
    right: 8px;

    z-index: 6;

    font-family: "ModamFaNum", "Modam", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;

    color: #7DD3FC;

    text-shadow: 0 0 10px rgba(56, 189, 248, 0.16);
}

/* Player + Team Information */

.lc-player-card__info {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 36px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 1px;

    z-index: 5;
}

.lc-player-card__name {
    width: 100%;

    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    line-height: 17px;

    text-align: center;
    color: #F1F5F9;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
}

.lc-player-card__team-name {
    font-family: var(--font-main);
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;

    color: #F1F5F9;

    text-align: center;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Statistics */

.lc-player-card__stats {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 6px;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    gap: 2px;

    z-index: 6;
}

.lc-player-card__stat {
    min-width: 0;
    flex: 1 1 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0;
    overflow: hidden;

    font-family: var(--font-main);
    color: #E2E8F0;
}

.lc-player-card__stat + .lc-player-card__stat {
    border-right: 1px solid rgba(148, 163, 184, 0.20);
}

.lc-player-card__stat-label {
    max-width: 100%;

    font-family: var(--font-main);
    font-size: clamp(7px, 2.2vw, 9px);
    font-weight: 400;
    line-height: 12px;

    color: #94A3B8;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lc-player-card__stat strong {
    max-width: 100%;

    font-family: var(--font-main);
    font-size: clamp(9px, 2.6vw, 11px);
    font-weight: 600;
    line-height: 14px;

    color: #F8FAFC;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Subtle Glass Highlight */

.lc-player-card::after {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055) 0%,
            rgba(255, 255, 255, 0.012) 26%,
            transparent 52%,
            rgba(96, 165, 250, 0.025) 100%
        );

    pointer-events: none;
    z-index: 3;
}

/* Background Texture */

.lc-player-card::before {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 22%,
            rgba(147, 197, 253, 0.22) 0 0.6px,
            transparent 1px
        ),
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.14) 0 0.5px,
            transparent 1px
        ),
        radial-gradient(
            circle at 72% 43%,
            rgba(96, 165, 250, 0.17) 0 0.6px,
            transparent 1px
        ),
        radial-gradient(
            circle at 22% 48%,
            rgba(255, 255, 255, 0.10) 0 0.5px,
            transparent 1px
        ),
        radial-gradient(
            circle at 88% 67%,
            rgba(96, 165, 250, 0.14) 0 0.6px,
            transparent 1px
        );
}

/* =========================================
   Rank Variants
========================================= */

.lc-player-card--rank-1 {
    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.28) 0%,
            rgba(166, 124, 32, 0.14) 38%,
            #0A101B 78%
        );
}

.lc-player-card--rank-2 {
    background:
        linear-gradient(
            135deg,
            rgba(192, 192, 192, 0.12),
            #0A101B 75%
        );
}

.lc-player-card--rank-3 {
    background:
        linear-gradient(
            135deg,
            rgba(9, 75, 182, 0.16),
            #0A101B 75%
        );
}

/* TEST — Jersey Side Lines */

.lc-player-card__image {
    position: absolute;
}

/* Subtle Curved Jersey Lines */

.lc-player-card__image::before,
.lc-player-card__image::after {
    content: "";
    position: absolute;
    top: 8px;

    width: 9px;
    height: 48px;

    border: 1px solid transparent;
    border-radius: 50%;

    border-left-color: rgba(125, 211, 252, 0.14);

    box-shadow: none;

    z-index: 10;
    pointer-events: none;
}

.lc-player-card__image::before {
    left: 25%;
    transform: rotate(-12deg);
}

.lc-player-card__image::after {
    right: 25%;
    transform: rotate(12deg) scaleX(-1);
}

.lc-player-card__image::before {
    left: 15%;
    transform: rotate(-12deg);
}

.lc-player-card__image::after {
    right: 15%;
    transform: rotate(12deg);
}

/* =========================================
   League Stats - Team
========================================= */
#league-stats-team {
    padding-bottom: 102px !important;
}

.lc-team-stats {
    width: calc(100% - 42px);

    margin-top: 24px;
    margin-left: 21px;
    margin-right: 21px;

    display: flex;
    flex-direction: column;
    gap: 0;
}


/* Header */

.lc-team-stats__header {
    width: 100%;
    height: 38px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 0 12px;

    direction: ltr;

    background:
        linear-gradient(
            188.32deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.099) 100.43%
        ),
        rgba(59, 130, 246, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.18);
    border-bottom: none;

    border-radius: 8px 8px 0 0;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}


/* View All */

.lc-team-stats__view-all {
    display: flex;
    align-items: center;

    padding: 0;
    margin: 0;

    background: none;
    border: 0;

    color: #F8FAFC;

    font-family: "ModamFaNum", "Modam", sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}

.lc-team-stats__view-all svg {
    width: 24px;
    height: 24px;
}


/* Title */

.lc-team-stats__title {
    display: flex;
    align-items: center;
    gap: 3px;

    direction: rtl;
}

.lc-team-stats__title span {
    font-family: "Modam", "ModamFaNum", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    padding-right: 12px;
    color: #f8fafc;
}

.lc-team-stats__title i {
    width: 8px;
    height: 8px;

    display: block;

    border-radius: 50%;
    background: #f8fafc;
}


/* =========================================
   Teams Box
========================================= */

.lc-team-stats__box {
    width: 100%;
    height: 162px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 12px;

    background:
        linear-gradient(
            188.32deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.099) 100.43%
        ),
        rgba(59, 130, 246, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 0 0 8px 8px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.3);
}


/* =========================================
   Team Card
========================================= */

.lc-team-card {
    position: relative;

    width: calc((100% - 24px) / 3);
    flex: 0 0 calc((100% - 24px) / 3);
    height: 138px;

    overflow: hidden;
    border-radius: 8px;
    isolation: isolate;

    background: #0A101B;

    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(148, 163, 184, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

/* Background */

.lc-team-card__background {
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        radial-gradient(
            ellipse at 50% 22%,
            rgba(37, 99, 235, 0.19) 0%,
            rgba(20, 45, 82, 0.10) 42%,
            transparent 72%
        ),
        linear-gradient(
            145deg,
            #111D2E 0%,
            #0C1421 48%,
            #080D16 100%
        );
}

/* =========================================
   Team Card Content
========================================= */

/* Team Logo */

.lc-team-card__logo {
    position: absolute;

    width: 56px;
    height: 56px;

    left: 50%;
    top: 35%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;

    filter:
        drop-shadow(0 4px 5px rgba(0, 0, 0, 0.35))
        drop-shadow(0 0 8px rgba(59, 130, 246, 0.15));
}

.lc-team-card__logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* Rank */

.lc-team-card__rank {
    position: absolute;

    top: 4px;
    right: 4px;

    z-index: 4;

    font-family: "ModamFaNum", "Modam", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;

    color: #22D3EE;
}


/* Team Name */

.lc-team-card__name {
    position: absolute;

    left: 0;
    right: 0;

    bottom: 40px;

    z-index: 4;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    font-family: "Modam", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;

    color: #F8FAFC;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    text-shadow:
        0 1px 0.9px rgba(0, 0, 0, 0.53);
}


/* Statistics */

.lc-team-card__stats {
    position: absolute;

    left: 0;
    right: 0;

    bottom: 6px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 0;

    z-index: 4;
}


/* Single Statistic */

.lc-team-card__stat {
    min-width: 32px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    font-family: "Modam", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;

    color: #FFFFFF;
}


/* Separator */

.lc-team-card__stat + .lc-team-card__stat {
    border-right: 0.5px solid #525252;
}


/* Number */

.lc-team-card__stat strong {
    font-weight: 500;
}


/* Decorative Lines */

.lc-team-card__line {
    position: absolute;
    top: 8px;
    width: 9px;
    height: 48px;
    border: 1px solid transparent;
    border-radius: 50%;
    border-left-color: rgba(125, 211, 252, 0.14);
    z-index: 3;
    pointer-events: none;
    filter: blur(0.3px);
}

.lc-team-card__line--left {
    left: 15%;
    transform: rotate(-12deg);
}

.lc-team-card__line--right {
    right: 15%;
    transform: rotate(12deg);
}
/* Highlight */

.lc-team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 15% 22%,
            rgba(147, 197, 253, 0.22) 0 0.6px,
            transparent 1px
        ),
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.14) 0 0.5px,
            transparent 1px
        ),
        radial-gradient(
            circle at 72% 43%,
            rgba(96, 165, 250, 0.17) 0 0.6px,
            transparent 1px
        ),
        radial-gradient(
            circle at 22% 48%,
            rgba(255, 255, 255, 0.10) 0 0.5px,
            transparent 1px
        ),
        radial-gradient(
            circle at 88% 67%,
            rgba(96, 165, 250, 0.14) 0 0.6px,
            transparent 1px
        );
}

.lc-team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 3;
    pointer-events: none;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.055) 0%,
        rgba(255, 255, 255, 0.012) 26%,
        transparent 52%,
        rgba(96, 165, 250, 0.025) 100%
    );
}

.lc-team-card--rank-1 {
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.28) 0%,
        rgba(166, 124, 32, 0.14) 38%,
        #0A101B 78%
    );
}

.lc-team-card--rank-2 {
    background: linear-gradient(
        135deg,
        rgba(192, 192, 192, 0.12),
        #0A101B 75%
    );
}

.lc-team-card--rank-3 {
    background: linear-gradient(
        135deg,
        rgba(9, 75, 182, 0.16),
        #0A101B 75%
    );
}

/* Final override - Team Stats container */

#league-stats-page .lc-team-stats__box {
    width: 100% !important;
    height: 162px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 12px !important;
    padding: 12px !important;

    border-radius: 0 0 8px 8px !important;
}

/* =========================================
   League Stats - Team Statistics Dropdown
========================================= */

#league-stats-page .lc-team-stats-dropdown {
    position: relative;
    width: calc(100% - 32px);
    height: 48px;
    margin-top: 20px;
    margin-left: 16px;
    margin-right: 16px;
}


/* Trigger */

#league-stats-page .lc-team-stats-dropdown__trigger {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 48px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 12px 22px;
    gap: 0;

    background:
        radial-gradient(
            ellipse at 85% 50%,
            rgba(59, 130, 246, 0.10) 0%,
            rgba(59, 130, 246, 0.035) 35%,
            transparent 70%
        ),
        linear-gradient(
            212.16deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.0988) 100.43%
        ),
        rgba(59, 130, 246, 0.05);

    border: 1px solid rgba(59, 130, 246, 0.32);

    box-shadow:
        0 4px 16px rgba(30, 60, 180, 0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 8px;
    direction: ltr;
    cursor: pointer;
}


/* Arrow */

#league-stats-page .lc-team-stats-dropdown__arrow {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Selected text */

#league-stats-page .lc-team-stats-dropdown__selected {
    width: 118px;
    height: 22px;

    flex: 0 0 118px;

    font-family: "ModamFaNum", "Modam", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;

    text-align: right;

    color: #F8FAFC;

    white-space: nowrap;
}


/* Menu */

#league-stats-page .lc-team-stats-dropdown__menu {
    position: absolute;

    top: 60px;
    right: 0;

    width: 100%;
    height: 474px;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;

    padding: 0 0 16px 0;

    background-image:
        linear-gradient(
            188.32deg,
            rgba(0, 0, 0, 0) 51.23%,
            rgba(59, 130, 246, 0.099) 100.43%
        ),
        linear-gradient(
            90deg,
            rgba(59, 130, 246, 0.05) 0%,
            rgba(59, 130, 246, 0.05) 100%
        );

    border: 1px solid rgba(59, 130, 246, 0.18);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 8px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.15s ease,
        visibility 0.15s ease;

    z-index: 10;
}

.lc-team-stats-dropdown__menu::-webkit-scrollbar {
    display: none;
}


/* Open */

#league-stats-page .lc-team-stats-dropdown.is-open
.lc-team-stats-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Arrow rotation */

#league-stats-page .lc-team-stats-dropdown.is-open
.lc-team-stats-dropdown__arrow {
    transform: rotate(180deg);
}


/* Options */

#league-stats-page .lc-team-stats-dropdown__options {
    width: 100%;
    max-width: 335px;

    display: flex;
    flex-direction: column;

    padding: 0 8px;
    gap: 10px;

    margin: 19px auto 0;

    direction: rtl;
}


/* Option */

#league-stats-page .lc-team-stats-dropdown__option {
    position: relative;
    width: 100%;
    max-width: 319px;
    height: 36px;

    flex: 0 0 36px;

    display: block;

    padding: 0 0 14px 0;

    background: transparent;
    border: 0;
    font-family: "ModamFaNum", "Modam", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;

    color: #F8FAFC;

    text-align: right;
    direction: rtl;

    white-space: nowrap;

    cursor: pointer;
}

#league-stats-page .lc-team-stats-dropdown__option::after {
    content: "";
    position: absolute;

    bottom: 0;
    left: 12px;
    right: 12px;

    height: 1px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.045) 15%,
        rgba(255, 255, 255, 0.09) 50%,
        rgba(255, 255, 255, 0.045) 85%,
        transparent 100%
    );
}


/* Last option */

#league-stats-page .lc-team-stats-dropdown__option:last-child {
    height: 22px;
    flex-basis: 22px;

    padding-bottom: 0;

    border-bottom: 0;
}

