.play-off {
    border-left: 2px solid #48b479 !important;
    color: #48b479 !important;
    font-weight: bold;
}

.league-box {
    width: 99%;
    border-radius: 6px;
    -webkit-box-shadow: 0px 0px 0px 1px #f0f0f0;
    box-shadow: 0px 0px 0px 1px #f0f0f0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.league-box:hover {
    -webkit-box-shadow: 0px 0px 0px 2px var(--theme-color);
    box-shadow: 0px 0px 0px 2px var(--theme-color);
    transition: all 0.3s ease-in-out;
    transform: translateY(-5px);
}
.league-box .content {
    text-align: center;
}
.league-box .award-title {
    font-size: 24px;
    letter-spacing: -1px;
    line-height: 20px;
    color: #111111;
    font-weight: 600;
}
.league-box p {
    font-size: 14px;
    letter-spacing: 1px;
    color: #777777;
    font-weight: 300;
}

.league-standing-btn-selected {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.record-container {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    height: 20px;
}
.result {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .70rem;
    font-weight: bold;
    color: #000;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.result:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.result:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.w {
    background-color: #48b479; /* Green win */
}
.d {
    background-color: #b0b3b8; /* Gray draw */
}
.l {
    background-color: #e66b55; /* Red loss */
}

.promo-popup[hidden] {
    display: none !important;
}

.promo-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.promo-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.promo-popup__content {
    position: relative;
    width: min(520px, 100%);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 65px rgba(0, 0, 0, 0.45);
    z-index: 1;
    animation: popupEntrance 280ms ease-out;
}

.promo-popup__image {
    width: 100%;
    height: auto;
    display: block;
}

.promo-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    font-size: 40px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.promo-popup__close:hover,
.promo-popup__close:focus-visible {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
}

@keyframes popupEntrance {
    from {
        transform: scale(0.94);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 575.98px) {
    .promo-popup {
        padding: 14px;
    }

    .promo-popup__content {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
    }

    .promo-popup__close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 22px;
    }
}

@media (min-width: 768px) {
    .promo-popup__content {
        width: min(460px, 90vw);
    }
}

@media (min-width: 1200px) {
    .promo-popup__content {
        width: min(420px, 80vw);
    }
}
