.yal-reply-controls {
  margin: 8px 0 4px;
}

.yal-comments-toggle {
  border: 1px solid #536471;
  background: transparent;
  color: #e7e9ea;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.yal-comments-toggle.is-off {
  border-color: #f4212e;
  color: #f4212e;
}

.yal-comments-toggle:hover:not(:disabled) {
  background: rgba(231, 233, 234, 0.08);
}

.yal-comments-disabled {
  margin: 8px 0;
  color: #71767b;
  font-size: 0.88rem;
}

.yal-replies-toggle {
  display: block;
  margin: 8px 0 4px;
  border: none;
  background: transparent;
  color: #1d9bf0;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.yal-replies-toggle:hover {
  text-decoration: underline;
}

.yal-replies-list {
  margin: 8px 0 12px;
  border-top: 1px solid #2f3336;
  padding-top: 8px;
}

.yal-replies-loading,
.yal-replies-empty {
  color: #71767b;
  font-size: 0.88rem;
  padding: 8px 0;
}

.yal-reply-row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #16181c;
}

.yal-reply-row:last-child {
  border-bottom: none;
}

.yal-reply-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333639;
  color: #e7e9ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

.yal-reply-body {
  flex: 1;
  min-width: 0;
}

.yal-reply-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.yal-reply-handle,
.yal-reply-time {
  color: #71767b;
}

.yal-reply-text {
  margin: 4px 0 0;
  line-height: 1.45;
  white-space: pre-wrap;
}

.yal-reply-menu-wrap {
  margin-left: auto;
  position: relative;
}

.yal-reply-more {
  border: none;
  background: transparent;
  color: #71767b;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

.yal-reply-more:hover {
  background: rgba(231, 233, 234, 0.08);
  color: #e7e9ea;
}

.yal-reply-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  min-width: 160px;
  background: #000;
  border: 1px solid #2f3336;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  display: none;
}

.yal-reply-menu-wrap.open .yal-reply-menu {
  display: block;
}

.yal-reply-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #e7e9ea;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.88rem;
}

.yal-reply-menu button:hover {
  background: rgba(231, 233, 234, 0.06);
}
