.cc-rc {
  position: relative;
  width: 100%;
  padding: 10px 0 0;
}

.cc-rc-header {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.cc-rc-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.cc-rc-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.cc-rc-viewport {
  overflow: hidden;
  width: 100%;
}

.cc-rc-track {
  display: flex;
  gap: 16px;
  transition: transform 320ms ease;
  will-change: transform;
}

.cc-rc-slide {
  flex: 0 0 auto;
  width: calc((100% - (16px * 3)) / 4); /* 4 at a time */
}

@media (max-width: 1024px) {
  .cc-rc-slide {
    width: calc((100% - (16px * 2)) / 3);
  }
}

@media (max-width: 768px) {
  .cc-rc-slide {
    width: calc((100% - (16px * 1)) / 2);
  }
}

@media (max-width: 520px) {
  .cc-rc-slide {
    width: 100%;
  }
}

.cc-rc-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 18px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.cc-rc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cc-rc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #eaf3e6;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cc-rc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-rc-initial {
  font-weight: 700;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.65);
}
.cc-rc-platform-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.cc-rc-platform-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.85;
}

.cc-rc-stars {
  display: flex;
  gap: 4px;
  align-items: center;
}

.cc-rc-star {
  width: 18px;
  height: 18px;
  color: rgba(0, 0, 0, 0.18);
}

.cc-rc-star.is-filled,
.cc-rc-star.is-half {
  color: #f2c94c; /* yellow */
}

.cc-rc-body {
  flex: 1;
  padding: 6px 0 10px;
}

.cc-rc-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.78);
}

.cc-rc-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 12px;
  margin-top: 6px;
}

.cc-rc-name {
  font-weight: 700;
  color: rgba(0, 0, 0, 0.8);
}

.cc-rc-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.cc-rc-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  border: 0;
  cursor: pointer;
}

.cc-rc-dot.is-active {
  background: rgba(0, 0, 0, 0.55);
}

.cc-rc-empty {
  padding: 16px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.cc-rc-platform-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
}

.cc-rc-platform-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.cc-rc-platform-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.85;
}

.cc-rc-platform-text {
  font-weight: 600;
}
