.portfolio-sound-inline {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.portfolio-sound-inline > :first-child { white-space: nowrap; }

/* The name sits at the top of its taller navigation button. Align to the text line. */
.hw-site-nav .portfolio-sound-inline { align-items: flex-start; }
.hw-site-nav .portfolio-sound-slot { height: 1.2em; }

.portfolio-sound-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  flex: none;
  vertical-align: middle;
  line-height: 1;
}

.portfolio-sound-slot:empty { display: none; }

.portfolio-sound-slot > button[class] {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  touch-action: manipulation;
}

.portfolio-sound-slot button:hover { opacity: .72; }
.portfolio-sound-slot button:focus-visible { outline: 1px solid currentColor; outline-offset: -4px; }
.portfolio-sound-slot svg { width: 22px; height: 22px; display: block; fill: currentColor; }
.hw-site-nav .portfolio-sound-slot svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .38)); }

.portfolio-sound-project {
  position: absolute;
  top: 0;
  left: 92px;
  z-index: 4;
  height: 60px;
  pointer-events: inherit;
}

.rbar .portfolio-sound-slot > button,
.fr-bar .portfolio-sound-slot > button { flex: none; }

@media (max-width: 699px) {
  .portfolio-sound-inline { gap: 12px; }
  .portfolio-sound-slot { gap: 6px; }
  .portfolio-sound-slot > button[class] { width: 40px; }
  .portfolio-sound-slot svg { width: 20px; height: 20px; }
  .top .portfolio-sound-inline { flex-wrap: wrap; max-width: 100%; row-gap: 4px; }
}

@media (max-width: 455px) {
  .portfolio-sound-project { left: 26px; top: 47px; height: 44px; }
  .rbar .ctl, .fr-bar .fr-ctl { gap: 3px; }
  .rbar .portfolio-sound-slot > button[class],
  .fr-bar .portfolio-sound-slot > button[class] { width: 34px; }
}

@media (max-width: 375px) {
  .hw-site-nav .portfolio-sound-inline { flex-wrap: wrap; max-width: 100%; row-gap: 14px; }
}
