/* the-odds-api */
:root {
    --ff-primary: -apple-system,
    blinkmacsystemfont,
    "Segoe UI",
    roboto,
    oxygen,
    ubuntu,
    cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;

    --size: 16px;
    --bg-color: #fff;
    --bs: rgba(144, 143, 143, 0.5) 0 0 5px;
    --clr-text: #000;
    --clr-text-second: #fff;
    --bg-grad: linear-gradient(70deg, #31bc69 -8%, #089e4e 96%);
    --bg-item: #313ea212;
}

* {
    box-sizing: border-box;
}

.TOA__button span {
    pointer-events: none;
    display: block;
    padding: 6px 12px;
    background: #fff;
    border-radius: 10px;
}

.TOA__button img {
    height: 16px;
    width: auto;
    object-fit: contain;
}


.TOA-block {
    margin-top: 1rem;
    font: normal 400 16px/24px var(--ff-primary);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.TOA-block:not(:has( > *)) {
    display: none;
}

.TOA-block__item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 12px;
    gap: 16px;
    background: var(--fx-card);
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.TOA-block:not(:has( .TOA-block__item-coefficients)) .TOA__button {
    margin-top: auto;
}

.TOA-block__item-header {
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(120deg,var(--g2),var(--g) 60%,#16806b);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

.TOA-block__item-teams {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    min-height: 36px;
    font-size: 14px;
    line-height: 16px;
}

.TOA-block__item-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.TOA-block__item-team-logo {
    display: block;
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 100%;
    background: #3a41421c;
}


.TOA-block__item-team-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 44px;
    height: 44px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/*.TOA-block__item--soccer .TOA-block__item-team-logo::after {*/
/* background-image: url("https://bc-game.page/assets/soccer.png");*/
/*}*/

/*.TOA-block__item--basketball .TOA-block__item-team-logo::after {*/
/* background-image: url("https://bc-game.page/assets/basketball.png");*/
/*}*/

.TOA-block__item--cricket .TOA-block__item-team-logo::after {
    background-image: url("https://f12bet.radio.fm/assets/soccer.png");
}

/*.TOA-block__item--tennis .TOA-block__item-team-logo::after {*/
/* background-image: url("https://bc-game.page/assets/tennis.png");*/
/*}*/

.TOA-block__item-center {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

.TOA-block__item-center span {
    font-weight: 600;
}

.team-1 {
    text-align: center;
}

.team-2 {
    text-align: center;
}

.TOA-block__item-coefficients {
    margin-top: auto;
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.TOA-block__item-coefficient {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    flex: 1 1;
    font-weight: 700;
    border: none;
  	background: var(--wld7);
}

.TOA-block__item-coefficient small {
    font-weight: 400;
}

.tip-1 .c1,
.tip-2 .c2,
.tip-x .cx {
    border-bottom: 3px solid #0FA353;
}


.TOA-block__item-coefficient .odds {
    font-weight: 600;
    color: #313EA2;
}

.TOA-block__item-tip {
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 0px 5px 0px rgba(144, 143, 143, 0.50);
}

.TOA-block__item-tip span {
    font-size: 14px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background-image: var(--bg-grad);
    height: 24px;
    width: 20px;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .TOA-block {
        grid-template-columns: 1fr;
    }

    .TOA-block__item:nth-child(n+4) {
        display: none;
    }
}
/* the-odds-api */