.tcm-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px
}

.tcm-title {
    color: #fff;
    text-align: center;
    font-size: 32px;
    letter-spacing: .06em;
    margin: 10px 0 18px
}

.tcm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

@media (max-width:1200px) {
    .tcm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:640px) {
    .tcm-grid {
        grid-template-columns: 1fr
    }

    .tcm-title {
        font-size: 22px
    }
}

.tcm-card {
    background: rgba(18, 19, 20, .85);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .08)
}

.tcm-top {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px 18px 10px
}

.tcm-logo {
    width: 86px;
    height: 86px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.tcm-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.tcm-name {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 6px
}

.tcm-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cfd3d6;
    font-size: 14px
}

.tcm-star {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.tcm-star svg {
    width: 18px;
    height: 18px;
    fill: #f4c542
}

.tcm-rating b {
    color: #6fe17a
}

.tcm-mid {
    padding: 10px 18px 14px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.tcm-label {
    color: #cfd3d6;
    font-size: 14px;
    margin: 0 0 8px;
    text-align: center
}

.tcm-bonus {
    color: #fff;
    font-size: 18px;
    line-height: 1.35;
    text-align: center;
    margin: 0
}

.tcm-btn,
.tcm-btn:link,
.tcm-btn:visited {
    display: block;
    margin: 18px;
    margin-top: auto;
    padding: 14px;
    background: #ff7728;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background .2s ease;
}
.tcm-btn:hover,
.tcm-btn:active {
    background: #e5691f;
    color: #fff;
}

/* картка */
.pum-container .pum-content>:last-child {
    margin-bottom: 0;
    background: #000;
    border-radius: 15px;
}

.pum-theme-3740 .pum-content+.pum-close,
.pum-theme-content-only .pum-content+.pum-close {
    color: #fff !important;
}

.tcm-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* середній блок з бонусом */
.tcm-mid {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* кнопка завжди внизу */
.tcm-btn {
    margin-top: auto;
}