.vr-hc-wrap {
  width: 100%;
  margin: 0 0 24px;
}

.vr-hc-align-left {
  display: flex;
  justify-content: flex-start;
}

.vr-hc-align-center {
  display: flex;
  justify-content: center;
}

.vr-hc-align-right {
  display: flex;
  justify-content: flex-end;
}

.vr-hc-widget {
  --vr-surface: rgba(255, 255, 255, 0.92);
  --vr-surface-strong: rgba(255, 255, 255, 0.98);
  width: min(100%, var(--vr-width, 250px));
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
    radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.06), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.07), transparent 24%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  color: #0f172a;
  font-size: var(--vr-font-size, 14px);
  line-height: 1.3;
  overflow: hidden;
}

.vr-hc-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 35%, transparent 65%, rgba(255,255,255,0.1));
  pointer-events: none;
}

.vr-hc-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(94px, var(--vr-bar-length, 94px)) minmax(72px, auto);
  align-items: center;
  gap: 10px;
}

.vr-hc-meta {
  position: relative;
  z-index: 1;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  text-align: center;
  font-size: 0.82em;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.vr-hc-meta-inside {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  z-index: 4;
  color: var(--vr-count-color, #f8fafc);
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.3);
  pointer-events: none;
  border: 0;
  background: none;
  box-shadow: none;
  width: auto;
  max-width: none;
}

.vr-hc-side {
  min-width: 0;
  height: var(--vr-height, 46px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: calc(var(--vr-radius, 999px) / 2.9);
  background: linear-gradient(180deg, var(--vr-surface-strong), var(--vr-surface));
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.16),
    0 10px 24px rgba(15, 23, 42, 0.05);
  color: #0f172a;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
  font-weight: 800;
}

.vr-hc-side:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.2),
    0 16px 32px rgba(15, 23, 42, 0.08);
}

.vr-hc-side:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.vr-hc-side.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.16),
    0 18px 36px rgba(15, 23, 42, 0.12);
}

.vr-hc-side-cold.is-active {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232, 245, 255, 0.98));
}

.vr-hc-side-hot.is-active {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255, 240, 233, 0.98));
}

.vr-hc-side-sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  font-size: 0.95em;
  font-weight: 900;
  line-height: 1;
}

.vr-hc-side-label {
  flex: 0 1 auto;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-size: 0.86em;
}

.vr-hc-side-cold .vr-hc-side-sign,
.vr-hc-side-cold .vr-hc-side-label {
  color: #2563eb;
}

.vr-hc-side-hot .vr-hc-side-sign,
.vr-hc-side-hot .vr-hc-side-label {
  color: #dc2626;
}

.vr-hc-side-sign {
  font-size: 1em;
}

.vr-hc-side-icon,
.vr-hc-side-icon img,
.vr-hc-side-icon svg {
  width: var(--vr-icon-size, 18px);
  height: var(--vr-icon-size, 18px);
  display: inline-flex;
  flex: 0 0 auto;
}

.vr-hc-bar-shell {
  display: flex;
  justify-content: center;
}

.vr-hc-bar {
  position: relative;
  width: min(100%, var(--vr-bar-length, 94px));
  height: calc(var(--vr-height, 46px) - 10px);
  min-height: 30px;
  border-radius: var(--vr-radius, 999px);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.vr-hc-bar-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.98), rgba(226, 232, 240, 0.92));
}

.vr-hc-bar-track::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 5px;
  height: 36%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
}

.vr-hc-bar-center {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.vr-hc-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  transition: width 0.28s ease;
}

.vr-hc-bar-fill-hot {
  left: 50%;
  background: linear-gradient(90deg, #fb923c 0%, #f97316 28%, #ef4444 58%, #7c2d12 100%);
}

.vr-hc-bar-fill-cold {
  right: 50%;
  background: linear-gradient(270deg, #d8f6ff 0%, #7dd3fc 28%, #22c1f1 58%, #2563eb 100%);
}

.vr-hc-status {
  position: relative;
  z-index: 1;
  min-height: 1.15em;
  text-align: center;
  font-size: 0.79em;
  font-weight: 600;
  color: #64748b;
}

.vr-hc-widget.is-busy {
  opacity: 0.94;
}

.vr-hc-widget.vr-hc-vote-hot .vr-hc-meta {
  color: #9a3412;
}

.vr-hc-widget.vr-hc-vote-cold .vr-hc-meta {
  color: #1d4ed8;
}

.vr-hc-elementor-note {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  color: #334155;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

@media (max-width: 1024px) {
  .vr-hc-widget {
    width: min(100%, 100%);
  }
}

@media (max-width: 767px) {
  .vr-hc-widget {
    padding: 12px;
    gap: 10px;
    border-radius: 22px;
  }

  .vr-hc-meta {
    white-space: normal;
    width: 100%;
  }

  .vr-hc-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vr-hc-side {
    width: 100%;
  }

  .vr-hc-side-cold {
    order: 1;
  }

  .vr-hc-bar-shell {
    order: 2;
  }

  .vr-hc-side-hot {
    order: 3;
  }

  .vr-hc-bar {
    width: 100%;
  }
}
