/* URL Comparison hero artwork — scoped to this tool only. */
.url-comparison-hero-scene {
  overflow: visible;
  color: #348bdc;
}

.url-comparison-hero-scene g {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.url-comparison-hero-scene .url-map-panel {
  opacity: 1;
}

.url-comparison-hero-scene .url-map-panel-bg {
  fill: rgba(255,255,255,.52);
  stroke: rgba(48,129,212,.75);
}

.url-comparison-hero-scene .url-map-panel-divider {
  stroke: rgba(48,129,212,.4);
}

.url-comparison-hero-scene .url-map-document-icon {
  fill: rgba(52,139,220,.12);
  stroke: #348bdc;
  stroke-width: 1.5;
}

.url-comparison-hero-scene .url-map-document-detail {
  stroke-width: 1;
}

.url-comparison-hero-scene .url-map-panel-title {
  fill: #235e9e;
  stroke: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}

.url-comparison-hero-scene .url-map-row circle {
  fill: #348bdc;
  stroke: none;
  opacity: .75;
}

.url-comparison-hero-scene .url-map-destination .url-map-row circle {
  fill: #25a6a0;
}

.url-comparison-hero-scene .url-map-row {
  animation: url-map-row-highlight 5s ease-in-out infinite;
}

.url-comparison-hero-scene .url-map-row:nth-child(2) {animation-delay:-1.25s}
.url-comparison-hero-scene .url-map-row:nth-child(3) {animation-delay:-2.5s}
.url-comparison-hero-scene .url-map-row:nth-child(4) {animation-delay:-3.75s}

@keyframes url-map-row-highlight {
  0%,100% {opacity:.55}
  40% {opacity:1}
}

.url-comparison-hero-scene .url-map-rows {
  opacity: .78;
}

.url-comparison-hero-scene .url-map-source .url-map-row path {
  animation: url-map-source-pulse 5s ease-in-out infinite;
}

.url-comparison-hero-scene .url-map-destination .url-map-row path {
  animation: url-map-destination-pulse 5s ease-in-out infinite;
}

.url-comparison-hero-scene .url-map-connection {
  stroke: #25a6a0;
  stroke-width: 2.6;
  stroke-dasharray: 9 12;
  animation: url-map-flow 5s linear infinite;
}

.url-comparison-hero-scene .url-map-arrows {
  stroke: #25a6a0;
  animation: url-map-arrow-pulse 5s ease-in-out infinite;
}

.url-comparison-hero-scene .url-map-source path:nth-child(2),
.url-comparison-hero-scene .url-map-destination path:nth-child(2),
.url-comparison-hero-scene .url-map-connection:nth-child(2) {
  animation-delay: -1.25s;
}

.url-comparison-hero-scene .url-map-source path:nth-child(3),
.url-comparison-hero-scene .url-map-destination path:nth-child(3),
.url-comparison-hero-scene .url-map-connection:nth-child(3) {
  animation-delay: -2.5s;
}

.url-comparison-hero-scene .url-map-source path:nth-child(4),
.url-comparison-hero-scene .url-map-destination path:nth-child(4),
.url-comparison-hero-scene .url-map-connection:nth-child(4) {
  animation-delay: -3.75s;
}

@keyframes url-map-source-pulse {
  0%, 100% { opacity: .48; }
  35% { opacity: 1; }
}

@keyframes url-map-destination-pulse {
  0%, 100% { opacity: .45; }
  65% { opacity: 1; }
}

@keyframes url-map-flow {
  from { stroke-dashoffset: 42; }
  to { stroke-dashoffset: 0; }
}

@keyframes url-map-arrow-pulse {
  0%, 100% { opacity: .65; }
  50% { opacity: 1; }
}

html[data-theme="dark"] .url-comparison-hero-scene {
  color: #78baf4;
}

html[data-theme="dark"] .url-comparison-hero-scene .url-map-connection,
html[data-theme="dark"] .url-comparison-hero-scene .url-map-arrows {
  stroke: #58d2c7;
}

@media (prefers-reduced-motion: reduce) {
  .url-comparison-hero-scene *,
  .url-comparison-hero-scene *::before,
  .url-comparison-hero-scene *::after {
    animation: none !important;
    transition: none !important;
  }
}

html[data-theme="dark"] .url-comparison-hero-scene .url-map-panel-bg {
  fill: rgba(20,43,67,.68);
  stroke: #78baf4;
}

html[data-theme="dark"] .url-comparison-hero-scene .url-map-panel-title {
  fill: #b5dcff;
}
