.sport-prediction-bg {
    background-image: url(../images/sport-predict/background/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    /* margin-top: 53px; */
    background-position: top center;
    padding-top: 13%;
    padding-bottom: 3rem;
}

.sport-prediction-board {
    background-image: url(../images/sport-predict/background/board.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    border: 3px solid #3866bb;
    padding: 2rem;
}

.sport-prediction-board .tab-content {
    display: block;
}

.sp-tabs-nav {
    border-bottom: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
}

.sp-tabs-nav .nav-item {
    margin: 0;
    flex: 1;
}

.sp-tabs-nav .nav-link {
    border: 1px solid #3866bb;
    border-radius: 15px;
    background: transparent;
    color: #fff;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    padding: 15px 10px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.sp-tabs-nav .nav-link.active,
.sp-tabs-nav .nav-link:hover,
.sp-tabs-nav .nav-item.show .nav-link {
    color: #ffffff;
    border: 1px solid #3866bb;
    background: #3866bb;
    text-shadow: 1px 1px 4px #7b7b7b;
}

.sp-tabs-content .tab-pane {
    min-height: 1px;
}

.sp-content-wrap {
    margin-top: 1rem;
}

.sp-ongoing-content {
    background: url(../images/sport-predict/on-going/banner-on-going.jpg) center center no-repeat;
    width: 100%;
    /* height: 390px; */
    position: relative;
    border-radius: 20px;
    border: 3px solid #3866bb;
    padding: 2rem;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}



.sp-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 1rem;
}

.sp-banner-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 65%;
}

.sp-banner-prize {
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    background: linear-gradient(180deg, rgb(255 255 255) 0%, rgb(255 226 23) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0px -2px 1px #2b75ff, -2px -4px 1px #000000;
}

.sp-banner-matchday {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: -20px;
}

.sp-banner-matchup {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 1rem;
}

.sp-banner-team-bar {
    border-radius: 8px;
    padding: 0;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sp-banner-team-name {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
}

.sp-banner-team-circle.left {
    background: url(../images/sport-predict/on-going/left-team.png) center center no-repeat;
    width: 300px;
    height: 86px;
    text-align: right;
    background-size: 100%;
    margin-right: -35px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.sp-banner-team-circle.right {
    background: url(../images/sport-predict/on-going/right-team.png) center center no-repeat;
    width: 300px;
    text-align: left;
    background-size: 100%;
    margin-left: -35px;
    height: 86px;
    display: flex;
    align-items: center;
}

.sp-banner-team-circle img {
    max-width: 70px;
}

.sp-banner-vs {
    font-size: 1.75rem;
    font-weight: 900;
    color: #f2c46d;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
}

.sp-banner-date {
    font-size: 1rem;
    color: #fff;
    margin-top: 23px;
    font-weight: 600;
}

.sp-banner-cta {
    margin-top: 1rem;
    padding: 12px 32px;
    border-radius: 15px;
    border: none;
    background: #3866bb;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgb(56 102 187);
}

.sp-banner-cta:hover {
    background: #3866bb;
    box-shadow: 0 6px 16px rgb(9 100 255);
}

.sp-banner-right {
    flex: 1;
    margin-left: -10px;
}

.sp-banner-badge {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(180deg, #1a3a5c 0%, #0d2840 100%);
    border: 3px solid #f2c46d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.sp-content-wrap h3 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    text-align: center;
}

.sp-ongoing-content-matches {
    margin-top: 2rem;
}

.sp-ongoing-content-matches-time-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    gap: 1rem;
    max-width: 85%;
    margin: 0 auto;
}

.sp-ongoing-content-matches-time {
    background: url(../images/sport-predict/element/countdown01_1.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
    height: 175px;
    display: flex;
    justify-content: space-evenly;
}

.sp-ongoing-content-matches-time span {
    color: #fff;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
}

.sp-ongoing-content-matches-time-label {
    text-align: center;
    color: #fff;
    margin-top: 5px;
}

/* Ongoing: prediction match card (uses images/sport-predict/element/*) */
.sp-ongoing-prediction-match {
    margin-top: 2rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.sp-pm-card {
    border-radius: 20px;
    padding: 1rem 1.25rem 1.5rem;
}

.sp-pm-banner {
    position: relative;
    text-align: center;
    margin-bottom: 0.5rem;
}

.sp-pm-banner-art {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.sp-pm-banner-title {
    position: absolute;
    left: 50%;
    bottom: 18%;
    transform: translateX(-50%);
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 800;
    color: #4a3a2a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    pointer-events: none;
    white-space: nowrap;
}

.sp-pm-vsbar-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.sp-pm-vsbar-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.sp-pm-vsbar-team {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.sp-pm-vsbar-team--left {
    left: 15%;
}

.sp-pm-vsbar-team--right {
    right: 15%;
}

.sp-pm-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sp-pm-shield {
    position: relative;
    flex: 1;
    max-width: 20%;
    aspect-ratio: 5 / 6;
}

.sp-pm-shield-frame {
    display: none;
}

.sp-pm-shield::before,
.sp-pm-shield::after {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: polygon(-1% 0%, 96% 0%, 100% 0%, 100% 66%, 50% 100%, 0% 66%, 0% 6%);
}

.sp-pm-shield::before {
    background: linear-gradient(145deg, #0f60de 0%, #0a3198 30%, #08dafd 60%, #097df9 80%, #3866bb 100%);
    z-index: 0;
}

.sp-pm-shield::after {
    background: #252525;
    transform: scale(0.91);
    z-index: 1;
}

.sp-pm-shield-inner {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: 80%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1a1a;
    z-index: 2;
}

.sp-pm-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-pm-country-name {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    padding: 2px 6px;
    background: #252525;
    border-radius: 3px;
    border: 3px solid #ffffff;
    white-space: nowrap;
    line-height: 1.4;
}

.sp-pm-scores {
    flex: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.35rem;
    background: #252525;
    padding: 10px 3rem;
    border-radius: 10px;
    max-width: 50%;
    box-shadow: 0px 3px 12px 1px #6d6d6d;
    border: 1px solid #3866bb;
}

.sp-pm-score-cell {
    width: clamp(82px, 12vw, 72px);
    height: clamp(134px, 16vw, 96px);
    background: url(../images/sport-predict/element/countdown02_2.png) center center no-repeat;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-pm-score-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    outline: none;
    color: #f5f5f5;
    font-size: clamp(5rem, 6vw, 2.75rem);
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    width: 100%;
    height: 100%;
    text-align-last: center;
    padding: 0;
}

.sp-pm-score-select option {
    background: #2c2c2c;
    color: #f5f5f5;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.sp-pm-score-select:focus {
    outline: none;
}

.sp-pm-score-colon {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 800;
    color: #5c5345;
    line-height: 1;
    padding: 0 0.15rem;
}

.sp-pm-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sp-pm-action {
    border: none;
    cursor: pointer;
    width: 300px;
    height: 56px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    transition: transform 0.15s ease, filter 0.15s ease;
    background-color: transparent;
    color: #fff;
}

.sp-pm-action span {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.sp-pm-action--submit {
    background: linear-gradient(180deg, #2283f6 0%, #05cffd 100%);
    border: 1px solid #3866bb;
}

.sp-pm-action--reset {
    background: #151515;
    border: 1px solid #0ac2fc;
}

.sp-pm-action--reset span {
    color: #fff;
}

.sp-pm-action:hover {
    filter: brightness(1.05);
}

.sp-pm-action:active {
    transform: scale(0.98);
}

/* MODAL */

.modal-dialog.modal-result {
    border: none;
}

.modal-result .modal-header {
    background: none;
    border: none;
    justify-content: end;
}

.modal-result .modal-content {
    background: none;
    border: none;
}

.header-sport {
    position: relative;
    align-self: center;
}

.header-sport h4 {
    bottom: 15px;
    color: #fff;
    text-align: center;
    margin: 0px auto;
    left: 0;
    right: 0;
    position: absolute;
}

.close span {
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: 1;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 20px;
    width: 40px;
    height: 40px;
    padding: 10px;
    display: block;
    line-height: 19px;
}

.close {
    opacity: 1;
    background: none;
    border: none;
}

.modal-close {
    position: absolute;
    right: 0;
    top: 0;
    color: #fff;
    opacity: 1;
    font-size: 50px;
    position: absolute;
    right: 0;
    z-index: 10;
}

.com-wrap ul {
    display: grid;
    flex-wrap: wrap;
    list-style: none;
    padding: 0px;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.com-wrap ul li a {
    border: 1px solid #3866bb;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    justify-content: space-evenly;
    position: relative;
    overflow: hidden;
    background: url(../images/sport-predict/element/result.png) no-repeat right center / 100%;
    background-color: #000;
    text-decoration: none;
    min-height: 162px;
}

.com-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: linear-gradient(to right, #d0f366 60%, transparent 100%);
    padding: 8px 12px;
    width: 60%;
}

.com-match-no {
    font-size: 15px;
    font-weight: 700;
    color: #05340b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.com-match-date {
    font-size: 15px;
    font-weight: 600;
    color: #05340b;
    letter-spacing: 0.03em;
}

.com-card-result {
    padding: 8px 12px;
    font-size: 24px;
    font-weight: 800;
    color: #3866bb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 60%;
}

/* Record Table */
.record-content {
    border: 3px solid #3866bb;
    padding: 15px;
    border-radius: 10px;
    background: #000;
}

/* Shared table theme */
.record-table thead tr th,
.betting-history-table thead tr th {
    background: #3866bb;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
    border: 1px solid #3866bb;
    padding: 10px 12px;
    white-space: nowrap;
}

.record-table tbody tr td,
.betting-history-table tbody tr td {
    background: #000;
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 9px 12px;
    vertical-align: middle;
    border: 1px solid #3866bb;
}

.record-table tbody tr:nth-child(even) td,
.betting-history-table tbody tr:nth-child(even) td {
    background: #000;
}

.record-table,
.betting-history-table {
    border-color: #2a3f6e;
}

/* Betting history scroll container Ã¢â‚¬â€ shows 10 rows then scrolls */
.betting-history-scroll {
    max-height: calc(10 * 41px);
    overflow-x: scroll;
    overflow-y: auto;
    /* border: 1px solid #3866bb; */
}

.betting-history-scroll::-webkit-scrollbar {
    width: 6px;
}

.betting-history-scroll::-webkit-scrollbar-track {
    background: #000;
}

.betting-history-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3866bb 0%, #3866bb 100%);
    border-radius: 3px;
}

.betting-history-table {
    margin-bottom: 0;
    border: none;
}

.betting-history-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.winner-modal {
    max-width: 800px;
    background: #000000 url(../images/sport-predict/Winner.png) no-repeat center top / 100%;
    min-height: 700px;
    border-radius: 10px;
}

.winner-modal .close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10;
}

/* Winner modal inner content */
.winner-content {
    /* background: transparent !important; */
    border: none !important;
    padding: 24px 20px 20px;
    text-align: center;
}

.winner-header {
    margin-bottom: 8px;
    margin-top: 4rem;
}

.winner-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #f5c842;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 2px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.winner-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
}

.winner-prize {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    margin-bottom: 12px;
}

/* VS Row */
.winner-vs-row {
    margin-bottom: 20px;
}

.winner-match-select {
    width: 50%;
    padding: 8px 36px 8px 20px;
    background: #000;
    color: #fff;
    border: 1px solid #3866bb;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%23a88663' d='M5 7L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
    outline: none;
    box-shadow: 0 3px 5px rgba(107, 123, 168, .25);
    text-align: center;
    text-align-last: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.winner-match-select:focus {
    border-color: #c4a05a;
    box-shadow: 0 0 0 3px rgba(168, 134, 99, 0.2);
}

.winner-match-select option {
    background: #ffffff;
    color: #3866bb;
    text-align: left;
}

/* Winner Table */
.winner-table {
    display: flex;
    gap: 10px;
}

.winner-table-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.winner-table-head {
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.winner-table-row {
    height: 46px;
    background: rgba(200, 200, 200, 0.25);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Swiper: ongoing countdown + prediction match */
.sp-ongoing-swiper {
    position: relative;
    margin-top: 1rem;
    padding-bottom: 3rem;
}

.sp-ongoing-slide-inner {
    padding: 0 0.25rem;
}

.sp-ongoing-swiper .swiper-slide {
    height: auto;
}

.sp-ongoing-swiper-pagination {
    bottom: 0 !important;
}

.sp-ongoing-swiper-pagination .swiper-pagination-bullet {
    background: #d2a06c;
    opacity: 0.45;
}

.sp-ongoing-swiper-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(180deg, #3866bb 0%, #3866bb 100%);
    opacity: 1;
}

.sp-ongoing-swiper-prev,
.sp-ongoing-swiper-next {
    color: #d9b28d !important;
    width: 50px !important;
    height: 50px !important;
    /*top: 200px;*/
}

.sp-ongoing-swiper-prev::after,
.sp-ongoing-swiper-next::after {
    font-size: 13px !important;
    background: #000;
    width: 30px;
    border-radius: 50%;
    border: 1px solid #3866bb;
    padding: 5px;
    font-weight: bold;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    color: #fff;
    text-shadow: 1px 1px 1px #00000066;
}

.winner-history-title {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    color: #fff;
}

/* TNC Modal */
.header-tnc {
    text-align: center;
}

.tnc-content {
    border: 3px solid #3866bb;
    padding: 20px 25px;
    border-radius: 10px;
    background: #000;
    max-height: 70vh;
    overflow-y: auto;
}

.tnc-content::-webkit-scrollbar {
    width: 6px;
}

.tnc-content::-webkit-scrollbar-track {
    background: #000;
}

.tnc-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3866bb 0%, #3866bb 100%);
    border-radius: 3px;
}

.tnc-detail span {
    font-weight: 700;
    font-size: 15px;
    color: #2283f6;
    padding: 12px 0 6px;
    display: block;
}

.tnc-detail ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.tnc-detail ol li {
    font-size: 13px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 6px;
    list-style: disc;
}

.tnc-detail ol li:last-child {
    margin-bottom: 0;
}

#modal-tnc .close {
    right: 10px;
    top: 30px;
}

#modal-tnc .close span {
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: 1;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 20px;
    width: 40px;
    height: 40px;
    padding: 10px;
}

@media screen and (max-width: 999px) {
    .com-wrap ul {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .header-sport h4 {
        bottom: 6px;
    }

    .header-tnc h4 {
        font-size: 20px;
    }

    .sp-ongoing-match-swiper .swiper-button-prev,
    .sp-ongoing-match-swiper .swiper-button-next {
        width: 36px;
        height: 34px;
        margin-top: 0;
        top: 32%;
        color: #ffffff;
        background: #000;
        width: 35px;
        border-radius: 50%;
        border: 1px solid #ee602a;
    }

    .sp-ongoing-match-swiper .swiper-button-prev {
        left: 2px;
    }

    .sp-ongoing-match-swiper .swiper-button-next {
        right: 2px;
    }

    .sp-ongoing-match-swiper .swiper-button-prev::after,
    .sp-ongoing-match-swiper .swiper-button-next::after {
        font-size: 14px;
        font-weight: 700;
    }

    .sp-ongoing-match-swiper .swiper-button-disabled {
        opacity: 0.35;
        pointer-events: none;
    }

    .sport-prediction-board {
        background: none;
        padding: 0px;
        border: none;
        margin-top: 10px;
    }

    .sp-tabs-nav {
        border-bottom: none;
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        padding: 0;
        overflow-x: auto;
        max-width: 400px;
        white-space: nowrap;
        margin: 0 auto;
    }


    .sp-ongoing-content {
        background: url(../images/sport-predict/on-going/banner-on-going.jpg) center center no-repeat;
        width: 100%;
        /* height: 390px; */
        position: relative;
        border-radius: 5px;
        border: 3px solid #3866bb;
        padding: 5px;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }


    .sp-banner-inner {
        justify-content: center;
    }

    .sp-banner-left {
        flex: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .sp-banner-prize {
        font-size: 17px;
    }

    .sp-banner-matchday {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 600;
        margin-bottom: -20px;
    }

    .sp-banner-matchup {
        display: flex;
        align-items: center;
        gap: 0;
        margin-top: 1rem;
    }

    .sp-banner-team-bar {
        border-radius: 8px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        flex: 2;
    }

    .sp-banner-team-name {
        position: absolute;
        top: 46%;
        transform: translateY(-50%);
        color: #fff;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 8px;
    }

    .sp-banner-team-circle.left {
        background: url(../images/sport-predict/on-going/left-team.png) center center no-repeat;
        width: 115px;
        height: 50px;
        text-align: right;
        background-size: 100%;
        margin-right: -20px;
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .sp-banner-team-circle.right {
        background: url(../images/sport-predict/on-going/right-team.png) center center no-repeat;
        width: 115px;
        text-align: left;
        background-size: 100%;
        margin-left: -20px;
        height: 65px;
        display: flex;
        align-items: center;
    }

    .sp-banner-team-circle img {
        max-width: 28px;
    }

    .sp-banner-vs {
        font-size: 1.75rem;
        font-weight: 900;
        color: #f2c46d;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        letter-spacing: 2px;
        flex: 1;
        min-width: 70px;
    }

    .sp-banner-date {
        font-size: 10px;
        color: #fff;
        margin-top: -5px;
        font-weight: 600;
    }

    .sp-banner-cta {
        margin-top: 1rem;
        padding: 5px;
        border-radius: 5px;
        border: none;
        background: #3866bb;
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        box-shadow: 0 4px 12px rgb(238 96 42 / 40%);
    }

    .sp-banner-cta:hover {
        /* background: linear-gradient(180deg, #f8e9c4 0%, #eed060 100%); */
        box-shadow: 2px 0px 12px rgb(34 131 246);
    }

    .sp-banner-right {
        flex: 1;
        margin-left: -10px;
        display: none;
    }

    .sp-content-wrap h3 {
        color: #fff;
        font-size: 19px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1;
        font-style: italic;
        text-align: center;
        margin-bottom: 10px;
    }

    .sp-ongoing-content-matches {
        margin-top: 2rem;
    }

    .sp-ongoing-content-matches-time-wrap {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-content: center;
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .sp-ongoing-content-matches-time {
        background: url(../images/sport-predict/element/countdown01_1.png);
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: center;
        width: 100%;
        display: flex;
        justify-content: space-evenly;
        height: 75px;
    }

    .sp-ongoing-content-matches-time span {
        color: #fff;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
    }

    .sp-ongoing-content-matches-time-label {
        text-align: center;
        color: #fff;
        margin-top: 5px;
    }

    /* Ongoing: prediction match card (uses images/sport-predict/element/*) */
    .sp-ongoing-prediction-match {
        margin-top: 30px;
        /* max-width: 920px; */
        margin-left: auto;
        margin-right: auto;
    }

    .sp-pm-card {
        border-radius: 20px;
        padding: 10px 0;
    }

    .sp-pm-banner {
        position: relative;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .sp-pm-banner-art {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .sp-pm-banner-title {
        position: absolute;
        left: 50%;
        bottom: 18%;
        transform: translateX(-50%);
        font-size: clamp(1rem, 2.5vw, 1.35rem);
        font-weight: 800;
        color: #4a3a2a;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
        pointer-events: none;
        white-space: nowrap;
    }

    .sp-pm-vsbar-wrap {
        position: relative;
        margin-bottom: 10px;
    }

    .sp-pm-vsbar-img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .sp-pm-vsbar-team {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        font-weight: 700;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        pointer-events: none;
    }

    .sp-pm-vsbar-team--left {
        left: 15%;
    }

    .sp-pm-vsbar-team--right {
        right: 15%;
    }

    .sp-pm-body {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .sp-pm-shield-frame {
        display: none;
    }



    .sp-pm-shield-inner {
        position: absolute;
        left: 50%;
        top: 40%;
        transform: translate(-50%, -50%);
        width: 80%;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        overflow: hidden;
        background: #1a1a1a;
        z-index: 2;
    }

    .sp-pm-flag {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .sp-pm-country-name {
        position: absolute;
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        font-size: 0.5rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #fff;
        padding: 1px 4px;
        background: #252525;
        border-radius: 3px;
        border: 2px solid #fff;
        white-space: nowrap;
        line-height: 1.4;
    }

    .sp-pm-scores {
        flex: auto;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 0.35rem;
        background: #000;
        padding: 10px;
        border-radius: 10px;
        max-width: 50%;
        box-shadow: 0px 3px 12px 1px #38e3fb;
    }

    .sp-pm-score-cell {
        width: 41px;
        height: 70px;
        background: url(../images/sport-predict/element/countdown02_2.png) center center no-repeat;
        background-size: 100% 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-pm-score-select {
        appearance: none;
        -webkit-appearance: none;
        background: transparent;
        border: none;
        outline: none;
        color: #f5f5f5;
        font-size: 49px;
        font-weight: 500;
        text-align: center;
        text-align-last: center;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        cursor: pointer;
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .sp-pm-score-select option {
        background: #2c2c2c;
        color: #f5f5f5;
        font-size: 1.2rem;
        font-weight: 600;
        text-align: center;
    }

    .sp-pm-score-select:focus {
        outline: none;
    }

    .sp-pm-score-colon {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
        font-weight: 800;
        color: #5c5345;
        line-height: 1;
        padding: 0 0.15rem;
    }

    /* Submit / Reset: side-by-side; bowl shape comes from submit-btn.png / reset-btn.png only */
    .sp-pm-actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 12px;
        margin-top: 14px;
        padding: 0 6px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .sp-pm-action {
        flex: 1 1 0;
        min-width: 0;
        min-height: 46px;
        height: auto;
        border-radius: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 1.5rem;
        box-sizing: border-box;
        background-color: transparent;
        transition: transform 0.15s ease, filter 0.15s ease;
    }

    .sp-pm-action span {
        font-size: 0.95rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #fff;
    }



    /* Ongoing: prediction cards Swiper (swiper-bundle 7) */
    .sp-ongoing-match-swiper {
        margin-top: 30px;
        width: 100%;
        overflow: hidden;
        position: relative;
        box-sizing: border-box;
    }

    .sp-ongoing-match-swiper .swiper-slide {
        height: auto;
        box-sizing: border-box;
    }

    /* Countdown + card stacked per slide */
    .sp-ongoing-slide-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        grid-gap: 1rem;
    }

    .sp-ongoing-match-swiper .sp-ongoing-content-matches {
        margin-top: 0;
    }

    .sp-ongoing-match-swiper .sp-ongoing-prediction-match {
        margin-top: 1.25rem;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .sp-ongoing-match-swiper .swiper-button-prev,
    .sp-ongoing-match-swiper .swiper-button-next {
        width: 36px;
        height: 34px;
        margin-top: 0;
        top: 32%;
        color: #ffffff;
        background: #000;
        width: 35px;
        border-radius: 50%;
        border: 1px solid #ee602a;
    }

    .sp-ongoing-match-swiper .swiper-button-prev {
        left: 2px;
    }

    .sp-ongoing-match-swiper .swiper-button-next {
        right: 2px;
    }

    .sp-ongoing-match-swiper .swiper-button-prev::after,
    .sp-ongoing-match-swiper .swiper-button-next::after {
        font-size: 14px;
        font-weight: 700;
    }

    .sp-ongoing-match-swiper .swiper-button-disabled {
        opacity: 0.35;
        pointer-events: none;
    }

    /* MODAL */

    .sp-pm-shield {
        max-width: 22%;
    }


}