.comments-wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 8px 12px 36px;
  box-sizing: border-box;
}

.comments-intro {
  margin: 4px 0 26px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

.discovery-section {
  margin-bottom: 34px;
}

.comments-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 13px;
}

.comments-section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
}

.comments-section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.comments-section-heading--latest {
  padding-top: 3px;
}

.discovery-video-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.discovery-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: #211c20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

.discovery-video-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.discovery-video-thumb {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
  aspect-ratio: 3 / 4;
}

.discovery-comment-badge {
  display: inline-flex;
  position: absolute;
  top: 7px;
  right: 7px;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: linear-gradient(135deg, #df187c 0%, #991064 100%);
  box-shadow: 0 3px 9px rgba(70, 0, 42, .38);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.discovery-comment-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: #fff;
}

.discovery-comment-icon circle {
  fill: #c51670;
}

.discovery-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .2s ease;
}

.discovery-video-link:hover .discovery-video-thumb img {
  transform: scale(1.025);
}

.discovery-video-body {
  display: block;
  padding: 8px 9px 9px;
}

.discovery-video-title {
  display: -webkit-box;
  min-height: 2.9em;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.discovery-video-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3px 7px;
  margin-top: 7px;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  line-height: 1.5;
}

.discovery-empty {
  margin: 0;
  padding: 22px 12px;
  border: 1px solid #ececf4;
  border-radius: 12px;
  background: #fff;
  color: #777;
  text-align: center;
}

.comment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.comment-card {
  display: grid;
  grid-template-columns: clamp(150px, 14vw, 180px) minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ffe0ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(65, 20, 45, .06);
  box-sizing: border-box;
}

.comment-thumb {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 9px;
  background: #111;
  aspect-ratio: 16 / 9;
}

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

.comment-body { min-width: 0; }
.comment-video-label {
  display: block;
  margin-bottom: 2px;
  color: #999;
  font-size: 11px;
}

.comment-video {
  display: block;
  margin-bottom: 8px;
  overflow: hidden;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: 7px;
  color: #777;
  font-size: 12px;
}

.comment-user {
  color: #222;
  font-weight: 700;
  text-decoration: none;
}
.comment-meta time { margin-left: auto; }
.comment-text {
  overflow-wrap: anywhere;
  color: #222;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-empty {
  padding: 30px 12px;
  color: #666;
  text-align: center;
  background: #fff;
  border: 1px solid #ececf4;
  border-radius: 12px;
}

.comment-more {
  margin-top: 22px;
  text-align: center;
}

.comment-more button {
  border: 0;
  border-radius: 999px;
  padding: 11px 34px;
  background: #ff66b2;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.comment-more button:disabled {
  cursor: wait;
  opacity: .6;
}
.comment-load-status {
  min-height: 1.5em;
  margin: 7px 0 0;
  color: #777;
  font-size: 13px;
}
.comment-load-status.is-error { color: #c33; }

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

@media (max-width: 960px) {
  .discovery-video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .discovery-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .comment-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .comments-wrap { padding-inline: 8px; }
  .comments-intro { margin-bottom: 22px; }
  .discovery-section { margin-bottom: 28px; }
  .discovery-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .discovery-video-body { padding: 8px; }
  .discovery-video-title { font-size: 13px; }
  .discovery-video-stats {
    gap: 3px 6px;
    font-size: 10px;
  }
  .comment-card {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .comment-thumb { width: 100%; }
  .comment-video {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .comment-meta time {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 380px) {
  .discovery-video-grid { gap: 7px; }
  .discovery-comment-badge {
    top: 5px;
    right: 5px;
    min-height: 30px;
    padding: 5px 10px;
    font-size: 14px;
  }
}
