/* ===== OPLabs Band Channel - ModGUI Styles ===== */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --bg-primary: #1a1a2e; --bg-secondary: #16213e; --bg-surface: #0f3460; --bg-knob: #2a2a4a; --text-primary: #e0e0e0; --text-secondary: #a0a0b0; --accent-blue: #4fc3f7; --accent-orange: #ff8c00; --meter-green: #4caf50; --meter-yellow: #ff9800; --meter-red: #f44336; --mute-red: #e53935; --solo-yellow: #ffc107; --border-color: #2a2a4a; --knob-size: 56px; } html, body { width: 100%; height: 100%; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; background: var(--bg-primary); color: var(--text-primary); font-size: 11px; user-select: none; -webkit-user-select: none; } .channel-strip { display: flex; flex-direction: column; gap: 4px; padding: 8px; height: 100%; width: 100%; background: var(--bg-secondary); border-radius: 6px; border: 1px solid var(--border-color); border-top: 3px solid var(--accent-orange); } /* ===== Header ===== */ .ch-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; } .ch-label { font-size: 12px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.5px; } .ch-instrument-badge { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 10px; border: 1px solid var(--accent-orange); color: var(--accent-orange); background: rgba(255, 140, 0, 0.12); } /* ===== Mute & Solo Buttons ===== */ .ch-mute-solo { display: flex; gap: 6px; justify-content: center; } .ch-btn { flex: 1; height: 28px; border: 1px solid var(--border-color); border-radius: 4px; font-size: 13px; font-weight: 800; cursor: pointer; transition: all 0.15s ease; background: var(--bg-primary); color: var(--text-secondary); letter-spacing: 0.5px; } .ch-btn:hover { filter: brightness(1.3); } .ch-btn.mute.active { background: var(--mute-red); color: #fff; border-color: var(--mute-red); box-shadow: 0 0 8px rgba(229, 57, 53, 0.4); } .ch-btn.solo.active { background: var(--solo-yellow); color: #1a1a2e; border-color: var(--solo-yellow); box-shadow: 0 0 8px rgba(255, 193, 7, 0.4); } /* ===== Level Meter ===== */ .ch-meter-section { display: flex; flex-direction: column; gap: 2px; } .meter-stereo { display: flex; gap: 2px; height: 70px; } .meter-channel { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; } .meter-label { font-size: 9px; font-weight: 700; color: var(--text-secondary); } .meter-track { flex: 1; width: 100%; background: var(--bg-primary); border-radius: 2px; position: relative; overflow: hidden; border: 1px solid var(--border-color); } .meter-fill { position: absolute; bottom: 0; left: 0; right: 0; height: 0%; background: var(--meter-green); transition: height 0.05s linear, background 0.1s ease; border-radius: 0 0 1px 1px; } .meter-fill.warm { background: var(--meter-yellow); } .meter-fill.hot { background: var(--meter-red); } .meter-peak { position: absolute; left: 1px; right: 1px; height: 2px; background: rgba(255, 255, 255, 0.9); border-radius: 1px; transition: bottom 0.1s ease; z-index: 2; } .meter-tick { position: absolute; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, 0.1); z-index: 1; } .meter-db-readout { display: flex; justify-content: space-between; padding: 0 4px; font-size: 9px; font-family: 'Courier New', monospace; color: var(--text-secondary); } .meter-db-readout span.hot { color: var(--meter-red); font-weight: 700; } /* ===== Knobs Row ===== */ .ch-knobs-row { display: flex; gap: 4px; justify-content: space-around; } .knob-container { display: flex; flex-direction: column; align-items: center; gap: 2px; } .knob-label { font-size: 9px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; } .knob-rotary { width: var(--knob-size); height: var(--knob-size); position: relative; cursor: pointer; touch-action: none; } .knob-arc { width: 100%; height: 100%; border-radius: 50%; background: var(--bg-knob); border: 2px solid var(--border-color); position: relative; transition: border-color 0.15s; } .knob-arc:hover { border-color: var(--accent-blue); } .knob-grip { position: absolute; width: 4px; height: 18px; background: var(--accent-blue); border-radius: 2px; left: 50%; top: 6px; transform-origin: 2px 22px; margin-left: -2px; transition: background 0.15s; } .knob-arc:hover .knob-grip { background: #81d4fa; } .knob-value { font-size: 10px; font-weight: 600; font-family: 'Courier New', monospace; color: var(--text-primary); text-align: center; min-width: 50px; } /* ===== Instrument Selector ===== */ .ch-instrument-section { display: flex; flex-direction: column; gap: 2px; } .ch-instrument-label { font-size: 9px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; } .ch-instrument-select { width: 100%; height: 28px; background: var(--bg-primary); color: var(--text-primary); border: 1px solid var(--accent-orange); border-radius: 4px; padding: 0 6px; font-size: 11px; font-weight: 600; cursor: pointer; outline: none; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23ff8c00'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 24px; } .ch-instrument-select:focus { border-color: var(--accent-blue); box-shadow: 0 0 4px rgba(79, 195, 247, 0.3); } .ch-instrument-select option { background: var(--bg-primary); color: var(--text-primary); } /* ===== Responsive ===== */ @media (max-height: 280px) { .channel-strip { gap: 2px; padding: 4px; } .meter-stereo { height: 40px; } .ch-knobs-row { gap: 2px; } :root { --knob-size: 40px; } .knob-grip { height: 12px; top: 4px; transform-origin: 2px 16px; } .ch-label { font-size: 10px; } } @media (min-height: 400px) { .meter-stereo { height: 90px; } :root { --knob-size: 64px; } }