/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-stone-50: oklch(98.5% 0.001 106.423);
    --color-stone-400: oklch(70.9% 0.01 56.259);
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --radius-lg: 0.5rem;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .isolate {
    isolation: isolate;
  }
  .z-10 {
    z-index: 10;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .\!inline {
    display: inline !important;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .table {
    display: table;
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-full {
    height: 100%;
  }
  .h-screen {
    height: 100vh;
  }
  .w-1 {
    width: calc(var(--spacing) * 1);
  }
  .w-\[5px\] {
    width: 5px;
  }
  .w-\[590px\] {
    width: 590px;
  }
  .w-full {
    width: 100%;
  }
  .min-w-\[400px\] {
    min-width: 400px;
  }
  .min-w-\[550px\] {
    min-width: 550px;
  }
  .flex-1 {
    flex: 1;
  }
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  .shrink {
    flex-shrink: 1;
  }
  .grow {
    flex-grow: 1;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .appearance-none {
    appearance: none;
  }
  .grid-cols-\[\.7fr_\.3fr\] {
    grid-template-columns: .7fr .3fr;
  }
  .grid-cols-\[\.75fr_1\.25fr_\.75fr_\.75fr\] {
    grid-template-columns: .75fr 1.25fr .75fr .75fr;
  }
  .grid-cols-\[\.465fr_0\.515fr_0\.515fr_\.635fr_\.635fr_\.775fr_\.3fr\] {
    grid-template-columns: .465fr 0.515fr 0.515fr .635fr .635fr .775fr .3fr;
  }
  .grid-cols-\[\.465fr_1\.665fr_1\.71fr\] {
    grid-template-columns: .465fr 1.665fr 1.71fr;
  }
  .grid-cols-\[1\.25fr_\.75fr_\.5fr\] {
    grid-template-columns: 1.25fr .75fr .5fr;
  }
  .grid-rows-\[1fr_1fr\] {
    grid-template-rows: 1fr 1fr;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .justify-items-center {
    justify-items: center;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .bg-gray-200 {
    background-color: var(--color-gray-200);
  }
  .bg-gray-300 {
    background-color: var(--color-gray-300);
  }
  .bg-stone-50 {
    background-color: var(--color-stone-50);
  }
  .bg-stone-400 {
    background-color: var(--color-stone-400);
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .text-center {
    text-align: center;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .text-gray-200 {
    color: var(--color-gray-200);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-600 {
    color: var(--color-gray-600);
  }
  .text-gray-700 {
    color: var(--color-gray-700);
  }
  .text-gray-800 {
    color: var(--color-gray-800);
  }
  .text-white {
    color: var(--color-white);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .opacity-0 {
    opacity: 0%;
  }
  .opacity-100 {
    opacity: 100%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-\[width\,opacity\] {
    transition-property: width,opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
  .md\:block {
    @media (width >= 48rem) {
      display: block;
    }
  }
}
html, body {
  margin: 0;
  font-family: "Inter", sans-serif;
  height: 100vh;
  overflow: hidden;
}
#nameInput {
  text-align: center;
  background-color: transparent;
  color: white;
  border: none;
  width: 100%;
  text-align: center;
  font-size: 35px;
  -moz-text-align: center;
  -webkit-text-align: center;
}
.top-tools-headers {
  display: grid;
  color: white;
  justify-content: center;
  padding-top: 10px;
  font-size: 13px;
}
.top-controls-gradient {
  height: 230px;
  background-image: linear-gradient(	to bottom,	rgba(0, 0, 0, 0.45) ,	rgba(0, 0, 0, 0.45) 70%,	rgba(0, 0, 0, 0)	);
  z-index: 4;
}
canvas {
  background-color: #000;
}
.vertical-spacer {
  display: flex;
  flex-direction: column;
  width: 1%;
}
.cardsBG {
  background-color: #454e60;
}
#right-sidebar {
  background-color: rgba(51, 56, 73, 1);
}
#debugContainer {
  position: absolute;
  top: 50px;
  left: 50px;
  width: 200px;
  height: 100px;
  margin: 20px;
  padding: 10px;
  z-index: 100;
}
.debugHidden {
  display: none;
}
#debugToggle-btn {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  cursor: pointer;
}
.debug {
  left: 10px;
  border: 1px solid black;
  background-color: rgba(0, 0, 0, 0.76);
  padding: 10px;
  margin-top: 10px;
}
#controls-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 893px;
  gap: 5px;
  overflow-y: auto;
  height: 80vh;
  margin-right: auto;
  align-items: flex-start;
  padding-bottom: 20px;
}
.logoSlideRules {
  display: flex;
  width: 100%;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  padding: 11px 0px 11px 0px;
  background: rgb(29, 29, 29);
  border-radius: 8px;
  box-sizing: border-box;
  margin-top: 35px !important;
  margin-bottom: 12px !important;
  color: white;
  justify-content: center;
  box-shadow: inset 0 0 0 4px white !important;
}
.social-container {
  display: grid;
  grid-template-columns: repeat(2, 40px);
  grid-template-rows: repeat(2, 18px);
  gap: 3px;
  justify-content: center;
}
.bracket {
  font-weight: bold;
  font-size: 4.3em;
}
#card-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px;
  padding: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  padding: 11px 0px 11px 0px;
  background: rgb(29, 29, 29);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-bottom: 12px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}
.card-inner-border {
  box-shadow: inset 0 0 0 1px black !important;
}
.card-inner-border-selected {
  box-shadow: inset 0 0 0 4px white !important;
}
.card-content {
  flex-wrap: nowrap;
  width: 100%;
}
.card-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.card.ui-sortable-helper {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  cursor: grabbing;
}
.card p {
  color: #666;
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 0;
}
.card, .card * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.callCount {
  position: relative;
  top: -18px;
}
.knob-container {
  position: relative;
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
.knob-box {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
}
.neighbors-header {
  width: 100%;
  margin: 0 0 10px 0;
}
.neighbors-knobs {
  display: flex;
  flex-wrap: nowrap;
  min-width: 100%;
  height: 100%;
  align-items: center;
}
.targetNeighbor-knobs {
  display: flex;
  flex-wrap: nowrap;
  min-width: 100%;
  height: 100%;
  align-items: center;
}
.neighbors-ignore-controls-container {
  display: flex;
  flex-wrap: nowrap;
  min-width: 100%;
  height: 100%;
}
.match-container, .result-container {
  display: flex;
  flex-direction: column;
}
.match-knobs {
  display: flex;
  flex-wrap: nowrap;
  min-width: 100%;
  height: 100%;
  align-items: center;
}
.result-knobs {
  display: flex;
  flex-wrap: nowrap;
  min-width: 100%;
  height: 100%;
  align-items: center;
}
.minus-btn {
  color: #666;
  cursor: pointer;
  margin-bottom: 4px;
  font-size: 1.2em;
}
.minus-btn:hover {
  color: red;
}
.x-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border: 2px solid #555;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  position: relative;
}
.x-checkbox:checked::before {
  content: "X";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: red;
}
.rule-header {
  width: 100%;
  position: relative;
  top: 0px;
  margin-top: -18px;
  color: black;
  justify-content: space-between;
  cursor: grabbing;
  user-select: none;
}
#header-container {
  z-index: 5;
}
.rule-header-container-left {
  float: left;
}
.rule-header-container-right {
  float: right;
}
.rule-label {
  font-weight: bold;
}
.blockButton {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background-color: white;
  font-size: 12px;
  color: black;
}
.navButton {
  width: 17px;
  border-radius: 4px;
  background-color: rgb(0,0,0);
  font-size: 12px;
  border-width: 1px;
  border-color: black;
  color: white;
}
.navButtonBlack {
  width: 17px;
  border-radius: 4px;
  background-color: rgb(0,0,0);
  font-size: 12px;
  border-width: 1px;
  border-color: rgb(110, 110, 110);
  color: white;
}
.navWrapper {
  display: flex;
  gap: 3px;
  width: 100%;
  max-width: 282px;
  justify-content: center;
  height: 21px;
}
.preset {
  background-color: rgb(240, 240, 240);
  color: black;
}
.editedOrCustom {
  background-color: rgb(242, 246, 127);
  color: black;
}
.playButton {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border-width: 2px;
  border-color: white;
  font-size: 15px;
}
.randomize-rule {
  background: none;
  border: none;
  cursor: pointer;
}
.delete-rule {
  background: none;
  border: none;
  cursor: pointer;
}
.delete-rule:hover {
  color: #f00;
}
.audio-button {
  width: 30px;
  height: 28px;
  border: 2px solid;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.audio-button:hover {
  filter: brightness(110%);
  transform: scale(1.05);
}
.audio-button.active {
  box-shadow: 0 0 3px 1px;
}
.solo {
  color: #333;
  border-color: #f0e68c;
  background-color: #fff;
}
.solo.active {
  background-color: #f0e68c;
  border-color: #f0e68c;
  color: #333;
  box-shadow: 0 0 5px 1px rgba(240, 230, 140, 0.7);
}
.mute {
  color: #333;
  border-color: #F05A78;
  background-color: #fff;
}
.mute.active {
  background-color: #F05A78;
  border-color: #dc143c;
  color: #333;
  box-shadow: 0 0 5px 1px rgba(220, 20, 60, 0.7);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.volume-container {
  display: grid;
  grid-template-columns: repeat(1, 9px);
  grid-template-rows: repeat(8, 3px);
  padding-right: 8px;
  align-items: center;
  gap: 4px;
  border: 0px;
}
.volume-cell {
  width: 100%;
  height: 100%;
  border: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  position: relative;
}
.custom-palette-container {
  display: grid;
  gap: 3px;
  width: 100%;
  justify-items: center;
  padding: 0px 7px 0px 7px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 19px);
  grid-template-rows: repeat(3, 19px);
  align-items: center;
  justify-items: center;
  gap: 1px;
  border: 0px solid #ccc;
}
.grid-container-palette {
  display: grid;
  grid-template-columns: repeat(4, 19px);
  grid-template-rows: repeat(3, 19px);
  align-items: center;
  justify-items: center;
  gap: 1px;
  border: 0px solid #ccc;
}
.grid-container-palette::after {
  content: "";
  box-sizing: content-box;
}
.grid-container-palette-result {
  display: grid;
  grid-template-rows: repeat(1, 100%);
  align-items: center;
  justify-items: center;
  gap: 1px;
  margin-left: 4px;
  border: 0px solid #ccc;
  height: 100%;
}
.grid-cell {
  width: 16px;
  height: 16px;
  border: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  user-select: none;
  position: relative;
}
.color-1 {
  background-color: #ff0000;
}
.color-2 {
  background-color: #00ff00;
}
.color-3 {
  background-color: #0000ff;
}
.color-4 {
  background-color: #ffff00;
}
.color-5 {
  background-color: #00ffff;
}
.color-6 {
  background-color: #ff00ff;
}
.color-7 {
  background-color: #800000;
}
.color-8 {
  background-color: #008000;
}
.color-9 {
  background-color: #000080;
}
.x-mark {
  color: white;
  font-size: 9px;
  line-height: 11px;
  text-align: center;
  position: absolute;
  top: 2px;
  left: 3px;
  text-shadow: -1px -1px 0 #000,	1px -1px 0 #000,	-1px 1px 0 #000,	1px 1px 0 #000;
}
.x-mark::before {
  content: 'x';
}
.number-mark {
  color: white;
  font-size: 9px;
  line-height: 11px;
  text-align: center;
  position: absolute;
  top: 4px;
  left: 3px;
  text-shadow: -1px -1px 0 #000,	1px -1px 0 #000,	-1px 1px 0 #000,	1px 1px 0 #000;
}
.color-picker {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 10;
}
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  cursor: pointer;
  background: transparent;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -6px;
  height: 20px;
  width: 20px;
  background-color: #3b82f6;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
input[type=range]::-moz-range-track {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
}
input[type=range]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  background-color: #3b82f6;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.top-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
#slider-content-wrapper {
  flex-grow: 1;
  min-width: 150px;
}
.control-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 12px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  min-width: 40px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}
.control-button:hover {
  background-color: #45a049;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#myCanvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
  background-color: #dbeafe;
}
#canvasContainer {
  position: relative;
}
#transportControls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px;
  border-radius: 6px;
}
.transportControlIcon {
  color: white;
  padding: 10px 15px;
}
.tooltip-container {
  position: relative;
}
.tooltip-text {
  position: absolute;
  visibility: hidden;
  width: 220px;
  background-color: rgb(242, 246, 127);
  font-size: 12px;
  color: black;
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;
  z-index: 10;
  bottom: 22px;
  right: 30px;
  margin-left: -60px;
}
.tooltip-text-adjusted {
  right: -150px;
}
.tooltip-container:hover .tooltip-text {
  visibility: visible;
}
#drawer-button {
  top: 58px;
  transform: translateY(-50%);
  left: 100%;
  z-index: 20;
  padding: 4px 6px;
  background-color: #788190;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  border: 1px solid #2d3748;
  border-left: none;
  transition: left 0.3s ease-in-out;
}
.slide-transition {
  transition: width 0.3s ease-in-out;
}
.drawer-closed {
  transform: translateX(calc(-100% + 10px));
}
.drawer-open {
  transform: translateX(0);
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
      --tw-ease: initial;
    }
  }
}
