.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;
}

.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);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.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;
  flex: 0 0 86px;
}

.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);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}

.sop-pum-popup {
  background: rgba(0, 0, 0, .7);
  bottom: 0;
  display: none;
  height: 100%;
  left: 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1999999999;
}

.sop-pum-popup,
.sop-pum-popup *,
.sop-pum-popup::before,
.sop-pum-popup::after {
  box-sizing: border-box;
}

.sop-pum-popup.is-visible {
  align-items: flex-start;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.sop-pum-popup .pum-container {
  left: auto;
  margin: 0;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  position: relative;
  top: auto;
  width: 60%;
  z-index: 1999999999;
}

.sop-pum-popup .pum-content {
  outline: 0;
  position: relative;
  z-index: 1;
}

.sop-pum-popup .pum-content > :first-child {
  margin-top: 0;
}

.sop-pum-popup .pum-close {
  background: transparent;
  border: 0;
  border-radius: 15px;
  color: #fff;
  cursor: pointer;
  font: 700 20px/20px inherit;
  height: 28px;
  padding: 0;
  position: absolute;
  right: 7px;
  text-align: center;
  top: 7px;
  width: 28px;
  z-index: 2;
}

.sop-pum-popup .pum-close:hover,
.sop-pum-popup .pum-close:focus {
  color: #ffd200;
  outline: 0;
}

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

@media (max-width: 1024px) {
  .sop-pum-popup .pum-container {
    width: 95%;
  }
}

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

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

  .sop-pum-popup .pum-container {
    width: 100%;
  }
}
