.tx-brand {
  position: relative;
  width: 100%;
  margin-inline: auto;
}

.tx-brand svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tx-brand-track { stroke: #817b90; stroke-width: 1.35; }
.tx-brand-signal { stroke: #d3d0ea; stroke-width: 2.3; stroke-dasharray: 8 42; stroke-dashoffset: -18; }
.tx-brand-signal path + path { stroke: #c2dedf; stroke-dashoffset: -29; }
.tx-brand-arrows { stroke: #c8c2d6; stroke-width: 1.8; }
.tx-brand-device { stroke: #e2dfe9; stroke-width: 1.8; fill: var(--tx-paper); }
.tx-brand-detail { stroke: #a8a3b5; stroke-width: 1.4; }
.tx-brand-file { stroke: #d7cee5; stroke-width: 1.65; }

/* Match ArcspotTransmitterBrandView's luminance mask, silver bands and cool spectrum. */
.tx-brand-foil {
  position: absolute;
  left: 40%;
  top: 50%;
  width: 20%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  background:
    radial-gradient(ellipse at 32% 24%, rgb(255 255 255 / .3), transparent 52%),
    linear-gradient(40deg, transparent 17%, rgb(255 255 255 / .16) 31%, rgb(255 255 255 / .8) 37%, transparent 44%, rgb(38 42 60 / .22) 50%, transparent 60%),
    linear-gradient(135deg, #9da7b3 0%, #d9dee2 16%, #c7d7cf 23%, #e1d9c2 34%, #d6bdce 44%, #bcbcd9 52%, #a9cbd5 61%, #c4d9d1 70%, #e1dbc8 80%, #d3cbdc 89%, #c3cdd3 100%);
  background-size: 100% 100%, 165% 140%, 115% 115%;
  background-position: center, 55% 50%, center;
  mask: url('assets/product/transmitter-mask.png') center / contain no-repeat;
}

@media (prefers-reduced-motion: no-preference) {
  .toolbox-motion .tx-brand-signal path {
    stroke-dashoffset: calc(-2 - 39 * var(--tool-progress, 1));
  }
  .toolbox-motion .tx-brand-signal path + path {
    stroke-dashoffset: calc(4 - 40 * var(--tool-progress, 1));
  }
  .toolbox-motion .tx-brand-foil {
    background-position: center, calc(10% + 80% * var(--tool-progress, 1)) 50%, center;
  }
}

@media (max-width: 42rem) {
  .tx-brand-track { stroke-width: 1.9; }
  .tx-brand-device, .tx-brand-file, .tx-brand-arrows { stroke-width: 2.4; }
  .tx-brand-detail { stroke-width: 1.8; }
}
