/* ================= Plugin screenshot display ================= */
.plugin-image {
  display: block;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04);
}
.plugin-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ================= Plugin UI (legacy interactive - unused) ================= */

.plugin-ui {
  background: #0d0d0d;
  border: 1px solid #1d1d1d;
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--sans);
  color: #cfcfcf;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 30px 80px rgba(0,0,0,0.5);
}

/* ---- Pro Tools-style chrome strip ---- */
.pro-tools-chrome {
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 8px 12px;
  background: linear-gradient(#3b3b3b, #2a2a2a);
  border-bottom: 1px solid #111;
  font-size: 11px;
}
.ptc-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 2px 10px;
  border-right: 1px solid #1a1a1a;
  min-width: 0;
}
.ptc-col:first-child { padding-left: 0; }
.ptc-mini {
  font-size: 10px;
  color: #888;
  font-weight: 500;
}
.ptc-pill {
  background: linear-gradient(#4a4a4a, #333);
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 11px;
  color: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  min-width: 90px;
}
.ptc-pill.narrow { padding: 2px 8px; }
.ptc-pill.italic { font-style: italic; color: #999; }
.ptc-pill .chev { font-size: 9px; color: #888; }
.ptc-pill-row { display: flex; gap: 3px; }
.ptc-chip {
  background: linear-gradient(#4a4a4a, #333);
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #c0c0c0;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.ptc-chip.on { background: linear-gradient(#4b7cb8, #3a68a0); color: #fff; border-color: #2a4a70; }
.ptc-chip.on-amber { background: linear-gradient(#c8994a, #a67838); color: #1a1208; border-color: #6b4a18; }
.ptc-chip.icon { padding: 3px 6px; font-family: var(--mono); }
.ptc-spacer { flex: 1; }
.ptc-close {
  align-self: flex-start;
  width: 22px; height: 22px;
  border: 1px solid #6b1a1a;
  background: linear-gradient(#c44, #a22);
  border-radius: 2px;
  color: white;
  font-size: 11px;
}

/* ---- Plugin Header ---- */
.plugin-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 14px 20px;
  background: #0d0d0d;
  border-bottom: 1px solid #151515;
}
.plugin-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.plugin-brand-mark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: #9a7fde;
  font-style: italic;
  letter-spacing: -0.02em;
}
.plugin-brand-name {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #c8c8c8;
}
.plugin-preset {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.preset-select {
  background: linear-gradient(#2a2a2a, #1e1e1e);
  border: 1px solid #333;
  border-radius: 4px;
  padding: 7px 14px;
  min-width: 200px;
  color: #e0e0e0;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.preset-save {
  background: linear-gradient(#3a3a3a, #242424);
  border: 1px solid #333;
  border-radius: 4px;
  padding: 7px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #d0d0d0;
  font-weight: 600;
}
.plugin-tabs { display: flex; gap: 2px; }
.plugin-tabs .tab {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid #2a2a2a;
  background: linear-gradient(#232323, #1a1a1a);
  color: #999;
  border-radius: 2px;
}
.plugin-tabs .tab.on {
  background: linear-gradient(#1a3f33, #0e2a22);
  color: var(--teal);
  border-color: #1f5043;
  box-shadow: inset 0 0 10px rgba(46,232,184,0.1);
}
.plugin-tabs .tab.muted { opacity: 0.45; }

/* ---- Plugin body: sliders ---- */
.plugin-body {
  padding: 28px 24px 20px;
  background: radial-gradient(ellipse at top, #111 0%, #060606 80%);
}
.plugin-channels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  align-items: end;
}
.ch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ch-readout {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.01em;
  min-height: 18px;
}
.ch-track {
  position: relative;
  width: 10px;
  height: 240px;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(255,255,255,0.02), rgba(0,0,0,0.6));
  border-radius: 1px;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.03);
}
.ch-track::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to bottom,
      transparent 0,
      transparent 11px,
      rgba(255,255,255,0.04) 11px,
      rgba(255,255,255,0.04) 12px);
}
.ch-fill {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--teal);
  box-shadow: 0 0 8px rgba(46,232,184,0.6);
  border-radius: 1px;
}
.ch-thumb {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 36px;
  height: 16px;
  background: linear-gradient(#555, #2a2a2a);
  border: 1px solid #0a0a0a;
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.4),
    0 2px 4px rgba(0,0,0,0.6);
  pointer-events: none;
}
.ch-thumb::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 1px;
  background: rgba(0,0,0,0.6);
  box-shadow: 0 -2px 0 rgba(0,0,0,0.4), 0 2px 0 rgba(0,0,0,0.4);
  transform: translateY(-50%);
}
.ch-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #b0b0b0;
  font-weight: 500;
}

/* compact size variants */
.plugin-ui.sm .ch-track { height: 180px; }
.plugin-ui.sm .ch-readout { font-size: 12px; }

/* hover on slider - subtle */
.ch:hover .ch-fill { box-shadow: 0 0 14px rgba(46,232,184,0.9); }

@media (max-width: 820px) {
  .plugin-channels { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .ch-track { height: 180px; }
  .pro-tools-chrome { flex-wrap: wrap; }
}
