/* ===== plugin simulations on the product pages (js/oc-sims.js) ===== */
.oc-sim-section { width: 100%; display: flex; flex-direction: column; gap: 28px; }
.oc-sim { --ink: #e9ecf5; --dim: rgba(220,228,245,.55); --line: rgba(255,255,255,.08); --accent: #6c5cff; --cyan: #33c6ee;
  width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: #0d1018; color: var(--ink); overflow: hidden;
  font: 13px/1.4 "Inter Tight", system-ui, sans-serif; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.oc-sim button { font: inherit; color: inherit; cursor: pointer; }
.oc-sim canvas { display: block; width: 100%; }
.oc-sim-note { text-align: center; font-size: 12px; color: rgba(255,255,255,.4); margin-top: -14px; }
.oc-sim-play { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--accent); position: relative; }
.oc-sim-play::before { content: ""; position: absolute; left: 15px; top: 12px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.oc-sim-play.is-playing::before { left: 13px; top: 13px; width: 5px; height: 14px; border: 0; background: #fff; box-shadow: 9px 0 #fff; }

/* ---------- Loop */
.ocl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #0b0e15; }
.ocl-brand { display: flex; align-items: center; gap: 6px; margin-right: 6px; }
.ocl-brand img { width: 30px; height: 30px; }
.ocl-brand b { font: 600 17px/1 "Space Grotesk", sans-serif; letter-spacing: 1px; }
.ocl-brand small { font-size: 9px; letter-spacing: 3px; color: var(--cyan); align-self: flex-end; }
.ocl-search { flex: 1 1 140px; min-width: 120px; height: 36px; padding: 0 12px; border-radius: 6px; background: #161a25; border: 1px solid var(--line); color: var(--ink); }
.ocl-field { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 6px; background: #161a25; border: 1px solid var(--line); font-size: 11px; color: var(--dim); }
.ocl-field input, .ocl-field select { background: transparent; color: var(--ink); border: 0; font: 600 13px "IBM Plex Mono", monospace; width: 64px; }
.ocl-field select { width: auto; }
.ocl-field select option { background: #161a25; }
.ocl-btn { height: 36px; padding: 0 12px; border-radius: 6px; background: #1a1e2b; border: 1px solid var(--line); font: 600 11px "IBM Plex Mono", monospace; letter-spacing: .5px; }
.ocl-btn.is-on { background: var(--accent); border-color: var(--accent); }
.ocl-btn.is-busy { background: #2a2350; animation: oclPulse 1s infinite; }
@keyframes oclPulse { 50% { opacity: .6; } }
.ocl-body { display: grid; grid-template-columns: 150px 1fr; min-height: 420px; }
.ocl-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--line); background: #0b0e15; }
.ocl-side button { text-align: left; padding: 6px 10px; border-radius: 5px; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.ocl-side button.is-on { background: #1e2236; color: #fff; box-shadow: inset 3px 0 var(--accent); }
.ocl-side hr { border: 0; border-top: 1px solid var(--line); margin: 8px 4px; }
.ocl-dot { width: 7px; height: 7px; border-radius: 50%; background: #e64980; }
.ocl-dot-bass, .ocl-dot-drums { background: #84cc16; } .ocl-dot-perc { background: #e64980; } .ocl-dot-synth { background: #ef4444; } .ocl-dot-keys { background: #3b82f6; } .ocl-dot-kick { background: #ec4899; }
.ocl-main { display: flex; flex-direction: column; min-width: 0; }
.ocl-cols, .ocl-row { display: grid; grid-template-columns: 40px minmax(90px, 160px) 1fr 54px 64px 60px; align-items: center; gap: 8px; padding: 0 12px; }
.ocl-cols { height: 30px; font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .6px; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); }
.ocl-list { max-height: 300px; overflow-y: auto; }
.ocl-row { height: 46px; border-bottom: 1px solid rgba(255,255,255,.04); cursor: grab; }
.ocl-row:hover { background: #141826; }
.ocl-row.is-sel { background: #1a1d33; box-shadow: inset 3px 0 var(--accent); }
.ocl-play { width: 28px; height: 28px; border-radius: 50%; background: #1d2130; position: relative; }
.ocl-play::before { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ocl-row.is-play .ocl-play { background: var(--accent); }
.ocl-row.is-play .ocl-play::before { left: 9px; top: 9px; width: 3px; height: 10px; border: 0; background: #fff; box-shadow: 6px 0 #fff; }
.ocl-mini { height: 26px; }
.ocl-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ocl-name small { display: block; font-weight: 400; font-size: 11px; color: var(--dim); }
.ocl-key, .ocl-bpm, .ocl-len { font: 600 12px "IBM Plex Mono", monospace; }
.ocl-len { font-weight: 400; color: var(--dim); }
.oc-sim .is-synced { color: var(--cyan); }
.ocl-empty { padding: 30px; text-align: center; color: var(--dim); }
.ocl-detail { border-top: 1px solid var(--line); padding: 12px 14px; background: #0b0e15; }
.ocl-detail-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.ocl-detail-top b { font-size: 15px; }
.ocl-detail-top p { font-size: 12px; color: var(--dim); }
.ocl-detail-top em { font-style: normal; font-family: "IBM Plex Mono", monospace; color: var(--ink); }
.ocl-detail .ocl-arrow, .ocl-detail .ocl-to { display: none; }
.ocl-detail.is-changed .ocl-arrow, .ocl-detail.is-changed .ocl-to { display: inline; }
.ocl-detail .ocl-to { color: var(--cyan); }
.ocl-drag { padding: 9px 14px; border-radius: 7px; border: 1px solid var(--accent); background: #19163a; font-weight: 600; white-space: nowrap; }
.ocl-wave { height: 70px; border-radius: 6px; background: #121624; }
.ocl-lane { border-top: 1px solid var(--line); padding: 10px 14px 14px; background: #10131c; position: relative; transition: background .2s; }
.ocl-lane.is-target { background: #17193a; outline: 2px dashed var(--accent); outline-offset: -4px; }
.ocl-lane.is-drop { background: #1b2045; }
.ocl-lane-head { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 6px; }
.ocl-lane-head span { font-family: "IBM Plex Mono", monospace; color: var(--cyan); }
.ocl-lane-head button { margin-left: auto; color: var(--dim); font-size: 11px; }
.ocl-grid { display: grid; grid-template-columns: repeat(8, 1fr); font: 10px "IBM Plex Mono", monospace; color: var(--dim); }
.ocl-grid span { border-left: 1px solid var(--line); padding-left: 4px; }
.ocl-track { position: relative; height: 46px; border-radius: 5px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 12.5%), #0b0e15; }
.ocl-clip { position: absolute; top: 3px; bottom: 3px; padding: 4px 7px; border-radius: 4px; background: linear-gradient(#7c6cff, #5546d8); overflow: hidden; border: 1px solid rgba(255,255,255,.25); }
.ocl-clip b { display: block; font-size: 11px; white-space: nowrap; }
.ocl-clip small { font: 10px "IBM Plex Mono", monospace; opacity: .85; }
.ocl-hint { position: absolute; left: 14px; right: 14px; bottom: 26px; text-align: center; font-size: 12px; color: var(--dim); pointer-events: none; }
@media (max-width: 760px) {
  .ocl-body { grid-template-columns: 1fr; }
  .ocl-side { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
  .ocl-side hr { display: none; }
  .ocl-cols, .ocl-row { grid-template-columns: 34px 1fr 44px 54px; }
  .ocl-cols span:nth-child(2), .ocl-row .ocl-mini, .ocl-cols span:nth-child(6), .ocl-row .ocl-len { display: none; }
  .ocl-detail-top { flex-direction: column; align-items: flex-start; }
}
.oc-sim-shots { display: flex; flex-direction: column; gap: 16px; }
.oc-sim-shots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.oc-sim-shots figure img { width: 100%; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); }
.oc-sim-shots figcaption { margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .oc-sim-shots-grid { grid-template-columns: 1fr; } }

/* ---------- Scope */
.ocs { background: #0c1017; }
.ocs-head, .oce-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #0a0d13; }
.ocs-brand, .oce-brand { font: 500 15px "Space Grotesk", sans-serif; letter-spacing: 3px; color: var(--cyan); }
.ocs-brand b, .oce-brand b { color: #fff; }
.ocs-tag { font: 11px "IBM Plex Mono", monospace; color: var(--dim); }
.ocs-btn { padding: 7px 12px; border-radius: 5px; background: #171c27; border: 1px solid var(--line); font: 600 11px "IBM Plex Mono", monospace; }
.ocs-head .ocs-btn { margin-left: auto; }
.ocs-btn.is-on { background: #1d3a48; border-color: #2c7d99; color: #bfefff; }
.ocs-btn.is-off { opacity: .45; text-decoration: line-through; }
.ocs-grid { display: grid; grid-template-columns: 1fr 260px; gap: 10px; padding: 10px; }
.ocs-spec { height: 380px; border-radius: 6px; border: 1px solid var(--line); }
.ocs-right { display: flex; flex-direction: column; gap: 10px; }
.ocs-gonio { height: 200px; border-radius: 6px; border: 1px solid var(--line); background: #0a0e14; }
.ocs-corr { --v: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); font: 10px "IBM Plex Mono", monospace; color: var(--dim); }
.ocs-corr i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #d9483b, #d9a43b 50%, #2fbf71); position: relative; }
.ocs-corr i::after { content: ""; position: absolute; left: var(--v); top: -4px; width: 4px; height: 14px; margin-left: -2px; border-radius: 2px; background: #fff; transition: left .1s; }
.ocs-corr b { color: #fff; font-size: 12px; min-width: 34px; text-align: right; }
.ocs-lufs { flex: 1; padding: 8px 10px; border-radius: 6px; border: 1px solid var(--line); }
.ocs-label { font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .6px; text-transform: uppercase; color: var(--dim); }
.ocs-lufs dl { display: grid; gap: 4px; margin-top: 6px; }
.ocs-lufs dl div { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); }
.ocs-lufs dd b { font: 600 15px "IBM Plex Mono", monospace; color: #c9a6ff; }
.ocs-lufs dl div:first-child dd b { color: #ff9a3d; font-size: 18px; }
.ocs-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.ocs-parts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ocs-width { display: flex; align-items: center; gap: 10px; }
.ocs-width input { accent-color: #8b7bff; width: 160px; }
.ocs-width b { font: 600 12px "IBM Plex Mono", monospace; min-width: 42px; }
@media (max-width: 760px) { .ocs-grid { grid-template-columns: 1fr; } .ocs-spec { height: 260px; } }

/* ---------- Forge EQ: brushed blue/purple aluminium like the plugin */
.oce { background: linear-gradient(100deg, #3a2a78 0%, #24296b 45%, #183a86 100%); }
.oce-head { background: rgba(8,10,24,.55); }
.oce-lamp { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 600 11px "IBM Plex Mono", monospace; }
.oce-lamp i { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #6b1d1d, #2a0a0a); box-shadow: inset 0 0 0 2px rgba(0,0,0,.4); }
.oce-lamp.is-on i { background: radial-gradient(circle at 40% 35%, #ff8a7a, #e21b1b 55%, #6d0505); box-shadow: 0 0 14px rgba(255,40,40,.7), inset 0 0 0 2px rgba(0,0,0,.3); }
.oc-sim .oce-display { height: 230px; margin: 14px 14px 0; width: calc(100% - 28px); border-radius: 8px; border: 1px solid rgba(0,0,0,.5); box-shadow: inset 0 2px 10px rgba(0,0,0,.7); }
.oce-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 14px 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.oce-band { position: relative; text-align: center; }
.oce-band canvas { height: 200px; touch-action: none; }
.oce-readout { font: 600 12px "IBM Plex Mono", monospace; color: #fff; margin-top: -6px; }
.oce-name { font: 500 14px "Space Grotesk", sans-serif; letter-spacing: 2px; color: rgba(255,255,255,.85); margin-top: 4px; }
.oce-toggle { position: absolute; top: 6px; right: 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 600 9px "IBM Plex Mono", monospace; color: rgba(255,255,255,.75); }
.oce-toggle i { width: 14px; height: 26px; border-radius: 3px; background: #15161d; position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.oce-toggle i::after { content: ""; position: absolute; left: 3px; width: 8px; height: 10px; border-radius: 2px; background: linear-gradient(#f0f0f0, #9a9a9a); bottom: 3px; transition: bottom .15s; }
.oce-toggle.is-shelf i::after { bottom: 13px; }
.oce-hint { padding: 6px 14px 14px; text-align: center; font: 11px "IBM Plex Mono", monospace; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .oce-panel { grid-template-columns: 1fr 1fr; } .oce-band canvas { height: 170px; } }
