/**
 * Jog-wheel / barrel-shuttle transport (A/B variants). Fully built,
 * feature-flagged OFF before this redesign (inline style="display:none" +
 * .hidden in index.html) — deliberately left untouched, see the design
 * brief for why (re-enabling disabled interaction code under time pressure
 * is a functional-risk gamble outside this pass's scope). Carried forward
 * VERBATIM from the previous stylesheet so the capability to re-enable it
 * later costs zero CSS work. --accent below resolves via the compatibility
 * alias in 00-tokens.css.
 */

.pbRow0 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 2px;
}

/* ── Jog Wheel (A variant) ── */
.jogWheel {
  flex: 1;
  position: relative;
  height: 36px;
  min-width: 140px;
  border-radius: 10px;
  overflow: hidden;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  background: rgba(8, 12, 20, 0.55);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.40),
    inset 0 -1px 3px rgba(0, 0, 0, 0.22),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.06),
    0 0.5px 0 rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.2s ease;
}
.jogWheel:hover {
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.40),
    inset 0 -1px 3px rgba(0, 0, 0, 0.22),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.12),
    0 0.5px 0 rgba(255, 255, 255, 0.07);
}
.jogWheel:active { cursor: grabbing; }

.jogWheel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.035) 0%, transparent 30%,
    transparent 70%, rgba(0, 0, 0, 0.10) 100%);
  pointer-events: none;
  z-index: 3;
}
.jogWheel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,
    rgba(8, 12, 20, 0.75) 0%, transparent 7%,
    transparent 93%, rgba(8, 12, 20, 0.75) 100%);
  pointer-events: none;
  z-index: 4;
}
.jogRidges {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0px, transparent 7px,
      rgba(255, 255, 255, 0.04) 7px, rgba(255, 255, 255, 0.04) 8px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 39px,
      rgba(255, 255, 255, 0.07) 39px, rgba(255, 255, 255, 0.07) 40px);
  animation: jogNudge 2.6s cubic-bezier(0.4, 0, 0.2, 1) 1.2s 3 both;
  z-index: 1;
}
.jogSheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 0%, transparent 38%, rgba(255, 255, 255, 0.05) 44%,
    rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.05) 56%,
    transparent 62%, transparent 100%);
  background-size: 250% 100%;
  animation: jogSheen 2s ease-in-out 0.4s 2 both;
  pointer-events: none;
  z-index: 2;
}
.jogPlayhead {
  position: absolute;
  top: 3px; bottom: 3px; left: 50%;
  width: 2px;
  border-radius: 1px;
  background: var(--accent);
  opacity: 0.6;
  box-shadow: 0 0 8px rgba(108, 195, 255, 0.35), 0 0 3px rgba(108, 195, 255, 0.55);
  pointer-events: none;
  z-index: 5;
  transition: left 0.08s ease-out, opacity 0.3s ease;
}
@keyframes jogNudge {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(6px); }
  75%      { transform: translateX(-6px); }
}
@keyframes jogSheen {
  0%   { background-position: 140% 0; }
  100% { background-position: -40% 0; }
}

/* ── Barrel Jog Wheel (B variant) ── */
.jogBarrel {
  flex: 1;
  position: relative;
  height: 44px;
  min-width: 140px;
  overflow: visible;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}
.jogBarrel:active { cursor: grabbing; }
.jogBarrelSlot {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #020406;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.6), inset 0 -1px 2px rgba(0,0,0,0.3);
}
.jogBarrelClip {
  position: absolute;
  left: 0; right: 0; top: 3px; bottom: 3px;
  overflow: hidden;
  clip-path: url(#barrelClip);
}
.jogBarrelCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.jogBarrelPlayhead {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--accent);
  box-shadow: 0 0 10px rgba(108,195,255,0.35), 0 0 4px rgba(108,195,255,0.55);
  z-index: 3;
  pointer-events: none;
}
.jogBarrelPlayhead::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--accent);
  filter: drop-shadow(0 0 3px rgba(108,195,255,0.35));
}
.jogBarrelPlayhead::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%; transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--accent);
  filter: drop-shadow(0 0 3px rgba(108,195,255,0.35));
}

.jogBarrel.hidden,
.jogWheel.hidden { display: none; }
