/* Bit2Beat · base elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 var(--font);
  font-variant-numeric: tabular-nums;
  padding-bottom: 92px; /* room for the floating player */
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  font-weight: 650;
}
h1 {
  font-size: 1.75rem;
}
h2 {
  font-size: 1rem;
}
h3 {
  font-size: 0.95rem;
}
p {
  margin: 0;
}
a {
  color: var(--text);
  text-underline-offset: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius-sm);
}
svg.i {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icons {
  display: none;
}
canvas {
  display: block;
  width: 100%;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--amber);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}
kbd {
  font: 12px var(--mono);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 5px;
  background: var(--surface);
}
[hidden] {
  display: none !important;
}

:root.reduce-motion *,
:root.reduce-motion *::before,
:root.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
