/* kodza-guard 9f185a3fefc7 — generated by Kodza, do not edit.
   Theme guard: keeps a site's own CSS (WordPress themes, Bootstrap, CSS resets…) off this
   component. :not(#_) is always true and weighs as much as an id, so these lines win over
   theme rules made of classes and tags. Customise the component through its --kz-* variables. */

/* What the browser gives, on everything the component leaves to it */

.kodza-kbd:not(#_) {
  border: revert;
  outline: revert;
  text-decoration: revert;
  list-style: revert;
  position: revert;
  outline-offset: revert;
  appearance: revert;
  max-height: revert;
  font-style: revert;
  letter-spacing: revert;
  text-transform: revert;
  text-underline-offset: revert;
  text-align: revert;
  text-indent: revert;
  text-shadow: revert;
  vertical-align: revert;
}

/* The component's own rules, one step stronger: real buttons and fields, what it sets on tags themes style (links, lists, headings, images…), and the root width (a theme may narrow it, never widen it) */

.kodza-kbd:not(#_) {
  display: inline-grid;
  padding: 0 calc(var(--kz-kbd-s) * 0.26);
  box-sizing: border-box;
  border-radius: calc(var(--kz-kbd-s) * 0.27);
  background: var(--kz-kbd-bg);
  box-shadow: inset 0 0 0 1px var(--kz-kbd-line), 0 2px 0 var(--kz-kbd-depth);
  color: var(--kz-kbd-fg);
  font-family: inherit;
  font-size: calc(var(--kz-kbd-s) * 0.48);
  font-weight: 500;
  line-height: 1;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.kodza-kbd.is-pressed:not(#_) {
  box-shadow: inset 0 0 0 1px var(--kz-kbd-line), 0 0 0 var(--kz-kbd-depth);
}

.kodza-kbd-combo--lg .kodza-kbd:not(#_) {
  box-shadow: inset 0 0 0 1px var(--kz-kbd-line), 0 5px 0 var(--kz-kbd-depth);
  font-weight: 400;
}

.kodza-kbd-combo--lg .kodza-kbd.is-pressed:not(#_) {
  box-shadow: inset 0 0 0 1px var(--kz-kbd-line), 0 0 0 var(--kz-kbd-depth);
}

@media (prefers-reduced-motion: reduce) {
  .kodza-kbd:not(#_) {
    transition-duration: 0.01ms !important;
  }
}
