/* Layout of the "Drag it out" stage (js/anim-drag.js). A small stage that
   shows on every screen width; type is set large so it stays readable when
   the step card shrinks it to a third. */

.k-frame.k-small { aspect-ratio: 16 / 10; }
.k-frame.k-small.k-on { display: block; }
.k-drag .k-stage { width: 640px; height: 400px; }

.k-drag .k-clip .k-name { font-size: 22px; }
.k-drag .k-clip .k-meta { font-size: 15px; }
.k-drag .k-dim { opacity: .45; }
.k-drag .k-ghost { opacity: 0; z-index: 5; box-shadow: 0 24px 50px #000c; }

.k-daw {
  position: absolute; left: 24px; top: 196px; width: 592px; height: 188px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 10px; background: var(--k-panel-light);
}
.k-daw-bar {
  height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: var(--text-dim);
}
.k-daw-bar span:last-child { margin-left: 8px; }
.k-daw .k-dot { width: 9px; height: 9px; border-radius: 50%; background: #3a3e45; }
.k-barnum { position: absolute; top: 224px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.k-track {
  position: absolute; left: 24px; width: 592px; height: 46px; border-top: 1px solid var(--line);
  background: repeating-linear-gradient(to right, transparent 0, transparent 61px, #262a30 61px, #262a30 62px) 96px 0 / calc(100% - 96px) 100% no-repeat transparent;
}
.k-tname { position: absolute; left: 12px; top: 13px; font-size: 16px; font-weight: 600; color: var(--text-soft); }

.k-region { position: absolute; overflow: hidden; border-radius: 4px; background: #3a2408; box-shadow: inset 0 0 0 1.5px var(--accent); }
.k-region.k-old { background: #23272d; box-shadow: inset 0 0 0 1px var(--line-strong); }
.k-region.k-old .k-note { background: var(--text-faint); }
.k-region .k-barline, .k-region .k-beatline { display: none; }
.k-rname { position: absolute; left: 8px; top: 3px; font-size: 13px; font-weight: 600; color: var(--accent-hi); }
.k-rinfo { position: absolute; right: 8px; top: 3px; font-family: var(--mono); font-size: 12px; color: var(--accent-hi); }

.k-pointer { position: absolute; left: -6px; top: -3px; z-index: 9; }
.k-pointer svg { display: block; transform-origin: 6px 3px; filter: drop-shadow(0 2px 3px #000a); }
