.vote-widget { margin-top: 10px; }
.vote-widget__count { margin-bottom: 6px; font-size: 12px; }
.vote-widget__btn { margin-bottom: 6px; }
.vote-widget__btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.vote-btn-primary,
.vote-btn-secondary {
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: bold;
  cursor: pointer;
}

.vote-btn-primary {
  background: #e33434;
  color: #ffffff;
}

.vote-btn-primary:hover { filter: brightness(1.05); }

.vote-btn-secondary {
  background: #ffffff;
  color: #222222;
}

.vote-btn-secondary:hover { filter: brightness(0.96); }

.vote-btn-primary[disabled],
.vote-btn-secondary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.vote-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1200;
}

.vote-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 92vw);
  max-height: 80vh;
  overflow: auto;
  background: #4D0F00;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  padding: 16px;
  z-index: 1201;
  color: #ffffff;
}

.vote-popup__title { font-weight: bold; margin-bottom: 12px; }
.vote-voter-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.vote-popup a { color: #ffb3b3; }

.vote-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f0f0;
}

.vote-avatar-fallback {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background: #7a7a7a;
}

.vote-loader {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f3d6d6;
}

.vote-loader img {
  width: 16px;
  height: 16px;
}
