:host {
  --grid-gap: 100px;
}

:host([slot=ruler]) .rux-timeline.rux-track {
  grid-template-rows: auto auto;
}

.rux-track {
  background: var(--color-background-surface-default, #1b2d3e);
  width: fit-content;
  border-bottom: 2px solid var(--color-background-base-default, #101923);
}

.rux-track__header {
  box-sizing: border-box;
  padding: 11px 8px 13px 8px;
  background: var(--color-background-surface-default, #1b2d3e);
  border-right: 2px solid var(--color-background-base-default, #101923);
  display: flex;
  align-items: center;
  font-family: var(--font-body-1-font-family, 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif);
  font-size: var(--font-body-1-font-size, 1rem);
  font-weight: var(--font-body-1-font-weight, 400);
  letter-spacing: var(--font-body-1-letter-spacing, 0.005em);
  position: sticky;
  left: 0;
  min-width: 184px;
  z-index: 2;
}

.rux-timeline {
  scrollbar-color: var(--color-border-interactive-muted, #2b659b);
  position: relative;
  display: grid;
  grid-template-rows: auto;
  background: var(--color-background-surface-default, #1b2d3e);
  background-image: repeating-linear-gradient(to left, var(--grid-line-color), var(--grid-line-color) 1px, transparent 1px, transparent var(--grid-gap));
}

.rux-track__played {
  grid-row-start: 1;
  grid-column-start: 2;
  grid-row-end: auto;
  background: var(--color-background-surface-selected, #1c3f5e);
}

.grid {
  background: repeating-linear-gradient(to left, var(--grid-line-color), var(--grid-line-color) 1px, transparent 1px, transparent var(--grid-gap));
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hidden {
  display: none;
}