.hero-board {
  position: relative;
  height: 540px;
  overflow: hidden;
  background: #fff;
}

.hero-board__scene {
  position: absolute;
  inset: 1.35rem;
  opacity: 0;
  pointer-events: none;
}

.hero-board__scene.is-on {
  opacity: 1;
}

.hero-board__scene--connect {
  opacity: 1;
}

.hero-board__stage {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #f6f7f4;
}

.hero-board__actors {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-board__pair {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-board__link {
  position: absolute;
  left: 100%;
  top: 50%;
  width: 5.5rem;
  height: 8px;
  margin-top: -4px;
  overflow: visible;
}

.hero-board__pair > .hero-board__pfp-circle {
  position: absolute;
  left: calc(100% + 5.5rem);
  top: 50%;
  margin-top: -2.875rem;
}

.hero-board__link line {
  stroke: #c5e063;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 88;
  stroke-dashoffset: 88;
}

.hero-board__call {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #161a16;
  color: #fff;
}

.hero-board__pfp-slot {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
}

.hero-board__pfp-slot .hero-board__pfp-circle {
  width: 4.5rem;
  height: 4.5rem;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-board__phone-wrap {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
}

.hero-board__pulse {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1.5px solid rgba(197, 224, 99, 0.7);
}

.hero-board__phone {
  position: relative;
  z-index: 1;
  display: flex;
  width: 5.5rem;
  height: 5.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #c5e063;
  color: #1a1a1a;
  box-shadow: 0 10px 30px rgba(197, 224, 99, 0.45);
}

.hero-board__call-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.hero-board__dots {
  width: 2.4rem;
  height: 0.55rem;
  background: radial-gradient(circle at 0.28rem, #ff5f57 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 1.05rem, #febc2e 0.22rem, transparent 0.24rem),
    radial-gradient(circle at 1.82rem, #28c840 0.22rem, transparent 0.24rem);
}

.hero-board__call-stage {
  flex: 1;
  display: flex;
  min-height: 0;
  gap: 0.65rem;
  padding: 0 0.85rem;
}

.hero-board__doc {
  position: relative;
  width: 0;
  min-width: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-board__doc-paper {
  height: 100%;
  min-width: 16rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: #f7f6f2;
  color: #1a1a1a;
}

.hero-board__dash {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
  padding: 1.1rem 1.15rem 1.15rem;
}

.hero-board__doc-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.hero-board__doc-title {
  margin: 0.35rem 0 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-board__doc-line {
  display: block;
  height: 6px;
  margin-bottom: 0.55rem;
  border-radius: 99px;
  background: #e4e1d8;
}

.hero-board__doc-line.is-short { width: 42%; }
.hero-board__doc-line.is-mid { width: 68%; }

.hero-board__pfp-circle {
  width: 5.75rem;
  height: 5.75rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-board__tile {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #0f120f;
}

.hero-board__participant {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-board__tile-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-board__tile-meta strong {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}

.hero-board__call-controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 0 0.35rem;
}

.hero-board__call-controls span {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-board__call-controls span.is-end {
  background: #e24b4b;
}

.hero-board__call-sub {
  margin: 0 0 0.7rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-board__dash-grid {
  min-height: 0;
}

.hero-board__chart {
  height: 168px;
}

#chart-sources.hero-board__chart {
  height: 150px;
}

.hero-board__chart .apexcharts-canvas {
  margin: 0 auto;
}

.hero-board__bar {
  transform-origin: bottom;
}

@media (min-width: 768px) {
  .hero-board {
    height: 580px;
  }

  .hero-board__scene {
    inset: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-board__dash {
    transform: none !important;
  }
}
