:root {
  --rtp-bg: #070707;
  --rtp-panel: #101112;
  --rtp-line: rgba(255,255,255,.12);
  --rtp-text: #f5f5f5;
  --rtp-muted: #9ca3af;
  --rtp-gold: #ffd700;
  --rtp-green: #4dd66d;
}

.rtPartner-wrap,
.rtPartner-wrap * {
  box-sizing: border-box;
}

.rtPartner-wrap {
  width: 100%;
  margin: 12px 0;
  color: var(--rtp-text);
  font-family: Arial, sans-serif;
}

.rtPartner-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(19,20,22,.96), rgba(8,9,10,.96));
  border: 1px solid var(--rtp-line);
  box-shadow: 0 16px 45px rgba(0,0,0,.45);
  padding: 10px;
}

.rtPartner-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rtp-gold), var(--rtp-green), transparent);
  pointer-events: none;
}

.rtPartner-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 2px 9px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.rtPartner-kicker {
  color: var(--rtp-gold);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1.1;
}

.rtPartner-title {
  margin-top: 2px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.rtPartner-count {
  min-width: 28px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #202224;
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.rtPartner-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.rtPartner-item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(145deg, rgba(24,26,29,.96), rgba(10,11,12,.94));
  color: inherit;
  text-decoration: none;
}

.rtPartner-item:hover {
  border-color: rgba(255,215,0,.30);
}

.rtPartner-cover {
  position: relative;
  height: 86px;
  background:
    linear-gradient(145deg, rgba(255,215,0,.10), rgba(77,214,109,.06)),
    #050607;
}

.rtPartner-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rtPartner-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.68));
  pointer-events: none;
}

.rtPartner-tag {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 16px);
  min-height: 23px;
  align-items: center;
  padding: 4px 7px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ffe766, #d6a900);
  border: 1px solid rgba(0,0,0,.12);
  color: #120f00;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rtPartner-body {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 9px;
}

.rtPartner-logoRow {
  display: flex;
  align-items: center;
  min-height: 28px;
}

.rtPartner-logo {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #101112;
  border: 1px solid rgba(255,255,255,.12);
}

.rtPartner-logo + .rtPartner-logo {
  margin-left: -7px;
}

.rtPartner-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rtPartner-logo--rt img {
  object-fit: contain;
  padding: 3px;
}

.rtPartner-name {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rtPartner-motto {
  color: var(--rtp-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rtPartner-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 30px;
  margin-top: 2px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #151719;
  border: 1px solid rgba(255,255,255,.10);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.rtPartner-action span {
  color: var(--rtp-gold);
}

.rtPartner-item:hover .rtPartner-action {
  border-color: rgba(255,215,0,.35);
}

.rtPartner-empty {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #202224;
  border: 1px solid rgba(255,255,255,.10);
  color: #d1d5db;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 360px) {
  .rtPartner-card {
    padding: 9px;
  }

  .rtPartner-cover {
    height: 78px;
  }
}
