@charset "UTF-8";
:root {
  --bg-color-light: #F3EFE5;
  --bg-color-dark: #1D2754;
  --bg-color: var(--bg-color-dark);
  --bg-header: var(--bg-color-dark);
  --bg-footer: var(--bg-color-dark);
  --bg-html: var(--bg-color-dark);
  --bg-body: var(--bg-color-light);
  --bg-panel: white;
  --bg-input: white;
  --text-color: #000000;
  --link-color: #184EA0;
  --button-color: hsl(15, 80%, 50%);
  --button-hover-color: hsl(15, 90%, 45%);
  --border-color: #666;
  --input-color: var(--text-color);
  --max-width: 1280px;
  --paragraph-bottom-margin: 2em;
  --mobile-side-padding: 20px;
  --pixel-font: "ByteBounce", sans-serif;
  --amiga-font: "Topaz", monospace;
  --subnav-bg-color: rgb(236, 229, 213);
  --body-font-size: 16px;
  --h1-font-size: 52px;
  --h2-font-size: 42px;
  --h3-font-size: 38px;
  --h4-font-size: 32px;
  --h5-font-size: 28px;
  --h6-font-size: 24px;
}

@media print {
  :root {
    --body-font-size: 9pt;
    --h1-font-size: 38pt;
    --h2-font-size: 32pt;
    --h3-font-size: 24pt;
    --h4-font-size: 21pt;
    --h5-font-size: 19pt;
    --h6-font-size: 16pt;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: black;
    --text-color: white;
    --link-color: #7492ee;
    --bg-header: black;
    --bg-footer: black;
    --bg-html: black;
    --bg-body: var(--bg-color-dark);
    --subnav-bg-color: rgba(0,0,0,.3);
    --bg-panel: rgba(0,0,0,.3);
    --bg-input: rgba(0,0,0,.3);
    --input-color: white;
  }
}
/* cyrillic */
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/CHy2V-3HFUT7aC4iv1TxGDR9DHEserHN25py2TTp0E1bZZV4h1mWrull_g.woff) format("woff");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/CHy2V-3HFUT7aC4iv1TxGDR9DHEserHN25py2TTp0E1RZZV4h1mWrull_g.woff) format("woff");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/CHy2V-3HFUT7aC4iv1TxGDR9DHEserHN25py2TTp0E1fZZV4h1mWruk.woff) format("woff");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/xMQbuFFYT72XzQspDqW1KX7wmA.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/fonts/xMQbuFFYT72XzQUpDqW1KX4.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "ByteBounce";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ByteBounce.woff) format("woff");
}
@font-face {
  font-family: "ByteBounce";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/ByteBounce.woff2) format("woff2");
}
/* IE6/7/8 */
@font-face {
  font-family: Topaz;
  src: url(/fonts/TopazPlus_a1200_v1.0.eot);
}
/* FF3.5+/Safari/Opera10 */
@font-face {
  font-family: Topaz;
  src: url(/fonts/TopazPlus_a1200_v1.0.ttf) format("truetype");
}
body {
  font-optical-sizing: auto;
  font-style: normal;
}

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}
body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

/*
  Spacing utility classes

  Example scale (configurable in _variables.scss):
    0: 0
    1: 4px
    2: 8px
    3: 12px
    ...
    10: 64px

  Class format:
    .m-{n}   → margin
    .p-{n}   → padding
    .mx-{n}  → margin-inline
    .py-{n}  → padding-block

  Responsive:
    .md:mt-4, .xl:px-6, etc.

  Example usage:
    <div class="p-1 md:px-2 xl:py-1 mt-8 lg:mb-0">
      ...
    </div>
*/
.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

.mr-0 {
  margin-right: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.ml-0 {
  margin-left: 0;
}

.mx-0 {
  margin-left: 0;
  margin-right: 0;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.p-0 {
  padding: 0;
}

.pt-0 {
  padding-top: 0;
}

.pr-0 {
  padding-right: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.pl-0 {
  padding-left: 0;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.m-1 {
  margin: 4px;
}

.mt-1 {
  margin-top: 4px;
}

.mr-1 {
  margin-right: 4px;
}

.mb-1 {
  margin-bottom: 4px;
}

.ml-1 {
  margin-left: 4px;
}

.mx-1 {
  margin-left: 4px;
  margin-right: 4px;
}

.my-1 {
  margin-top: 4px;
  margin-bottom: 4px;
}

.p-1 {
  padding: 4px;
}

.pt-1 {
  padding-top: 4px;
}

.pr-1 {
  padding-right: 4px;
}

.pb-1 {
  padding-bottom: 4px;
}

.pl-1 {
  padding-left: 4px;
}

.px-1 {
  padding-left: 4px;
  padding-right: 4px;
}

.py-1 {
  padding-top: 4px;
  padding-bottom: 4px;
}

.m-2 {
  margin: 8px;
}

.mt-2 {
  margin-top: 8px;
}

.mr-2 {
  margin-right: 8px;
}

.mb-2 {
  margin-bottom: 8px;
}

.ml-2 {
  margin-left: 8px;
}

.mx-2 {
  margin-left: 8px;
  margin-right: 8px;
}

.my-2 {
  margin-top: 8px;
  margin-bottom: 8px;
}

.p-2 {
  padding: 8px;
}

.pt-2 {
  padding-top: 8px;
}

.pr-2 {
  padding-right: 8px;
}

.pb-2 {
  padding-bottom: 8px;
}

.pl-2 {
  padding-left: 8px;
}

.px-2 {
  padding-left: 8px;
  padding-right: 8px;
}

.py-2 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.m-3 {
  margin: 16px;
}

.mt-3 {
  margin-top: 16px;
}

.mr-3 {
  margin-right: 16px;
}

.mb-3 {
  margin-bottom: 16px;
}

.ml-3 {
  margin-left: 16px;
}

.mx-3 {
  margin-left: 16px;
  margin-right: 16px;
}

.my-3 {
  margin-top: 16px;
  margin-bottom: 16px;
}

.p-3 {
  padding: 16px;
}

.pt-3 {
  padding-top: 16px;
}

.pr-3 {
  padding-right: 16px;
}

.pb-3 {
  padding-bottom: 16px;
}

.pl-3 {
  padding-left: 16px;
}

.px-3 {
  padding-left: 16px;
  padding-right: 16px;
}

.py-3 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.m-4 {
  margin: 32px;
}

.mt-4 {
  margin-top: 32px;
}

.mr-4 {
  margin-right: 32px;
}

.mb-4 {
  margin-bottom: 32px;
}

.ml-4 {
  margin-left: 32px;
}

.mx-4 {
  margin-left: 32px;
  margin-right: 32px;
}

.my-4 {
  margin-top: 32px;
  margin-bottom: 32px;
}

.p-4 {
  padding: 32px;
}

.pt-4 {
  padding-top: 32px;
}

.pr-4 {
  padding-right: 32px;
}

.pb-4 {
  padding-bottom: 32px;
}

.pl-4 {
  padding-left: 32px;
}

.px-4 {
  padding-left: 32px;
  padding-right: 32px;
}

.py-4 {
  padding-top: 32px;
  padding-bottom: 32px;
}

@media (min-width: 576px) {
  .sm\:m-0 {
    margin: 0;
  }
  .sm\:mt-0 {
    margin-top: 0;
  }
  .sm\:mr-0 {
    margin-right: 0;
  }
  .sm\:mb-0 {
    margin-bottom: 0;
  }
  .sm\:ml-0 {
    margin-left: 0;
  }
  .sm\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  .sm\:my-0 {
    margin-top: 0;
    margin-bottom: 0;
  }
  .sm\:p-0 {
    padding: 0;
  }
  .sm\:pt-0 {
    padding-top: 0;
  }
  .sm\:pr-0 {
    padding-right: 0;
  }
  .sm\:pb-0 {
    padding-bottom: 0;
  }
  .sm\:pl-0 {
    padding-left: 0;
  }
  .sm\:px-0 {
    padding-left: 0;
    padding-right: 0;
  }
  .sm\:py-0 {
    padding-top: 0;
    padding-bottom: 0;
  }
  .sm\:m-1 {
    margin: 4px;
  }
  .sm\:mt-1 {
    margin-top: 4px;
  }
  .sm\:mr-1 {
    margin-right: 4px;
  }
  .sm\:mb-1 {
    margin-bottom: 4px;
  }
  .sm\:ml-1 {
    margin-left: 4px;
  }
  .sm\:mx-1 {
    margin-left: 4px;
    margin-right: 4px;
  }
  .sm\:my-1 {
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .sm\:p-1 {
    padding: 4px;
  }
  .sm\:pt-1 {
    padding-top: 4px;
  }
  .sm\:pr-1 {
    padding-right: 4px;
  }
  .sm\:pb-1 {
    padding-bottom: 4px;
  }
  .sm\:pl-1 {
    padding-left: 4px;
  }
  .sm\:px-1 {
    padding-left: 4px;
    padding-right: 4px;
  }
  .sm\:py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .sm\:m-2 {
    margin: 8px;
  }
  .sm\:mt-2 {
    margin-top: 8px;
  }
  .sm\:mr-2 {
    margin-right: 8px;
  }
  .sm\:mb-2 {
    margin-bottom: 8px;
  }
  .sm\:ml-2 {
    margin-left: 8px;
  }
  .sm\:mx-2 {
    margin-left: 8px;
    margin-right: 8px;
  }
  .sm\:my-2 {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .sm\:p-2 {
    padding: 8px;
  }
  .sm\:pt-2 {
    padding-top: 8px;
  }
  .sm\:pr-2 {
    padding-right: 8px;
  }
  .sm\:pb-2 {
    padding-bottom: 8px;
  }
  .sm\:pl-2 {
    padding-left: 8px;
  }
  .sm\:px-2 {
    padding-left: 8px;
    padding-right: 8px;
  }
  .sm\:py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .sm\:m-3 {
    margin: 16px;
  }
  .sm\:mt-3 {
    margin-top: 16px;
  }
  .sm\:mr-3 {
    margin-right: 16px;
  }
  .sm\:mb-3 {
    margin-bottom: 16px;
  }
  .sm\:ml-3 {
    margin-left: 16px;
  }
  .sm\:mx-3 {
    margin-left: 16px;
    margin-right: 16px;
  }
  .sm\:my-3 {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .sm\:p-3 {
    padding: 16px;
  }
  .sm\:pt-3 {
    padding-top: 16px;
  }
  .sm\:pr-3 {
    padding-right: 16px;
  }
  .sm\:pb-3 {
    padding-bottom: 16px;
  }
  .sm\:pl-3 {
    padding-left: 16px;
  }
  .sm\:px-3 {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sm\:py-3 {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .sm\:m-4 {
    margin: 32px;
  }
  .sm\:mt-4 {
    margin-top: 32px;
  }
  .sm\:mr-4 {
    margin-right: 32px;
  }
  .sm\:mb-4 {
    margin-bottom: 32px;
  }
  .sm\:ml-4 {
    margin-left: 32px;
  }
  .sm\:mx-4 {
    margin-left: 32px;
    margin-right: 32px;
  }
  .sm\:my-4 {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .sm\:p-4 {
    padding: 32px;
  }
  .sm\:pt-4 {
    padding-top: 32px;
  }
  .sm\:pr-4 {
    padding-right: 32px;
  }
  .sm\:pb-4 {
    padding-bottom: 32px;
  }
  .sm\:pl-4 {
    padding-left: 32px;
  }
  .sm\:px-4 {
    padding-left: 32px;
    padding-right: 32px;
  }
  .sm\:py-4 {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
@media (min-width: 768px) {
  .md\:m-0 {
    margin: 0;
  }
  .md\:mt-0 {
    margin-top: 0;
  }
  .md\:mr-0 {
    margin-right: 0;
  }
  .md\:mb-0 {
    margin-bottom: 0;
  }
  .md\:ml-0 {
    margin-left: 0;
  }
  .md\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  .md\:my-0 {
    margin-top: 0;
    margin-bottom: 0;
  }
  .md\:p-0 {
    padding: 0;
  }
  .md\:pt-0 {
    padding-top: 0;
  }
  .md\:pr-0 {
    padding-right: 0;
  }
  .md\:pb-0 {
    padding-bottom: 0;
  }
  .md\:pl-0 {
    padding-left: 0;
  }
  .md\:px-0 {
    padding-left: 0;
    padding-right: 0;
  }
  .md\:py-0 {
    padding-top: 0;
    padding-bottom: 0;
  }
  .md\:m-1 {
    margin: 4px;
  }
  .md\:mt-1 {
    margin-top: 4px;
  }
  .md\:mr-1 {
    margin-right: 4px;
  }
  .md\:mb-1 {
    margin-bottom: 4px;
  }
  .md\:ml-1 {
    margin-left: 4px;
  }
  .md\:mx-1 {
    margin-left: 4px;
    margin-right: 4px;
  }
  .md\:my-1 {
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .md\:p-1 {
    padding: 4px;
  }
  .md\:pt-1 {
    padding-top: 4px;
  }
  .md\:pr-1 {
    padding-right: 4px;
  }
  .md\:pb-1 {
    padding-bottom: 4px;
  }
  .md\:pl-1 {
    padding-left: 4px;
  }
  .md\:px-1 {
    padding-left: 4px;
    padding-right: 4px;
  }
  .md\:py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .md\:m-2 {
    margin: 8px;
  }
  .md\:mt-2 {
    margin-top: 8px;
  }
  .md\:mr-2 {
    margin-right: 8px;
  }
  .md\:mb-2 {
    margin-bottom: 8px;
  }
  .md\:ml-2 {
    margin-left: 8px;
  }
  .md\:mx-2 {
    margin-left: 8px;
    margin-right: 8px;
  }
  .md\:my-2 {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .md\:p-2 {
    padding: 8px;
  }
  .md\:pt-2 {
    padding-top: 8px;
  }
  .md\:pr-2 {
    padding-right: 8px;
  }
  .md\:pb-2 {
    padding-bottom: 8px;
  }
  .md\:pl-2 {
    padding-left: 8px;
  }
  .md\:px-2 {
    padding-left: 8px;
    padding-right: 8px;
  }
  .md\:py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .md\:m-3 {
    margin: 16px;
  }
  .md\:mt-3 {
    margin-top: 16px;
  }
  .md\:mr-3 {
    margin-right: 16px;
  }
  .md\:mb-3 {
    margin-bottom: 16px;
  }
  .md\:ml-3 {
    margin-left: 16px;
  }
  .md\:mx-3 {
    margin-left: 16px;
    margin-right: 16px;
  }
  .md\:my-3 {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .md\:p-3 {
    padding: 16px;
  }
  .md\:pt-3 {
    padding-top: 16px;
  }
  .md\:pr-3 {
    padding-right: 16px;
  }
  .md\:pb-3 {
    padding-bottom: 16px;
  }
  .md\:pl-3 {
    padding-left: 16px;
  }
  .md\:px-3 {
    padding-left: 16px;
    padding-right: 16px;
  }
  .md\:py-3 {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .md\:m-4 {
    margin: 32px;
  }
  .md\:mt-4 {
    margin-top: 32px;
  }
  .md\:mr-4 {
    margin-right: 32px;
  }
  .md\:mb-4 {
    margin-bottom: 32px;
  }
  .md\:ml-4 {
    margin-left: 32px;
  }
  .md\:mx-4 {
    margin-left: 32px;
    margin-right: 32px;
  }
  .md\:my-4 {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .md\:p-4 {
    padding: 32px;
  }
  .md\:pt-4 {
    padding-top: 32px;
  }
  .md\:pr-4 {
    padding-right: 32px;
  }
  .md\:pb-4 {
    padding-bottom: 32px;
  }
  .md\:pl-4 {
    padding-left: 32px;
  }
  .md\:px-4 {
    padding-left: 32px;
    padding-right: 32px;
  }
  .md\:py-4 {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
@media (min-width: 992px) {
  .lg\:m-0 {
    margin: 0;
  }
  .lg\:mt-0 {
    margin-top: 0;
  }
  .lg\:mr-0 {
    margin-right: 0;
  }
  .lg\:mb-0 {
    margin-bottom: 0;
  }
  .lg\:ml-0 {
    margin-left: 0;
  }
  .lg\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  .lg\:my-0 {
    margin-top: 0;
    margin-bottom: 0;
  }
  .lg\:p-0 {
    padding: 0;
  }
  .lg\:pt-0 {
    padding-top: 0;
  }
  .lg\:pr-0 {
    padding-right: 0;
  }
  .lg\:pb-0 {
    padding-bottom: 0;
  }
  .lg\:pl-0 {
    padding-left: 0;
  }
  .lg\:px-0 {
    padding-left: 0;
    padding-right: 0;
  }
  .lg\:py-0 {
    padding-top: 0;
    padding-bottom: 0;
  }
  .lg\:m-1 {
    margin: 4px;
  }
  .lg\:mt-1 {
    margin-top: 4px;
  }
  .lg\:mr-1 {
    margin-right: 4px;
  }
  .lg\:mb-1 {
    margin-bottom: 4px;
  }
  .lg\:ml-1 {
    margin-left: 4px;
  }
  .lg\:mx-1 {
    margin-left: 4px;
    margin-right: 4px;
  }
  .lg\:my-1 {
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .lg\:p-1 {
    padding: 4px;
  }
  .lg\:pt-1 {
    padding-top: 4px;
  }
  .lg\:pr-1 {
    padding-right: 4px;
  }
  .lg\:pb-1 {
    padding-bottom: 4px;
  }
  .lg\:pl-1 {
    padding-left: 4px;
  }
  .lg\:px-1 {
    padding-left: 4px;
    padding-right: 4px;
  }
  .lg\:py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .lg\:m-2 {
    margin: 8px;
  }
  .lg\:mt-2 {
    margin-top: 8px;
  }
  .lg\:mr-2 {
    margin-right: 8px;
  }
  .lg\:mb-2 {
    margin-bottom: 8px;
  }
  .lg\:ml-2 {
    margin-left: 8px;
  }
  .lg\:mx-2 {
    margin-left: 8px;
    margin-right: 8px;
  }
  .lg\:my-2 {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .lg\:p-2 {
    padding: 8px;
  }
  .lg\:pt-2 {
    padding-top: 8px;
  }
  .lg\:pr-2 {
    padding-right: 8px;
  }
  .lg\:pb-2 {
    padding-bottom: 8px;
  }
  .lg\:pl-2 {
    padding-left: 8px;
  }
  .lg\:px-2 {
    padding-left: 8px;
    padding-right: 8px;
  }
  .lg\:py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .lg\:m-3 {
    margin: 16px;
  }
  .lg\:mt-3 {
    margin-top: 16px;
  }
  .lg\:mr-3 {
    margin-right: 16px;
  }
  .lg\:mb-3 {
    margin-bottom: 16px;
  }
  .lg\:ml-3 {
    margin-left: 16px;
  }
  .lg\:mx-3 {
    margin-left: 16px;
    margin-right: 16px;
  }
  .lg\:my-3 {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .lg\:p-3 {
    padding: 16px;
  }
  .lg\:pt-3 {
    padding-top: 16px;
  }
  .lg\:pr-3 {
    padding-right: 16px;
  }
  .lg\:pb-3 {
    padding-bottom: 16px;
  }
  .lg\:pl-3 {
    padding-left: 16px;
  }
  .lg\:px-3 {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lg\:py-3 {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .lg\:m-4 {
    margin: 32px;
  }
  .lg\:mt-4 {
    margin-top: 32px;
  }
  .lg\:mr-4 {
    margin-right: 32px;
  }
  .lg\:mb-4 {
    margin-bottom: 32px;
  }
  .lg\:ml-4 {
    margin-left: 32px;
  }
  .lg\:mx-4 {
    margin-left: 32px;
    margin-right: 32px;
  }
  .lg\:my-4 {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .lg\:p-4 {
    padding: 32px;
  }
  .lg\:pt-4 {
    padding-top: 32px;
  }
  .lg\:pr-4 {
    padding-right: 32px;
  }
  .lg\:pb-4 {
    padding-bottom: 32px;
  }
  .lg\:pl-4 {
    padding-left: 32px;
  }
  .lg\:px-4 {
    padding-left: 32px;
    padding-right: 32px;
  }
  .lg\:py-4 {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
@media (min-width: 1200px) {
  .xl\:m-0 {
    margin: 0;
  }
  .xl\:mt-0 {
    margin-top: 0;
  }
  .xl\:mr-0 {
    margin-right: 0;
  }
  .xl\:mb-0 {
    margin-bottom: 0;
  }
  .xl\:ml-0 {
    margin-left: 0;
  }
  .xl\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  .xl\:my-0 {
    margin-top: 0;
    margin-bottom: 0;
  }
  .xl\:p-0 {
    padding: 0;
  }
  .xl\:pt-0 {
    padding-top: 0;
  }
  .xl\:pr-0 {
    padding-right: 0;
  }
  .xl\:pb-0 {
    padding-bottom: 0;
  }
  .xl\:pl-0 {
    padding-left: 0;
  }
  .xl\:px-0 {
    padding-left: 0;
    padding-right: 0;
  }
  .xl\:py-0 {
    padding-top: 0;
    padding-bottom: 0;
  }
  .xl\:m-1 {
    margin: 4px;
  }
  .xl\:mt-1 {
    margin-top: 4px;
  }
  .xl\:mr-1 {
    margin-right: 4px;
  }
  .xl\:mb-1 {
    margin-bottom: 4px;
  }
  .xl\:ml-1 {
    margin-left: 4px;
  }
  .xl\:mx-1 {
    margin-left: 4px;
    margin-right: 4px;
  }
  .xl\:my-1 {
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .xl\:p-1 {
    padding: 4px;
  }
  .xl\:pt-1 {
    padding-top: 4px;
  }
  .xl\:pr-1 {
    padding-right: 4px;
  }
  .xl\:pb-1 {
    padding-bottom: 4px;
  }
  .xl\:pl-1 {
    padding-left: 4px;
  }
  .xl\:px-1 {
    padding-left: 4px;
    padding-right: 4px;
  }
  .xl\:py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .xl\:m-2 {
    margin: 8px;
  }
  .xl\:mt-2 {
    margin-top: 8px;
  }
  .xl\:mr-2 {
    margin-right: 8px;
  }
  .xl\:mb-2 {
    margin-bottom: 8px;
  }
  .xl\:ml-2 {
    margin-left: 8px;
  }
  .xl\:mx-2 {
    margin-left: 8px;
    margin-right: 8px;
  }
  .xl\:my-2 {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .xl\:p-2 {
    padding: 8px;
  }
  .xl\:pt-2 {
    padding-top: 8px;
  }
  .xl\:pr-2 {
    padding-right: 8px;
  }
  .xl\:pb-2 {
    padding-bottom: 8px;
  }
  .xl\:pl-2 {
    padding-left: 8px;
  }
  .xl\:px-2 {
    padding-left: 8px;
    padding-right: 8px;
  }
  .xl\:py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .xl\:m-3 {
    margin: 16px;
  }
  .xl\:mt-3 {
    margin-top: 16px;
  }
  .xl\:mr-3 {
    margin-right: 16px;
  }
  .xl\:mb-3 {
    margin-bottom: 16px;
  }
  .xl\:ml-3 {
    margin-left: 16px;
  }
  .xl\:mx-3 {
    margin-left: 16px;
    margin-right: 16px;
  }
  .xl\:my-3 {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .xl\:p-3 {
    padding: 16px;
  }
  .xl\:pt-3 {
    padding-top: 16px;
  }
  .xl\:pr-3 {
    padding-right: 16px;
  }
  .xl\:pb-3 {
    padding-bottom: 16px;
  }
  .xl\:pl-3 {
    padding-left: 16px;
  }
  .xl\:px-3 {
    padding-left: 16px;
    padding-right: 16px;
  }
  .xl\:py-3 {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .xl\:m-4 {
    margin: 32px;
  }
  .xl\:mt-4 {
    margin-top: 32px;
  }
  .xl\:mr-4 {
    margin-right: 32px;
  }
  .xl\:mb-4 {
    margin-bottom: 32px;
  }
  .xl\:ml-4 {
    margin-left: 32px;
  }
  .xl\:mx-4 {
    margin-left: 32px;
    margin-right: 32px;
  }
  .xl\:my-4 {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .xl\:p-4 {
    padding: 32px;
  }
  .xl\:pt-4 {
    padding-top: 32px;
  }
  .xl\:pr-4 {
    padding-right: 32px;
  }
  .xl\:pb-4 {
    padding-bottom: 32px;
  }
  .xl\:pl-4 {
    padding-left: 32px;
  }
  .xl\:px-4 {
    padding-left: 32px;
    padding-right: 32px;
  }
  .xl\:py-4 {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
@media (min-width: 1400px) {
  .xxl\:m-0 {
    margin: 0;
  }
  .xxl\:mt-0 {
    margin-top: 0;
  }
  .xxl\:mr-0 {
    margin-right: 0;
  }
  .xxl\:mb-0 {
    margin-bottom: 0;
  }
  .xxl\:ml-0 {
    margin-left: 0;
  }
  .xxl\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  .xxl\:my-0 {
    margin-top: 0;
    margin-bottom: 0;
  }
  .xxl\:p-0 {
    padding: 0;
  }
  .xxl\:pt-0 {
    padding-top: 0;
  }
  .xxl\:pr-0 {
    padding-right: 0;
  }
  .xxl\:pb-0 {
    padding-bottom: 0;
  }
  .xxl\:pl-0 {
    padding-left: 0;
  }
  .xxl\:px-0 {
    padding-left: 0;
    padding-right: 0;
  }
  .xxl\:py-0 {
    padding-top: 0;
    padding-bottom: 0;
  }
  .xxl\:m-1 {
    margin: 4px;
  }
  .xxl\:mt-1 {
    margin-top: 4px;
  }
  .xxl\:mr-1 {
    margin-right: 4px;
  }
  .xxl\:mb-1 {
    margin-bottom: 4px;
  }
  .xxl\:ml-1 {
    margin-left: 4px;
  }
  .xxl\:mx-1 {
    margin-left: 4px;
    margin-right: 4px;
  }
  .xxl\:my-1 {
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .xxl\:p-1 {
    padding: 4px;
  }
  .xxl\:pt-1 {
    padding-top: 4px;
  }
  .xxl\:pr-1 {
    padding-right: 4px;
  }
  .xxl\:pb-1 {
    padding-bottom: 4px;
  }
  .xxl\:pl-1 {
    padding-left: 4px;
  }
  .xxl\:px-1 {
    padding-left: 4px;
    padding-right: 4px;
  }
  .xxl\:py-1 {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .xxl\:m-2 {
    margin: 8px;
  }
  .xxl\:mt-2 {
    margin-top: 8px;
  }
  .xxl\:mr-2 {
    margin-right: 8px;
  }
  .xxl\:mb-2 {
    margin-bottom: 8px;
  }
  .xxl\:ml-2 {
    margin-left: 8px;
  }
  .xxl\:mx-2 {
    margin-left: 8px;
    margin-right: 8px;
  }
  .xxl\:my-2 {
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .xxl\:p-2 {
    padding: 8px;
  }
  .xxl\:pt-2 {
    padding-top: 8px;
  }
  .xxl\:pr-2 {
    padding-right: 8px;
  }
  .xxl\:pb-2 {
    padding-bottom: 8px;
  }
  .xxl\:pl-2 {
    padding-left: 8px;
  }
  .xxl\:px-2 {
    padding-left: 8px;
    padding-right: 8px;
  }
  .xxl\:py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .xxl\:m-3 {
    margin: 16px;
  }
  .xxl\:mt-3 {
    margin-top: 16px;
  }
  .xxl\:mr-3 {
    margin-right: 16px;
  }
  .xxl\:mb-3 {
    margin-bottom: 16px;
  }
  .xxl\:ml-3 {
    margin-left: 16px;
  }
  .xxl\:mx-3 {
    margin-left: 16px;
    margin-right: 16px;
  }
  .xxl\:my-3 {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .xxl\:p-3 {
    padding: 16px;
  }
  .xxl\:pt-3 {
    padding-top: 16px;
  }
  .xxl\:pr-3 {
    padding-right: 16px;
  }
  .xxl\:pb-3 {
    padding-bottom: 16px;
  }
  .xxl\:pl-3 {
    padding-left: 16px;
  }
  .xxl\:px-3 {
    padding-left: 16px;
    padding-right: 16px;
  }
  .xxl\:py-3 {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .xxl\:m-4 {
    margin: 32px;
  }
  .xxl\:mt-4 {
    margin-top: 32px;
  }
  .xxl\:mr-4 {
    margin-right: 32px;
  }
  .xxl\:mb-4 {
    margin-bottom: 32px;
  }
  .xxl\:ml-4 {
    margin-left: 32px;
  }
  .xxl\:mx-4 {
    margin-left: 32px;
    margin-right: 32px;
  }
  .xxl\:my-4 {
    margin-top: 32px;
    margin-bottom: 32px;
  }
  .xxl\:p-4 {
    padding: 32px;
  }
  .xxl\:pt-4 {
    padding-top: 32px;
  }
  .xxl\:pr-4 {
    padding-right: 32px;
  }
  .xxl\:pb-4 {
    padding-bottom: 32px;
  }
  .xxl\:pl-4 {
    padding-left: 32px;
  }
  .xxl\:px-4 {
    padding-left: 32px;
    padding-right: 32px;
  }
  .xxl\:py-4 {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}
.align-left {
  float: left;
  text-align: left;
}

.align-right {
  float: right;
  text-align: right;
}

.align-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

img.align-left {
  float: left;
  margin-right: 1em;
}

img.align-right {
  float: right;
  margin-left: 1em;
}

@media (min-width: 576px) {
  .sm\:align-left {
    float: left;
    text-align: left;
  }
  .sm\:align-right {
    float: right;
    text-align: right;
  }
  .sm\:align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  img.sm\:align-left {
    float: left;
    margin-right: 1em;
  }
  img.sm\:align-right {
    float: right;
    margin-left: 1em;
  }
}
@media (min-width: 768px) {
  .md\:align-left {
    float: left;
    text-align: left;
  }
  .md\:align-right {
    float: right;
    text-align: right;
  }
  .md\:align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  img.md\:align-left {
    float: left;
    margin-right: 1em;
  }
  img.md\:align-right {
    float: right;
    margin-left: 1em;
  }
}
@media (min-width: 992px) {
  .lg\:align-left {
    float: left;
    text-align: left;
  }
  .lg\:align-right {
    float: right;
    text-align: right;
  }
  .lg\:align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  img.lg\:align-left {
    float: left;
    margin-right: 1em;
  }
  img.lg\:align-right {
    float: right;
    margin-left: 1em;
  }
}
@media (min-width: 1200px) {
  .xl\:align-left {
    float: left;
    text-align: left;
  }
  .xl\:align-right {
    float: right;
    text-align: right;
  }
  .xl\:align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  img.xl\:align-left {
    float: left;
    margin-right: 1em;
  }
  img.xl\:align-right {
    float: right;
    margin-left: 1em;
  }
}
@media (min-width: 1400px) {
  .xxl\:align-left {
    float: left;
    text-align: left;
  }
  .xxl\:align-right {
    float: right;
    text-align: right;
  }
  .xxl\:align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  img.xxl\:align-left {
    float: left;
    margin-right: 1em;
  }
  img.xxl\:align-right {
    float: right;
    margin-left: 1em;
  }
}
/* ==========================================================================
   Width Utilities
   --------------------------------------------------------------------------
   Generated classes:
     .w-{key}              → width: value
     .{breakpoint}:w-{key} → responsive variants

   Example:
     .md:w-33           → width: 33.3333%;
     .md\:w-66       → width: 66.6667% on medium screens
     .xl\:w-100      → width: 100% on extra large screens

   Notes:
   - Class names with colons must be escaped in CSS: `.md\:w-66`
   - Use in HTML like: <div class="md:w-66"></div>

   Configurable via:
     - $widths map in config.scss
     - $breakpoints map in config.scss
   ==========================================================================
*/
/* Base widths */
.w-5 {
  width: 5%;
}

.w-10 {
  width: 10%;
}

.w-15 {
  width: 15%;
}

.w-20 {
  width: 20%;
}

.w-25 {
  width: 25%;
}

.w-30 {
  width: 30%;
}

.w-33 {
  width: 33.3333%;
}

.w-35 {
  width: 35%;
}

.w-40 {
  width: 40%;
}

.w-45 {
  width: 45%;
}

.w-50 {
  width: 50%;
}

.w-55 {
  width: 55%;
}

.w-60 {
  width: 60%;
}

.w-65 {
  width: 65%;
}

.w-66 {
  width: 66.6667%;
}

.w-70 {
  width: 70%;
}

.w-75 {
  width: 75%;
}

.w-80 {
  width: 80%;
}

.w-85 {
  width: 85%;
}

.w-90 {
  width: 90%;
}

.w-95 {
  width: 95%;
}

.w-100 {
  width: 100%;
}

/* Responsive widths */
@media (min-width: 576px) {
  .sm\:w-5 {
    width: 5%;
  }
  .sm\:w-10 {
    width: 10%;
  }
  .sm\:w-15 {
    width: 15%;
  }
  .sm\:w-20 {
    width: 20%;
  }
  .sm\:w-25 {
    width: 25%;
  }
  .sm\:w-30 {
    width: 30%;
  }
  .sm\:w-33 {
    width: 33.3333%;
  }
  .sm\:w-35 {
    width: 35%;
  }
  .sm\:w-40 {
    width: 40%;
  }
  .sm\:w-45 {
    width: 45%;
  }
  .sm\:w-50 {
    width: 50%;
  }
  .sm\:w-55 {
    width: 55%;
  }
  .sm\:w-60 {
    width: 60%;
  }
  .sm\:w-65 {
    width: 65%;
  }
  .sm\:w-66 {
    width: 66.6667%;
  }
  .sm\:w-70 {
    width: 70%;
  }
  .sm\:w-75 {
    width: 75%;
  }
  .sm\:w-80 {
    width: 80%;
  }
  .sm\:w-85 {
    width: 85%;
  }
  .sm\:w-90 {
    width: 90%;
  }
  .sm\:w-95 {
    width: 95%;
  }
  .sm\:w-100 {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .md\:w-5 {
    width: 5%;
  }
  .md\:w-10 {
    width: 10%;
  }
  .md\:w-15 {
    width: 15%;
  }
  .md\:w-20 {
    width: 20%;
  }
  .md\:w-25 {
    width: 25%;
  }
  .md\:w-30 {
    width: 30%;
  }
  .md\:w-33 {
    width: 33.3333%;
  }
  .md\:w-35 {
    width: 35%;
  }
  .md\:w-40 {
    width: 40%;
  }
  .md\:w-45 {
    width: 45%;
  }
  .md\:w-50 {
    width: 50%;
  }
  .md\:w-55 {
    width: 55%;
  }
  .md\:w-60 {
    width: 60%;
  }
  .md\:w-65 {
    width: 65%;
  }
  .md\:w-66 {
    width: 66.6667%;
  }
  .md\:w-70 {
    width: 70%;
  }
  .md\:w-75 {
    width: 75%;
  }
  .md\:w-80 {
    width: 80%;
  }
  .md\:w-85 {
    width: 85%;
  }
  .md\:w-90 {
    width: 90%;
  }
  .md\:w-95 {
    width: 95%;
  }
  .md\:w-100 {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .lg\:w-5 {
    width: 5%;
  }
  .lg\:w-10 {
    width: 10%;
  }
  .lg\:w-15 {
    width: 15%;
  }
  .lg\:w-20 {
    width: 20%;
  }
  .lg\:w-25 {
    width: 25%;
  }
  .lg\:w-30 {
    width: 30%;
  }
  .lg\:w-33 {
    width: 33.3333%;
  }
  .lg\:w-35 {
    width: 35%;
  }
  .lg\:w-40 {
    width: 40%;
  }
  .lg\:w-45 {
    width: 45%;
  }
  .lg\:w-50 {
    width: 50%;
  }
  .lg\:w-55 {
    width: 55%;
  }
  .lg\:w-60 {
    width: 60%;
  }
  .lg\:w-65 {
    width: 65%;
  }
  .lg\:w-66 {
    width: 66.6667%;
  }
  .lg\:w-70 {
    width: 70%;
  }
  .lg\:w-75 {
    width: 75%;
  }
  .lg\:w-80 {
    width: 80%;
  }
  .lg\:w-85 {
    width: 85%;
  }
  .lg\:w-90 {
    width: 90%;
  }
  .lg\:w-95 {
    width: 95%;
  }
  .lg\:w-100 {
    width: 100%;
  }
}
@media (min-width: 1200px) {
  .xl\:w-5 {
    width: 5%;
  }
  .xl\:w-10 {
    width: 10%;
  }
  .xl\:w-15 {
    width: 15%;
  }
  .xl\:w-20 {
    width: 20%;
  }
  .xl\:w-25 {
    width: 25%;
  }
  .xl\:w-30 {
    width: 30%;
  }
  .xl\:w-33 {
    width: 33.3333%;
  }
  .xl\:w-35 {
    width: 35%;
  }
  .xl\:w-40 {
    width: 40%;
  }
  .xl\:w-45 {
    width: 45%;
  }
  .xl\:w-50 {
    width: 50%;
  }
  .xl\:w-55 {
    width: 55%;
  }
  .xl\:w-60 {
    width: 60%;
  }
  .xl\:w-65 {
    width: 65%;
  }
  .xl\:w-66 {
    width: 66.6667%;
  }
  .xl\:w-70 {
    width: 70%;
  }
  .xl\:w-75 {
    width: 75%;
  }
  .xl\:w-80 {
    width: 80%;
  }
  .xl\:w-85 {
    width: 85%;
  }
  .xl\:w-90 {
    width: 90%;
  }
  .xl\:w-95 {
    width: 95%;
  }
  .xl\:w-100 {
    width: 100%;
  }
}
@media (min-width: 1400px) {
  .xxl\:w-5 {
    width: 5%;
  }
  .xxl\:w-10 {
    width: 10%;
  }
  .xxl\:w-15 {
    width: 15%;
  }
  .xxl\:w-20 {
    width: 20%;
  }
  .xxl\:w-25 {
    width: 25%;
  }
  .xxl\:w-30 {
    width: 30%;
  }
  .xxl\:w-33 {
    width: 33.3333%;
  }
  .xxl\:w-35 {
    width: 35%;
  }
  .xxl\:w-40 {
    width: 40%;
  }
  .xxl\:w-45 {
    width: 45%;
  }
  .xxl\:w-50 {
    width: 50%;
  }
  .xxl\:w-55 {
    width: 55%;
  }
  .xxl\:w-60 {
    width: 60%;
  }
  .xxl\:w-65 {
    width: 65%;
  }
  .xxl\:w-66 {
    width: 66.6667%;
  }
  .xxl\:w-70 {
    width: 70%;
  }
  .xxl\:w-75 {
    width: 75%;
  }
  .xxl\:w-80 {
    width: 80%;
  }
  .xxl\:w-85 {
    width: 85%;
  }
  .xxl\:w-90 {
    width: 90%;
  }
  .xxl\:w-95 {
    width: 95%;
  }
  .xxl\:w-100 {
    width: 100%;
  }
}
@supports (text-wrap: balance) {
  .text-wrap-balance {
    text-wrap: balance;
  }
}

.topaz {
  font-family: var(--amiga-font);
  font-size: 1.1rem;
  font-weight: normal;
  vertical-align: -10%;
}

.font-smaller {
  font-size: 0.9em;
}

.subdue, .youtube-video-list .video-item h2 a .tag, .youtube-video-list .video-item h3 a .tag {
  opacity: 0.4;
}

.flex-grow {
  flex-grow: 1;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.justify-content-evenly {
  justify-content: space-evenly !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-baseline {
  align-items: baseline !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.align-content-start {
  align-content: flex-start !important;
}

.align-content-end {
  align-content: flex-end !important;
}

.align-content-center {
  align-content: center !important;
}

.align-content-between {
  align-content: space-between !important;
}

.align-content-around {
  align-content: space-around !important;
}

.align-content-stretch {
  align-content: stretch !important;
}

.align-self-auto {
  align-self: auto !important;
}

.align-self-start {
  align-self: flex-start !important;
}

.align-self-end {
  align-self: flex-end !important;
}

.align-self-center {
  align-self: center !important;
}

.align-self-baseline {
  align-self: baseline !important;
}

.align-self-stretch {
  align-self: stretch !important;
}

.flex-fill {
  flex: 1 1 auto !important;
}

.flex-grow-0 {
  flex-grow: 0 !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-shrink-1 {
  flex-shrink: 1 !important;
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

.gap-5 {
  gap: 3rem !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.visually-hidden--focusable:active,
.visually-hidden--focusable:focus {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
}

.display-none {
  display: none !important;
}

img {
  display: block;
  width: 100%;
  max-width: auto;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-color);
}

body {
  font-family: "Sora", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: var(--body-font-size);
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--bg-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--pixel-font);
  font-weight: 400;
  line-height: 0.7em;
  margin: 0 0 0.5em 0;
  padding: 0;
}
h1 a.header-anchor, h2 a.header-anchor, h3 a.header-anchor, h4 a.header-anchor, h5 a.header-anchor, h6 a.header-anchor,
.h1 a.header-anchor, .h2 a.header-anchor, .h3 a.header-anchor, .h4 a.header-anchor, .h5 a.header-anchor, .h6 a.header-anchor {
  color: var(--text-color);
  text-decoration: none;
}
h1 a.header-anchor:after, h2 a.header-anchor:after, h3 a.header-anchor:after, h4 a.header-anchor:after, h5 a.header-anchor:after, h6 a.header-anchor:after,
.h1 a.header-anchor:after, .h2 a.header-anchor:after, .h3 a.header-anchor:after, .h4 a.header-anchor:after, .h5 a.header-anchor:after, .h6 a.header-anchor:after {
  content: "#";
  font-size: 0.7em;
  margin-left: 0.1em;
  text-decoration: none;
  opacity: 0;
  vertical-align: top;
}
h1 a.header-anchor:hover:after, h2 a.header-anchor:hover:after, h3 a.header-anchor:hover:after, h4 a.header-anchor:hover:after, h5 a.header-anchor:hover:after, h6 a.header-anchor:hover:after,
.h1 a.header-anchor:hover:after, .h2 a.header-anchor:hover:after, .h3 a.header-anchor:hover:after, .h4 a.header-anchor:hover:after, .h5 a.header-anchor:hover:after, .h6 a.header-anchor:hover:after {
  opacity: 0.4;
}

h1, .h1 {
  font-size: var(--h1-font-size);
}

h2, .h2 {
  font-size: var(--h2-font-size);
}

h3, .h3 {
  font-size: var(--h3-font-size);
}

h4, .h4 {
  font-size: var(--h4-font-size);
}

h5, .h5 {
  font-size: var(--h5-font-size);
}

h6, .h6 {
  font-size: var(--h6-font-size);
}

p,
pre {
  margin: 0 0 var(--paragraph-bottom-margin) 0;
}

pre {
  margin: 0 0 var(--paragraph-bottom-margin) 0;
  width: 100%;
  overflow-x: auto;
}

em {
  font-style: italic;
}

a {
  color: var(--link-color);
}
a:hover {
  text-decoration: none;
}

.am {
  margin-top: 1.5em;
  font-weight: 600;
}

.big {
  font-weight: 300;
  font-size: 23px;
}

hr {
  margin: 3em 0;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

code,
pre {
  margin: 0 0 var(--paragraph-bottom-margin) 0;
  padding: 0;
}
code, code code,
pre,
pre code {
  font-family: Topaz, monospace;
  font-size: 12pt;
  font-weight: normal;
  line-height: 16px;
  vertical-align: -10%;
}

code {
  margin: 0;
  padding: 0;
}

p:last-child:not(#content > p:last-child) {
  margin: 0;
}

#content img {
  margin-bottom: var(--paragraph-bottom-margin);
}
@media (prefers-color-scheme: dark) {
  #content img {
    padding: 10px;
    border-radius: 15px;
    background: var(--bg-color-light);
  }
}
@media print {
  #content img {
    margin-inline: auto;
    max-width: 10cm;
  }
}

table {
  --table-border-color: rgba(0,0,0,0.75);
  --table-even-bg-color: rgba(0,0,0,0.06);
  margin: 0;
  padding: 0;
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
@media (prefers-color-scheme: dark) {
  table {
    --table-border-color: rgba(255,255,255,0.2);
    --table-even-bg-color: rgba(0,0,0,0.3);
  }
}
@media (max-width: calc(768px - 0.02px)) {
  table {
    margin: 0 0 1em 0;
  }
}
table th,
table td {
  vertical-align: top;
  text-align: left;
  padding: 0.75em;
  border-bottom: 1px solid var(--table-border-color);
}
table th {
  font-weight: bold;
  background-color: var(--table-even-bg-color);
}
table tr:nth-child(even) {
  background-color: var(--table-even-bg-color);
}

.table-wrapper {
  margin: 0 0 var(--paragraph-bottom-margin) 0;
  width: 100%;
  overflow-x: auto;
}

select {
  padding: 8px 16px;
  border-radius: 5px;
  color: var(--input-color);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
}

input[type=text],
input[type=search],
input[type=number],
input[type=email] {
  width: 100%;
  padding: 8px 16px;
  color: var(--input-color);
  border-radius: 5px;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
}

.key {
  --key-tex-color: black;
  display: inline-block;
  margin-inline: 0.2em;
  padding: 0 5px;
  font-size: 0.8em;
  color: var(--key-tex-color);
  text-align: center;
  min-width: 20px;
  outline: 1px solid rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  background: #E8E4DA;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2), inset 0 -2px 1px 0px rgba(0, 0, 0, 0.23), inset 0 1px 1px 0px rgba(255, 255, 255, 0.6);
}
.key.dark {
  background: #C2BFB7;
}

main ol {
  --gap: 1em;
  display: grid;
  grid-template-rows: auto;
  gap: var(--gap);
  margin: 0 0 var(--paragraph-bottom-margin) 0;
  padding: 0;
}
main ol li {
  margin: 0 0 0 20px;
  padding: 0 0 0 10px;
}
main ul {
  --gap: 1em;
  display: grid;
  grid-template-rows: auto;
  gap: var(--gap);
  list-style: none;
  margin: 0 0 var(--paragraph-bottom-margin) 0;
  padding: 0;
}
main ul li {
  margin: 0 0 0 15px;
  padding: 0 0 0 10px;
  list-style-image: url("/img/caret.svg");
}
main ul li ul {
  margin-left: 20px;
}

.arpeggio-calculator-container {
  max-width: 100%;
  margin: 0 auto;
  padding: var(--mobile-side-padding, 20px);
}

#arpeggio-instructions {
  max-width: 640px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 33%;
  gap: 30px;
  align-items: center;
  justify-content: center;
  align-content: center;
}
#arpeggio-instructions img {
  margin: 0;
  order: 2;
}
#arpeggio-instructions .message {
  order: 1;
}
@media (max-width: calc(576px - 0.02px)) {
  #arpeggio-instructions {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

@media (min-width: 768px) {
  .piano-interface {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
  }
}

#pianoKeyboard {
  display: flex;
  justify-content: flex-start;
  margin: 20px auto;
  user-select: none;
  position: relative;
  height: 120px;
  width: 350px;
  background: #222;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  #pianoKeyboard {
    width: 500px;
    height: 160px;
  }
}
@media (min-width: 1024px) {
  #pianoKeyboard {
    width: 700px;
    height: 180px;
  }
}
@media (min-width: 1200px) {
  #pianoKeyboard {
    width: 900px;
    height: 200px;
  }
}

.white-key, .black-key {
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 10px;
  padding-bottom: 5px;
  transition: all 0.1s ease;
  border: 1px solid #ccc;
}

.white-key {
  width: 7.14%;
  height: 110px;
  background: #f8f8f8;
  border-radius: 0 0 4px 4px;
  border-right: 1px solid #ccc;
  position: relative;
}
@media (min-width: 768px) {
  .white-key {
    height: 150px;
  }
}
@media (min-width: 1024px) {
  .white-key {
    height: 170px;
  }
}
@media (min-width: 1200px) {
  .white-key {
    height: 190px;
  }
}
.white-key:hover {
  background: #e8e8e8;
  transform: translateY(1px);
}
.white-key:active {
  background: #d8d8d8;
  transform: translateY(2px);
}

.black-key {
  width: 5%;
  height: 70px;
  background: #333;
  color: #fff;
  position: absolute;
  z-index: 2;
  border-radius: 0 0 4px 4px;
  border: 1px solid #000;
  font-size: 8px;
  padding-bottom: 2px;
}
@media (min-width: 768px) {
  .black-key {
    height: 100px;
    font-size: 10px;
    padding-bottom: 4px;
  }
}
@media (min-width: 1024px) {
  .black-key {
    height: 115px;
    font-size: 12px;
    padding-bottom: 6px;
  }
}
@media (min-width: 1200px) {
  .black-key {
    height: 130px;
    font-size: 14px;
    padding-bottom: 8px;
  }
}
.black-key:hover {
  background: #555;
  transform: translateY(-2px);
}
.black-key:active {
  background: #666;
  transform: translateY(-1px);
}

.finger-tip {
  position: absolute;
  width: 40px;
  height: 40px;
  cursor: grab;
  z-index: 10;
  user-select: none;
  transition: transform 0.1s ease;
}
.finger-tip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: red;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease;
}
.finger-tip:active {
  cursor: grabbing;
  transform: scale(1.1);
}
.finger-tip:hover::after {
  background: #888;
  transform: translate(-50%, -50%) scale(1.1);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.chord-presets {
  margin: 2rem 0;
}
.chord-presets .preset-buttons {
  margin-bottom: 1rem;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-items: center;
}

#audioControls {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color, #666);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.control-group label {
  font-size: 0.9rem;
  font-weight: bold;
}
.control-group input[type=range] {
  width: 100%;
}
.control-group select {
  padding: 0.25rem;
  background: var(--color-bg-secondary, #444);
  color: var(--color-text-primary, #fff);
  border: 1px solid var(--border-color, #666);
  border-radius: 4px;
}

.recording-section {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

#result {
  background: var(--color-bg-secondary, rgba(0, 0, 0, 0.1));
  border: 1px solid var(--border-color, #666);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}
#result h3 {
  margin-top: 0;
  color: var(--text-color);
}
#result.error {
  border-color: #f44336;
  background: rgba(244, 67, 54, 0.1);
}
#result.error h3 {
  color: #f44336;
}

.command-output {
  background: var(--color-bg-primary, #000);
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
  font-family: var(--font-mono, "Courier New", monospace);
}
.command-output code {
  font-size: 1.2rem;
  color: white;
  vertical-align: -40%;
}
.command-output code span {
  vertical-align: 0%;
}

.white-key.drop-target, .black-key.drop-target {
  background: #ffffaa !important;
  transform: scale(1.05);
}

.white-key.disabled, .black-key.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #666 !important;
  color: #999 !important;
}
.white-key.disabled:hover, .black-key.disabled:hover {
  transform: none;
  background: #666 !important;
}

@media (max-width: 768px) {
  .controls-section {
    flex-direction: column;
    gap: 1rem;
  }
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }
  .audio-grid {
    grid-template-columns: 1fr;
  }
  .recording-section {
    flex-direction: column;
  }
}
.drum-machine {
  max-width: 1280px;
  margin: 0 auto;
}
.drum-machine .sequencer-shell {
  background: #3a2b00;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  padding: clamp(1rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}
.drum-machine .sequencer-header {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-header {
    grid-template-columns: 1fr;
  }
}
.drum-machine .sequencer-header .kit-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #0b0b0b;
  border-radius: 12px;
  padding: 0.8rem 1.3rem;
  border: 2px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55);
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f7f7f7;
  position: relative;
  flex-wrap: wrap;
}
.drum-machine .sequencer-header .kit-indicator .kit-indicator-label {
  font-size: 0.75rem;
  opacity: 0.7;
}
.drum-machine .sequencer-header .kit-indicator .kit-indicator-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffb400;
  text-shadow: 0 0 6px rgba(255, 180, 0, 0.55);
}
.drum-machine .sequencer-header .kit-indicator .kit-indicator-display {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.drum-machine .sequencer-header .kit-indicator .kit-indicator-display .kit-indicator-name {
  max-width: 16ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drum-machine .sequencer-header .kit-indicator .kit-name-edit {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #f1f1f1;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.drum-machine .sequencer-header .kit-indicator .kit-name-edit:hover, .drum-machine .sequencer-header .kit-indicator .kit-name-edit:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}
.drum-machine .sequencer-header .kit-indicator .kit-name-edit:active {
  transform: translateY(1px);
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  width: clamp(220px, 18vw, 280px);
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem;
  border-radius: 10px;
  background: rgba(7, 7, 7, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  z-index: 20;
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor input[type=text] {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.75);
  color: #f7f7f7;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor input[type=text]:focus {
  border-color: rgba(255, 180, 0, 0.8);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 180, 0, 0.25);
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions button {
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions button:hover, .drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions button:focus-visible {
  transform: translateY(-2px);
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions button:active {
  transform: translateY(1px);
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions .kit-name-save {
  background: linear-gradient(180deg, #ffda7b, #ffb400 60%, #d98900);
  border-color: rgba(58, 43, 0, 0.8);
  color: #1b1200;
  box-shadow: 0 4px 0 rgba(186, 122, 15, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions .kit-name-cancel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #f1f1f1;
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions .kit-name-cancel:hover, .drum-machine .sequencer-header .kit-indicator .kit-name-editor .kit-name-editor-actions .kit-name-cancel:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}
.drum-machine .sequencer-header .kit-indicator .kit-name-editor.hidden {
  display: none;
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-header .kit-indicator {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .drum-machine .sequencer-header .kit-indicator .kit-name-edit {
    margin-left: 0;
  }
  .drum-machine .sequencer-header .kit-indicator .kit-name-editor {
    position: static;
    width: 100%;
    margin-top: 0.25rem;
  }
  .drum-machine .sequencer-header .kit-indicator .kit-name-editor.hidden {
    display: none;
  }
}
.drum-machine .sequencer-header .tempo-display {
  justify-self: center;
  background: #050505;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  border: 2px solid #1f1f1f;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  text-align: center;
  font-family: "Segment7Standard", "Digital-7", "Share Tech Mono", monospace;
  color: #ffb400;
  text-shadow: 0 0 6px rgba(255, 180, 0, 0.8);
}
.drum-machine .sequencer-header .tempo-display span {
  font-size: clamp(2rem, 4vw, 2.4rem);
  display: block;
  letter-spacing: 0.1em;
}
.drum-machine .sequencer-header .tempo-display small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(255, 180, 0, 0.8);
}
.drum-machine .sequencer-header .tempo-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-header .tempo-controls {
    justify-content: space-between;
  }
}
.drum-machine .sequencer-header .swing-control {
  display: grid;
  grid-template-columns: auto;
  gap: 0.5rem;
  justify-items: center;
  background: #050505;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55);
}
.drum-machine .sequencer-header .swing-control .swing-heading {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f7f7f7;
}
.drum-machine .sequencer-header .swing-control .swing-heading .swing-label {
  font-size: 0.75rem;
  opacity: 0.7;
}
.drum-machine .sequencer-header .swing-control .swing-heading .swing-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #8fffd1;
  text-shadow: 0 0 6px rgba(143, 255, 209, 0.55);
}
.drum-machine .sequencer-header .swing-control .swing-dial {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.85));
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, 0.65);
}
.drum-machine .sequencer-header .swing-control .swing-dial input[type=range] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.drum-machine .sequencer-header .swing-control .swing-dial .swing-dial-indicator {
  --swing-angle: -135deg;
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.9));
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.65);
  transition: transform 0.15s ease;
  transform: rotate(var(--swing-angle));
}
.drum-machine .sequencer-header .swing-control .swing-dial .swing-dial-indicator::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, #8fffd1, #2da07a 75%, #155746);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(143, 255, 209, 0.45);
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-header .swing-control {
    justify-items: stretch;
    padding: 0.75rem;
  }
  .drum-machine .sequencer-header .swing-control .swing-heading {
    justify-content: space-between;
  }
  .drum-machine .sequencer-header .swing-control .swing-dial {
    margin: 0 auto;
  }
}
.drum-machine .sequencer-btn {
  background: linear-gradient(180deg, #fef3d0, #f8d98e 60%, #f1c059);
  border: 2px solid #3a2b00;
  border-radius: 10px;
  color: #261900;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  box-shadow: 0 6px 0 #ba7a0f, inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  cursor: pointer;
}
.drum-machine .sequencer-btn:hover {
  transform: translateY(-2px);
}
.drum-machine .sequencer-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #ba7a0f;
}
.drum-machine .sequencer-btn.is-tapping {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #ba7a0f;
}
.drum-machine .sequencer-btn.sequencer-export {
  background: linear-gradient(180deg, #ff5858, #ff1f1f 60%, #cc0c0c);
  color: #fff;
  border-color: #3a0303;
  box-shadow: 0 6px 0 #7a0000, inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.drum-machine .sequencer-grid {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  background: #151515;
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 2rem);
  border: 2px solid #080808;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 1.2rem;
}
.drum-machine .sequencer-grid .instrument-row {
  display: grid;
  grid-template-columns: minmax(150px, 180px) 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (max-width: calc(768px - 0.02px)) {
  .drum-machine .sequencer-grid .instrument-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0));
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #f7f7f7;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--row-color, #ff5151), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta span {
  position: relative;
  z-index: 1;
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-settings {
    order: 3;
  }
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-controls .instrument-toggle {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: #f4f4f4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-controls .instrument-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-controls .instrument-toggle.instrument-solo {
  background: linear-gradient(180deg, rgba(0, 255, 163, 0.18), rgba(0, 90, 66, 0.85));
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-controls .instrument-toggle.instrument-mute {
  background: linear-gradient(180deg, rgba(255, 70, 70, 0.18), rgba(110, 0, 0, 0.85));
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-controls .instrument-toggle.is-active {
  border-color: #ffb400;
  box-shadow: 0 0 10px rgba(255, 180, 0, 0.4);
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-controls .instrument-settings {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fafafa;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.drum-machine .sequencer-grid .instrument-row .instrument-meta .instrument-controls .instrument-settings:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}
.drum-machine .sequencer-grid .instrument-row .step-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
  gap: clamp(0.35rem, 1.2vw, 0.5rem);
}
.drum-machine .sequencer-grid .instrument-row.is-muted {
  opacity: 0.55;
}
.drum-machine .sequencer-grid .instrument-row.is-muted .step.active {
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.drum-machine .sequencer-grid .instrument-row.is-soloed:not(.is-muted) .instrument-meta {
  box-shadow: 0 0 16px rgba(0, 255, 163, 0.3);
}
.drum-machine .sequencer-grid .step {
  --step-intensity: 0;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.drum-machine .sequencer-grid .step:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}
.drum-machine .sequencer-grid .step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}
.drum-machine .sequencer-grid .step::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--step-color, rgba(255, 81, 81, 0.45));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 0;
}
.drum-machine .sequencer-grid .step.active {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0)), linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.32));
}
.drum-machine .sequencer-grid .step.active::before {
  opacity: 1;
}
.drum-machine .sequencer-grid .step.active::after {
  opacity: var(--step-intensity);
}
.drum-machine .sequencer-grid .step.is-playing {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}
.drum-machine .sequencer-footer {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-footer {
    flex-direction: column;
    align-items: stretch;
  }
}
.drum-machine .sequencer-footer .sequencer-footer-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: 1 1 320px;
  justify-content: flex-start;
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-footer .sequencer-footer-actions {
    width: 100%;
  }
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-footer .sequencer-footer-actions .sequencer-btn {
    flex: 1;
    text-align: center;
  }
}
.drum-machine .sequencer-footer .sequencer-footer-actions[aria-label="Drum kit management"] {
  justify-content: flex-end;
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-footer .sequencer-footer-actions[aria-label="Drum kit management"] {
    justify-content: flex-start;
  }
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .sequencer-footer .sequencer-export {
    width: 100%;
  }
}
.drum-machine .global-sound-controls {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  background: #050505;
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.75rem);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 1.5rem;
}
.drum-machine .global-sound-controls .global-sound-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.drum-machine .global-sound-controls .global-sound-heading h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7f7f7;
}
.drum-machine .global-sound-controls .global-sound-heading p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.drum-machine .global-sound-controls .global-sound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(0.9rem, 3vw, 1.5rem);
}
.drum-machine .global-sound-controls .parameter-group {
  display: grid;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem;
}
.drum-machine .global-sound-controls .parameter-group label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.drum-machine .global-sound-controls .parameter-group .parameter-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #f7f8fa;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f7f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}
.drum-machine .global-sound-controls .parameter-group .parameter-slider {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  appearance: none;
  position: relative;
}
.drum-machine .global-sound-controls .parameter-group .parameter-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff5555;
  box-shadow: 0 4px 12px rgba(255, 85, 85, 0.4);
  border: 0;
}
.drum-machine .global-sound-controls .parameter-group .parameter-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff5555;
  border: none;
}
.drum-machine .global-sound-controls .parameter-group .parameter-value {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: calc(576px - 0.02px)) {
  .drum-machine .global-sound-controls {
    padding: 1rem;
  }
  .drum-machine .global-sound-controls .global-sound-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

.instrument-editor-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  z-index: 1100;
  transition: opacity 0.2s ease;
}
.instrument-editor-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.instrument-editor-modal .instrument-editor {
  width: min(1280px, 100%);
  background: #202124;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  color: #f5f7fa;
}
.instrument-editor-modal .instrument-editor .editor-close {
  position: absolute;
  top: clamp(0.85rem, 2vw, 1.5rem);
  right: clamp(0.85rem, 2vw, 1.5rem);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.instrument-editor-modal .instrument-editor .editor-close:hover {
  background: rgba(255, 255, 255, 0.12);
}
.instrument-editor-modal .instrument-editor .editor-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.instrument-editor-modal .instrument-editor .editor-header h2 {
  flex: 1;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
  letter-spacing: 0.04em;
}
.instrument-editor-modal .instrument-editor .editor-header .editor-preview {
  background: linear-gradient(180deg, #00db82, #00b26b 60%, #008f54);
  border: 2px solid #004f2f;
  border-radius: 10px;
  padding: 0.65rem 1.4rem;
  color: #02160d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 6px 0 #015a35, inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.instrument-editor-modal .instrument-editor .editor-header .editor-preview:hover {
  transform: translateY(-2px);
}
.instrument-editor-modal .instrument-editor .editor-header .editor-preview:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #015a35;
}
.instrument-editor-modal .instrument-editor .global-settings-section {
  margin-bottom: 2rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(14, 16, 20, 0.75);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.instrument-editor-modal .instrument-editor .global-settings-section h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}
.instrument-editor-modal .instrument-editor .global-settings-section .global-settings-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.instrument-editor-modal .instrument-editor .global-settings-section .parameter-select,
.instrument-editor-modal .instrument-editor .global-settings-section .parameter-slider {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f8fa;
}
.instrument-editor-modal .instrument-editor .global-settings-section .parameter-select {
  padding: 0.6rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7f7f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1rem;
  padding-right: 2.4rem;
}
.instrument-editor-modal .instrument-editor .global-settings-section .parameter-value {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}
.instrument-editor-modal .instrument-editor .parameters-section {
  margin-bottom: 2rem;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
@media (max-width: calc(576px - 0.02px)) {
  .instrument-editor-modal .instrument-editor .parameters-section .stage-panels {
    grid-template-columns: 1fr;
  }
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel {
  background: rgba(13, 14, 18, 0.9);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-header h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-header .waveform-selector {
  display: flex;
  gap: 0.35rem;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-header .waveform-selector .waveform-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #f8f8f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-header .waveform-selector .waveform-btn.active, .instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-header .waveform-selector .waveform-btn:hover {
  background: rgba(0, 255, 154, 0.25);
  color: #0dffb2;
  border-color: rgba(13, 255, 178, 0.7);
  transform: translateY(-1px);
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls {
  padding: 1.1rem 1.25rem 1.25rem;
  display: grid;
  gap: 1rem;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls .parameter-group {
  display: grid;
  gap: 0.45rem;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls .parameter-group label {
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls .parameter-group .parameter-slider {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  appearance: none;
  position: relative;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls .parameter-group .parameter-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff5555;
  box-shadow: 0 4px 12px rgba(255, 85, 85, 0.4);
  border: 0;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls .parameter-group .parameter-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff5555;
  border: none;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls .parameter-group .parameter-value {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls .pulse-width-group {
  display: none;
}
.instrument-editor-modal .instrument-editor .parameters-section .stage-panel .stage-controls .pulse-width-group.visible {
  display: grid;
}
.instrument-editor-modal .instrument-editor .visualization-section {
  margin-bottom: 2rem;
}
.instrument-editor-modal .instrument-editor .visualization-section #waveformCanvas {
  width: 100%;
  height: clamp(160px, 35vh, 220px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #010101;
  display: block;
}
.instrument-editor-modal .instrument-editor .export-section h3 {
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
.instrument-editor-modal .instrument-editor .export-section .export-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
}
.instrument-editor-modal .instrument-editor .export-section .export-controls span {
  flex: 1 1 220px;
}
.instrument-editor-modal .instrument-editor .export-section .export-controls .export-buttons {
  display: flex;
  gap: 0.75rem;
}
.instrument-editor-modal .instrument-editor .export-section .export-controls .export-buttons select {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f6f8fb;
  cursor: pointer;
}
.instrument-editor-modal .instrument-editor .export-section .export-controls .export-buttons .btn {
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, #ff5555, #d82020 70%, #8f0f0f);
  color: #fff;
}
.instrument-editor-modal .instrument-editor .export-section #formatStatus {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.box {
  margin-bottom: var(--paragraph-bottom-margin);
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  background: var(--subnav-bg-color);
}
.box p:last-child {
  margin-bottom: 0;
}

#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: var(--pixel-font);
  font-weight: 400;
  font-size: 21px;
  border: none;
  outline: 0;
  padding: 5px 10px;
  line-height: 1;
  display: none; /* hidden by default */
  background: rgba(0, 0, 0, 0.5);
  color: white;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.5s ease;
}

#scrollToTop:focus {
  outline: 2px solid #fff;
}

.youtube-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: 1rem 0;
}
.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.youtube-video-list {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}
.youtube-video-list .video-item {
  padding: 1rem;
  background: white;
}
@media (prefers-color-scheme: dark) {
  .youtube-video-list .video-item {
    background: rgba(0, 0, 0, 0.3);
  }
}
.youtube-video-list .video-item h2, .youtube-video-list .video-item h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}
.youtube-video-list .video-item h2 a, .youtube-video-list .video-item h3 a {
  text-decoration: none;
  display: inline-block;
}
.youtube-video-list .video-item h2 a .tag, .youtube-video-list .video-item h3 a .tag {
  font-size: 0.7em;
  line-height: 1;
  vertical-align: 3%;
  display: inline-block;
}
.youtube-video-list .video-item .video-meta {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.youtube-video-list .video-item .video-description {
  margin-bottom: 1rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .youtube-video-list {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}
.decimal-hex-converter .inputs {
  display: grid;
  gap: 20px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
}

#header {
  --header-height: 60px;
}
#header .inner {
  display: grid;
  grid-template-columns: 2fr auto;
  gap: 20px;
  background: var(--bg-header);
  z-index: 3;
}

#logo {
  container-type: inline-size;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: start;
  margin: 0;
  padding: 0;
  height: var(--header-height);
  text-decoration: none;
}
#logo span:first-child {
  font-family: var(--pixel-font);
  font-size: clamp(18px, 12cqw, 48px);
  line-height: var(--header-height);
  font-weight: 400;
  color: white;
  padding-inline: var(--mobile-side-padding);
  align-content: center;
}
#logo .avatar {
  display: block;
  position: relative;
}
#logo .avatar img {
  display: block;
  margin: 0;
  padding: 0;
  width: var(--header-height);
}

#toggle-mobile-nav {
  display: none;
}

nav#top-nav {
  display: none;
}
nav#top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: calc(768px - 0.02px)) {
  #header {
    --header-height: 60px;
  }
  #header .inner {
    grid-template-columns: 1fr auto;
  }
  #toggle-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pixel-font);
    font-size: 24px;
    color: white;
    padding-inline: var(--mobile-side-padding);
    overflow: hidden;
    cursor: pointer;
  }
  nav#top-nav {
    display: none;
  }
  #header.show-nav nav#top-nav {
    display: block;
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    padding-inline: var(--mobile-side-padding);
    background: var(--bg-header);
    z-index: 1;
  }
  #header.show-nav nav#top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #header.show-nav nav#top-nav ul li a {
    display: block;
    font-family: var(--pixel-font);
    font-size: 24px;
    line-height: var(--header-height);
    font-weight: 400;
    text-align: right;
    color: white;
    text-decoration: none;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
  }
}
@media (min-width: 768px) {
  #header {
    --header-height: 80px;
    height: var(--header-height);
    margin-bottom: 90px;
    background: var(--bg-header);
  }
  #header .inner {
    max-width: 1180px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas: "logo logo logo logo nav nav nav nav nav nav nav nav";
    padding-inline: 20px;
    margin-inline: auto;
  }
  #header #logo {
    grid-area: logo;
    display: grid;
    grid-template-columns: 1fr 120px;
    font-size: 56px;
    line-height: var(--header-height);
  }
  #header #logo .avatar {
    position: relative;
  }
  #header #logo .avatar img {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    border: 5px solid var(--bg-header);
  }
  nav#top-nav {
    display: block;
    grid-area: nav;
    align-content: center;
    justify-items: end;
  }
  nav#top-nav ul {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 30px;
  }
  nav#top-nav ul li {
    font-family: var(--pixel-font);
    font-size: 28px;
    line-height: 30px;
    text-transform: lowercase;
  }
  nav#top-nav ul li ul {
    display: none;
  }
  nav#top-nav ul li a {
    color: white;
    text-decoration: none;
  }
  #toggle-mobile-nav {
    display: none;
  }
}
@media print {
  body #header {
    --header-height: 3cm;
  }
  body #header .inner {
    grid-template-columns: 1fr auto;
    margin-inline: auto;
    gap: 20px;
    background: var(--bg-header);
    z-index: 3;
  }
  body #logo {
    container-type: inline-size;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: start;
    margin: 0;
    padding: 0;
    height: var(--header-height);
    text-decoration: none;
  }
  body #logo span:first-child {
    font-family: var(--pixel-font);
    font-size: clamp(18px, 12cqw, 48px);
    line-height: var(--header-height);
    font-weight: 400;
    color: white;
    padding-inline: var(--mobile-side-padding);
    align-content: center;
  }
  body #logo .avatar {
    display: block;
    position: relative;
  }
  body #logo .avatar img {
    display: block;
    margin: 0;
    padding: 0;
    width: var(--header-height);
  }
  body #toggle-mobile-nav,
  body nav#top-nav {
    display: none;
  }
}
#main {
  padding: var(--mobile-side-padding);
  flex: 1;
}

@media (min-width: 768px) {
  #main {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
  }
  #main.main-wide {
    width: 100%;
    max-width: 1180px;
  }
  #main.has-subnav {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas: "subnav subnav subnav subnav content content content content content content content .";
    gap: 40px;
    margin-inline: auto;
    max-width: 1180px;
    padding: 0;
    padding-bottom: 90px;
  }
  #content {
    grid-area: content;
    padding: 0;
  }
}
@media print and (min-width: 768px) {
  #main {
    display: revert;
    grid-template-columns: revert;
    grid-template-areas: revert;
  }
}
#subnav {
  --gap: 1em;
  --active-color: black;
  grid-area: subnav;
  padding: 20px;
  border-right: 2px solid rgba(0, 0, 0, 0.05);
}
#subnav ul li {
  padding-left: 5px;
}
@media (prefers-color-scheme: dark) {
  #subnav {
    --active-color: white;
  }
}
#subnav .toggle {
  display: none;
  cursor: pointer;
}
#subnav ul {
  margin-bottom: 0;
}
#subnav ul li a {
  text-decoration: none;
  font-size: 15px;
}
#subnav ul li a:hover {
  text-decoration: underline;
}
#subnav ul li.active > a {
  font-weight: bold;
  color: var(--active-color);
}
#subnav ul li ul {
  margin-top: var(--gap);
  margin-bottom: 1em;
  margin-left: 5px;
}

@media (max-width: calc(768px - 0.02px)) {
  #subnav {
    position: relative;
    margin: 0 0 40px 0;
    padding: 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: var(--subnav-bg-color);
  }
  #subnav .header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    justify-items: start;
    align-items: center;
  }
  #subnav .header h2 {
    margin: 0;
  }
  #subnav .header .toggle {
    display: block;
  }
  #subnav nav {
    display: none;
  }
  #subnav.show-nav nav {
    display: block;
    margin-top: 1em;
  }
}
@media print {
  #subnav {
    display: none;
  }
}
footer {
  background-color: var(--bg-footer);
  color: white;
  margin-top: auto;
}
footer .footer-content {
  padding: 2rem 1rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
footer .footer-content .footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  footer .footer-content .footer-columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
  }
}
footer .footer-content .footer-column h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  color: white;
  font-weight: 600;
}
footer .footer-content .footer-column p {
  font-size: 0.875rem;
  line-height: 1.5;
}
footer .footer-content .footer-column p:last-child {
  margin-bottom: 0;
}
footer .footer-content .footer-about p {
  opacity: 0.9;
}
footer .footer-content .footer-support .donate-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 480px) {
  footer .footer-content .footer-support .donate-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}
@media (min-width: 768px) {
  footer .footer-content .footer-support .donate-buttons {
    flex-direction: column;
  }
}
footer .footer-content .footer-support .donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
footer .footer-content .footer-support .donate-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
footer .footer-content .footer-support .donate-btn span {
  font-size: 1rem;
}
footer .footer-content .footer-support .paypal-btn:hover {
  background: rgba(0, 123, 255, 0.3);
  border-color: rgba(0, 123, 255, 0.5);
}
footer .footer-content .footer-support .kofi-btn img {
  display: block;
  height: 16px;
  width: auto;
}
footer .footer-content .footer-support .kofi-btn:hover {
  background: rgba(255, 94, 77, 0.3);
  border-color: rgba(255, 94, 77, 0.5);
}
footer .footer-content .footer-support .bmac-btn:hover {
  background: rgba(255, 221, 0, 0.3);
  border-color: rgba(255, 221, 0, 0.5);
}
footer .footer-content .footer-info {
  text-align: right;
}
@media (max-width: 767px) {
  footer .footer-content .footer-info {
    text-align: left;
  }
}
footer .footer-content .footer-info p {
  opacity: 0.8;
}
footer .footer-content .footer-info .footer-tech {
  font-size: 0.8rem;
  opacity: 0.6;
}
footer .footer-content .footer-info .footer-tech a {
  color: white;
  text-decoration: none;
}
footer .footer-content .footer-info .footer-tech a:hover {
  text-decoration: underline;
  opacity: 1;
}

button,
.button {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: var(--button-color);
  color: white;
  font-family: var(--pixel-font);
  font-size: 24px;
  padding: 6px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
button:hover,
.button:hover {
  background: var(--button-hover-color);
}
button:active,
.button:active {
  transform: translateY(2px);
}
button:disabled,
.button:disabled {
  background: #999;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2), inset -1px -1px 0 rgba(0, 0, 0, 0.2);
}
button:disabled:hover,
.button:disabled:hover {
  transform: none;
  background: #999;
}
button.secondary,
.button.secondary {
  background: #6B7280;
}
button.secondary:hover,
.button.secondary:hover {
  background: #7B8394;
}
button.small,
.button.small {
  padding: 8px 12px;
  font-size: 12px;
}
button.large,
.button.large {
  padding: 16px 28px;
  font-size: 16px;
}

.download-button {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  width: fit-content;
  border-radius: 15px;
  background: var(--bg-panel);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  margin: 0 0 var(--paragraph-bottom-margin) 0;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
}

.icon--sm {
  font-size: 0.75em;
}

.icon--lg {
  font-size: 1.5em;
}

.icon--xl {
  font-size: 2em;
}

/* Auto-generated by fantasticon. Do not edit directly. */
@font-face {
  font-family: "retro-icons";
  src: url("../fonts/retro-icons.woff2?55d7caa72b4fd4e8ffaa2546e6e0dce0") format("woff2"), url("../fonts/retro-icons.woff?55d7caa72b4fd4e8ffaa2546e6e0dce0") format("woff");
  font-style: normal;
  font-weight: normal;
  font-display: block;
}
i[class^=icon-]:before, i[class*=" icon-"]:before {
  font-family: retro-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-x-twitter:before {
  content: "\f101";
}

.icon-trash-can:before {
  content: "\f102";
}

.icon-square-x-twitter:before {
  content: "\f103";
}

.icon-square-facebook:before {
  content: "\f104";
}

.icon-share:before {
  content: "\f105";
}

.icon-settings:before {
  content: "\f106";
}

.icon-reddit-alien:before {
  content: "\f107";
}

.icon-poo:before {
  content: "\f108";
}

.icon-play:before {
  content: "\f109";
}

.icon-paypal:before {
  content: "\f10a";
}

.icon-mastodon:before {
  content: "\f10b";
}

.icon-linkedin-in:before {
  content: "\f10c";
}

.icon-jaromir:before {
  content: "\f10d";
}

.icon-instagram:before {
  content: "\f10e";
}

.icon-hacker-news:before {
  content: "\f10f";
}

.icon-email:before {
  content: "\f110";
}

.icon-drum:before {
  content: "\f111";
}

.icon-discord:before {
  content: "\f112";
}

.icon-copy:before {
  content: "\f113";
}

.icon-cloud-arrow-down:before {
  content: "\f114";
}

.icon-circle-exclamation:before {
  content: "\f115";
}

.icon-caret-right:before {
  content: "\f116";
}

.icon-caret-down:before {
  content: "\f117";
}

.icon-bluesky:before {
  content: "\f118";
}

.icon-arrow-down:before {
  content: "\f119";
}

.social-sharing {
  --size: 32px;
  --font-size: 16px;
  --gap: 10px;
}
@media (max-width: calc(768px - 0.02px)) {
  .social-sharing {
    --size: 48px;
    --font-size: 21px;
    --gap: 20px;
  }
}
.social-sharing .social-sharing__list {
  list-style: none;
  /* Fix invalid unitless margin value; remove default left indent */
  margin: 0 0 1rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}
.social-sharing .social-sharing__list li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  /* Unify anchor & button styling so variant modifier classes override correctly */
  /* Brand color mappings (WCAG AA contrast against white icon glyphs) */
}
.social-sharing .social-sharing__list li .social-sharing__link {
  --_bg: black; /* default fallback */
  --_bg-hover: lighten(black, 7%);
  --_bg-active: lighten(black, 14%);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: var(--size);
  height: var(--size);
  color: #fff;
  font-size: var(--font-size);
  text-decoration: none;
  background: var(--_bg);
  border-radius: 6px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background-color 0.18s ease, transform 0.15s ease;
  outline: none;
  line-height: 1; /* tighten inline-flex baseline */
  font: inherit; /* ensure buttons inherit font settings */
}
.social-sharing .social-sharing__list li .social-sharing__link:hover, .social-sharing .social-sharing__list li .social-sharing__link:focus-visible {
  background: var(--_bg-hover);
}
.social-sharing .social-sharing__list li .social-sharing__link:active {
  background: var(--_bg-active);
  transform: translateY(1px);
}
.social-sharing .social-sharing__list li .social-sharing__link:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 0 0 5px var(--_bg);
}
.social-sharing .social-sharing__list li .social-sharing__link .social-sharing__text {
  display: none;
}
.social-sharing .social-sharing__list li .social-sharing__link--email {
  --_bg: #444;
  --_bg-hover: #555;
  --_bg-active: #666;
}
.social-sharing .social-sharing__list li .social-sharing__link--linkedin {
  --_bg: #0A66C2;
  --_bg-hover: #0d74dd;
  --_bg-active: #0f82f5;
}
.social-sharing .social-sharing__list li .social-sharing__link--bluesky {
  --_bg: #0285FF;
  --_bg-hover: #1490ff;
  --_bg-active: #279bff;
}
.social-sharing .social-sharing__list li .social-sharing__link--mastodon {
  --_bg: #6364FF;
  --_bg-hover: #5657e6;
  --_bg-active: #4849cc;
}
.social-sharing .social-sharing__list li .social-sharing__link--twitter {
  --_bg: #000000;
  --_bg-hover: #111;
  --_bg-active: #1a1a1a;
}
.social-sharing .social-sharing__list li .social-sharing__link--facebook {
  --_bg: #1877F2;
  --_bg-hover: #2b82f3;
  --_bg-active: #3d8df4;
}
.social-sharing .social-sharing__list li .social-sharing__link--reddit {
  --_bg: #FF4500;
  --_bg-hover: #ff571a;
  --_bg-active: #ff6933;
}
.social-sharing .social-sharing__list li .social-sharing__link--hackernews {
  --_bg: #FF6600;
  --_bg-hover: #ff751a;
  --_bg-active: #ff8433;
}
.social-sharing .social-sharing__list li .social-sharing__link--copy {
  --_bg: #555;
  --_bg-hover: #666;
  --_bg-active: #777;
}
.social-sharing .social-sharing__list li .social-sharing__link--systemshare {
  --_bg: #6500ad;
  --_bg-hover: #7200c3;
  --_bg-active: #8300e0;
}
.social-sharing .social-sharing__feedback {
  display: none;
  margin-left: 0.5rem;
  text-wrap: balance;
  font-size: 0.9em;
}
.social-sharing .social-sharing__feedback--visible {
  display: inline;
}

.card {
  background: var(--bg-panel);
  transition: transform 0.25s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0.2, 0.2, 1);
  will-change: transform, box-shadow;
}
.card > a {
  display: grid;
  gap: 0;
  grid-template-rows: 1fr auto;
  text-decoration: none;
}
.card > a p {
  color: var(--text-color);
}
.card .card-image {
  position: relative;
}
.card .card-image:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-shadow: inset 0 0 32px 0 rgba(0, 0, 0, 0.6);
  z-index: 10;
  pointer-events: none;
}
.card .card-image img {
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  z-index: 5;
}
.card .card-content {
  align-items: start;
  align-content: start;
  padding: 15px;
}
.card p.card-description {
  margin: 0;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px 0 rgba(30, 40, 80, 0.12), 0 1.5px 6px 0 rgba(0, 0, 0, 0.08);
}

.cards-container {
  display: grid;
  grid-template-columns: 1fr;
  justify-content: start; /* prevent lone item from stretching */
  gap: 30px;
  max-width: 100%;
  margin: 0 0 var(--paragraph-bottom-margin) 0;
}
@media (min-width: 576px) {
  .cards-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    justify-content: start; /* prevent lone item from stretching */
    grid-template-rows: auto;
  }
}
@media (max-width: calc(576px - 0.02px)) {
  .cards-container .card .card-image {
    margin: 15px 15px 0 15px;
  }
  .cards-container .card .card-image img {
    aspect-ratio: 2/1;
  }
}
.cards-container.list {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
}
.cards-container.list .card {
  max-width: auto;
}
.cards-container.list .card > a {
  grid-template-columns: 200px auto;
  grid-template-rows: auto;
}

.panel {
  margin-bottom: var(--paragraph-bottom-margin);
  padding: 20px;
  background: var(--bg-panel);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/*# sourceMappingURL=style.css.map */
