/* FL Studio plugins, free preview: how the locked parts sit in the page (the calm locks themselves: /assets/pro.css). */

/* a locked in-depth guide: one quiet row with the section names, one small sage lock */
.plugin-locked { position: relative; padding: 0; border-radius: 6px; }
.plugin-locked::after { content: none; }
.plugin-locked:focus-visible { outline: 2px solid var(--t400); outline-offset: 4px; }
.plugin-locked .guide-section { align-self: stretch; }
.pl-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; }
.pl-row .pro-lock-icon { flex: none; margin: 0; width: 12px; height: 12px; color: var(--t400); opacity: 0.85; }
.pl-row .gs-label { display: flex; flex-direction: column; gap: 3px; font-weight: 700; color: var(--t400); }
.pl-row .gs-label small { font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.plugin-locked:hover .gs-label { color: var(--text); }

/* the catalogue: one locked line for every description and edition */
.ci-lock-all { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--t400) !important; font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.ci-lock-all::after { content: none !important; }
.ci-lock-all .pro-lock-icon { margin: 0; width: 12px; height: 12px; }
.ci-lock-all:hover { color: var(--text) !important; text-decoration: underline; text-underline-offset: 4px; }

/* the rack tiles of locked guides */
.rt-name .pro-lock-icon { width: 0.8em; height: 0.8em; color: var(--muted); }

/* on a phone the preview's catalogue is a list of names in two columns (the type is in the
   filter chips above), so the page isn't 15 screens of single rows */
@media (max-width: 720px) {
  .catalogue-list { gap: 14px; }
  .cat-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-item { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-top: 1px solid var(--line); }
  .cat-item:nth-child(2) { border-top: 0; }
  .cat-item:nth-child(even) { border-left: 1px solid var(--line); }
  .cat-item[hidden] { display: none; }
  .cat-item .ci-meta { display: none; }
  .ci-name { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
}
