@font-face {
  font-family: SoundboardPixel;
  src: url("/soundboards/vt323-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.soundboard {
  --sb-ink: #15294b;
  --sb-accent: #79e2cf;
  --sb-shadow: #10295c;
  box-sizing: border-box;
  margin: 32px 0;
  background: #f7f5e9;
  border: 3px solid var(--sb-ink);
  box-shadow: 6px 6px 0 var(--sb-shadow);
  color: var(--sb-ink);
  font:
    14px/1.5 Arial,
    sans-serif;
  text-align: left;
  isolation: isolate;
  container-type: inline-size;
  overflow: hidden;
}
.soundboard * {
  box-sizing: border-box;
}
.soundboard [hidden] {
  display: none !important;
}
.sb-finn {
  --sb-accent: #ffca76;
}
.soundboard .sb-titlebar {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #163797;
  color: white;
  padding: 7px 12px;
  border-bottom: 3px solid var(--sb-ink);
  font:
    20px/1 SoundboardPixel,
    monospace;
  letter-spacing: 1px;
}
.sb-window-dots {
  margin-left: auto;
  color: #e5ddc3;
  letter-spacing: 4px;
}
.sb-body {
  padding: 24px;
}
.sb-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.soundboard .sb-kicker {
  font:
    16px/1.25 SoundboardPixel,
    monospace;
  color: #465c73;
}
.soundboard .sb-heading h2 {
  font:
    46px/0.92 SoundboardPixel,
    monospace !important;
  letter-spacing: 0;
  margin: 10px 0 0 !important;
  color: #15294b;
}
.sb-heading h2 > span {
  color: #163797;
}
.sb-tape {
  flex: none;
  width: 126px;
  padding: 9px 11px 7px;
  border: 2px solid #15294b;
  background: var(--sb-accent);
  box-shadow: 3px 3px 0 #15294b;
  transform: rotate(5deg);
  text-align: center;
  color: #15294b;
}
.sb-tape > span {
  display: block;
  font:
    12px/1.1 SoundboardPixel,
    monospace;
  border-bottom: 1px solid #15294b66;
  padding-bottom: 5px;
}
.sb-tape > div {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  margin: 6px 0;
  font: 25px/1 monospace;
}
.sb-tape i {
  display: block;
  width: 40px;
  height: 12px;
  background: #15294b;
}
.sb-tape > b {
  font:
    12px/1 SoundboardPixel,
    monospace;
  letter-spacing: 2px;
}
.sb-intro {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 22px 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #43586f;
}
.sb-intro > span:first-child {
  font-weight: 700;
}
.sb-console {
  margin-bottom: 22px;
  border: 2px solid var(--sb-ink);
  background: #e9e9da;
}
.sb-display {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  background: #15294b;
  color: #d0ffe8;
  font:
    19px/1.2 SoundboardPixel,
    monospace;
  min-height: 44px;
}
.sb-display [data-status] {
  min-width: 0;
  overflow-wrap: anywhere;
}
.sb-led {
  flex: none;
  width: 7px;
  height: 7px;
  background: #8f9cad;
  box-shadow: 2px 2px 0 #09152d;
}
.sb-is-playing .sb-led {
  background: #a6f579;
  box-shadow: 0 0 8px #a6f57988;
}
.sb-equalizer {
  display: flex;
  align-items: center;
  gap: 3px;
  align-self: center;
  margin-left: auto;
  height: 21px;
  flex: none;
}
.sb-equalizer i {
  display: block;
  background: var(--sb-accent);
  width: 4px;
  height: 4px;
}
.sb-is-playing .sb-equalizer i {
  animation: sb-bounce 0.55s steps(4, end) infinite alternate;
}
.sb-is-playing .sb-equalizer i:nth-child(2) {
  animation-delay: -0.15s;
}
.sb-is-playing .sb-equalizer i:nth-child(3) {
  animation-delay: -0.3s;
}
.sb-is-playing .sb-equalizer i:nth-child(4) {
  animation-delay: -0.45s;
}
.sb-is-playing .sb-equalizer i:nth-child(5) {
  animation-delay: -0.1s;
}
.sb-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
}
.soundboard .sb-controls button {
  appearance: none;
  border: 2px solid #15294b;
  background: #f7f5e9;
  box-shadow: 2px 2px 0 #15294b;
  color: #15294b;
  font:
    18px/1 SoundboardPixel,
    monospace;
  padding: 8px 10px;
  cursor: pointer;
}
.soundboard .sb-controls button[data-random] {
  background: var(--sb-accent);
}
.soundboard .sb-controls button:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}
.sb-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font:
    16px/1 SoundboardPixel,
    monospace;
}
.sb-volume input {
  width: 88px;
  min-height: 30px;
  accent-color: #163797;
  cursor: pointer;
}
.sb-pads {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sb-pad {
  min-width: 0;
  --sb-pad-color: #8de2d1;
  --sb-pad-dark: #468e88;
}
.sb-color-1 {
  --sb-pad-color: #d2bbf5;
  --sb-pad-dark: #8068a1;
}
.sb-color-2 {
  --sb-pad-color: #f7d87b;
  --sb-pad-dark: #af9143;
}
.sb-color-3 {
  --sb-pad-color: #ffb4a6;
  --sb-pad-dark: #b6746d;
}
.sb-color-4 {
  --sb-pad-color: #a7ccf8;
  --sb-pad-dark: #608bb8;
}
.sb-color-5 {
  --sb-pad-color: #c6e796;
  --sb-pad-dark: #7d9b52;
}
.soundboard .sb-pad-button {
  appearance: none;
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 140px;
  min-width: 0;
  gap: 8px;
  padding: 10px 10px 16px;
  color: #15294b;
  background: var(--sb-pad-color);
  border: 2px solid #15294b;
  border-radius: 0;
  box-shadow:
    0 5px 0 var(--sb-pad-dark),
    0 7px 0 #15294b;
  cursor: pointer;
  font:
    20px/1.05 SoundboardPixel,
    monospace;
  transition:
    transform 0.1s,
    filter 0.1s;
  touch-action: manipulation;
}
.sb-pad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font:
    12px/1 Arial,
    sans-serif;
  opacity: 0.7;
}
.sb-play {
  font-size: 10px;
}
.sb-sprite {
  width: 29px;
  height: 29px;
  fill: currentColor;
  margin: 2px 0;
  flex: none;
}
.sb-pad-label {
  margin: auto 0;
  text-align: center;
  overflow-wrap: anywhere;
}
.soundboard .sb-pad-button:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.soundboard .sb-pad-button:active,
.soundboard .sb-pad-button.is-playing {
  transform: translateY(5px);
  box-shadow: 0 2px 0 #15294b;
  background: #15294b;
  color: var(--sb-pad-color);
}
.soundboard button:focus-visible,
.soundboard input:focus-visible {
  outline: 3px solid #163797;
  outline-offset: 4px;
}
.sb-progress {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: currentColor;
  transform: scaleX(var(--sb-progress, 0));
  transform-origin: left;
}
.sb-pad audio {
  display: block;
  width: 100%;
  min-width: 0;
}
.sb-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 26px;
  border-top: 2px dotted #15294b44;
  padding-top: 14px;
  color: #526276;
  font:
    15px/1.4 SoundboardPixel,
    monospace;
}
.sb-footer > span:first-child {
  color: #b3475b;
}
.sb-ready {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.sb-standalone {
  margin: 0;
  background: #244ca8 radial-gradient(#ffffff1c 1px, transparent 1px);
  background-size: 5px 5px;
  color: #fff;
}
.sb-standalone main {
  max-width: 810px;
  margin: auto;
  padding: 35px 24px 45px;
}
.sb-standalone nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font:
    20px/1.3 SoundboardPixel,
    monospace;
}
.sb-standalone nav a,
.sb-home {
  color: #fff;
  text-decoration: none;
}
.sb-standalone a:hover {
  text-decoration: underline;
}
.sb-home {
  display: block;
  text-align: center;
  font:
    18px/1.5 SoundboardPixel,
    monospace;
}
.sb-standalone .soundboard {
  margin: 24px 0;
}
.sb-standalone .sb-heading h2 {
  font-size: 60px !important;
}
.sb-standalone .sb-body {
  padding: 30px;
}
.sb-standalone .sb-pad-button {
  height: 148px;
}
@keyframes sb-bounce {
  from {
    height: 4px;
  }
  to {
    height: 21px;
  }
}
@media (max-width: 600px) {
  .sb-body,
  .sb-standalone .sb-body {
    padding: 18px;
  }
  .sb-pads {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px 9px;
  }
  .soundboard .sb-pad-button {
    height: 134px;
    padding: 9px 6px 13px;
    font-size: 19px;
  }
  .sb-tape {
    width: 98px;
    padding: 7px;
  }
  .sb-tape i {
    width: 24px;
  }
  .sb-tape > div {
    font-size: 20px;
  }
  .soundboard .sb-heading h2,
  .sb-standalone .sb-heading h2 {
    font-size: 42px !important;
  }
  .sb-heading {
    gap: 12px;
  }
  .sb-kicker {
    max-width: 150px;
    display: block;
  }
  .sb-intro {
    margin-top: 20px;
  }
  .sb-volume {
    margin-left: 0;
    flex: 1;
    justify-content: flex-end;
  }
  .sb-volume input {
    width: 70px;
  }
  .sb-standalone main {
    padding: 24px 14px;
  }
  .sb-standalone nav {
    font-size: 17px;
  }
  .sb-ready {
    margin-left: 0;
    width: 100%;
    padding-left: 16px;
  }
}
@media (max-width: 370px) {
  .sb-pads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sb-tape {
    display: none;
  }
  .soundboard .sb-heading h2 {
    font-size: 44px !important;
  }
  .sb-volume {
    justify-content: flex-start;
    flex-basis: 100%;
  }
  .sb-volume input {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .soundboard .sb-equalizer i {
    animation: none !important;
  }
  .soundboard .sb-pad-button {
    transition: none;
  }
}

@container (max-width:340px) {
  .sb-tape {
    display: none;
  }
  .sb-volume {
    flex-basis: 100%;
    justify-content: flex-start;
  }
  .sb-volume input {
    flex: 1;
  }
}
@container (max-width:280px) {
  .sb-pads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
