.rhythm-mirror-segment-row {
  align-items: flex-start;
  column-gap: 0;
  display: flex;
  flex-wrap: wrap;
  line-height: 0;
  row-gap: 18px;
}

.rhythm-mirror-segment {
  --pitch-deg: 0deg;
  --scale-x: 1;
  --scale-y: 1;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
  transform: rotate(var(--pitch-deg)) scale(var(--scale-x), var(--scale-y));
  transform-origin: center;
  vertical-align: middle;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.rhythm-mirror-segment-tier-0 {
  background-color: #F7F7F7 !important;
  border: 1.5px dashed #515151;
  box-sizing: border-box;
}

.rhythm-mirror-segment-tier-1 {
  --scale-x: 0.7;
  --scale-y: 0.5;
  --stripe-inv-scale-x: 1.428571;
  --stripe-inv-scale-y: 2;
  background-color: #F3F3F3 !important;
  border: none;
  margin-bottom: 5px;
  margin-top: 5px;
}

.rhythm-mirror-segment-tier-2,
.rhythm-mirror-segment-tier-3 {
  border: none;
}

.rhythm-mirror-segment-tier-1::after,
.rhythm-mirror-segment-tier-2::after {
  content: "";
  height: 100%;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: rotate(calc(-1 * var(--pitch-deg)))
    scale(var(--stripe-inv-scale-x, 1), var(--stripe-inv-scale-y, 1));
  transform-origin: center;
  width: 100%;
}

.rhythm-mirror-segment-tier-1::after {
  background-image: repeating-linear-gradient(
    to right,
    currentColor 0,
    currentColor 1px,
    transparent 1px,
    transparent 4px
  );
}

.rhythm-mirror-segment-tier-2::after {
  background-image: repeating-linear-gradient(
    to right,
    rgb(255 255 255) 0,
    rgb(255 255 255) 2.5px,
    transparent 2.5px,
    transparent 4.5px
  );
}

.rhythm-mirror-advice {
  max-width: 100%;
  padding-inline: 25px;
  overflow-x: auto;
}

.rhythm-mirror-canvas {
  width: 534.8px;
  height: 208.8px;
  position: relative;
}

.rhythm-mirror-grid {
  width: 534.8px;
  height: 208.8px;
  position: absolute;
  z-index: 0;
}

.rhythm-mirror-user-icon {
  width: 39px;
  height: 39px;
  position: absolute;
  top: 25px;
  left: -5px;
  z-index: 1;
}

.rhythm-mirror-user-icon[src=""] {
  visibility: hidden;
}

.rhythm-mirror-model-icon {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 110px;
  left: -5px;
  z-index: 1;
}

.rhythm-mirror-canvas .rhythm-mirror-segment-row {
  width: 480px;
  position: absolute;
  left: 47.7px;
  z-index: 1;
}

.rhythm-mirror-segment-row-user {
  top: 40px;
}

.rhythm-mirror-segment-row-model {
  top: 123px;
}

.rhythm-mirror-audio {
  display: none;
}

.rhythm-mirror-segment-row.is-playing .rhythm-mirror-segment {
  opacity: 0;
  visibility: hidden;
}

.rhythm-mirror-segment-row.is-playing .rhythm-mirror-segment.is-visible {
  opacity: 1;
  visibility: visible;
}