.rtcn-netease-card {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
  color: #d9d9d9;
  text-align: center;
}

/* Keep this replacement the same inline media box as the removed SoundCloud frame. */
.rtcn-netease-card--source-soundcloud-frame {
  display: inline-block;
  vertical-align: top;
  width: 476px;
  height: 480px;
  margin: 0;
}

.rtcn-netease-card__cover {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.rtcn-netease-card--source-soundcloud-frame .rtcn-netease-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rtcn-netease-card__player {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 86px;
  padding: 12px 10px 4px;
  box-sizing: border-box;
  background: rgba(20, 20, 20, 0.76);
}

.rtcn-netease-card__player iframe {
  display: block;
  flex: 0 1 330px;
  width: 330px;
  max-width: 100%;
  height: 86px;
  border: 0;
  margin: 0 auto;
}

.rtcn-netease-card__links {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
  box-sizing: border-box;
  padding: 4px 12px 5px;
  font: 11px/1.6 Georgia, "Times New Roman", serif;
  background: rgba(20, 20, 20, 0.82);
}

.rtcn-netease-card__links a {
  color: #a9c6d7;
  text-decoration: none;
}

.rtcn-netease-card__links a:hover,
.rtcn-netease-card__links a:focus {
  color: #e6f5ff;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .rtcn-netease-card__player {
    padding-right: 6px;
    padding-left: 6px;
  }

  .rtcn-netease-card__links {
    gap: 2px 10px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }
}
