.snapshot3 {
  --snapshot3-bg: #040b18;
  --snapshot3-surface: #081327;
  --snapshot3-border: rgba(116, 143, 181, 0.22);
  --snapshot3-text: #eef4fb;
  --snapshot3-muted: #aab9cc;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: clamp(560px, 64vh, 620px);
  overflow: hidden;
  border: 1px solid var(--snapshot3-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at 25% 18%, rgba(31, 70, 130, 0.16), transparent 34%),
    radial-gradient(circle at 78% 82%, rgba(143, 73, 30, 0.10), transparent 30%),
    var(--snapshot3-bg);
}

.snapshot3__breadcrumbs {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  overflow-x: auto;
  border-bottom: 1px solid var(--snapshot3-border);
  background: rgba(8, 19, 39, 0.88);
  scrollbar-width: none;
}

.snapshot3__breadcrumbs::-webkit-scrollbar {
  display: none;
}

.snapshot3__crumb {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(218, 228, 241, 0.72);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.snapshot3__crumb:hover,
.snapshot3__crumb:focus-visible,
.snapshot3__crumb.is-active {
  color: var(--snapshot3-text);
  border-color: rgba(100, 142, 207, 0.22);
  background: rgba(67, 111, 177, 0.18);
  outline: none;
}

.snapshot3__crumb-separator {
  margin: 0 2px;
  color: rgba(154, 176, 207, 0.45);
}

.snapshot3__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(500px, 58vh, 560px);
  padding: 10px 12px 6px;
}

.snapshot3__svg {
  display: block;
  width: min(100%, 660px);
  height: auto;
  aspect-ratio: 1 / 1;
  min-width: 0;
  overflow: visible;
  touch-action: manipulation;
}

.snapshot3__arc {
  stroke: rgba(2, 10, 24, 0.84);
  stroke-width: 0.9;
  cursor: pointer;
  transition: opacity 160ms ease, filter 160ms ease, stroke-opacity 160ms ease;
}

.snapshot3__arc:hover,
.snapshot3__arc:focus-visible,
.snapshot3__arc.is-active {
  filter: brightness(1.08) drop-shadow(0 0 4px rgba(104, 154, 231, 0.20));
  stroke-opacity: 1;
  outline: none;
}

.snapshot3__arc.is-dimmed {
  opacity: 0.19;
}

.snapshot3__label {
  pointer-events: none;
  fill: rgba(241, 246, 252, 0.92);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.snapshot3__label-name {
  font-size: 12px;
  font-weight: 600;
}

.snapshot3__label-value {
  fill: rgba(224, 233, 245, 0.82);
  font-size: 10.5px;
  font-weight: 500;
}

.snapshot3__label--industry .snapshot3__label-name {
  font-size: 10.5px;
  font-weight: 500;
}

.snapshot3__center-disc {
  stroke: rgba(113, 148, 200, 0.38);
  stroke-width: 1.2;
  filter: drop-shadow(0 0 8px rgba(46, 93, 170, 0.10));
}

.snapshot3__center-title,
.snapshot3__center-value,
.snapshot3__center-subtitle {
  pointer-events: none;
  dominant-baseline: middle;
}

.snapshot3__center-title {
  fill: rgba(191, 205, 224, 0.90);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.snapshot3__center-value {
  fill: #f2f6fb;
  font-size: 42px;
  font-weight: 600;
}

.snapshot3__center-subtitle {
  fill: rgba(185, 199, 218, 0.82);
  font-size: 13px;
  font-weight: 400;
}

.snapshot3__tooltip {
  position: absolute;
  z-index: 8;
  width: min(290px, calc(100% - 16px));
  padding: 12px 14px;
  border: 1px solid rgba(114, 145, 189, 0.30);
  border-radius: 10px;
  color: #edf4fc;
  background: rgba(6, 15, 31, 0.96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
  font-size: 0.8rem;
  pointer-events: none;
}

.snapshot3__tooltip strong,
.snapshot3__tooltip span {
  display: block;
}

.snapshot3__tooltip-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.snapshot3__tooltip-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 39px;
  min-height: 39px;
}

.snapshot3__tooltip-logo {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  object-fit: contain;
  padding: 3px;
  background: rgba(11, 23, 44, 0.95);
  border: 1px solid rgba(144, 167, 200, 0.55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.30);
  filter: drop-shadow(0 0 1px rgba(8, 16, 32, 0.85));
}

.snapshot3__tooltip-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: #dbe7f6;
  background: rgba(100, 142, 207, 0.24);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.snapshot3__tooltip span {
  margin-top: 2px;
  color: rgba(206, 218, 234, 0.72);
}

.snapshot3__tooltip dl {
  display: grid;
  gap: 5px;
  margin: 10px 0 0;
}

.snapshot3__tooltip dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.snapshot3__tooltip dt {
  color: rgba(180, 197, 220, 0.70);
}

.snapshot3__tooltip dd {
  margin: 0;
  color: rgba(240, 245, 252, 0.94);
  text-align: right;
}

@media (max-width: 767.98px) {
  .snapshot3 {
    min-height: 500px;
  }

  .snapshot3__stage {
    min-height: 445px;
    padding: 8px 8px 4px;
  }

  .snapshot3__label-name {
    font-size: 10px;
  }

  .snapshot3__label-value,
  .snapshot3__label--industry .snapshot3__label-name {
    font-size: 9px;
  }

  .snapshot3__center-title {
    font-size: 11px;
  }

  .snapshot3__center-value {
    font-size: 32px;
  }

  .snapshot3__center-subtitle {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snapshot3__arc {
    transition: none;
  }
}
