.mh-stripchat-slot {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #0e0a0c;
}

.mh-stripchat-surface,
.mh-stripchat-stage,
.mh-stripchat-bg,
.mh-stripchat-shade,
.mh-stripchat-player-wrap,
.mh-stripchat-player {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.mh-stripchat-surface {
  position: absolute;
  inset: 0;
  text-decoration: none;
  color: inherit;
}

.mh-stripchat-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6% 0 4%;
  box-sizing: border-box;
  overflow: hidden;
}

.mh-stripchat-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  filter: brightness(0.55);
}

.mh-stripchat-bg--empty {
  background: #120c10;
}

.mh-stripchat-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 4, 6, 0.22) 0%, rgba(6, 4, 6, 0.42) 42%, rgba(6, 4, 6, 0.5) 55%, rgba(6, 4, 6, 0.36) 100%);
}

.mh-stripchat-status {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 0.7rem 0.9rem;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
}

.mh-stripchat-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
}

.mh-stripchat-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #3a2a30;
}

.mh-stripchat-dot {
  position: absolute;
  right: 4px;
  bottom: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2ed16a;
  border: 2px solid #0e0a0c;
}

.mh-stripchat-badge {
  display: inline-block;
  padding: 0.16rem 0.7rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1a1216;
  background: #fff;
}

.mh-stripchat-slot[data-mh-stripchat-state="public"] .mh-stripchat-badge,
.mh-stripchat-slot[data-mh-stripchat-state="online"] .mh-stripchat-badge {
  color: #fff;
  background: #d0123a;
}

.mh-stripchat-slot[data-mh-stripchat-state="group"] .mh-stripchat-badge,
.mh-stripchat-slot[data-mh-stripchat-state="private"] .mh-stripchat-badge,
.mh-stripchat-slot[data-mh-stripchat-state="ticket"] .mh-stripchat-badge {
  color: #1a1216;
  background: #f3c14b;
}

.mh-stripchat-show-title {
  margin: 0;
  max-width: 100%;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.mh-stripchat-last,
.mh-stripchat-next {
  margin: 0;
  max-width: 100%;
  line-height: 1.4;
}

.mh-stripchat-last {
  font-size: 15px;
  font-weight: 600;
}

.mh-stripchat-notice {
  display: block;
  width: fit-content;
  max-width: 78%;
  margin: 0 auto;
  margin-inline: auto;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  color: #f3f3f3;
  background: rgba(90, 90, 90, 0.72);
  box-sizing: border-box;
}

.mh-stripchat-next {
  font-size: 13px;
  font-weight: 700;
  color: #4adf7a;
}

.mh-stripchat-next::before {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.35em;
  vertical-align: -0.08em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M5 1h2v2h2V1h2v2h2v2H1V3h2V1h2zm8 5v8H3V6h10zM5 8H3v2h2V8zm4 0H7v2h2V8z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='black' d='M5 1h2v2h2V1h2v2h2v2H1V3h2V1h2zm8 5v8H3V6h10zM5 8H3v2h2V8zm4 0H7v2h2V8z'/></svg>") center / contain no-repeat;
}

.mh-stripchat-cta {
  display: inline-block;
  margin-top: 0.15rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1216;
  background: #fff;
}

.mh-stripchat-slot--player {
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 9;
}

.mh-stripchat-slot--player .mh-stripchat-surface {
  display: none;
}

.mh-stripchat-player-wrap {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.mh-stripchat-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  display: block;
}

.mh-stripchat-cta-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.4rem auto 0.5rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1216;
  background: #fff;
  text-decoration: none;
}

.mh-live-hub .mh-stripchat-player-wrap,
.mh-live-hub .mh-stripchat-player {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

@media (min-width: 901px) {
  .mh-live-hub .mh-stripchat-slot--player {
    height: 100%;
  }

  .mh-live-hub .mh-stripchat-slot--player .mh-stripchat-player-wrap {
    aspect-ratio: auto;
    flex: 1 1 auto;
  }
}

@media (max-width: 900px) {
  .mh-stripchat-stage {
    padding: 2% 0 2%;
  }

  .mh-stripchat-status {
    gap: 0.2rem;
    padding: 0.25rem 0.7rem;
  }

  .mh-stripchat-avatar-wrap,
  .mh-stripchat-avatar {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
  }

  .mh-stripchat-last {
    font-size: 13px;
  }

  .mh-stripchat-notice,
  .mh-stripchat-next,
  .mh-stripchat-cta,
  .mh-stripchat-cta-link {
    font-size: 11px;
  }

  .mh-stripchat-notice {
    max-width: 94%;
    padding: 0.32rem 0.65rem;
  }

  .mh-stripchat-slot,
  .mh-stripchat-player-wrap,
  .mh-stripchat-player,
  .mh-stripchat-status {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 380px) {
  .mh-stripchat-avatar-wrap,
  .mh-stripchat-avatar {
    width: 56px;
    height: 56px;
  }

  .mh-stripchat-cta {
    padding: 0.18rem 0.7rem;
  }
}
