.command {
  background: rgba(var(--rgb-blue-light), 0.05);
  border-radius: 0.1em;
  color: var(--color-white);
  display: block;
  font-family: var(--font-family-cascadia);
  font-feature-settings: normal;
  font-size: 80%;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.4em;
  overflow: hidden;
  position: relative;
}

.command pre {
  display: block;
  -ms-overflow-style: none;
  overflow-x: auto;
  padding: 0.6em 1.1em;
  scrollbar-width: none;
  white-space: pre;
}

.command pre code {
  background: none;
  border-radius: initial;
  display: initial;
  font-size: inherit;
  padding: 0;
}

.command pre::-webkit-scrollbar {
  display: none;
}

.command button {
  color: inherit;
  cursor: pointer;
  display: none;
  height: 2.6em;
  opacity: 0.25;
  place-content: center;
  position: absolute;
  right: 0;
  top: 0;
  width: 2.6em;
  z-index: 1;
}

.command button svg {
  height: 0.9em;
  overflow: visible;
  pointer-events: none;
  width: 0.9em;
}



@media(hover: hover) {

  .command {
    transition: transform var(--transition);
    will-change: transform;
  }

  .command button {
    transition: opacity var(--transition);
  }

  .command button:focus,
  .command button:hover {
    opacity: 1;
  }

  .command:has(button:active) {
    transform: scale(1.01);
  }

}



@media(min-width: 64em) {

  .command button {
    display: grid;
  }

}
