.hhc {
  --hhc-blue: #3d7eff;
  width: 100%;
  max-width: none;
  position: relative;
  overflow: visible;
  padding: 12px 0 8px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #e8f2ff;
  font-family: IRANSansX, IRANSans, Vazirmatn, Tahoma, sans-serif;
}

.hhc-board {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 48px;
  min-height: 240px;
  padding: 28px 12px 8px;
  direction: rtl;
  box-sizing: border-box;
}

.hhc-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.hhc-wire-base {
  fill: none;
  stroke: rgba(142, 194, 255, 0.34);
  stroke-width: 5;
}

.hhc-wire-energy {
  fill: none;
  stroke: url(#hhcEnergy);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 168 880;
  animation: hhcEnergy 2.8s linear infinite;
  filter: none;
}

.hhc-wire-energy.is-idle {
  opacity: 0.28;
}

@keyframes hhcEnergy {
  to { stroke-dashoffset: -262; }
}

.hhc-node {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
}

.hhc-ring {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7eb6ff;
  background: transparent;
  border: 1.6px solid rgba(61, 126, 255, 0.72);
  box-shadow: none;
  transition: border-color 0.35s ease, color 0.35s ease;
}

.hhc-ring svg {
  width: 32px;
  height: 32px;
}

.hhc-halo {
  display: none;
}

.hhc-title {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #f4f8ff;
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.hhc-sub {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #9eb6d8;
}

.hhc-node.is-live .hhc-ring,
.hhc-node.is-passed .hhc-ring {
  color: #8ec2ff;
  border-color: #8ec2ff;
  box-shadow: none;
  transform: none;
}

.hhc-node.is-live .hhc-title {
  color: #fff;
  text-shadow: none;
}

@media (max-width: 760px) {
  .hhc-board {
    gap: 16px;
    min-height: 190px;
    padding-inline: 4px;
  }
  .hhc-ring {
    width: 58px;
    height: 58px;
  }
  .hhc-ring svg {
    width: 24px;
    height: 24px;
  }
  .hhc-title {
    font-size: 15px;
  }
  .hhc-sub {
    font-size: 11px;
  }
}
