.practice-wheel-module {
  position: absolute;
  z-index: 7;
  top: 60px;
  left: 0;
  width: min(620px, 100%);
  height: 620px;
  overflow: visible;
  border-radius: 0;
  background-color: var(--color-cream-paper);
  background-image: none;
  box-shadow: none;
  transition: width 220ms ease, height 220ms ease;
}

.practice-wheel-module::before {
  display: none;
}

.practice-option-wheel {
  --ow-text-color: rgba(45, 31, 20, 0.23);
  --ow-active-color: #2d1f14;
  --ow-font-size: clamp(3.35rem, 5.1vw, 4rem);
  --ow-inset: clamp(4px, 1vw, 12px);

  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  outline: none;
  touch-action: none;
  user-select: none;
  transform-origin: left center;
}

.practice-wheel-module.is-rhythm-selected,
.practice-wheel-module.is-listening-selected,
.practice-wheel-module.is-vocal-meter-selected {
  width: 100%;
}

.practice-wheel-module.is-listening-selected,
.practice-wheel-module.is-vocal-meter-selected {
  width: 100%;
}

.practice-wheel-module.is-rhythm-selected {
  height: 1120px;
}

.practice-wheel-module.is-listening-selected {
  height: 940px;
}

.practice-wheel-module.is-vocal-meter-selected {
  height: 900px;
}

.practice-wheel-module.is-listening-selected.has-listening-audio-open {
  height: 1180px;
}

.practice-wheel-module.is-rhythm-selected .practice-option-wheel,
.practice-wheel-module.is-listening-selected .practice-option-wheel,
.practice-wheel-module.is-vocal-meter-selected .practice-option-wheel {
  --ow-font-size: clamp(2.12rem, 3.08vw, 3.08rem);
  --ow-inset: clamp(8px, 1vw, 14px);

  inset: -48px auto auto clamp(12px, 1.2vw, 20px);
  width: clamp(248px, 26vw, 340px);
  height: clamp(228px, 22vw, 302px);
  transform: translate(0, 0) rotate(45deg) scale(1.72);
  transform-origin: left center;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 17%, #000 75%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 17%, #000 75%, transparent 100%);
}

@media (min-width: 641px) and (max-width: 1024px) {
  .practice-wheel-module.is-rhythm-selected .practice-option-wheel,
  .practice-wheel-module.is-listening-selected .practice-option-wheel,
  .practice-wheel-module.is-vocal-meter-selected .practice-option-wheel {
    --ow-font-size: clamp(1.28rem, 2.2vw, 1.48rem);
    --ow-inset: clamp(5px, 0.8vw, 9px);

    inset: -38px auto auto clamp(10px, 1vw, 16px);
    width: clamp(208px, 24vw, 260px);
    height: clamp(196px, 21vw, 252px);
    transform: translate(0, 0) rotate(45deg) scale(1.36);
  }
}

.practice-option-wheel.is-dragging {
  cursor: grabbing;
}

.practice-option-wheel:focus-visible {
  box-shadow: rgba(255, 111, 33, 0.6) 0 0 0 2px inset;
}

.practice-option-item {
  position: absolute;
  top: 50%;
  left: var(--ow-inset);
  max-width: calc(100% - var(--ow-inset));
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ow-text-color);
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--ow-font-size);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: left;
  transform-origin: left center;
  transition: color 180ms ease, text-shadow 180ms ease;
  white-space: nowrap;
  will-change: transform, opacity, filter;
}

.practice-option-item.is-active {
  color: var(--ow-active-color);
  font-weight: 800;
  text-shadow: rgba(45, 31, 20, 0.12) 0 14px 28px;
}

.rhythm-game-showcase {
  position: absolute;
  left: 50%;
  top: 176px;
  display: grid;
  grid-template-rows: 34px auto;
  gap: 10px;
  width: min(540px, calc(100% - 48px));
  height: auto;
  padding: 13px;
  border: 2px solid var(--color-charcoal);
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(34, 224, 212, 0.34), transparent 12%, transparent 88%, rgba(255, 106, 26, 0.42)),
    linear-gradient(135deg, #fff3d0 0%, #ffc94f 46%, #ff6a1a 100%);
  box-shadow:
    rgba(45, 31, 20, 0.14) 0 28px 56px,
    rgba(34, 224, 212, 0.28) 0 0 0 7px;
  overflow: visible;
  transform: translateX(-50%) rotate(-2.4deg) scale(0.94);
  transform-origin: top center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.practice-wheel-module [data-practice-panel][hidden] {
  display: none;
}

.rhythm-game-showcase::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(45, 31, 20, 0.16);
  border-radius: 24px;
  pointer-events: none;
}

.rhythm-game-showcase::after {
  content: "";
  position: absolute;
  inset: 16px 14px auto;
  height: 1px;
  background: rgba(45, 31, 20, 0.24);
  pointer-events: none;
}

.rhythm-console-top,
.rhythm-screen-bezel {
  position: relative;
  z-index: 1;
}

.rhythm-console-top {
  display: grid;
  grid-template-columns: 16px 1fr 54px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 6px;
  color: var(--color-charcoal);
}

.rhythm-console-led {
  width: 11px;
  height: 11px;
  border: 2px solid var(--color-charcoal);
  border-radius: 999px;
  background: #22e0d4;
  box-shadow: rgba(34, 224, 212, 0.8) 0 0 14px;
}

.rhythm-console-brand {
  min-width: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rhythm-console-speaker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.rhythm-console-speaker i {
  display: block;
  height: 15px;
  border-radius: 999px;
  background: rgba(45, 31, 20, 0.34);
  transform: rotate(12deg);
}

.rhythm-screen-bezel {
  display: grid;
  justify-items: center;
  align-items: start;
  overflow: hidden;
  padding: 9px;
  border: 2px solid rgba(45, 31, 20, 0.88);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    #1b2022;
  box-shadow:
    inset rgba(0, 0, 0, 0.42) 0 0 0 3px,
    rgba(255, 255, 255, 0.28) 0 1px 0;
}

.rhythm-game-frame {
  display: block;
  width: min(430px, 100%) !important;
  height: auto !important;
  aspect-ratio: 430 / 844;
  border: 0;
  border-radius: 16px;
  background: #efefef;
}
