/* Arc Editor — Styles */
.arc-ed-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, #1e1b4b 0%, #1f2937 100%);
    border: 1px solid #374151;
    border-radius: 8px;
    color: #d1d5db;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s;
}
.arc-ed-btn:hover { border-color: #6366f1; }

.arc-hbtn {
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #374151;
    background: #1f2937;
    color: #d1d5db;
    cursor: pointer;
    white-space: nowrap;
}
.arc-hbtn:hover { background: #374151; color: #fff; }

.arc-hbtn-primary { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.arc-hbtn-primary:hover { background: #4338ca; }

/* Modal */
.arc-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    flex-direction: column;
    background: #0c0e14;
}
.arc-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #13151f;
    border-bottom: 1px solid #1e2030;
    flex-shrink: 0;
}
.arc-modal-header h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0;
    white-space: nowrap;
}
.arc-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 0;
}
.arc-cv {
    position: absolute;
    inset: 0;
    cursor: crosshair;
    touch-action: none;
}
.arc-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: #6b7280;
}
.arc-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}
.arc-info {
    font-size: 0.62rem;
    color: #6b7280;
    font-family: monospace;
    display: none;
}
.arc-preview-bar {
    padding: 6px 14px;
    background: #13151f;
    border-top: 1px solid #1e2030;
    display: none;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.arc-preview-bar span {
    font-size: 0.68rem;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
}
.arc-preview-bar img {
    max-height: 45px;
    border: 1px solid #374151;
    border-radius: 6px;
    object-fit: contain;
}
/* Sliders panel */
.arc-sliders {
    display: flex;
    gap: 16px;
    padding: 7px 14px;
    background: #13151f;
    border-bottom: 1px solid #1e2030;
    flex-shrink: 0;
}
.arc-slider-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.arc-slider-row label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    min-width: 62px;
}
.arc-slider-row input[type="range"] {
    flex: 1;
    min-width: 0;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #374151;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.arc-slider-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #6366f1;
    border: 2px solid #818cf8;
    cursor: grab;
}
.arc-slider-row input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #6366f1;
    border: 2px solid #818cf8;
    cursor: grab;
}
.arc-slider-row input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; background: #4f46e5; }
.arc-slider-row input[type="range"]:active::-moz-range-thumb { cursor: grabbing; background: #4f46e5; }
.arc-sl-val {
    font-size: 0.62rem;
    font-family: monospace;
    color: #6b7280;
    min-width: 50px;
    text-align: right;
}

.arc-legend {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(12, 14, 20, 0.92);
    border: 1px solid #1e2030;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.62rem;
    color: #6b7280;
    display: flex;
    gap: 10px;
    pointer-events: none;
}
