.transfer-switch[hidden] { display: none }
.transfer-switch { margin-block: 1rem .25rem }
.transfer-unit span { font-weight: 400 }
.transfer-traces polyline, .transfer-means polyline {
  fill: none;
  stroke: var(--series);
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.transfer-traces polyline { stroke-width: 1.15; opacity: .34 }
.transfer-means polyline { stroke-width: 2.5 }
.transfer-interactive .transfer-traces { display: none }
.transfer-interactive .transfer-points { pointer-events: none }
.transfer-means .transfer-hit {
  stroke: transparent;
  stroke-width: 18;
  pointer-events: stroke;
  cursor: pointer;
}
.transfer-means > g, .transfer-points > g { transition: opacity 140ms ease }
.transfer-muted { opacity: .16 }
.transfer-scores tbody button {
  display: inline-flex;
  align-items: center;
  padding: .2rem 0;
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.transfer-scores tbody button:focus-visible { outline: 2px solid var(--series); outline-offset: 2px }
.transfer-interactive .transfer-scores tbody tr { cursor: pointer }
.transfer-scores tr.transfer-active { background: color-mix(in srgb, var(--series) 9%, transparent) }
.transfer-scores tr.transfer-active button { color: var(--ink); text-decoration: underline; text-underline-offset: .22em }

@media (max-width: 38.75rem) {
  #observations .transfer-stages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline-end: .35rem;
  }
  #observations .transfer-stages span:nth-child(2) {
    position: static;
    transform: none;
    text-align: center;
  }
  #observations .transfer-stages span:last-child { text-align: right }
  #observations .transfer-scores tbody tr { height: 2.75rem }
  #observations .transfer-scores tbody button { max-width: 100%; overflow-wrap: anywhere }
  #observations .transfer-scores tbody button i { flex: none }
}

@media (max-width: 22.5rem) {
  #observations .transfer-stages span {
    width: min-content;
    font-size: .78rem;
    line-height: 1.3;
  }
  #observations .transfer-stages span:nth-child(2) { justify-self: center }
  #observations .transfer-stages span:last-child { justify-self: end }
}

@media (prefers-reduced-motion: reduce) {
  .transfer-means > g, .transfer-points > g { transition: none }
}
