/* Delay and BPM grid: the free preview's locks (on top of tool.css and /assets/pro.css). */

/* small buttons (presets, ping-pong, filter, Hz) show the lock after the label, not in a corner */
#p360-delay-grid .dg-preset.pro-locked::after,
#p360-delay-grid .dg-chip.pro-locked::after { display: none; }
#p360-delay-grid .dg-preset .pro-lock-icon,
#p360-delay-grid .dg-chip .pro-lock-icon { margin-left: 8px; opacity: 0.85; }

/* locked dotted / triplet cells: the lock sits where the value would be */
#p360-delay-grid .dg-cell.pro-locked::after { right: 16px; }
#p360-delay-grid .dg-cell.pro-locked:hover { border-color: var(--p-sage-2); }
#p360-delay-grid .dg-cell.pro-locked .dg-cell-note { color: var(--p-muted); }
/* one row instead of the four locked cells, on a phone (preview.js adds it to each locked column) */
#p360-delay-grid .dg-cell-more { display: none !important; }
@media (max-width: 820px) {
  #p360-delay-grid .dg-cell.pro-locked { display: none; }
  #p360-delay-grid .dg-cell-more { display: flex !important; min-height: 48px; padding: 0 14px; background: transparent; font-size: 14px; }
}

#p360-delay-grid .dg-hz-lock { margin-top: 14px; }

/* the locked note card: one small lock in its corner */
#p360-delay-grid .dg-note-card.pro-locked h3 { padding-right: 28px; }
#p360-delay-grid .dg-note-card.pro-locked h3 .pro-lock-icon { display: none; }
#p360-delay-grid .dg-note-card.pro-locked::after { top: 30px; right: 22px; transform: none; }
#p360-delay-grid .dg-note-card.pro-locked:focus-visible { outline: 2px solid var(--p-sage-hi); outline-offset: 2px; }
